修改 标准合规评估-任务分发节点

This commit is contained in:
zeng yuneng
2022-12-05 14:06:55 +08:00
parent 2473186cf8
commit 857d6ae5dd
@@ -434,12 +434,15 @@ export default {
this.dataList.map(item => {
delete item.termsConditions
})
this.dataList.forEach(item => {
if(item.implementer){
comFlag = true
return
}
})
console.log( this.dataList)
// this.dataList.forEach(item => {
// if(item.implementer){
// comFlag = true
// return
// }
// })
if(this.dataList.every(item => item.implementer)) comFlag = true
if(!comFlag){
this.$message.warning('请选择落实人')
}else{
@@ -520,11 +523,13 @@ export default {
this.selectProject = data
},
choiceZRRS(row, type, index) {
let _index = this.dataList.findIndex(item => item.id===row.id&&item.projectName===row.projectName)
localStorage.setItem('selectProject', JSON.stringify(this.selectProject))
this.type = type;
if (type === 1) {
this.nodeList2 = [];
this.lsIndex = index;
// this.lsIndex = index;
this.lsIndex = _index;
if (row.implementerId) {
this.nodeList2 = row.implementerId.split(",");
} else {