Przeglądaj źródła

员工档案字段调整

songxy 9 miesięcy temu
rodzic
commit
225f991d3f

+ 16 - 69
client/src/views/OaSystem/personnelManagement/ygdaPage/index.ts

@@ -12,10 +12,14 @@ export const getDictList = () => {
   const nation = getDictOptions('nation_type')
   // 婚姻情况
   const hyzk = getDictOptions('hy_type')
+  // 健康状况
+  const jkzk = getDictOptions('health')
   // 户口性质
   const hkxz = getDictOptions('hk_type')
   // 政治面貌
   const zzmm = getDictOptions('polity_type')
+  //签订公司
+  const qdgs = getDictOptions('company')
   // 能力等级
   const nldj = getDictOptions('ABILITY_LEVEL')
   // 最高学历
@@ -30,8 +34,10 @@ export const getDictList = () => {
   dictOptionsObj.drzw = drzw
   dictOptionsObj.nation = nation
   dictOptionsObj.hyzk = hyzk
+  dictOptionsObj.jkzk = jkzk
   dictOptionsObj.hkxz = hkxz
   dictOptionsObj.zzmm = zzmm
+  dictOptionsObj.qdgs = qdgs
   dictOptionsObj.nldj = nldj
   dictOptionsObj.zgxl = zgxl
   dictOptionsObj.jjlxrgx = jjlxrgx
@@ -109,16 +115,7 @@ export const formConfigList = [
         name: 'hyzk',
         title: '婚姻状况',
         type: 'select',
-        options: [
-          {
-            value: 1,
-            label: '已婚'
-          },
-          {
-            value: 2,
-            label: '未婚'
-          }
-        ]
+        options: []
       },
       {
         name: 'jkzk',
@@ -201,69 +198,21 @@ export const formConfigList = [
       },
       {
         name: 'qdgs',
-        title: '签订公司'
+        title: '签订公司',
+        type: 'select',
+        options: []
       },
       {
         name: 'drzw',
         title: '在岗职位',
         type: 'select',
-        options: [
-          {
-            value: '1',
-            label: 'JAVA工程师'
-          },
-          {
-            value: '2',
-            label: '前端工程师'
-          }
-        ]
+        options: []
       },
       {
         name: 'nldj',
         title: '能力等级',
         type: 'select',
-        options: [
-          {
-            value: '1',
-            label: 'L1'
-          },
-          {
-            value: '2',
-            label: 'L2'
-          },
-          {
-            value: '3',
-            label: 'L3'
-          },
-          {
-            value: '4',
-            label: 'L4'
-          },
-          {
-            value: '5',
-            label: 'L5'
-          },
-          {
-            value: '6',
-            label: 'L6'
-          },
-          {
-            value: '7',
-            label: 'L7'
-          },
-          {
-            value: '8',
-            label: 'L8'
-          },
-          {
-            value: '9',
-            label: 'L9'
-          },
-          {
-            value: '10',
-            label: 'L10'
-          }
-        ]
+        options: []
       },
       {
         name: 'cjgzsj',
@@ -291,14 +240,12 @@ export const formConfigList = [
         type: 'time'
       },
       {
-        name: 'htdqs',
-        title: '续签次数',
-        type: 'time'
+        name: 'xqcs',
+        title: '续签次数'
       },
       {
-        name: 'htdqs',
-        title: '司龄',
-        type: 'time'
+        name: 'xqnx',
+        title: '司龄'
       }
     ]
   },