From 472f504e9c29cd592ee2e25b023892bfa17e4143 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期五, 22 八月 2025 14:22:55 +0800 Subject: [PATCH] fix: 签约 --- src/views/DictionaryManage/components/AddOrEditDictionaryDialog.vue | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/views/DictionaryManage/components/AddOrEditDictionaryDialog.vue b/src/views/DictionaryManage/components/AddOrEditDictionaryDialog.vue index 2ea2250..52032b2 100644 --- a/src/views/DictionaryManage/components/AddOrEditDictionaryDialog.vue +++ b/src/views/DictionaryManage/components/AddOrEditDictionaryDialog.vue @@ -6,7 +6,7 @@ destroy-on-close draggable > - <ProForm :model="form" ref="dialogForm" label-width="90px"> + <ProForm :model="form" ref="dialogForm" label-width="120px"> <ProFormItemV2 label="琛屼笟绫诲瀷:" prop="field1" @@ -40,9 +40,18 @@ <ProFormText v-model.trim="form.code" :disabled="!!form.id"></ProFormText> </ProFormItemV2> <ProFormItemV2 + label="鍙傛暟瀛楁鍚�:" + prop="field3" + :check-rules="[{ message: '璇疯緭鍏ュ弬鏁板瓧娈靛悕' }]" + v-if="category?.data?.code === CategoryCode.ElectronSignParam" + > + <ProFormText v-model.trim="form.field3"></ProFormText> + </ProFormItemV2> + <ProFormItemV2 label="鍥剧墖:" prop="field2" v-if="category?.data?.code === CategoryCode.Welfare" + :check-rules="[{ type: 'upload', message: '璇蜂笂浼犲浘鐗�' }]" > <ProFormImageUpload v-model:file-url="form.field2" :limitFileCount="1"></ProFormImageUpload> </ProFormItemV2> @@ -95,6 +104,7 @@ isDisabled: boolean; field1?: string; field2?: UploadUserFile[]; + field3?: string; }; const form = defineModel<Form>('form'); -- Gitblit v1.9.1