|
|
@@ -610,7 +610,7 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
methods: {
|
|
|
- ...mapMutations(['setProcessNodeModalDisplay', 'setCurrentNodeId']),
|
|
|
+ ...mapMutations(['setProcessNodeModalDisplay', 'setProcessNodeModalIndexDisplay','setCurrentNodeId']),
|
|
|
/**
|
|
|
* @desc : 处理可判定分级初始值
|
|
|
* @author : 张潇木
|
|
|
@@ -807,7 +807,12 @@ export default {
|
|
|
let cell = this.graph.getCellById(this.process.currentNodeId)
|
|
|
cell.setData(this.nodeDataSocial, { overwrite: true })
|
|
|
//设置显示隐藏状态以及清空当前工序id
|
|
|
- this.setProcessNodeModalDisplay(null)
|
|
|
+ if(this.isFromIndex){
|
|
|
+ this.setProcessNodeModalIndexDisplay(null)
|
|
|
+ }else{
|
|
|
+ this.setProcessNodeModalDisplay(null)
|
|
|
+ }
|
|
|
+ //清空当前选中工序id
|
|
|
this.setCurrentNodeId(undefined)
|
|
|
},
|
|
|
/**
|
|
|
@@ -839,7 +844,7 @@ export default {
|
|
|
// 刷新一览明细
|
|
|
this.$emit('node-modal-ok', { row: this.flowFormData })
|
|
|
//关闭modal
|
|
|
- this.setProcessNodeModalDisplay(null)
|
|
|
+ this.setProcessNodeModalIndexDisplay(null)
|
|
|
//清空当前选中工序id
|
|
|
this.setCurrentNodeId(undefined)
|
|
|
} else {
|