Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
zhutianqi
2022-02-21 10:00:46 +08:00
4 changed files with 12 additions and 14 deletions
+1 -5
View File
@@ -204,11 +204,7 @@ router.beforeEach(function (to, from, next) {
} }
} else if (prcType === '6') { } else if (prcType === '6') {
//标准项目合规评估 项目维度 //标准项目合规评估 项目维度
if (path === "/xmpg2Step1" || path === "/xmpg2Step2" || path === "/xmpg2Step1-2") { extracted("xmpgStep1-5");
extracted("xmpg2Step1-2");
} else {
extracted("xmpg2Step1-12");
}
} else if (prcType === '8') { } else if (prcType === '8') {
// 未符合项整改 // 未符合项整改
extracted("wfhxzgStep5-1"); extracted("wfhxzgStep5-1");
@@ -666,6 +666,11 @@ export default {
_this: this _this: this
}, res => { }, res => {
this.listForm.breakdownList = res.data; this.listForm.breakdownList = res.data;
this.listForm.breakdownList.map(item =>{
if(item.termsConditions){
item.termsConditions = ''
}
})
}); });
}, },
//标准的多选框改变 //标准的多选框改变
@@ -827,7 +832,6 @@ export default {
bpnId: this.$route.query.bpnId bpnId: this.$route.query.bpnId
}).then(res => { }).then(res => {
let mes = JSON.parse(res.mes); let mes = JSON.parse(res.mes);
console.log(mes);
if(mes.form.projectNumber){ if(mes.form.projectNumber){
this.addShow = false this.addShow = false
} }
@@ -334,6 +334,8 @@ export default {
key: item.standId, key: item.standId,
id: item.id, id: item.id,
standId: item.id, standId: item.id,
// standType: item.standType,
// zrbm: item.zrbm,
itemsNum: item.itemsNum, itemsNum: item.itemsNum,
itemsName: item.itemsName, itemsName: item.itemsName,
xcxssrq: item.xcxssrq, xcxssrq: item.xcxssrq,
@@ -772,11 +772,11 @@ export default {
this.dataList = dataListChildren; this.dataList = dataListChildren;
this.total = this.dataList.length; this.total = this.dataList.length;
} else { } else {
this.listForm = item.form;
this.commentText = item.commentText;
let dataChildren = []; let dataChildren = [];
let dataListChildren = []; let dataListChildren = [];
this.dataList = item.dataList; this.listForm = item.form
this.commentText = item.commentText
this.dataList = item.form.dataList;
this.dataList.forEach(item =>{ this.dataList.forEach(item =>{
if(item.children){ if(item.children){
item.children.forEach(items =>{ item.children.forEach(items =>{
@@ -795,9 +795,6 @@ export default {
} }
}) })
}) })
this.listForm.dataList.forEach(item => {
dataChildren.push(item.children);
});
dataChildren.forEach((item, index) => { dataChildren.forEach((item, index) => {
dataListChildren = dataListChildren.concat(item); dataListChildren = dataListChildren.concat(item);
}); });
@@ -808,9 +805,8 @@ export default {
if(index > -1){ if(index > -1){
dataListChildren.splice(index, 1) dataListChildren.splice(index, 1)
} }
this.dataList = dataListChildren;
this.total = this.dataList.length; this.total = this.dataList.length;
// this.dataList = item.form.dataList[0].children;
// this.total = item.form.dataList[0].children.length;
} }
}); });