diff --git a/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue b/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue index 6564f6a57..3396723c3 100644 --- a/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzpg/step3.vue @@ -548,7 +548,6 @@ export default { }); } if (addFlag) { - this.projectDataList = []; let projectNames = "", projectNumbers = ""; this.selectProjectList.forEach(items => { projectNames += items.projectName; @@ -556,23 +555,16 @@ export default { projectNumbers += items.projectNumber; projectNumbers += ","; }); - this.$set(this.projectDataList, "projectName", projectNames); - this.$set(this.projectDataList, "projectNumber", projectNumbers); - this.$set(this.projectDataList, "managementHostName", this.selectProjectList[0].managementHostName); - this.$set(this.projectDataList, "developmentHostName", this.selectProjectList[0].developmentHostName); - this.$set(this.projectDataList, "categoryName", this.selectProjectList[0].categoryName); - this.$set(this.projectDataList, "projectStatus", this.selectProjectList[0].projectStatus); - this.$set(this.projectDataList, "uname", this.selectProjectList[0].uname); - this.$set(this.projectDataList, "unameId", this.selectProjectList[0].projectManager); this.dataList.push({ - projectName: this.projectDataList.projectName, - projectNumber: this.projectDataList.projectNumber, - managementHostName: this.projectDataList.managementHostName, - developmentHostName: this.projectDataList.developmentHostName, - categoryName: this.projectDataList.categoryName, - projectStatus: this.projectDataList.projectStatus, - uname: this.projectDataList.uname, - unameId: this.projectDataList.unameId, + projectName: projectNames, + projectNumber: projectNumbers, + managementHostName: this.selectProjectList[0].managementHostName, + developmentHostName: this.selectProjectList[0].developmentHostName, + categoryName: this.selectProjectList[0].categoryName, + projectStatus: this.selectProjectList[0].projectStatus, + projectGroup: this.selectProjectList[0].projectGroup, + uname: this.selectProjectList[0].uname, + unameId: this.selectProjectList[0].projectManager, }) } else { this.$message.warning("请勿重复添加数据"); @@ -624,6 +616,8 @@ export default { this.listForm.breakdownList = this.breakdownList this.listForm.commentText = this.commentText; const json = JSON.stringify(this.listForm); + console.log(json); + return this.isSubmit = true; this.$http.post("lawss/activiti/completeTask", { taskIds: this.taskIds,