diff --git a/src/components/DesignForm/assembly/index.ts b/src/components/DesignForm/assembly/index.ts index 890fb7f22..6d7b9e1f5 100644 --- a/src/components/DesignForm/assembly/index.ts +++ b/src/components/DesignForm/assembly/index.ts @@ -419,6 +419,17 @@ const selectOption: any = [ }, config: {} }, + { + type: 'associatedForms', + label: '关联表单', + icon: '', + iconFont: 'fa-wpforms', + control: { + modelValue: '', + }, + config: {} + } + ] }, { diff --git a/src/components/DesignForm/public/form/formGroup.vue b/src/components/DesignForm/public/form/formGroup.vue index 58cf2b01c..504b71966 100644 --- a/src/components/DesignForm/public/form/formGroup.vue +++ b/src/components/DesignForm/public/form/formGroup.vue @@ -426,6 +426,7 @@ onMounted(()=>{ + diff --git a/src/widget/associatedforms/associatedForms.vue b/src/widget/associatedforms/associatedForms.vue new file mode 100644 index 000000000..3ba08b5ac --- /dev/null +++ b/src/widget/associatedforms/associatedForms.vue @@ -0,0 +1,15 @@ + + + + + \ No newline at end of file diff --git a/src/widget/associatedforms/index.vue b/src/widget/associatedforms/index.vue new file mode 100644 index 000000000..162b8041a --- /dev/null +++ b/src/widget/associatedforms/index.vue @@ -0,0 +1,181 @@ + + + + \ No newline at end of file diff --git a/src/widget/index.ts b/src/widget/index.ts index fadb83609..f3ac33870 100644 --- a/src/widget/index.ts +++ b/src/widget/index.ts @@ -11,6 +11,7 @@ import videoUpAndPlay from './videoupload/index.vue' import lowcodeCarsusel from './carousel/index.vue' import lowcodeTransfer from './lowcodetransfer/index.vue' import lowcodeImage from './lowcodeimage/index.vue' +import associatedForms from './associatedforms/index.vue' export default (app: any) => { app.component('SerialNumber', serialNumber) @@ -23,4 +24,5 @@ export default (app: any) => { app.component('LowcodeCarsusel',lowcodeCarsusel) app.component('LowcodeTransfer',lowcodeTransfer) app.component('LowcodeImage',lowcodeImage) + app.component('AssociatedForms',associatedForms) }