feat: 新增需求

This commit is contained in:
caijun
2026-01-19 17:34:15 +08:00
parent 8fa31df250
commit 9f5b2a92c4
67 changed files with 7518 additions and 481 deletions

View File

@@ -1,9 +1,9 @@
<template>
<view>
<template v-if="config.formType == 1">
<template >
<dynamicForm ref="form" @eventReceiver="eventReceiver" @setBtnLoad="setBtnLoad" :config="config" />
</template>
<template v-if="config.formType == 2">
<!-- <template v-if="config.formType == 2">
<crmOrder ref="form" @eventReceiver="eventReceiver" v-if="config.formEnCode==='crmOrder'"
:config="config" />
<leaveApply ref="form" @eventReceiver="eventReceiver" v-if="config.formEnCode==='leaveApply'"
@@ -12,7 +12,7 @@
:config="config" />
<revokeApply ref="form" @eventReceiver="eventReceiver" v-if="config.formEnCode==='revoke'"
:config="config" />
</template>
</template> -->
</view>
</template>
@@ -36,6 +36,15 @@
default: () => {}
},
},
watch:{
config:{
handler(val){
console.log(val,'val1233')
},
deep:true,
immediate: true
}
},
methods: {
eventReceiver(formData, eventType) {
this.$emit('eventReceiver', formData, eventType)