审批流保存数据检验
This commit is contained in:
1 parent
7e094cd83e
commit
9bec3c6de0
8 files changed
+233
-94
No files matched your search
@@ -38,19 +38,24 @@
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
// 每个属性值发生变化就会调用这个函数
|
||||
form(newVal, oldVal) {
|
||||
this.saveData(newVal)
|
||||
},
|
||||
// 深度监听 属性的变化
|
||||
deep: true
|
||||
|
||||
},
|
||||
async created() {
|
||||
},
|
||||
mounted() {},
|
||||
methods: {
|
||||
saveData(newVal) {
|
||||
// this.$emit('change-structure', this.form);
|
||||
async doUiAction(uiActionId, uiActionData) {
|
||||
switch (uiActionId) {
|
||||
case 'dataValidate':
|
||||
await this.dataValidate();
|
||||
break;
|
||||
default:
|
||||
console.error("[doUiAction] uiActionId not find", {uiActionId});
|
||||
break;
|
||||
}
|
||||
},
|
||||
dataValidate(){
|
||||
this.$refs.formItemListGenerator.dataValidate()
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user