|
|
@ -84,6 +84,8 @@ |
|
|
|
desc: '', |
|
|
|
desc: '', |
|
|
|
// Global custom parameters |
|
|
|
// Global custom parameters |
|
|
|
udpList: [], |
|
|
|
udpList: [], |
|
|
|
|
|
|
|
// Global custom parameters |
|
|
|
|
|
|
|
udpListCache: [], |
|
|
|
// Whether to update the process definition |
|
|
|
// Whether to update the process definition |
|
|
|
syncDefine: true, |
|
|
|
syncDefine: true, |
|
|
|
// Timeout alarm |
|
|
|
// Timeout alarm |
|
|
@ -159,11 +161,7 @@ |
|
|
|
* Close the popup |
|
|
|
* Close the popup |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
close () { |
|
|
|
close () { |
|
|
|
// Storage global globalParams |
|
|
|
|
|
|
|
this._accuStore() |
|
|
|
|
|
|
|
setTimeout(() => { |
|
|
|
|
|
|
|
this.$emit('close') |
|
|
|
this.$emit('close') |
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
watch: { |
|
|
@ -175,11 +173,13 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
created () { |
|
|
|
created () { |
|
|
|
this.udpList = this.store.state.dag.globalParams |
|
|
|
const dag = _.cloneDeep(this.store.state.dag) |
|
|
|
this.name = this.store.state.dag.name |
|
|
|
this.udpList = dag.globalParams |
|
|
|
this.desc = this.store.state.dag.desc |
|
|
|
this.udpListCache = dag.globalParams |
|
|
|
this.syncDefine = this.store.state.dag.syncDefine |
|
|
|
this.name = dag.name |
|
|
|
this.timeout = this.store.state.dag.timeout || 0 |
|
|
|
this.desc = dag.desc |
|
|
|
|
|
|
|
this.syncDefine = dag.syncDefine |
|
|
|
|
|
|
|
this.timeout = dag.timeout || 0 |
|
|
|
this.checkedTimeout = this.timeout !== 0 |
|
|
|
this.checkedTimeout = this.timeout !== 0 |
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted () {}, |
|
|
|
mounted () {}, |
|
|
|