From 97f29024ce18babeb4b635c5d73f907ac493976e Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期五, 22 八月 2025 16:15:48 +0800 Subject: [PATCH] fix: 签约 --- src/views/DictionaryManage/components/AddOrEditDictionaryDialog.vue | 26 ++++++++++++++++++-------- 1 files changed, 18 insertions(+), 8 deletions(-) diff --git a/src/views/DictionaryManage/components/AddOrEditDictionaryDialog.vue b/src/views/DictionaryManage/components/AddOrEditDictionaryDialog.vue index 52032b2..e34bf6a 100644 --- a/src/views/DictionaryManage/components/AddOrEditDictionaryDialog.vue +++ b/src/views/DictionaryManage/components/AddOrEditDictionaryDialog.vue @@ -39,14 +39,23 @@ <ProFormItemV2 label="缂栧彿:" prop="code" :check-rules="[{ message: '璇疯緭鍏ョ紪鍙�' }]"> <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> + <template v-if="category?.data?.code === CategoryCode.ElectronSignParam"> + <ProFormItemV2 + label="鍙傛暟瀛楁鍚�:" + prop="field3" + :check-rules="[{ message: '璇疯緭鍏ュ弬鏁板瓧娈靛悕' }]" + > + <ProFormText v-model.trim="form.field3" placeholder="璇疯緭鍏ュ弬鏁板瓧娈靛悕"></ProFormText> + </ProFormItemV2> + <ProFormItemV2 + label="缁戝畾瀛楁鍚�:" + prop="field4" + :check-rules="[{ message: '璇疯緭鍏ョ粦瀹氬瓧娈靛悕' }]" + > + <ProFormText v-model.trim="form.field4" placeholder="璇疯緭鍏ョ粦瀹氬瓧娈靛悕"></ProFormText> + </ProFormItemV2> + </template> + <ProFormItemV2 label="鍥剧墖:" prop="field2" @@ -105,6 +114,7 @@ field1?: string; field2?: UploadUserFile[]; field3?: string; + field4?: string; }; const form = defineModel<Form>('form'); -- Gitblit v1.9.1