|
@@ -621,7 +621,7 @@
|
|
|
<el-form-item label="文件" class="special-el-form-item">
|
|
|
<fileItem
|
|
|
class="show_disabled"
|
|
|
- ref="fileItems"
|
|
|
+ ref="fileItems1"
|
|
|
:id="dueForm.id"
|
|
|
@getFileList="getFileList"
|
|
|
></fileItem>
|
|
@@ -1112,29 +1112,28 @@ export default {
|
|
|
let that = this;
|
|
|
this.dueDiligenceType = type;
|
|
|
//type 1=发起 2=修改 3=上传
|
|
|
- console.log(type, row);
|
|
|
if (type === "1") {
|
|
|
this.resetDueForm();
|
|
|
setTimeout(() => {
|
|
|
that.$refs.fileItems.fileList = [];
|
|
|
- }, 200);
|
|
|
+ }, 300);
|
|
|
this.dueDiligenceTit = "发起尽调申请";
|
|
|
this.dueDiligenceOpen = true;
|
|
|
} else if (type === "2") {
|
|
|
setTimeout(() => {
|
|
|
that.$refs.fileItems.getListFileBusinessId(this.dueForm.id);
|
|
|
- }, 200);
|
|
|
+ }, 300);
|
|
|
this.dueDiligenceTit = "修改尽调申请";
|
|
|
this.dueDiligenceOpen = true;
|
|
|
} else if (type === "3") {
|
|
|
this.duePeportForm.projectInvestigateId = this.dueForm.id;
|
|
|
setTimeout(() => {
|
|
|
- that.$refs.fileItems.getListFileBusinessId(this.dueForm.id);
|
|
|
that.$refs.reportFileItems.fileList = [];
|
|
|
that.$refs.reportFileItems.getListFileBusinessId(
|
|
|
this.duePeportForm.id
|
|
|
);
|
|
|
- }, 200);
|
|
|
+ that.$refs.fileItems1.getListFileBusinessId(this.dueForm.id);
|
|
|
+ }, 300);
|
|
|
this.dueDiligenceTit1 = "上传尽调报告";
|
|
|
getProjectInvestigateId(this.dueForm.id).then((response) => {
|
|
|
if (response.data) {
|
|
@@ -1150,6 +1149,7 @@ export default {
|
|
|
submitduePeportForm() {
|
|
|
this.$refs["duePeportForm"].validate((valid) => {
|
|
|
if (valid) {
|
|
|
+ this.duePeportForm.projectPoolId = this.dueForm.projectPoolId;
|
|
|
this.duePeportForm.listFile = this.reportFileList;
|
|
|
addInvestigatePerson(this.duePeportForm).then((response) => {
|
|
|
this.$modal.msgSuccess("操作成功");
|