Explorar o código

refactor(portrait,user): 统一修改表格文案并新增入职时间字段

1. 将三个画像页面的表格列"平均工龄"统一改为"平均司龄"
2. 在用户信息编辑页新增入职时间采集项
huoyi hai 3 semanas
pai
achega
c2490fd63b

+ 1 - 1
src/views/portraitManagement/deptProfile/component/profile.vue

@@ -40,7 +40,7 @@ const teamColumns = [
40 40
   { label: '员工数量', prop: 'employeeCount' },
41 41
   { label: '党员数量', prop: 'partyMemberCount' },
42 42
   { label: '平均年龄', prop: 'avgAge' },
43
-  { label: '平均龄', prop: 'avgWorkYears' },
43
+  { label: '平均龄', prop: 'avgWorkYears' },
44 44
   { label: '职业资格等级证书数量', prop: 'qualificationLevel' },
45 45
   { label: '平均开机年限', prop: 'avgXrayOperatorYears' },
46 46
   { label: '综合得分', prop: 'totalScore' }

+ 1 - 1
src/views/portraitManagement/stationProfile/component/profile.vue

@@ -43,7 +43,7 @@ const teamColumns = [
43 43
   { label: '员工数量', prop: 'employeeCount' },
44 44
   { label: '党员数量', prop: 'partyMemberCount' },
45 45
   { label: '平均年龄', prop: 'avgAge' },
46
-  { label: '平均龄', prop: 'avgWorkYears' },
46
+  { label: '平均龄', prop: 'avgWorkYears' },
47 47
   { label: '职业资格等级证书数量', prop: 'qualificationLevel' },
48 48
   { label: '平均开机年限', prop: 'avgXrayOperatorYears' },
49 49
   { label: '综合得分', prop: 'totalScore' }

+ 1 - 1
src/views/portraitManagement/teamProfile/component/profile.vue

@@ -41,7 +41,7 @@ const teamColumns = [
41 41
   { label: '员工数量', prop: 'employeeCount' },
42 42
   { label: '党员数量', prop: 'partyMemberCount' },
43 43
   { label: '平均年龄', prop: 'avgAge' },
44
-  { label: '平均龄', prop: 'avgWorkYears' },
44
+  { label: '平均龄', prop: 'avgWorkYears' },
45 45
   { label: '职业资格等级证书数量', prop: 'qualificationLevel' },
46 46
   { label: '平均开机年限', prop: 'avgXrayOperatorYears' },
47 47
   { label: '综合得分', prop: 'totalScore' }

+ 6 - 0
src/views/system/user/components/UserInfoEdit.vue

@@ -187,6 +187,12 @@
187 187
                 value-format="YYYY-MM-DD" style="width: 100%;" />
188 188
             </el-form-item>
189 189
           </el-col>
190
+           <el-col :span="12">
191
+            <el-form-item label="入职时间" prop="entryDate" label-width="140px">
192
+              <el-date-picker v-model="form.entryDate" type="date" placeholder="请选择入职时间"
193
+                value-format="YYYY-MM-DD" style="width: 100%;" />
194
+            </el-form-item>
195
+          </el-col>
190 196
           <el-col :span="12">
191 197
             <el-form-item label="曾在安检工作中担任的最高职务" prop="securityInspectionPosition" label-width="220px">
192 198
               <el-select v-model="form.securityInspectionPosition" placeholder="请选择曾在安检工作中担任的最高职务">