|
@@ -935,7 +935,7 @@
|
|
|
<el-col :xs="24" :sm="12" :lg="18" :span="6">
|
|
|
<el-form-item prop="filePath" label="资料附件:" label-width="200px" class="postInfo-container-item">
|
|
|
<el-upload action="/api/upload" :limit="10" :on-success="changeresTarget" :on-exceed="handleExceed"
|
|
|
- :on-preview="handleAttachmentPreview" :before-remove="beforeRemove" :file-list="fileList">
|
|
|
+ :on-preview="handleAttachmentPreview" :before-remove="beforeRemove" :file-list="fileList" multiple>
|
|
|
<el-button plain type="info" round style="width: 100%">上传附件<i
|
|
|
class="el-icon-upload el-icon--right"></i></el-button>
|
|
|
</el-upload>
|
|
@@ -1130,7 +1130,7 @@
|
|
|
<el-col>
|
|
|
<el-form-item prop="filePath" label="资料附件:" label-width="140px" class="postInfo-container-item">
|
|
|
<el-upload action="/api/upload" :limit="10" :on-success="changeresProduction" :on-exceed="handleExceed"
|
|
|
- :on-preview="handleAttachmentPreview" :before-remove="beforeRemovePro" :file-list="fileList">
|
|
|
+ :on-preview="handleAttachmentPreview" :before-remove="beforeRemovePro" :file-list="fileList" multiple>
|
|
|
<el-button plain type="info" round style="width: 100%">上传附件<i
|
|
|
class="el-icon-upload el-icon--right"></i></el-button>
|
|
|
</el-upload>
|
|
@@ -1269,7 +1269,7 @@
|
|
|
<el-form-item :rules="{ required: true, message: '请上传附件资料', trigger: 'changes' }" prop="filePath"
|
|
|
label="资料附件:" label-width="120px" class="postInfo-container-item">
|
|
|
<el-upload action="/api/upload" :limit="10" :on-success="changeresProduction" :on-exceed="handleExceed"
|
|
|
- :on-preview="handleAttachmentPreview" :before-remove="beforeRemovePro" :file-list="fileList">
|
|
|
+ :on-preview="handleAttachmentPreview" :before-remove="beforeRemovePro" :file-list="fileList" multiple>
|
|
|
<el-button plain type="info" round style="width: 100%">上传附件<i
|
|
|
class="el-icon-upload el-icon--right"></i></el-button>
|
|
|
</el-upload>
|
|
@@ -1342,7 +1342,7 @@
|
|
|
<el-form-item :rules="{ required: true, message: '请上传附件资料', trigger: 'changes' }" prop="filePath"
|
|
|
label="资料附件:" label-width="120px" class="postInfo-container-item">
|
|
|
<el-upload action="/api/upload" :limit="10" :on-success="changeresProduction" :on-exceed="handleExceed"
|
|
|
- :on-preview="handleAttachmentPreview" :before-remove="beforeRemovePro" :file-list="fileList">
|
|
|
+ :on-preview="handleAttachmentPreview" :before-remove="beforeRemovePro" :file-list="fileList" multiple>
|
|
|
<el-button plain type="info" round style="width: 100%">上传附件<i
|
|
|
class="el-icon-upload el-icon--right"></i></el-button>
|
|
|
</el-upload>
|
|
@@ -1908,11 +1908,14 @@ export default {
|
|
|
]
|
|
|
},
|
|
|
showDistributionButton: null,
|
|
|
+ // 可以更新订单基本信息的节点
|
|
|
canUpdateOrderBaseInfoNode: [
|
|
|
'DEPARTMENT_ALLOCATION', 'SPOT_RECONNAISSANCE_DETERMINE_PRICE', 'QUOTATION_FEEDBACK',
|
|
|
'PRODUCT_CHOICE', 'GENERATE_STATEMENT', 'REVIEW_STATEMENT', 'REEXAMINE_STATEMENT',
|
|
|
'WRITE_REPORT', 'CHECK_REPORT', 'RECHECK_REPORT', 'FOURTH_CHECK_REPORT'
|
|
|
- ]
|
|
|
+ ],
|
|
|
+ // 统计文件上传次数与文件数量是否符合,以免过早清空文件列表
|
|
|
+ fileCount: 0
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
@@ -2521,7 +2524,7 @@ export default {
|
|
|
this.targetForm.evaluationMethodId = JSON.parse(res.data.evaluationMethodId);
|
|
|
this.targetForm.choiceEvaluationMethodId = JSON.parse(res.data.choiceEvaluationMethodId);
|
|
|
this.targetForm.filePath = JSON.parse(res.data.filePath);
|
|
|
- this.fileList = this.targetForm.filePath
|
|
|
+ this.fileList = JSON.parse(JSON.stringify(this.targetForm.filePath));
|
|
|
this.getTypeList(this.targetForm.evaluationTypeId, 2);
|
|
|
this.openTargetDialog();
|
|
|
}
|
|
@@ -3064,7 +3067,7 @@ export default {
|
|
|
this.assetsProductionForm = res.data;
|
|
|
this.assetsProductionForm.signatory = JSON.parse(res.data.signatory);
|
|
|
this.assetsProductionForm.filePath = JSON.parse(res.data.filePath);
|
|
|
- this.fileList = this.assetsProductionForm.filePath;
|
|
|
+ this.fileList = JSON.parse(JSON.stringify(this.assetsProductionForm.filePath));
|
|
|
this.productionWriteDialogVisible = true;
|
|
|
}
|
|
|
})
|
|
@@ -3101,7 +3104,7 @@ export default {
|
|
|
if (res.code == 200) {
|
|
|
this.assetsProductionForm = res.data;
|
|
|
this.assetsProductionForm.filePath = JSON.parse(res.data.filePath);
|
|
|
- this.fileList = this.assetsProductionForm.filePath;
|
|
|
+ this.fileList = JSON.parse(JSON.stringify(this.assetsProductionForm.filePath));
|
|
|
}
|
|
|
})
|
|
|
const curNode = this.currentNode.nodeCode;
|
|
@@ -3329,7 +3332,7 @@ export default {
|
|
|
if (res.code == 200 && res.data !== null) {
|
|
|
this.assetsProductionForm = res.data;
|
|
|
this.assetsProductionForm.filePath = JSON.parse(res.data.filePath);
|
|
|
- this.fileList = this.assetsProductionForm.filePath;
|
|
|
+ this.fileList = JSON.parse(JSON.stringify(this.assetsProductionForm.filePath));
|
|
|
}
|
|
|
})
|
|
|
|