From d6f1a0ecac66466fcd373e471f0ac2c460efee6c Mon Sep 17 00:00:00 2001
From: luoyb <412940104@qq.com>
Date: 星期日, 05 五月 2024 21:25:47 +0800
Subject: [PATCH] feat: 意外险案件、工伤案件、超龄员工统计修改
---
src/views/dashboard/onTheJobUser.vue | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/views/dashboard/onTheJobUser.vue b/src/views/dashboard/onTheJobUser.vue
index c1a0b5b..551d3d9 100644
--- a/src/views/dashboard/onTheJobUser.vue
+++ b/src/views/dashboard/onTheJobUser.vue
@@ -41,6 +41,7 @@
<el-table-column show-overflow-tooltip prop="nativePlace" :formatter="nativePlaceFormat" label="籍贯" width="80" />
<el-table-column show-overflow-tooltip prop="telePhone" label="联系电话" width="110" />
<el-table-column show-overflow-tooltip prop="entryDate" label="入职日期" width="110" />
+ <el-table-column show-overflow-tooltip prop="insuranceTypeName" label="社保档位" min-width="120" />
<el-table-column show-overflow-tooltip prop="empStatus" label="员工状态" width="80">
<template slot-scope="scope">
<span>{{ gzdStateList[scope.row.empStatus] }} </span>
@@ -111,6 +112,7 @@
},
educationOptions: [],
nativePlaceOptions: [],
+ insuranceOptions: [],
sexOptions: [],
empTypeOptions: [],
nationOptions: []
@@ -139,6 +141,9 @@
this.getDicts('NATION').then(response => {
this.nationOptions = response.data
})
+ this.getDicts('INSURANCETYPE').then(response => {
+ this.insuranceTypeOptions = response.data
+ })
},
methods: {
educationFormat(row, column) {
@@ -147,6 +152,9 @@
nativePlaceFormat(row, column) {
return this.selectDictLabel(this.nativePlaceOptions, row.nativePlace)
},
+ insuranceTypeFormat(row,colum){
+ return this.selectDictLabel(this.insuranceTypeOptions, row.insuranceType)
+ },
empTypeFormat(row, column) {
return this.selectDictLabel(this.empTypeOptions, row.empType)
},
--
Gitblit v1.8.0