diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue index 7050f3f..fa4d2b1 100644 --- a/src/components/BasicForm/src/BasicForm.vue +++ b/src/components/BasicForm/src/BasicForm.vue @@ -7,7 +7,22 @@ :schema="formSchema" :is-col="true" @opensearchTable="opensearchTable" - /> + > + +
{ } - /** 打开弹窗 */ const open = async (type: string, row?: any, masterParmas?: any) => { dialogVisible.value = true @@ -268,6 +295,7 @@ const emit = defineEmits([ 'searchTableSuccess', 'opensearchTable', 'submitForm', + 'typeSelectChange' ]) //普通下拉改变事件 const formSelectChange = (field, val) => { @@ -312,6 +340,10 @@ const inpuFocus = (headerItem, row, index) => { headerItem.tableForm.searchCondition ) } +// 修改数据类型 +const typeSelectChange = (field, val) => { + emit('typeSelectChange', field, val,formRef.value) +}