diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue index 302272626..872b4bef9 100644 --- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue @@ -1066,8 +1066,10 @@ export default { middle.push(item.name); files.push(item.response.data.id); }); - this.fileListName = middle; - this.fileIds = files; + this.listForm.fileName = middle.join(','); + this.listForm.fileId = files.join(','); + // this.fileListName = middle; + // this.fileIds = files; }, fileUpload() { this.fileMadel = true; @@ -1081,12 +1083,17 @@ export default { }); this.fileListName = middle; this.fileIds.push(file.response.data.id); - if(this.listForm.fileName === null ){ + if(this.listForm.fileName === null || this.listForm.fileName == undefined){ this.listForm.fileName = this.fileListName.join(',') - }else { + } else { this.listForm.fileName = this.listForm.fileName + ',' + this.fileListName.join(','); } - this.listForm.fileId = this.listForm.fileId + ',' + this.fileIds.join(',') + if(this.listForm.fileId === null || this.listForm.fileId === undefined){ + this.listForm.fileId = this.fileIds.join(',') + }else { + this.listForm.fileId = this.listForm.fileId + ',' + this.fileIds.join(',') + } + console.log(this.listForm); this.$message.success("上传成功"); } else { this.$message.error(res.message); @@ -1205,7 +1212,11 @@ export default { exits.push(item.id) } }); - this.listForm.inforlist = this.listForm.inforlist + ',' + exits.join(',') + if(this.listForm.inforlist === null || this.listForm.inforlist === undefined){ + this.listForm.inforlist = exits.join(',') + } else { + this.listForm.inforlist = this.listForm.inforlist + ',' + exits.join(',') + } this.standardData = []; this.standModel = false; } diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step2.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step2.vue index 617b6018c..976a14cda 100644 --- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step2.vue @@ -78,13 +78,8 @@ width="180px" label="标准号"> - - - -
- - -
-
+ + + {{ opt.label}} +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + { + this.allSelectOptions = res.data || {} + this.zrbmOptions = res.data.ZRBMCLASS // 责任部门 + this.zrbmOptions = res.data.ZRBMCLASS // 责任部门 + this.getGzzOption() + this.setMap(this.standStateOptions) + }, e => { + }) this.getTableBtn() this.getOrgTreeSource() } diff --git a/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue b/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue index 38daf3d9b..0dfe97778 100644 --- a/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue +++ b/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue @@ -17,33 +17,39 @@ :maxlength="100"> - - - -
- - -
-
+ + + {{ opt.label}} +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + { + this.allSelectOptions = res.data || {} + this.zrbmOptions = res.data.ZRBMCLASS // 责任部门 + this.zrbmOptions = res.data.ZRBMCLASS // 责任部门 + this.getGzzOption() + this.setMap(this.standStateOptions) + }, e => { + }) this.getTableByPage() // 加载所有的部门 this.getOrgTreeSource()