From c64be46f7a46494da3d90e11217ddeb9ae155cc2 Mon Sep 17 00:00:00 2001
From: 楚江漓i <85093541@qq.com>
Date: 星期四, 04 三月 2021 00:12:59 +0800
Subject: [PATCH] 数据统计所有子页面,在职员工档案页面,按钮等样式修改
---
src/views/dashboard/ygUser.vue | 43 +++++++++++++++++++++++--------------------
1 files changed, 23 insertions(+), 20 deletions(-)
diff --git a/src/views/dashboard/ygUser.vue b/src/views/dashboard/ygUser.vue
index 75dd91f..8cde6ac 100644
--- a/src/views/dashboard/ygUser.vue
+++ b/src/views/dashboard/ygUser.vue
@@ -2,6 +2,7 @@
<el-dialog
:title="title"
top="50px"
+ width="70%"
:close-on-click-modal="false"
:close-on-press-escape="false"
:visible.sync="isVisible"
@@ -21,31 +22,33 @@
ref="multipleTable"
:data="list"
row-key="prop1"
- width="50%"
+ stripe
+ :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
+ style="width: 100%;"
>
- <el-table-column type="selection" :reserve-selection="false" width="55" />
- <el-table-column prop="empNumb" label="员工编号" width="100" />
- <el-table-column prop="deptName" label="护卫点" width="100" />
- <el-table-column prop="jobName" label="岗位" width="100" />
- <el-table-column prop="empName" label="姓名" width="100" />
- <el-table-column prop="certificateNumb" label="身份证号码" width="180" />
- <el-table-column prop="sexName" label="性别" width="50" />
- <el-table-column prop="age" label="年龄" width="50" />
- <el-table-column prop="educationName" label="最高学历" width="100" />
- <el-table-column prop="empTypeName" label="员工类别" width="100" />
- <el-table-column prop="nativePlaceName" label="籍贯" width="100" />
- <el-table-column prop="telePhone" label="联系电话" width="100" />
- <el-table-column prop="entryDate" label="入职日期" width="100" />
- <el-table-column prop="empStatus" label="员工状态" width="100">
+ <el-table-column show-overflow-tooltip="true" type="selection" :reserve-selection="false" width="55" />
+ <el-table-column show-overflow-tooltip="true" prop="empNumb" label="员工编号" width="80 " />
+ <el-table-column show-overflow-tooltip="true" prop="deptName" label="护卫点" width="60" />
+ <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位" width="60" />
+ <el-table-column show-overflow-tooltip="true" prop="empName" label="姓名" width="60" />
+ <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" />
+ <el-table-column show-overflow-tooltip="true" prop="sexName" label="性别" width="50" />
+ <el-table-column show-overflow-tooltip="true" prop="age" label="年龄" width="50" />
+ <el-table-column show-overflow-tooltip="true" prop="educationName" label="最高学历" width="60" />
+ <el-table-column show-overflow-tooltip="true" prop="empTypeName" label="员工类别" width="60" />
+ <el-table-column show-overflow-tooltip="true" prop="nativePlaceName" label="籍贯" width="60" />
+ <el-table-column show-overflow-tooltip="true" prop="telePhone" label="联系电话" width="80" />
+ <el-table-column show-overflow-tooltip="true" prop="entryDate" label="入职日期" width="80" />
+ <el-table-column show-overflow-tooltip="true" prop="empStatus" label="员工状态" width="50">
<template slot-scope="scope">
<span>{{ gzdStateList[scope.row.empStatus] }} </span>
</template>
</el-table-column>
- <el-table-column prop="dimissionDate" label="离职日期" width="100" />
- <el-table-column prop="dimissionTypeName" label="离职类别" width="100" />
- <el-table-column prop="applayDate" label="辞职申请日期" width="180" />
- <el-table-column prop="reason" label="辞职事由" width="180" />
- <el-table-column prop="reporter" label="汇报人" width="180" />
+ <el-table-column show-overflow-tooltip="true" prop="dimissionDate" label="离职日期" width="80" />
+ <el-table-column show-overflow-tooltip="true" prop="dimissionTypeName" label="离职类别" width="60" />
+ <el-table-column show-overflow-tooltip="true" prop="applayDate" label="辞职申请日期" />
+ <el-table-column show-overflow-tooltip="true" prop="reason" label="辞职事由" width="60" />
+ <el-table-column show-overflow-tooltip="true" prop="reporter" label="汇报人" width="60" />
</el-table>
<pagination
v-show="total>0"
--
Gitblit v1.8.0