修改 标准合规评估-任务分发节点
This commit is contained in:
@@ -434,12 +434,15 @@ export default {
|
|||||||
this.dataList.map(item => {
|
this.dataList.map(item => {
|
||||||
delete item.termsConditions
|
delete item.termsConditions
|
||||||
})
|
})
|
||||||
this.dataList.forEach(item => {
|
console.log( this.dataList)
|
||||||
if(item.implementer){
|
// this.dataList.forEach(item => {
|
||||||
comFlag = true
|
// if(item.implementer){
|
||||||
return
|
// comFlag = true
|
||||||
}
|
// return
|
||||||
})
|
// }
|
||||||
|
// })
|
||||||
|
if(this.dataList.every(item => item.implementer)) comFlag = true
|
||||||
|
|
||||||
if(!comFlag){
|
if(!comFlag){
|
||||||
this.$message.warning('请选择落实人')
|
this.$message.warning('请选择落实人')
|
||||||
}else{
|
}else{
|
||||||
@@ -520,11 +523,13 @@ export default {
|
|||||||
this.selectProject = data
|
this.selectProject = data
|
||||||
},
|
},
|
||||||
choiceZRRS(row, type, index) {
|
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))
|
localStorage.setItem('selectProject', JSON.stringify(this.selectProject))
|
||||||
this.type = type;
|
this.type = type;
|
||||||
if (type === 1) {
|
if (type === 1) {
|
||||||
this.nodeList2 = [];
|
this.nodeList2 = [];
|
||||||
this.lsIndex = index;
|
// this.lsIndex = index;
|
||||||
|
this.lsIndex = _index;
|
||||||
if (row.implementerId) {
|
if (row.implementerId) {
|
||||||
this.nodeList2 = row.implementerId.split(",");
|
this.nodeList2 = row.implementerId.split(",");
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user