From 506f4bcd2ce4f49b85ced24a24eeedbae3ee924a Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期三, 06 八月 2025 18:29:56 +0800 Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/flexJobAdmin --- src/views/DictionaryManage/components/AddOrEditDictionaryDialog.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/DictionaryManage/components/AddOrEditDictionaryDialog.vue b/src/views/DictionaryManage/components/AddOrEditDictionaryDialog.vue index 9784ece..69b365d 100644 --- a/src/views/DictionaryManage/components/AddOrEditDictionaryDialog.vue +++ b/src/views/DictionaryManage/components/AddOrEditDictionaryDialog.vue @@ -10,13 +10,14 @@ <ProFormItemV2 label="琛屼笟绫诲瀷:" prop="field1" - v-if="category?.data?.code === '30'" + v-if="category?.data?.code === CategoryCode.Position" :check-rules="[{ message: '璇烽�夋嫨琛屼笟绫诲瀷' }]" > <ProFormSelect v-model="form.field1" :value-enum="dictionaryDataList" enum-value-key="code" + :convertEnumValue="false" /> </ProFormItemV2> <ProFormItemV2 label="鍚嶇О:" prop="content" :check-rules="[{ message: '璇疯緭鍏ュ悕绉�' }]"> @@ -37,7 +38,7 @@ <ProFormItemV2 label="缂栧彿:" prop="code"> <ProFormText v-model.trim="form.code"></ProFormText> </ProFormItemV2> - <ProFormItemV2 label="鍥剧墖:" prop="src" v-if="category?.data?.code === '50'"> + <ProFormItemV2 label="鍥剧墖:" prop="src" v-if="category?.data?.code === CategoryCode.Welfare"> <ProFormImageUpload v-model:file-url="form.field2" :limitFileCount="1"></ProFormImageUpload> </ProFormItemV2> <ProFormItemV2 label="鐘舵��:" prop="status"> -- Gitblit v1.9.1