|
|
|
|
@ -91,8 +91,8 @@ export default { |
|
|
|
|
if (!val || val == 0) return |
|
|
|
|
getDetail(val).then(res => { |
|
|
|
|
this.process = res.data.data |
|
|
|
|
const { formKey, xml, exForm } = this.process |
|
|
|
|
this.$set(this.step2.option, 'xml', xml) |
|
|
|
|
const { formKey, modelXml, exForm } = this.process |
|
|
|
|
this.$set(this.step2.option, 'xml', modelXml) |
|
|
|
|
this.$set(this.step2.option, 'process', this.process) |
|
|
|
|
if (formKey.startsWith('wf_ex_')) { // 外置表单 |
|
|
|
|
const column = [] |
|
|
|
|
@ -368,7 +368,7 @@ export default { |
|
|
|
|
this.$refs.bpmn2.getData('xml').then(data => { |
|
|
|
|
this.$set(this.step2.option, 'xml', data) |
|
|
|
|
this.$set(this.step3.option, 'xml', data) |
|
|
|
|
this.process.xml = data |
|
|
|
|
this.process.modelXml = data |
|
|
|
|
this.step++ |
|
|
|
|
}) |
|
|
|
|
break; |
|
|
|
|
|