Jelajahi Sumber

修改人员档案详情页缺少的身份证号码字段

guoqing 1 tahun lalu
induk
melakukan
2a98f283e2

+ 2 - 27
src/views/placeManage/placePerson/placePersonAdd.vue

@@ -308,10 +308,10 @@
               <van-checkbox-group v-model="checked2">
                 <van-cell-group inset>
                   <van-cell
-                    v-for="(item, index) in persontype"
+                    v-for="(item, index) in $dictUtils.getDictList('hs_people_type')"
                     clickable
                     :key="item"
-                    :title="`${item.text}`"
+                    :title="`${item.label}`"
                     @click="toggle(index)"
                   >
                     <template #right-icon>
@@ -946,30 +946,6 @@ export default {
     //人员类型
     const personnalType = ref("");
     const checked2 = ref([]);
-    const persontype = [
-      { text: "宗教从业人员", value: "1" },
-      { text: "民族场所从业人员", value: "2" },
-      { text: "教职人员", value: "3" },
-      { text: "固定信徒", value: "4" },
-      { text: "场所居住人员", value: "5" },
-      { text: "境外人员", value: "6" },
-      { text: "非本市人员", value: "7" },
-      { text: "非本教人员", value: "8" },
-      { text: "临时人员", value: "9" },
-      { text: "异常人员", value: "10" },
-      { text: "邪教人员", value: "12" },
-      { text: "管理人员", value: "13" },
-      { text: "全能神离家人员", value: "14" },
-      { text: "全能神骨干人员", value: "15" },
-      { text: "网络运营人员", value: "16" },
-      { text: "涉政有害活动人员", value: "17" },
-      { text: "境内外记者", value: "18" },
-      { text: "境外法轮功骨干人员", value: "19" },
-      { text: "其他邪教骨干人员", value: "20" },
-      { text: "心灵法门骨干人员", value: "21" },
-      { text: "“精神控制”有害培训骨干人员", value: "22" },
-      { text: "重点人员", value: "23" },
-    ];
     const showZW = ref("");
     const checkboxRefs = ref([]);
     let hs_persontype = ref(false);
@@ -1200,7 +1176,6 @@ export default {
       //人员类型
       checked2,
       personnalType,
-      persontype,
       hs_persontype,
       toggle,
       changperson,

+ 36 - 27
src/views/placeManage/placePerson/placePersoninfo.vue

@@ -86,6 +86,16 @@
         </van-col>
       </van-row>
       <div class="item">
+        <van-cell-group>
+        <van-field
+          v-model="data.idcard"
+          center
+          required
+          label="证件号码:"
+          placeholder="请填写证件号码"
+          input-align="right"
+        />
+      </van-cell-group>
         <van-cell-group>
           <van-field
             v-model="data.beforeUsedName"
@@ -335,10 +345,10 @@
                 <van-checkbox-group v-model="checked2">
                   <van-cell-group inset>
                     <van-cell
-                      v-for="(item, index) in persontype"
+                      v-for="(item, index) in $dictUtils.getDictList('hs_people_type')"
                       clickable
                       :key="item"
-                      :title="`${item.text}`"
+                      :title="`${item.label}`"
                       @click="toggle(index)"
                     >
                       <template #right-icon>
@@ -975,30 +985,30 @@ export default {
     //人员类型
     const personnalType = ref("");
     const checked2 = ref([]);
-    const persontype = [
-      { text: "宗教从业人员", value: "1" },
-      { text: "民族场所从业人员", value: "2" },
-      { text: "教职人员", value: "3" },
-      { text: "固定信徒", value: "4" },
-      { text: "场所居住人员", value: "5" },
-      { text: "境外人员", value: "6" },
-      { text: "非本市人员", value: "7" },
-      { text: "非本教人员", value: "8" },
-      { text: "临时人员", value: "9" },
-      { text: "异常人员", value: "10" },
-      { text: "邪教人员", value: "12" },
-      { text: "管理人员", value: "13" },
-      { text: "全能神离家人员", value: "14" },
-      { text: "全能神骨干人员", value: "15" },
-      { text: "网络运营人员", value: "16" },
-      { text: "涉政有害活动人员", value: "17" },
-      { text: "境内外记者", value: "18" },
-      { text: "境外法轮功骨干人员", value: "19" },
-      { text: "其他邪教骨干人员", value: "20" },
-      { text: "心灵法门骨干人员", value: "21" },
-      { text: "“精神控制”有害培训骨干人员", value: "22" },
-      { text: "重点人员", value: "23" },
-    ];
+    // const persontype = [
+    //   { text: "宗教从业人员", value: "1" },
+    //   { text: "民族场所从业人员", value: "2" },
+    //   { text: "教职人员", value: "3" },
+    //   { text: "固定信徒", value: "4" },
+    //   { text: "场所居住人员", value: "5" },
+    //   { text: "境外人员", value: "6" },
+    //   { text: "非本市人员", value: "7" },
+    //   { text: "非本教人员", value: "8" },
+    //   { text: "临时人员", value: "9" },
+    //   { text: "异常人员", value: "10" },
+    //   { text: "邪教人员", value: "12" },
+    //   { text: "管理人员", value: "13" },
+    //   { text: "全能神离家人员", value: "14" },
+    //   { text: "全能神骨干人员", value: "15" },
+    //   { text: "网络运营人员", value: "16" },
+    //   { text: "涉政有害活动人员", value: "17" },
+    //   { text: "境内外记者", value: "18" },
+    //   { text: "境外法轮功骨干人员", value: "19" },
+    //   { text: "其他邪教骨干人员", value: "20" },
+    //   { text: "心灵法门骨干人员", value: "21" },
+    //   { text: "“精神控制”有害培训骨干人员", value: "22" },
+    //   { text: "重点人员", value: "23" },
+    // ];
     const showZW = ref("");
     const checkboxRefs = ref([]);
     let hs_persontype = ref(false);
@@ -1235,7 +1245,6 @@ export default {
       //人员类型
       checked2,
       personnalType,
-      persontype,
       hs_persontype,
       toggle,
       checkboxRefs,