| | |
| | | watch: { |
| | | id: { |
| | | handler(newVal) { |
| | | console.log("新的id值:", newVal) |
| | | if (StrUtil.isNotBlank(newVal)) { |
| | | this.init() |
| | | } |
| | |
| | | // 方法区 |
| | | resetFlowForm() { |
| | | this.bpmnFormData.formKey = this.modelerStore.element.businessObject.formKey; |
| | | console.log(this.bpmnFormData.formKey, "formKey!!") |
| | | }, |
| | | |
| | | updateElementFormKey(val) { |
| | | console.log(val, "数据改变") |
| | | console.log(this.bpmnFormData.formKey, "数据改变") |
| | | this.init() |
| | | if (StrUtil.isBlank(val)) { |
| | | delete this.modelerStore.element.businessObject[`formKey`] |
| | |
| | | item.formId = item.formId.toString(); |
| | | }) |
| | | this.formList = res.data; |
| | | console.log("表单信息:", this.formList) |
| | | }) |
| | | } |
| | | } |