fix: 修复流程设计器中指定人员后发起流程还需要选择接受人员问题

This commit is contained in:
tony
2022-12-25 21:29:30 +08:00
parent 08a43e8f4a
commit ad891029fe
5 changed files with 133 additions and 110 deletions

View File

@@ -367,56 +367,69 @@ export default {
this.updateProperties({'flowable:userType': val})
},
'formData.async': function(val) {
if (val === '') val = null
this.updateProperties({ 'flowable:async': val })
if (val) {
this.updateProperties({'flowable:async': val})
}
},
'formData.dueDate': function(val) {
if (val === '') val = null
this.updateProperties({ 'flowable:dueDate': val })
if (val) {
this.updateProperties({'flowable:dueDate': val})
}
},
'formData.formKey': function(val) {
if (val === '') val = null
this.updateProperties({ 'flowable:formKey': val })
if (val) {
this.updateProperties({'flowable:formKey': val})
}
},
'formData.priority': function(val) {
if (val === '') val = null
this.updateProperties({ 'flowable:priority': val })
if (val) {
this.updateProperties({'flowable:priority': val})
}
},
'formData.skipExpression': function(val) {
if (val === '') val = null
this.updateProperties({ 'flowable:skipExpression': val })
if (val) {
this.updateProperties({'flowable:skipExpression': val})
}
},
'formData.isForCompensation': function(val) {
if (val === '') val = null
this.updateProperties({ 'isForCompensation': val })
if (val) {
this.updateProperties({'isForCompensation': val})
}
},
'formData.triggerable': function(val) {
if (val === '') val = null
this.updateProperties({ 'flowable:triggerable': val })
if (val) {
this.updateProperties({'flowable:triggerable': val})
}
},
'formData.class': function(val) {
if (val === '') val = null
this.updateProperties({ 'flowable:class': val })
if (val) {
this.updateProperties({'flowable:class': val})
}
},
'formData.autoStoreVariables': function(val) {
if (val === '') val = null
this.updateProperties({ 'flowable:autoStoreVariables': val })
if (val) {
this.updateProperties({'flowable:autoStoreVariables': val})
}
},
'formData.exclude': function(val) {
if (val === '') val = null
this.updateProperties({ 'flowable:exclude': val })
if (val) {
this.updateProperties({'flowable:exclude': val})
}
},
'formData.ruleVariablesInput': function(val) {
if (val === '') val = null
this.updateProperties({ 'flowable:ruleVariablesInput': val })
if (val) {
this.updateProperties({'flowable:ruleVariablesInput': val})
}
},
'formData.rules': function(val) {
if (val === '') val = null
this.updateProperties({ 'flowable:rules': val })
if (val) {
this.updateProperties({'flowable:rules': val})
}
},
'formData.resultVariable': function(val) {
if (val === '') val = null
this.updateProperties({ 'flowable:resultVariable': val })
if (val) {
this.updateProperties({'flowable:resultVariable': val})
}
}
},
created() {