修改标准评估第三步dataList数据
This commit is contained in:
@@ -548,7 +548,6 @@ export default {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (addFlag) {
|
if (addFlag) {
|
||||||
this.projectDataList = [];
|
|
||||||
let projectNames = "", projectNumbers = "";
|
let projectNames = "", projectNumbers = "";
|
||||||
this.selectProjectList.forEach(items => {
|
this.selectProjectList.forEach(items => {
|
||||||
projectNames += items.projectName;
|
projectNames += items.projectName;
|
||||||
@@ -556,23 +555,16 @@ export default {
|
|||||||
projectNumbers += items.projectNumber;
|
projectNumbers += items.projectNumber;
|
||||||
projectNumbers += ",";
|
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({
|
this.dataList.push({
|
||||||
projectName: this.projectDataList.projectName,
|
projectName: projectNames,
|
||||||
projectNumber: this.projectDataList.projectNumber,
|
projectNumber: projectNumbers,
|
||||||
managementHostName: this.projectDataList.managementHostName,
|
managementHostName: this.selectProjectList[0].managementHostName,
|
||||||
developmentHostName: this.projectDataList.developmentHostName,
|
developmentHostName: this.selectProjectList[0].developmentHostName,
|
||||||
categoryName: this.projectDataList.categoryName,
|
categoryName: this.selectProjectList[0].categoryName,
|
||||||
projectStatus: this.projectDataList.projectStatus,
|
projectStatus: this.selectProjectList[0].projectStatus,
|
||||||
uname: this.projectDataList.uname,
|
projectGroup: this.selectProjectList[0].projectGroup,
|
||||||
unameId: this.projectDataList.unameId,
|
uname: this.selectProjectList[0].uname,
|
||||||
|
unameId: this.selectProjectList[0].projectManager,
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning("请勿重复添加数据");
|
this.$message.warning("请勿重复添加数据");
|
||||||
@@ -624,6 +616,8 @@ export default {
|
|||||||
this.listForm.breakdownList = this.breakdownList
|
this.listForm.breakdownList = this.breakdownList
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
|
console.log(json);
|
||||||
|
return
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
|
|||||||
Reference in New Issue
Block a user