ソースを参照

人员档案录入名族BUG修改

guoqing 2 年 前
コミット
0cfb6e00a9

+ 0 - 6
src/api/placePerson/placePerson.js

@@ -1,12 +1,6 @@
 import request from "@/utils/request";
 
 export default class placePerson {
-    //民族列表
-    nation() {
-        return request.get(
-            `/sys/dict/getDictValue`, { dictTypeId: '1574569879287033857' }
-        )
-    };
     //籍贯接口
     nativePlace(params) {
         return request.get(

+ 59 - 10
src/views/placeManage/placePerson/placePersonAdd.vue

@@ -746,15 +746,6 @@ export default {
     const cityOutaddress = ref("");
     const locationName = ref("");
     onMounted(() => {
-      //民族字段接口
-      new placePerson().nation().then((res) => {
-        res.forEach((item) => {
-          nation.value.push({
-            text: item.label,
-            value: item.value,
-          });
-        });
-      });
       //籍贯接口
       new placePerson().nativePlace().then((res) => {
         nativePlace.value.push(...res);
@@ -780,7 +771,65 @@ export default {
     };
     // 民族
     const nationName = ref("");
-    const nation = ref([]);
+    const nation = [
+      { 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: " 11" },
+      { 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" },
+      { text: "京族", value: "24" },
+      { text: "景颇族", value: "25" },
+      { text: "柯尔克孜族", value: " 26" },
+      { text: "拉祜族", value: "27" },
+      { text: "黎族", value: "28" },
+      { text: "傈僳族", value: "29" },
+      { text: "珞巴族", value: "30" },
+      { text: "满族", value: " 31" },
+      { text: "毛南族", value: "32" },
+      { text: "门巴族", value: "33" },
+      { text: "蒙古族", value: "34" },
+      { text: "苗族", value: "35" },
+      { text: "仫佬族", value: " 36" },
+      { text: "纳西族", value: "37" },
+      { text: "怒族", value: "38" },
+      { text: "普米族", value: "39" },
+      { text: "羌族", value: "40" },
+      { text: "撒拉族", value: " 41" },
+      { text: "畲族", value: "42" },
+      { text: "水族", value: "43" },
+      { text: "塔吉克族", value: "44" },
+      { text: "塔塔尔族", value: "45" },
+      { text: "土家族", value: " 46" },
+      { text: "土族", value: "47" },
+      { text: "佤族", value: "48" },
+      { text: "维吾尔族", value: "49" },
+      { text: "乌孜别克族", value: "50" },
+      { text: "锡伯族", value: " 51" },
+      { text: "瑶族", value: "52" },
+      { text: "彝族", value: "53" },
+      { text: "裕固族", value: "54" },
+      { text: "藏族", value: "55" },
+      { text: "壮族", value: "56" },
+      { text: "其他", value: "57" },
+    ]
     let hs_nation = ref(false);
     const getnation = ({ selectedOptions }) => {
       hs_nation.value = false;