mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-15 19:45:06 +08:00
1. 修改 Parser.vue 组件,实现 submit 传递 conf 和 values 参数
2. 完成流程创建的前端 UI 界面
This commit is contained in:
@ -173,8 +173,13 @@ export default {
|
||||
submitForm() {
|
||||
this.$refs[this.formConf.formRef].validate(valid => {
|
||||
if (!valid) return false
|
||||
// 触发sumit事件
|
||||
this.$emit('submit', this[this.formConf.formModel])
|
||||
// 触发 submit 事件
|
||||
// update by 芋道源码
|
||||
// this.$emit('submit', this[this.formConf.formModel])
|
||||
this.$emit('submit', {
|
||||
conf: this.formConfCopy,
|
||||
values: this[this.formConf.formModel]
|
||||
})
|
||||
return true
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user