From c743682ee018b25febe1c27673663b8656f5a9d9 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期四, 11 十二月 2025 09:54:23 +0800
Subject: [PATCH] feat: 页面

---
 src/constants/dic.ts                                                |    2 ++
 src/views/DictionaryManage/components/AddOrEditDictionaryDialog.vue |   23 ++++++++++++++++++++---
 2 files changed, 22 insertions(+), 3 deletions(-)

diff --git a/src/constants/dic.ts b/src/constants/dic.ts
index c1e8cc5..2a9227a 100644
--- a/src/constants/dic.ts
+++ b/src/constants/dic.ts
@@ -25,6 +25,8 @@
   InsureWay = '120',
   /**鑱屼笟绫诲埆 */
   JobCategory = '130',
+  /**鎶曚繚鐗堟湰 */
+  InsuranceVersion = '140',
 }
 
 export enum IdentityCodeEnum {
diff --git a/src/views/DictionaryManage/components/AddOrEditDictionaryDialog.vue b/src/views/DictionaryManage/components/AddOrEditDictionaryDialog.vue
index 7f57cf6..16a42b2 100644
--- a/src/views/DictionaryManage/components/AddOrEditDictionaryDialog.vue
+++ b/src/views/DictionaryManage/components/AddOrEditDictionaryDialog.vue
@@ -25,7 +25,8 @@
           category?.data?.code === CategoryCode.InsuranceType ||
           category?.data?.code === CategoryCode.SumInsured ||
           category?.data?.code === CategoryCode.InsureWay ||
-          category?.data?.code === CategoryCode.JobCategory
+          category?.data?.code === CategoryCode.JobCategory ||
+          category?.data?.code === CategoryCode.InsuranceVersion
         "
       >
         <ProFormItemV2
@@ -35,13 +36,25 @@
         >
           <ProFormSelect
             v-model="form.field1"
-            :value-enum="insuranceList"
+            :value-enum="insuranceCompanyList"
             enum-value-key="code"
             :convertEnumValue="false"
           />
         </ProFormItemV2>
         <ProFormItemV2 label="浠g爜:" prop="field2" :check-rules="[{ message: '璇疯緭鍏ヤ唬鐮�' }]">
           <ProFormText placeholder="璇疯緭鍏ヤ唬鐮�" v-model="form.field2"></ProFormText>
+        </ProFormItemV2>
+        <ProFormItemV2
+          label="淇濋櫓闄╃:"
+          prop="field3"
+          :check-rules="[{ message: '璇烽�夋嫨淇濋櫓闄╃' }]"
+        >
+          <ProFormSelect
+            v-model="form.field3"
+            :value-enum="insuranceTypeList"
+            enum-value-key="code"
+            :convertEnumValue="false"
+          />
         </ProFormItemV2>
       </template>
       <ProFormItemV2 label="鍚嶇О:" prop="content" :check-rules="[{ message: '璇疯緭鍏ュ悕绉�' }]">
@@ -150,10 +163,14 @@
   categoryCode: computed(() => CategoryCode.IndustryCategory),
 });
 
-const { dictionaryDataList: insuranceList } = useDictionaryDataSelect({
+const { dictionaryDataList: insuranceCompanyList } = useDictionaryDataSelect({
   categoryCode: computed(() => CategoryCode.InsuranceCompany),
 });
 
+const { dictionaryDataList: insuranceTypeList } = useDictionaryDataSelect({
+  categoryCode: computed(() => CategoryCode.InsuranceType),
+});
+
 const category = computed(() => {
   return getDictionaryCategoryById(form.value.categoryId);
 });

--
Gitblit v1.9.1