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/sbUser.vue |   31 +++++++++++++++++--------------
 1 files changed, 17 insertions(+), 14 deletions(-)

diff --git a/src/views/dashboard/sbUser.vue b/src/views/dashboard/sbUser.vue
index be9d037..bdfba7f 100644
--- a/src/views/dashboard/sbUser.vue
+++ b/src/views/dashboard/sbUser.vue
@@ -2,6 +2,7 @@
   <el-dialog
     :title="title"
     top="50px"
+    width="80%"
     :close-on-click-modal="false"
     :close-on-press-escape="false"
     :visible.sync="isVisible"
@@ -21,17 +22,19 @@
         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="180" />
-        <el-table-column prop="deptName" label="护卫点" width="180" />
-        <el-table-column prop="jobName" label="岗位名称" width="180" />
-        <el-table-column prop="empName" label="姓名" width="180" />
-        <el-table-column prop="certificateNumb" label="身份证号码" width="180" />
-        <el-table-column prop="applayDate" label="社保申请日期" width="180" />
-        <el-table-column prop="proposer" label="申请人" width="180" />
-        <el-table-column prop="insuranceGaers" label="社保档位">
+        <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="100" />
+        <el-table-column show-overflow-tooltip="true" prop="deptName" label="护卫点" width="100" />
+        <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位名称" width="100" />
+        <el-table-column show-overflow-tooltip="true" prop="empName" label="姓名" width="100" />
+        <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" />
+        <el-table-column show-overflow-tooltip="true" prop="applayDate" label="社保申请日期" />
+        <el-table-column show-overflow-tooltip="true" prop="proposer" label="申请人" width="100" />
+        <el-table-column show-overflow-tooltip="true" prop="insuranceGaers" label="社保档位" width="100">
           <template slot-scope="scope">
             {{ scope.row.insuranceGaers === '1' ? '深户(五险一档)': '' }}
             {{ scope.row.insuranceGaers === '2' ? '非深户(五险一档)': '' }}
@@ -40,20 +43,20 @@
             {{ scope.row.insuranceGaers === '5' ? '调休假': '' }}
           </template>
         </el-table-column>
-        <el-table-column prop="reportStatus" label="是否已报告">
+        <el-table-column show-overflow-tooltip="true" prop="reportStatus" label="是否已报告" width="100">
           <template slot-scope="scope">
             {{ scope.row.reportStatus === 1 ? '未报告': '' }}
             {{ scope.row.reportStatus === 2 ? '已报告': '' }}
           </template>
         </el-table-column>
-        <el-table-column prop="applayStatus" label="状态">
+        <el-table-column show-overflow-tooltip="true" prop="applayStatus" label="状态" width="80">
           <template slot-scope="scope">
             {{ scope.row.applayStatus === 1 ? '未申请': '' }}
             {{ scope.row.applayStatus === 2 ? '已申请': '' }}
           </template>
         </el-table-column>
-        <el-table-column prop="auditor" label="审核人" width="180" />
-        <el-table-column prop="remark" label="备注" width="280" />
+        <el-table-column show-overflow-tooltip="true" prop="auditor" label="审核人" width="80" />
+        <el-table-column show-overflow-tooltip="true" prop="remark" label="备注" />
       </el-table>
       <pagination
         v-show="total>0"

--
Gitblit v1.8.0