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