diff --git a/src/pages/processCenter/pages/creatProcess/bzpg/step1.vue b/src/pages/processCenter/pages/creatProcess/bzpg/step1.vue index 66211964a..8e9667856 100644 --- a/src/pages/processCenter/pages/creatProcess/bzpg/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzpg/step1.vue @@ -554,31 +554,7 @@ export default { standNumber: "" }, taskIds: this.$route.query.taskIds, - decomposeOptions: [{ - value: "CA", - label: "草稿", - item: "CA" - }, - { - value: "ZQYJG", - label: "征求意见稿", - item: "ZQYJG" - }, - { - value: "BPG", - label: "报批稿", - item: "BPG" - }, - { - value: "SSG", - label: "送审稿", - item: "SSG" - }, - { - value: "FBGBJBD", - label: "发布稿(必读)", - item: "FBGBJBD" - }], //分解单数据 + decomposeOptions: [], //分解单数据 standardTypeOptions: [ { value: "INLAND", @@ -674,7 +650,8 @@ export default { projectName: "", projectPlatfor: "" }] - }] + }], + fileType: '' }, choiceForm: {}, //选择标准清单列表 showColumn: true, @@ -752,11 +729,13 @@ export default { this.roleForm.ministerUserName = item.form.ministerUserName this.submitFlag = '修改节点' this.dataList.distributePerson = this.listForm.dataList[0].distributePerson - // this.$http.get("SarStandItems/sar-stand-items/getFileType", { - // standId: item.standId - // }, {}, res => { - // this.decomposeOptions = res.data; - // }); + // this.listForm.fileType = '' + this.$http.get("SarStandItems/sar-stand-items/getFileType", { + standId: item.standId + }, {}, res => { + this.decomposeOptions = res.data; + // decomposeOptions = ; //分解单数据 + }); }else{ this.hisListForm = JSON.parse(JSON.stringify(item)) this.listForm = JSON.parse(JSON.stringify(item)) @@ -775,11 +754,12 @@ export default { this.qualityEngineer = item.qualityEngineer this.submitFlag = '修改节点' this.dataList.distributePerson = this.listForm.dataList[0].distributePerson - // this.$http.get("SarStandItems/sar-stand-items/getFileType", { - // standId: item.standId - // }, {}, res => { - // this.decomposeOptions = res.data; - // }); + // this.listForm.fileType = '' + this.$http.get("SarStandItems/sar-stand-items/getFileType", { + standId: item.standId + }, {}, res => { + this.decomposeOptions = res.data; + }); } }) }, @@ -1138,11 +1118,12 @@ export default { this.listForm.XCXSSRQ = this.selectedList[0].xcxssrqgj; this.listForm.ZCCSSRQ = this.selectedList[0].zccssrqgj; this.listForm.id = this.selectedList[0].id; - // this.$http.get("SarStandItems/sar-stand-items/getFileType", { - // standId: this.selectedList[0].id - // }, {}, res => { - // this.decomposeOptions = res.data; - // }); + this.listForm.fileType = '' + this.$http.get("SarStandItems/sar-stand-items/getFileType", { + standId: this.selectedList[0].id + }, {}, res => { + this.decomposeOptions = res.data; + }); this.ListModel = false; } else if (this.selectedList.length > 1) { this.$message.warning("您只能选择一条数据进行带入"); @@ -1282,21 +1263,23 @@ export default { this.dataList = mes.form.dataList; this.roleForm = mes.roleForm this.commentText = mes.commentText - // this.$http.get("SarStandItems/sar-stand-items/getFileType", { - // standId: mes.form.standId - // }, {}, res => { - // this.decomposeOptions = res.data; - // }); + // this.listForm.fileType = '' + this.$http.get("SarStandItems/sar-stand-items/getFileType", { + standId: mes.form.standId + }, {}, res => { + this.decomposeOptions = res.data; + }); }else{ this.listForm = mes.json.form; this.dataList = mes.json.form.dataList this.roleForm = mes.json.roleForm; this.commentText = mes.json.commentText; - // this.$http.get("SarStandItems/sar-stand-items/getFileType", { - // standId: mes.json.form.standId - // }, {}, res => { - // this.decomposeOptions = res.data; - // }); + // this.listForm.fileType = '' + this.$http.get("SarStandItems/sar-stand-items/getFileType", { + standId: mes.json.form.standId + }, {}, res => { + this.decomposeOptions = res.data; + }); } }); },