From 6448ec15bfe0b65fb822a662105bceddc23b58d8 Mon Sep 17 00:00:00 2001
From: yubo <autumnal_wind@yeah.net>
Date: 星期一, 06 四月 2026 21:34:44 +0800
Subject: [PATCH] feat(user): 新增员工档案管理视图组件
---
src/views/user/search.vue | 857 +++++++++++++++++++++++++++++++++++++++-----------------
1 files changed, 593 insertions(+), 264 deletions(-)
diff --git a/src/views/user/search.vue b/src/views/user/search.vue
index 67cadc7..01251d9 100644
--- a/src/views/user/search.vue
+++ b/src/views/user/search.vue
@@ -43,7 +43,7 @@
<span :class="thisShowIndex===10?'selectedTimeline':''">工伤案件</span>
</el-timeline-item>
<el-timeline-item @click.native="isShow(showArr[11].show, 11)">
- <span :class="thisShowIndex===11?'selectedTimeline':''">劳资案件</span>
+ <span :class="thisShowIndex===11?'selectedTimeline':''">仲裁案件</span>
</el-timeline-item>
<el-timeline-item @click.native="isShow(showArr[12].show, 12)">
<span :class="thisShowIndex===12?'selectedTimeline':''">不良记录</span>
@@ -193,7 +193,7 @@
</td>
</tr>
<tr>
- <td class="td">保险类型:</td>
+ <td class="td">社保档位:</td>
<td class="td-group">
<el-checkbox-group v-model="queryParams.insuranceType" class="fj-checkbox">
<el-checkbox label="" @change="selectAllInsuranceType">全部</el-checkbox>
@@ -248,6 +248,21 @@
</el-checkbox-group>
</td>
</tr>
+ <tr>
+ <td class="td">相关证件:</td>
+ <td class="td-group">
+ <el-checkbox-group v-model="queryParams.certificateList" class="fj-checkbox">
+ <el-checkbox label="" @change="selectAllCertificateList">全部</el-checkbox>
+ <el-checkbox
+ v-for="data in certificateListOptions"
+ :key="data.dicItemName"
+ :label="data.dicItemCode"
+ >
+ {{ data.dicItemName }}
+ </el-checkbox>
+ </el-checkbox-group>
+ </td>
+ </tr>
</table>
</div>
<el-row>
@@ -275,22 +290,26 @@
<el-table-column show-overflow-tooltip prop="allDeptName" label="(部门)护卫点" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="100" />
<el-table-column show-overflow-tooltip prop="empName" label="姓名" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" />
- <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="180" />
+ <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="180" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="sex" label="性别" width="60" :formatter="sexFormat" />
- <el-table-column show-overflow-tooltip prop="age" label="年龄" width="60" />
- <el-table-column show-overflow-tooltip prop="education" label="学历" width="80" :formatter="educationFormat" />
+ <el-table-column show-overflow-tooltip prop="age" label="年龄" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="education" label="学历" width="100" :formatter="educationFormat" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="nativePlace" label="籍贯" width="80" :formatter="nativePlaceFormat" />
<el-table-column show-overflow-tooltip prop="empType" label="员工类型" width="100" :formatter="empTypeFormat" />
<el-table-column show-overflow-tooltip prop="telePhone" label="电话" width="120" />
- <el-table-column show-overflow-tooltip prop="empStatus" label="员工状态" width="100">
+ <el-table-column show-overflow-tooltip prop="empStatus" label="员工状态" width="120" sortable="custom" :sort-orders="['ascending', 'descending']">
<template slot-scope="{row}">
{{ transEmpStatus(row.empStatus) }}
</template>
</el-table-column>
- <el-table-column show-overflow-tooltip prop="dimissionTypeName" label="离职类型" width="100" />
- <el-table-column show-overflow-tooltip prop="entryTypeName" label="入职日期" width="120" />
+ <el-table-column show-overflow-tooltip prop="dimissionType" label="入离职类型" width="120" :formatter="dimissionTypFormat" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="entryDate" label="入职日期" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" />
- <el-table-column show-overflow-tooltip prop="dimissionDate" label="离职日期" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="dimissionDate" label="离职日期" width="120" sortable="custom" :sort-orders="['ascending', 'descending']">
+ <template slot-scope="{row}">
+ {{ transDimissionDate(row.dimissionDate) }}
+ </template>
+ </el-table-column>
+ <el-table-column show-overflow-tooltip prop="annualLeave" label="年假天数" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" />
</el-table>
<el-dialog title="导出员工" :visible.sync="dialogShowDcyg" width="40%" style="font-weight: 700;">
<div style="font-size: 16px;font-weight: 400;height: 35px;margin-top: -30px;color: #409EFF;">请勾选需要导出的字段</div>
@@ -415,7 +434,7 @@
</td>
</tr>
<tr>
- <td>家庭成员及关系</td>
+ <td>家庭成员及关系1</td>
<td>
<el-checkbox label="family"><span /></el-checkbox>
</td>
@@ -433,7 +452,7 @@
<td>
<el-checkbox label="entryDate"><span /></el-checkbox>
</td>
- <td>保险类型</td>
+ <td>社保档位</td>
<td>
<el-checkbox label="InsuranceTypeName"><span /></el-checkbox>
</td>
@@ -459,15 +478,32 @@
<tr>
<td>相关证件</td>
<td>
- <el-checkbox label="certificateList"><span /></el-checkbox>
+ <el-checkbox label="certificateListName"><span /></el-checkbox>
</td>
- <td>紧急联系电话</td>
+ <td>家庭成员及关系2</td>
<td>
<el-checkbox label="urgencyPhone"><span /></el-checkbox>
</td>
<td>员工手册</td>
<td>
<el-checkbox label="handbookStatusName"><span /></el-checkbox>
+ </td>
+ </tr>
+ <tr>
+ <td>入职类型</td>
+ <td>
+ <el-checkbox label="entryTypeName"><span /></el-checkbox>
+ </td>
+ <td>离职类型</td>
+ <td>
+ <el-checkbox label="dimissionTypeName"><span /></el-checkbox>
+ </td>
+ <td>编号</td>
+ <td>
+ <el-checkbox label="empNumb"><span /></el-checkbox>
+ </td>
+ <td>
+ <el-checkbox label="annualLeave"><span /></el-checkbox>
</td>
</tr>
</el-checkbox-group>
@@ -533,7 +569,7 @@
<el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="empName" label="姓名" width="160" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="220" />
- <el-table-column show-overflow-tooltip prop="sex" label="性别" width="80" :formatter="sexFormat" />
+ <el-table-column show-overflow-tooltip prop="sex" label="性别" width="80" />
<el-table-column show-overflow-tooltip prop="workUnit" label="工作单位" width="220" />
<el-table-column show-overflow-tooltip prop="beginDate" label="开始日期" width="150" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="endDate" label="结束日期" width="150" />
@@ -629,16 +665,17 @@
:cell-style="{padding:'7px 0','text-align':'center'}"
:header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
style="width: 100%;height: 70%;"
+ @sort-change="changeSort"
>
<el-table-column show-overflow-tooltip type="index" label="序号" width="50" align="center" />
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" />
- <el-table-column show-overflow-tooltip prop="deptName" label="(部门)护卫点" width="120" />
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="(部门)护卫点" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="80" />
- <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="80" />
- <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" />
- <el-table-column show-overflow-tooltip prop="sex" label="性别" width="50" :formatter="sexFormat" />
+ <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="200" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="sex" label="性别" width="50" />
<el-table-column show-overflow-tooltip prop="hospital" label="体检医院" width="100" />
- <el-table-column show-overflow-tooltip prop="physicalExamDate" label="体检日期" width="100" />
+ <el-table-column show-overflow-tooltip prop="physicalExamDate" label="体检日期" width="140" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="physicalExamType" label="体检类型" width="100" :formatter="typeFormat" />
<el-table-column show-overflow-tooltip prop="bloodPressure" label="血压" width="80" />
<el-table-column show-overflow-tooltip prop="transaminase" label="转氨酶" width="80" />
@@ -698,10 +735,16 @@
<el-col :span="9">合同状态:
<el-select v-model="queryParams.contractStatus" style="width:200px">
<el-option value="" label="全部" />
- <el-option :value="1" label="有效" />
- <el-option :value="2" label="到期" />
- <el-option :value="3" label="续签" />
- <el-option :value="4" label="存档" />
+ <!-- <el-option :value="1" label="有效" />-->
+ <!-- <el-option :value="2" label="到期" />-->
+ <!-- <el-option :value="3" label="续签" />-->
+ <!-- <el-option :value="4" label="存档" />-->
+ <el-option
+ v-for="dict in contractStatusOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-col>
<el-col :span="6">
@@ -738,18 +781,20 @@
:cell-style="{padding:'7px 0','text-align':'center'}"
:header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
style="width: 100%;height: 70%;"
+ @sort-change="changeSort"
>
<el-table-column show-overflow-tooltip type="index" label="序号" width="50" align="center" />
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" />
- <el-table-column show-overflow-tooltip prop="deptName" label="(部门)护卫点" width="160" />
- <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="140" />
- <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" />
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="(部门)护卫点" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="140" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="200" sortable="custom" :sort-orders="['ascending', 'descending']" />
<!-- <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="180" /> -->
- <el-table-column show-overflow-tooltip prop="signingDate" label="合同签订日期" width="180" />
- <el-table-column show-overflow-tooltip prop="endDate" label="合同结束日期" width="180" />
+ <el-table-column show-overflow-tooltip prop="signingDate" label="合同签订日期" width="200" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="endDate" label="合同结束日期" width="200" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="contractPeriod" label="合同期限(年)" width="120" />
<el-table-column show-overflow-tooltip prop="contractStatus" label="合同状态" width="120" :formatter="contractStatusFormat" />
<el-table-column show-overflow-tooltip prop="transactor" label="合同办理人" width="180" />
+ <el-table-column show-overflow-tooltip prop="remark" label="备注" width="180" />
</el-table>
</div>
@@ -832,13 +877,14 @@
:cell-style="{padding:'7px 0','text-align':'center'}"
:header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
style="width: 100%;height: 70%;"
+ @sort-change="changeSort"
>
<el-table-column show-overflow-tooltip type="index" label="序号" width="50" align="center" />
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" />
- <el-table-column show-overflow-tooltip prop="deptName" label="(部门)护卫点" width="120" />
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="(部门)护卫点" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="100" />
- <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="100" />
- <el-table-column show-overflow-tooltip prop="attendMonth" label="离职考勤年月" width="120" />
+ <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="attendMonth" label="离职考勤年月" width="140" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="attendDays" label="出勤天数" width="100" />
<el-table-column show-overflow-tooltip prop="overtimeDay" label="加班(天)" width="100" />
<el-table-column show-overflow-tooltip prop="overtimeHour" label="加班(小时)" width="120" />
@@ -888,21 +934,28 @@
</el-col>
<el-col :span="4">请假类型:
<el-select v-model="queryParams.leaveType" style="width:100px">
+ <!-- <el-option value="" label="全部" />-->
+ <!-- <el-option value="05" label="事假" />-->
+ <!-- <el-option value="06" label="病假" />-->
+ <!-- <el-option value="07" label="公假" />-->
+ <!-- <el-option value="08" label="婚假" />-->
+ <!-- <el-option value="09" label="孕假" />-->
+ <!-- <el-option value="10" label="产假" />-->
+ <!-- <el-option value="11" label="陪产假" />-->
+ <!-- <el-option value="12" label="探亲假" />-->
+ <!-- <el-option value="13" label="探配偶假" />-->
+ <!-- <el-option value="14" label="丧假" />-->
+ <!-- <el-option value="15" label="工伤假" />-->
+ <!-- <el-option value="16" label="节育假" />-->
+ <!-- <el-option value="17" label="年休假" />-->
+ <!-- <el-option value="18" label="其它假" />-->
<el-option value="" label="全部" />
- <el-option value="05" label="事假" />
- <el-option value="06" label="病假" />
- <el-option value="07" label="公假" />
- <el-option value="08" label="婚假" />
- <el-option value="09" label="孕假" />
- <el-option value="10" label="产假" />
- <el-option value="11" label="陪产假" />
- <el-option value="12" label="探亲假" />
- <el-option value="13" label="探配偶假" />
- <el-option value="14" label="丧假" />
- <el-option value="15" label="工伤假" />
- <el-option value="16" label="节育假" />
- <el-option value="17" label="年休假" />
- <el-option value="18" label="其它假" />
+ <el-option
+ v-for="dict in leaveTypeOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-col>
<el-col :span="6">
@@ -940,17 +993,18 @@
:cell-style="{padding:'7px 0','text-align':'center'}"
:header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
style="width: 100%;height: 70%;"
+ @sort-change="changeSort"
>
<el-table-column type="index" label="序号" width="50" align="center" />
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" />
- <el-table-column show-overflow-tooltip prop="deptName" label="(部门)护卫点" width="120" />
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="(部门)护卫点" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="100" />
- <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="100" />
- <el-table-column show-overflow-tooltip prop="beginTime" label="开始时间" width="150" />
- <el-table-column show-overflow-tooltip prop="endTime" label="结束时间" width="150" />
+ <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="beginTime" label="开始时间" width="150" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="endTime" label="结束时间" width="150" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="leaveDay" label="请假天数" width="100" />
- <el-table-column show-overflow-tooltip prop="leaveType" label="请假类型" width="100" :formatter="leaveTypeFormat" />
- <el-table-column show-overflow-tooltip prop="returnDate" label="到岗时间" width="150" />
+ <el-table-column show-overflow-tooltip prop="leaveType" label="请假类型" width="120" :formatter="leaveTypeFormat" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="returnDate" label="返岗时间" width="150" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="reporter" label="报备人" width="100" />
<el-table-column show-overflow-tooltip prop="remark" label="备注" />
</el-table>
@@ -987,7 +1041,6 @@
</el-col>
</el-row>
<el-row>
-
<el-col :span="6">辞职事由:
<el-input v-model="queryParams.reason" size="small" maxlength="18" style="width:262px" />
</el-col>
@@ -1025,14 +1078,15 @@
:cell-style="{padding:'7px 0','text-align':'center'}"
:header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
style="width: 100%;height: 70%;"
+ @sort-change="changeSort"
>
<el-table-column show-overflow-tooltip type="index" label="序号" width="50" align="center" />
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" />
- <el-table-column show-overflow-tooltip prop="deptName" label="(部门)护卫点" width="140" />
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="(部门)护卫点" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="100" />
- <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="100" />
- <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" />
- <el-table-column show-overflow-tooltip prop="applayDate" label="辞职申请日期" width="160" />
+ <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="150" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="applayDate" label="辞职申请日期" width="160" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="reason" label="辞职事由" />
<el-table-column show-overflow-tooltip prop="reporter" label="汇报人" width="100" />
<el-table-column show-overflow-tooltip prop="remark" label="备注" />
@@ -1107,14 +1161,15 @@
:cell-style="{padding:'7px 0','text-align':'center'}"
:header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
style="width: 100%;height: 70%;"
+ @sort-change="changeSort"
>
<el-table-column show-overflow-tooltip type="index" label="序号" width="50" align="center" />
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="120" />
- <el-table-column show-overflow-tooltip prop="deptName" label="(部门)护卫点" width="120" />
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="(部门)护卫点" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="120" />
- <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="100" />
- <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" />
- <el-table-column show-overflow-tooltip prop="applayDate" label="失业金申请日期" width="180" />
+ <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="150" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="applayDate" label="失业金申请日期" width="180" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="applayReason" label="申报事由" width="180" />
<el-table-column show-overflow-tooltip prop="reporter" label="汇报人" width="100" />
<el-table-column show-overflow-tooltip prop="auditor" label="审核人" width="100" />
@@ -1155,12 +1210,12 @@
<el-row>
<el-col :span="4">社保档位:
<el-select v-model="queryParams.insuranceGaers" style="width:100px">
- <el-option value="" label="全部" />
- <el-option value="1" label="深户(五险一档)" />
- <el-option value="2" label="非深户(五险一档)" />
- <el-option value="3" label="非深户(五险二档)" />
- <el-option value="4" label="非深户(五险三档)" />
- <el-option value="5" label="非深户(四险三档)" />
+ <el-option
+ v-for="dict in insuranceTypeOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-col>
<el-col :span="6">
@@ -1197,14 +1252,15 @@
:cell-style="{padding:'7px 0','text-align':'center'}"
:header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
style="width: 100%;height: 70%;"
+ @sort-change="changeSort"
>
<el-table-column show-overflow-tooltip type="index" label="序号" width="50" align="center" />
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="100" />
- <el-table-column show-overflow-tooltip prop="deptName" label="(部门)护卫点" width="150" />
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="(部门)护卫点" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="120" />
- <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="100" />
- <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" />
- <el-table-column show-overflow-tooltip prop="applayDate" label="社保申请日期" width="150" />
+ <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="150" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="applayDate" label="社保申请日期" width="150" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="proposer" label="申请人" width="100" />
<el-table-column show-overflow-tooltip prop="insuranceGaers" label="社保档位" width="100" :formatter="insuranceGaersFormat" />
<el-table-column show-overflow-tooltip prop="reportStatus" label="是否已报告" width="100" :formatter="reportStatusFormat" />
@@ -1311,30 +1367,31 @@
:cell-style="{padding:'7px 0','text-align':'center'}"
:header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
style="width: 100%;height: 70%;"
+ @sort-change="changeSort"
>
<el-table-column type="index" label="序号" width="50" align="center" />
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" />
- <el-table-column show-overflow-tooltip prop="deptName" label="(部门)护卫点" width="120" />
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="(部门)护卫点" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="80" />
- <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="60" />
- <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="120" />
- <el-table-column show-overflow-tooltip prop="injuredTime" label="受伤日期" width="100" />
+ <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="140" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="injuredTime" label="受伤日期" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="injuredAddress" label="受伤地点" width="100" />
<el-table-column show-overflow-tooltip prop="injuredPart" label="受伤部位" width="80" />
<el-table-column show-overflow-tooltip prop="injuredDescribe" label="受伤经过描述" width="120" />
<el-table-column show-overflow-tooltip prop="injuredDiacrisis" label="意外险诊断" width="100" />
- <el-table-column show-overflow-tooltip prop="hospitalName" label="就诊医院" width="80" />
- <el-table-column show-overflow-tooltip prop="treatmentName" label="就诊科室" width="80" />
+ <!-- <el-table-column show-overflow-tooltip prop="hospitalName" label="就诊医院" width="80" />-->
+ <!-- <el-table-column show-overflow-tooltip prop="treatmentName" label="就诊科室" width="80" />-->
<el-table-column show-overflow-tooltip prop="hospitalizatioFlag" label="是否住院" width="80" :formatter="hospitalizatioFlagFormat" />
- <el-table-column show-overflow-tooltip prop="bedNumb" label="床号" width="60" />
+ <!-- <el-table-column show-overflow-tooltip prop="bedNumb" label="床号" width="60" />-->
<el-table-column show-overflow-tooltip prop="reprotTime" label="报案时间" width="100" />
- <el-table-column show-overflow-tooltip prop="submitTime" label="递交资料时间" width="120" />
- <el-table-column show-overflow-tooltip prop="sbumitBy" label="递交人" width="80" />
+ <!-- <el-table-column show-overflow-tooltip prop="submitTime" label="递交资料时间" width="120" />-->
+ <!-- <el-table-column show-overflow-tooltip prop="sbumitBy" label="递交人" width="80" />-->
<el-table-column show-overflow-tooltip prop="expensesFee" label="医疗总费用" width="100" />
<el-table-column show-overflow-tooltip prop="innsureFee" label="保险赔付费用" width="120" />
- <el-table-column show-overflow-tooltip prop="expenseReport" label="保单" width="80" />
+ <!-- <el-table-column show-overflow-tooltip prop="expenseReport" label="保单" width="80" />-->
<el-table-column show-overflow-tooltip prop="hrDoDate" label="人事处理时间" width="120" />
- <el-table-column show-overflow-tooltip prop="settleStatus" label="状态" width="80" :formatter="settleStatusFormat" />
+ <!-- <el-table-column show-overflow-tooltip prop="settleStatus" label="状态" width="80" :formatter="settleStatusFormat" />-->
<el-table-column show-overflow-tooltip prop="settleDate" label="结案时间" width="100" />
</el-table>
</div>
@@ -1439,29 +1496,41 @@
:cell-style="{padding:'7px 0','text-align':'center'}"
:header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
style="width: 100%;height: 70%;"
+ @sort-change="changeSort"
>
<el-table-column type="index" label="序号" width="50" align="center" />
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" />
- <el-table-column show-overflow-tooltip prop="deptName" label="(部门)护卫点" width="120" />
+ <el-table-column label="操作" width="130">
+ <template slot-scope="scope">
+ <span
+ style="color: #a00515;display: inline-block;width: 40%;cursor: pointer"
+ @click="showDetailInfo(scope.row,10)"
+ >详情</span>
+ </template>
+ </el-table-column>
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="(部门)护卫点" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="80" />
- <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="80" />
- <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="120" />
- <el-table-column show-overflow-tooltip prop="injuredTime" label="受伤日期" width="100" />
+ <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="140" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="injuredTime" label="受伤日期" width="140" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="injuredAddress" label="受伤地点" width="80" />
<el-table-column show-overflow-tooltip prop="injuredPart" label="受伤部位" width="80" />
<el-table-column show-overflow-tooltip prop="injuredDescribe" label="受伤经过描述" width="120" />
<el-table-column show-overflow-tooltip prop="injuredDiacrisis" label="工伤诊断" width="80" />
- <el-table-column show-overflow-tooltip prop="hospitalName" label="就诊医院" width="100" />
- <el-table-column show-overflow-tooltip prop="treatmentName" label="就诊科室" width="100" />
+ <!-- <el-table-column show-overflow-tooltip prop="hospitalName" label="就诊医院" width="100" />-->
+ <!-- <el-table-column show-overflow-tooltip prop="treatmentName" label="就诊科室" width="100" />-->
<el-table-column show-overflow-tooltip prop="hospitalizatioFlag" label="是否住院" width="80" :formatter="hospitalizatioFlagFormat" />
- <el-table-column show-overflow-tooltip prop="bedNumb" label="床号" width="60" />
- <el-table-column show-overflow-tooltip prop="reportTime" label="报案时间" width="100" />
- <el-table-column show-overflow-tooltip prop="submitTime" label="递交资料时间" width="120" />
- <el-table-column show-overflow-tooltip prop="sbumitBy" label="递交人" width="80" />
+ <!-- <el-table-column show-overflow-tooltip prop="bedNumb" label="床号" width="60" />-->
+ <!-- <el-table-column show-overflow-tooltip prop="reportTime" label="报案时间" width="100" />-->
+ <!-- <el-table-column show-overflow-tooltip prop="submitTime" label="递交资料时间" width="120" />-->
+ <!-- <el-table-column show-overflow-tooltip prop="sbumitBy" label="递交人" width="80" />-->
<el-table-column show-overflow-tooltip prop="expensesFee" label="医疗总费用" width="100" />
- <el-table-column show-overflow-tooltip prop="innsureFee" label="保险赔付费用" width="120" />
+ <el-table-column show-overflow-tooltip prop="otherCompensated" label="报销费用" width="100" />
+ <el-table-column show-overflow-tooltip prop="socialDisability" label="一次性伤残补助金" width="150" />
+ <el-table-column show-overflow-tooltip prop="socialSubsidy" label="一次性医疗补助金" width="150" />
+ <el-table-column show-overflow-tooltip prop="socialCompensation" label="社保赔偿总费用" width="150" />
<el-table-column show-overflow-tooltip prop="hrDoDate" label="人事处理时间" width="120" />
- <el-table-column show-overflow-tooltip prop="settleStatus" label="状态" width="80" :formatter="settleStatusFormat" />
+ <!-- <el-table-column show-overflow-tooltip prop="settleStatus" label="状态" width="80" :formatter="settleStatusFormat" />-->
<el-table-column show-overflow-tooltip prop="settleDate" label="结案时间" width="100" />
</el-table>
</div>
@@ -1554,20 +1623,21 @@
:cell-style="{padding:'7px 0','text-align':'center'}"
:header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
style="width: 100%;height: 70%;"
+ @sort-change="changeSort"
>
<el-table-column type="index" label="序号" width="50" align="center" />
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" />
- <el-table-column show-overflow-tooltip prop="deptName" label="(部门)护卫点" width="120" />
- <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="100" />
- <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="180" />
- <el-table-column show-overflow-tooltip prop="arbitrationDate" label="仲裁日期" width="150" />
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="(部门)护卫点" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="180" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="arbitrationDate" label="仲裁日期" width="150" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="arbitrationType" label="仲裁类型" width="100" :formatter="arbitrationTypeFormat" />
<el-table-column show-overflow-tooltip prop="arbitrationReason" label="仲裁事由" />
<el-table-column show-overflow-tooltip prop="reporter" label="汇报人" width="100" />
<el-table-column show-overflow-tooltip prop="remark" label="备注" />
<el-table-column show-overflow-tooltip prop="arbitrationPay" label="仲裁赔付(元)" width="120" />
<el-table-column show-overflow-tooltip prop="arbitrationStatus" label="状态" width="100" :formatter="arbitrationStatusFormat" />
- <el-table-column show-overflow-tooltip prop="settleDate" label="案结日期" width="150" />
+ <el-table-column show-overflow-tooltip prop="settleDate" label="案结日期" width="150" sortable="custom" :sort-orders="['ascending', 'descending']" />
</el-table></div>
<div v-show="showArr[12].show">
@@ -1638,14 +1708,15 @@
:cell-style="{padding:'7px 0','text-align':'center'}"
:header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
style="width: 100%;height: 70%;"
+ @sort-change="changeSort"
>
<el-table-column type="index" label="序号" width="50" align="center" />
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="100" />
- <el-table-column show-overflow-tooltip prop="deptName" label="(部门)护卫点" width="140" />
- <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="140" />
- <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="180" />
- <el-table-column show-overflow-tooltip prop="badDate" label="不良记录日期" width="140" />
- <el-table-column show-overflow-tooltip prop="badContent" label="不良记录描述" />
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="(部门)护卫点" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="160" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="200" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="badDate" label="不良记录日期" width="160" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="badContent" label="不良记录描述" width="300" />
<el-table-column show-overflow-tooltip prop="reporter" label="汇报人" width="100" />
<el-table-column show-overflow-tooltip prop="remark" label="备注" />
@@ -1663,7 +1734,7 @@
<el-input v-model="queryParams.certificateNumb" size="small" maxlength="18" style="width:140px" />
</el-col>
<el-col :span="4">(部门)护卫点:
- <el-input v-model="queryParams.deptName" size="small" maxlength="20" style="width:100px" />
+ <el-input v-model="queryParams.allDeptName" size="small" maxlength="20" style="width:100px" />
</el-col>
<el-col :span="9">备注日期:
<el-date-picker
@@ -1719,13 +1790,14 @@
:cell-style="{padding:'7px 0','text-align':'center'}"
:header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
style="width: 100%;height: 70%;"
+ @sort-change="changeSort"
>
<el-table-column type="index" label="序号" width="50" align="center" />
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="100" />
- <el-table-column show-overflow-tooltip prop="deptName" label="(部门)护卫点" width="220" />
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="(部门)护卫点" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="140" />
<el-table-column show-overflow-tooltip prop="empName" label="姓名" width="140" />
- <el-table-column show-overflow-tooltip prop="remarkDate" label="备注日期" width="180" />
+ <el-table-column show-overflow-tooltip prop="remarkDate" label="备注日期" width="180" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="remarkContent" label="备注信息" />
</el-table>
</div>
@@ -1804,17 +1876,19 @@
:cell-style="{padding:'7px 0','text-align':'center'}"
:header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
style="width: 100%;height: 70%;"
+ @sort-change="changeSort"
>
<el-table-column type="selection" width="55" />
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" />
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" />
<!-- <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="180" /> -->
- <el-table-column show-overflow-tooltip prop="newDeptName" label="现部门" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="现部门(护卫点)" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="newJobName" label="现岗位" />
- <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="120" />
- <el-table-column show-overflow-tooltip prop="oldDeptName" label="原部门" />
+ <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="oldDeptName" label="原部门(护卫点)" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="oldJobName" label="原岗位" />
- <el-table-column show-overflow-tooltip prop="changeDate" label="调岗日期" />
- <el-table-column show-overflow-tooltip prop="changeType" label="调岗类型" :formatter="changeTypeFormat" />
+ <el-table-column show-overflow-tooltip prop="changeDate" label="调岗日期" width="140" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="changeTypeName" label="调岗类型" />
+ <!-- <el-table-column show-overflow-tooltip prop="changeType" label="调岗类型" :formatter="changeTypeFormat" />-->
<el-table-column show-overflow-tooltip prop="changeReason" label="调岗理由描述" width="380" />
</el-table>
</div>
@@ -1864,7 +1938,7 @@
style="width: 350px;"
/>
</el-col>
- <el-col :span="4">离职类型:
+ <el-col :span="4">入离职类型:
<el-select v-model="queryParams.dimissionType" style="width:150px">
<el-option
v-for="dict in dimissionTypeOptions"
@@ -1908,14 +1982,15 @@
:cell-style="{padding:'7px 0','text-align':'center'}"
:header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
style="width: 100%;height: 70%;"
+ @sort-change="changeSort"
>
<el-table-column type="selection" width="55" />
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="100" />
- <el-table-column show-overflow-tooltip prop="newDeptName" label="(部门)护卫点" width="200" />
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="(部门)护卫点" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="newJobName" label="岗位" />
- <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="180" />
- <el-table-column show-overflow-tooltip prop="entryDate" label="入职日期" />
- <el-table-column show-overflow-tooltip prop="dimissionDate" label="离职日期" />
+ <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="180" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="entryDate" label="入职日期" width="140" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="dimissionDate" label="离职日期" width="140" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="selfLeaveDay" label="自离天数" />
<el-table-column show-overflow-tooltip prop="reporter" label="报告人" />
<el-table-column show-overflow-tooltip prop="remark" label="备注" width="280" />
@@ -1930,24 +2005,216 @@
/>
</el-main>
</el-container>
+ <el-dialog title="工伤案件" :visible.sync="dialogshowArr[10].show" width="50%">
+ <el-form
+ ref="occupationalForm"
+ :model="occupationalForm"
+ :rules="occupationalRules"
+ label-position="right"
+ label-width="140px"
+ >
+ <el-row>
+ <el-col :span="12">
+ <el-form-item label="姓名" prop="empName">
+ <el-input v-model="occupationalForm.empName" suffix-icon="el-icon-search" @click.native="showXzyg()" />
+ </el-form-item>
+ <el-form-item label="身份证号码" prop="certificateNumb">
+ <el-input
+ v-model="occupationalForm.certificateNumb"
+ />
+ </el-form-item>
+ <el-form-item label="性别" prop="sex">
+ <el-input v-model="occupationalForm.sex" />
+ </el-form-item>
+ <el-form-item label="受伤时间" prop="injuredTime">
+ <el-date-picker
+ v-model="occupationalForm.injuredTime"
+ value-format="yyyy-MM-dd HH:mm:ss"
+ type="datetime"
+ placeholder="选择受伤时间"
+ />
+ </el-form-item>
+ <el-form-item label="受伤部位" prop="injuredPart">
+ <el-input v-model="occupationalForm.injuredPart" />
+ </el-form-item>
+ </el-col>
+ <el-col :span="12">
+ <el-form-item label="编号" prop="empNumb">
+ <el-input v-model="occupationalForm.empNumb" />
+ </el-form-item>
+ <el-form-item label="部门(护卫点)" prop="allDeptName">
+ <el-input v-model="occupationalForm.allDeptName" />
+ </el-form-item>
+ <el-form-item label="岗位" prop="jobName">
+ <el-input v-model="occupationalForm.jobName" />
+ </el-form-item>
+ <el-form-item label="受伤地点" prop="injuredAddress">
+ <el-input v-model="occupationalForm.injuredAddress" />
+ </el-form-item>
+ <el-form-item label="工伤诊断" prop="injuredDiacrisis">
+ <el-input v-model="occupationalForm.injuredDiacrisis" />
+ </el-form-item>
+ </el-col>
+ </el-row>
+ <el-row>
+ <el-col>
+ <el-form-item label="受伤经过描述" prop="injuredDescribe">
+ <el-input v-model="occupationalForm.injuredDescribe" type="textarea" />
+ </el-form-item>
+ </el-col>
+ </el-row>
+ <el-row>
+ <el-col :span="12">
+ <el-form-item label="就诊医院" prop="hospitalName">
+ <el-input v-model="occupationalForm.hospitalName" />
+ </el-form-item>
+ <el-form-item label="是否住院" prop="hospitalizatioFlag">
+ <el-select v-model="occupationalForm.hospitalizatioFlag" placeholder="是否住院">
+ <el-option
+ v-for="dict in hospitalizatioFlagOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
+ </el-select>
+ </el-form-item>
+ <el-form-item label="报案时间" prop="'reportTime">
+ <el-date-picker
+ v-model="occupationalForm.reportTime"
+ value-format="yyyy-MM-dd HH:mm:ss"
+ type="datetime"
+ placeholder="选择报案时间"
+ />
+ </el-form-item>
+ <el-form-item label="递交人" prop="'sbumitBy">
+ <el-input v-model="occupationalForm.sbumitBy" />
+ </el-form-item>
+ </el-col>
+ <el-col :span="12">
+ <el-form-item label="就诊科室" prop="'treatmentName">
+ <el-input v-model="occupationalForm.treatmentName" />
+ </el-form-item>
+ <el-form-item label="床号" prop="bedNumb">
+ <el-input v-model="occupationalForm.bedNumb" />
+ </el-form-item>
+ <el-form-item label="递交资料时间" prop="submitTime">
+ <el-date-picker
+ v-model="occupationalForm.submitTime"
+ value-format="yyyy-MM-dd"
+ type="date"
+ placeholder="选择递交资料时间"
+ />
+ </el-form-item>
+ <el-form-item label="人事处理时间" prop="hrDoDate">
+ <el-date-picker
+ v-model="occupationalForm.hrDoDate"
+ value-format="yyyy-MM-dd"
+ type="date"
+ placeholder="选择人事处理时间"
+ />
+ </el-form-item>
+ </el-col>
+ </el-row>
+ 社保赔偿费用
+ <el-divider />
+ <el-row>
+ <el-col :span="12">
+ <el-form-item label="医疗总费用" prop="expensesFee">
+ <el-input v-model="occupationalForm.expensesFee" />
+ </el-form-item>
+ <el-form-item label="一次性伤残补助金" prop="socialDisability">
+ <el-input v-model="occupationalForm.socialDisability" />
+ </el-form-item>
+ <el-form-item label="一次性医疗补助金" prop="socialSubsidy">
+ <el-input v-model="occupationalForm.socialSubsidy" />
+ </el-form-item>
+ </el-col>
+ <el-col :span="12">
+ <el-form-item label="剔除总额">
+ <el-input v-model="occupationalForm.eliminate" />
+ </el-form-item>
+ <el-form-item label="住院伙食补贴">
+ <el-input v-model="occupationalForm.socialAllowance" />
+ </el-form-item>
+ <el-form-item label="社保赔偿总费用">
+ <el-input v-model="occupationalForm.socialCompensation" />
+ </el-form-item>
+ </el-col>
+ </el-row>
+ 公司赔偿费用
+ <el-divider />
+ <el-row>
+ <el-col :span="12">
+ <el-form-item label="已赔付医药费用" prop="compensated">
+ <el-input v-model="occupationalForm.compensated" />
+ </el-form-item>
+ <el-form-item label="一次性伤残补助金">
+ <el-input v-model="occupationalForm.companylDisability" />
+ </el-form-item>
+ <el-form-item label="一次性医疗补助金">
+ <el-input v-model="occupationalForm.companySubsidy" />
+ </el-form-item>
+ <el-form-item label="一次性就业补助金">
+ <el-input v-model="occupationalForm.jobSubsidy" />
+ </el-form-item>
+ </el-col>
+ <el-col :span="12">
+ <el-form-item label="其他赔偿报销">
+ <el-input v-model="occupationalForm.otherCompensated" />
+ </el-form-item>
+ <el-form-item label="工伤生活补贴">
+ <el-input v-model="occupationalForm.companyAllowance" />
+ </el-form-item>
+ <el-form-item label="公司赔偿总费用" prop="companyCompensation">
+ <el-input v-model="occupationalForm.companyCompensation" />
+ </el-form-item>
+ <el-form-item label="是否结案" prop="settleStatus">
+ <el-select v-model="occupationalForm.settleStatus" placeholder="">
+ <el-option
+ v-for="dict in settleStatusOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
+ </el-select>
+ </el-form-item>
+ </el-col>
+ </el-row>
+
+ <el-row>
+ <el-col>
+ <el-form-item label="备注">
+ <el-input v-model="occupationalForm.remark" type="textarea" />
+ </el-form-item>
+ </el-col>
+ </el-row>
+ </el-form>
+ <div slot="footer" class="dialog-footer">
+ <el-button @click="dialogIsShow()">取 消</el-button>
+ </div>
+ </el-dialog>
</div>
</template>
<script>
import Pagination from '@/components/Pagination'
+import dictMixin from '../../utils/dictMixin'
+
export default {
components: {
Pagination
},
+ mixins: [dictMixin],
data() {
return {
- cityOptions: ['archivesNumb', 'allDeptName', 'jobName', 'empName', 'certificateNumb', 'certificateValidity', 'sexName', 'nationName', 'age', 'marriageName', 'stature', 'birthdate', 'politicsName', 'empTypeName', 'educationName', 'nativePlaceName', 'censusAddress', 'currentAddress', 'guardNumb', 'returnReceipt', 'archivesStatusName', 'bankName', 'bankNumb', 'telePhone', 'entryDate', 'InsuranceTypeName', 'socialNumb', 'introducer', 'seniority', 'empCardStatusName', 'certificateList', 'urgencyPhone', 'handbookStatusName', 'family', 'empStatusName', 'dimissionDate'],
+ cityOptions: ['archivesNumb', 'allDeptName', 'jobName', 'empName', 'certificateNumb', 'certificateValidity', 'sexName', 'nationName', 'age', 'marriageName', 'stature', 'birthdate', 'politicsName', 'empTypeName', 'educationName', 'nativePlaceName', 'censusAddress', 'currentAddress', 'guardNumb', 'returnReceipt', 'archivesStatusName', 'bankName', 'bankNumb', 'telePhone', 'entryDate', 'InsuranceTypeName', 'socialNumb', 'introducer', 'seniority', 'empCardStatusName', 'certificateListName', 'urgencyPhone', 'handbookStatusName', 'family', 'empStatusName', 'dimissionDate', 'entryTypeName', 'dimissionTypeName', 'empNumb', 'annualLeave'],
dialogShowDcyg: false,
isIndeterminate: false,
checkedCities: [],
checkAll: false,
total: 0, // 总数量
queryParams: {
+ allDeptName: '',
vague: '',
sex: [],
education: [],
@@ -1962,7 +2229,9 @@
empName: '',
certificateNumb: '',
jobContent: '',
- inOutType: []
+ inOutType: [],
+ certificateList: [],
+ deptName: ''
}, // 查询参数
sort: {}, // 排序
pagination: { // 分页参数
@@ -2233,115 +2502,92 @@
}
]
},
- statusOptions: [],
- empTypeOptions: [],
- nationOptions: [],
- marriageOptions: [],
- educationOptions: [],
- nativePlaceOptions: [],
- archivesStatusOptions: [],
- insuranceTypeOptions: [],
- empCardStatusOptions: [],
- handbookStatusOptions: [],
- ecgOptions: [],
- certificateListOptions: [],
- physicalExamTypeOptions: [],
- contractStatusOptions: [],
- leaveTypeOptions: [],
- insuranceGaersOptions: [],
- applayStatusOptions: [],
- reportStatusOptions: [],
- hospitalizatioFlagOptions: [],
- settleStatusOptions: [],
- arbitrationTypeOptions: [],
- changeTypeOptions: [],
- dimissionTypeOptions: [],
- ageStrOptions: [],
- attendYearOptions: [],
- sexOptions: []
+
+ occupationalForm: {
+ occupationalId: '',
+ empId: '',
+ empNumb: '',
+ empName: '',
+ sex: '',
+ sexName: '',
+ certificateNumb: '',
+ deptId: '',
+ deptName: '',
+ allDeptName: '',
+ JobId: '',
+ jobName: '',
+ injuredTime: '',
+ injuredAddress: '',
+ injuredPart: '',
+ injuredDiacrisis: '',
+ injuredDescribe: '',
+ hospitalName: '',
+ treatmentName: '',
+ hospitalizatioFlag: '',
+ bedNumb: '',
+ reportTime: '',
+ submitTime: '',
+ sbumitBy: '',
+ hrDoDate: '',
+ expensesFee: '',
+ eliminate: '',
+ socialDisability: '',
+ socialAllowance: '',
+ socialSubsidy: '',
+ socialCompensation: '',
+ compensated: '',
+ otherCompensated: '',
+ companylDisability: '',
+ companyAllowance: '',
+ companySubsidy: '',
+ companyCompensation: '',
+ jobSubsidy: '',
+ settleStatus: '',
+ createTime: '',
+ creator: '',
+ modifyTime: '',
+ modifier: '',
+ delFlag: '',
+ version: '',
+ empStatus: 0,
+ remark: ''
+ }
}
+ },
+ computed: {
+ // 字典选项计算属性
+ statusOptions() { return this.getDictOptions('PLITICAL') },
+ empTypeOptions() { return this.getDictOptions('empType') },
+ nationOptions() { return this.getDictOptions('NATION') },
+ marriageOptions() { return this.getDictOptions('MARRIAGE') },
+ educationOptions() { return this.getDictOptions('EDUCATION') },
+ nativePlaceOptions() { return this.getDictOptions('NATIVEPLACE') },
+ archivesStatusOptions() { return this.getDictOptions('archivesStatus') },
+ insuranceTypeOptions() { return this.getDictOptions('INSURANCETYPE') },
+ empCardStatusOptions() { return this.getDictOptions('empCardStatus') },
+ handbookStatusOptions() { return this.getDictOptions('handbookStatus') },
+ certificateListOptions() { return this.getDictOptions('certificateList') },
+ physicalExamTypeOptions() { return this.getDictOptions('PHYSICALEXAMTYPE') },
+ ecgOptions() { return this.getDictOptions('ECG') },
+ contractStatusOptions() { return this.getDictOptions('CONTRACTSTATUS') },
+ leaveTypeOptions() { return this.getDictOptions('LEAVETYPE') },
+ insuranceGaersOptions() { return this.getDictOptions('INSURANCETYPE') },
+ applayStatusOptions() { return this.getDictOptions('applayStatus') },
+ reportStatusOptions() { return this.getDictOptions('reportStatus') },
+ hospitalizatioFlagOptions() { return this.getDictOptions('hospitalizatioFlag') },
+ settleStatusOptions() { return this.getDictOptions('settleStatus') },
+ arbitrationTypeOptions() { return this.getDictOptions('ZCTYPE') },
+ changeTypeOptions() { return this.getDictOptions('changeType') },
+ dimissionTypeOptions() { return this.getDictOptions('LZTYPE') },
+ ageStrOptions() { return this.getDictOptions('ageStr') },
+ attendYearOptions() { return this.getDictOptions('attendYear') },
+ sexOptions() { return this.getDictOptions('sex') }
},
mounted() {
this.thisShowIndex = 1
this.isShow(false, 0)
- this.getDicts('ageStr').then(response => {
- this.ageStrOptions = response.data
- })
- this.getDicts('PLITICAL').then(response => {
- this.statusOptions = response.data
- })
- this.getDicts('attendYear').then(response => {
- this.attendYearOptions = response.data
- })
- this.getDicts('sex').then(response => {
- this.sexOptions = response.data
- })
- this.getDicts('empType').then(response => {
- this.empTypeOptions = response.data
- })
- this.getDicts('NATION').then(response => {
- this.nationOptions = response.data
- })
- this.getDicts('MARRIAGE').then(response => {
- this.marriageOptions = response.data
- })
- this.getDicts('EDUCATION').then(response => {
- this.educationOptions = response.data
- })
- this.getDicts('NATIVEPLACE').then(response => {
- this.nativePlaceOptions = response.data
- })
- this.getDicts('archivesStatus').then(response => {
- this.archivesStatusOptions = response.data
- })
- this.getDicts('INSURANCETYPE').then(response => {
- this.insuranceTypeOptions = response.data
- })
- this.getDicts('empCardStatus').then(response => {
- this.empCardStatusOptions = response.data
- })
- this.getDicts('handbookStatus').then(response => {
- this.handbookStatusOptions = response.data
- })
- this.getDicts('certificateList').then(response => {
- this.certificateListOptions = response.data
- })
- this.getDicts('PHYSICALEXAMTYPE').then(response => {
- this.physicalExamTypeOptions = response.data
- })
- this.getDicts('ECG').then(response => {
- this.ecgOptions = response.data
- })
- this.getDicts('CONTRACTSTATUS').then(response => {
- this.contractStatusOptions = response.data
- })
- this.getDicts('LEAVETYPE').then(response => {
- this.leaveTypeOptions = response.data
- })
- this.getDicts('insuranceGaers').then(response => {
- this.insuranceGaersOptions = response.data
- })
- this.getDicts('applayStatus').then(response => {
- this.applayStatusOptions = response.data
- })
- this.getDicts('reportStatus').then(response => {
- this.reportStatusOptions = response.data
- })
- this.getDicts('hospitalizatioFlag').then(response => {
- this.hospitalizatioFlagOptions = response.data
- })
- this.getDicts('settleStatus').then(response => {
- this.settleStatusOptions = response.data
- })
- this.getDicts('ZCTYPE').then(response => {
- this.arbitrationTypeOptions = response.data
- })
- this.getDicts('changeType').then(response => {
- this.changeTypeOptions = response.data
- })
- this.getDicts('LZTYPE').then(response => {
- this.dimissionTypeOptions = response.data
- })
+ // 字典数据已在登录时预加载,直接从 Vuex 获取
+ this.initDictTypes(['ageStr', 'PLITICAL', 'attendYear', 'sex', 'empType', 'NATION', 'MARRIAGE', 'EDUCATION', 'NATIVEPLACE', 'archivesStatus', 'INSURANCETYPE', 'empCardStatus', 'handbookStatus', 'certificateList', 'PHYSICALEXAMTYPE', 'ECG', 'CONTRACTSTATUS', 'LEAVETYPE', 'applayStatus', 'reportStatus', 'hospitalizatioFlag', 'settleStatus', 'ZCTYPE', 'changeType', 'LZTYPE'])
},
methods: {
typeFormat(row, column) {
@@ -2407,6 +2653,66 @@
arbitrationStatusFormat(row, column) {
return this.selectDictLabel(this.settleStatusOptions, row.arbitrationStatus)
},
+ dimissionTypFormat(row, column) {
+ switch (row.empStatus) {
+ case '0':
+ return row.entryTypeName
+ case '1':
+ return row.dimissionTypeName
+ }
+ },
+ showDetailInfo(row, index) {
+ switch (index) {
+ case 10:
+ this.occupationalForm.occupationalId = row.occupationalId
+ this.occupationalForm.empId = row.empId
+ this.occupationalForm.empNumb = row.empNumb
+ this.occupationalForm.empName = row.empName
+ this.occupationalForm.sex = row.sex
+ this.occupationalForm.certificateNumb = row.certificateNumb
+ this.occupationalForm.deptId = row.deptId
+ this.occupationalForm.deptName = row.deptName
+ this.occupationalForm.allDeptName = row.allDeptName
+ this.occupationalForm.JobId = row.JobId
+ this.occupationalForm.jobName = row.jobName
+ this.occupationalForm.injuredTime = row.injuredTime
+ this.occupationalForm.injuredAddress = row.injuredAddress
+ this.occupationalForm.injuredPart = row.injuredPart
+ this.occupationalForm.injuredDiacrisis = row.injuredDiacrisis
+ this.occupationalForm.injuredDescribe = row.injuredDescribe
+ this.occupationalForm.hospitalName = row.hospitalName
+ this.occupationalForm.treatmentName = row.treatmentName
+ this.occupationalForm.hospitalizatioFlag = row.hospitalizatioFlag + ''
+ this.occupationalForm.bedNumb = row.bedNumb
+ this.occupationalForm.reportTime = row.reportTime
+ this.occupationalForm.submitTime = row.submitTime
+ this.occupationalForm.sbumitBy = row.sbumitBy
+ this.occupationalForm.hrDoDate = row.hrDoDate
+ this.occupationalForm.expensesFee = row.expensesFee
+ this.occupationalForm.eliminate = row.eliminate
+ this.occupationalForm.socialDisability = row.socialDisability
+ this.occupationalForm.socialAllowance = row.socialAllowance
+ this.occupationalForm.socialSubsidy = row.socialSubsidy
+ this.occupationalForm.socialCompensation = row.socialCompensation
+ this.occupationalForm.compensated = row.compensated
+ this.occupationalForm.otherCompensated = row.otherCompensated
+ this.occupationalForm.companylDisability = row.companylDisability
+ this.occupationalForm.companyAllowance = row.companyAllowance
+ this.occupationalForm.companySubsidy = row.companySubsidy
+ this.occupationalForm.companyCompensation = row.companyCompensation
+ this.occupationalForm.jobSubsidy = row.jobSubsidy
+ this.occupationalForm.settleStatus = row.settleStatus + ''
+ this.occupationalForm.createTime = row.createTime
+ this.occupationalForm.creator = row.creator
+ this.occupationalForm.modifyTime = row.modifyTime
+ this.occupationalForm.modifier = row.modifier
+ this.occupationalForm.delFlag = row.delFlag
+ this.occupationalForm.version = row.version
+ this.occupationalForm.remark = row.remark
+ break
+ }
+ this.dialogshowArr[index].show = true
+ },
handleCheckedCitiesChange(value) {
const checkedCount = value.length
this.checkAll = checkedCount === this.cityOptions.length
@@ -2439,7 +2745,6 @@
resetSearch() {
this.queryParams = {
delFlag: 0,
- vague: '',
sex: [],
education: [],
politics: [],
@@ -2447,11 +2752,15 @@
archivesStatus: [],
insuranceType: [],
empStatus: [],
+ empType: [],
baseKey: '',
empNumb: '',
empName: '',
+ deptName: '',
certificateNumb: '',
- jobContent: ''
+ jobContent: '',
+ inOutType: [],
+ certificateList: []
}
this.search()
},
@@ -2508,147 +2817,156 @@
this.tableUrl = 'hr/empBaseInfo/zslist'
this.tableDataName = 'basicInformationData'
this.queryParams.delFlag = 0
- this.search()
+ this.resetSearch()
break
case 1:
this.tableUrl = 'hr/empWorkExperience/list'
this.tableDataName = 'workExperienceData'
this.queryParams.delFlag = 0
- this.search()
+ this.resetSearch()
break
case 2:
this.tableUrl = 'hr/empPhysicalExam/list'
this.tableDataName = 'physicalExamData'
this.queryParams.delFlag = 0
- this.search()
+ this.resetSearch()
break
case 3:
this.tableUrl = 'hr/empContractInfo/list'
this.tableDataName = 'contractInfoData'
this.queryParams.delFlag = 0
- this.search()
+ this.resetSearch()
break
case 4:
this.tableUrl = 'hr/empDimissionAttend/list'
this.tableDataName = 'dimissionAttendData'
this.queryParams.delFlag = 0
- this.search()
+ this.resetSearch()
break
case 5:
this.tableUrl = 'hr/empLeaveInfo/list'
this.tableDataName = 'leaveInfoData'
this.queryParams.delFlag = 0
- this.search()
+ this.resetSearch()
break
case 6:
this.tableUrl = 'hr/empResign/list'
this.tableDataName = 'resignData'
this.queryParams.delFlag = 0
- this.search()
+ this.resetSearch()
break
case 7:
this.tableUrl = 'hr/empUnemployment/list'
this.tableDataName = 'unemploymentData'
this.queryParams.delFlag = 0
- this.search()
+ this.resetSearch()
break
case 8:
this.tableUrl = 'hr/empInsurance/list'
this.tableDataName = 'insuranceData'
this.queryParams.delFlag = 0
- this.search()
+ this.resetSearch()
break
case 9:
this.tableUrl = 'hr/empAccidentCases/list'
this.tableDataName = 'accidentCasesData'
this.queryParams.delFlag = 0
- this.search()
+ this.resetSearch()
break
case 10:
this.tableUrl = 'hr/empOccupational/list'
this.tableDataName = 'occupationalData'
this.queryParams.delFlag = 0
- this.search()
+ this.resetSearch()
break
case 11:
this.tableUrl = 'hr/empLaborTrouble/list'
this.tableDataName = 'laborTroubleData'
this.queryParams.delFlag = 0
- this.search()
+ this.resetSearch()
break
case 12:
this.tableUrl = 'hr/empBadRecord/list'
this.tableDataName = 'badRecordData'
this.queryParams.delFlag = 0
- this.search()
+ this.resetSearch()
break
case 13:
this.tableUrl = 'hr/empRemarkInfo/list'
this.tableDataName = 'remarkInfoData'
this.queryParams.delFlag = 0
- this.search()
+ this.resetSearch()
break
case 14:
this.tableUrl = 'hr/empJobChange/list'
this.tableDataName = 'jobChangeData'
this.queryParams.delFlag = 0
- this.search()
+ this.resetSearch()
break
case 15:
this.tableUrl = 'hr/empDimissionlog/list'
this.tableDataName = 'dimissionLogData'
this.queryParams.delFlag = 0
- this.search()
+ this.resetSearch()
break
}
},
+ // dic列表转为数组
+ dicListToArr(dicList) {
+ var arr = []
+ for (var i = 0; i < dicList.length; i++) {
+ var dic = dicList[i]
+ arr.push(dic.dicItemCode)
+ }
+ return arr
+ },
selectAllSex(val) {
if (val) {
- this.queryParams.sex = ['1', '2']
+ this.queryParams.sex = this.dicListToArr(this.sexOptions)
} else {
this.queryParams.sex = []
}
},
selectAllEducation(val) {
if (val) {
- this.queryParams.education = ['91', '81', '71', '61', '42', '41', '31', '21', '11', '10']
+ this.queryParams.education = this.dicListToArr(this.educationOptions)
} else {
this.queryParams.education = []
}
},
selectAllPolitics(val) {
if (val) {
- this.queryParams.politics = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13']
+ this.queryParams.politics = this.dicListToArr(this.statusOptions)
} else {
this.queryParams.politics = []
}
},
selectAllAgeStr(val) {
if (val) {
- this.queryParams.ageStr = ['18-29', '30-39', '40-49', '50-59', '60-69', '69-999']
+ this.queryParams.ageStr = this.dicListToArr(this.ageStrOptions)
} else {
this.queryParams.ageStr = []
}
},
selectAllArchivesStatus(val) {
if (val) {
- this.queryParams.archivesStatus = ['0', '1']
+ this.queryParams.archivesStatus = this.dicListToArr(this.archivesStatusOptions)
} else {
this.queryParams.archivesStatus = []
}
},
selectAllInsuranceType(val) {
if (val) {
- this.queryParams.insuranceType = ['1', '2', '3', '4', '5']
+ this.queryParams.insuranceType = this.dicListToArr(this.insuranceTypeOptions)
} else {
this.queryParams.insuranceType = []
}
},
selectAllEmpType(val) {
if (val) {
- this.queryParams.insuranceType = ['1', '2']
+ this.queryParams.empType = this.dicListToArr(this.empTypeOptions)
} else {
- this.queryParams.insuranceType = []
+ this.queryParams.empType = []
}
},
selectAllEmpStatus(val) {
@@ -2660,7 +2978,7 @@
},
selectAllDimissionType(val) {
if (val) {
- this.queryParams.inOutType = ['1', '2', '3', '4', '5', '6']
+ this.queryParams.inOutType = this.dicListToArr(this.dimissionTypeOptions)
} else {
this.queryParams.inOutType = []
}
@@ -2747,7 +3065,7 @@
params.pageNum = this.pagination.num
this.$download('hr/empLaborTrouble/export', {
...params, ...this.queryParams
- }, `劳资案件_${new Date().getTime()}.xlsx`)
+ }, `仲裁案件_${new Date().getTime()}.xlsx`)
},
blexportExcel(params = {}) {
params.pageSize = this.pagination.size
@@ -2794,6 +3112,10 @@
case '3':
return '调休假'
}
+ },
+ transDimissionDate(val) {
+ var dimissDate = new Date(val)
+ return dimissDate.getFullYear() === 1900 ? '' : val
},
transPhysicalExamType(physicalExamType) {
switch (physicalExamType) {
@@ -2896,6 +3218,13 @@
return '调动'
}
},
+ selectAllCertificateList(val) {
+ if (val) {
+ this.queryParams.certificateList = this.dicListToArr(this.certificateListOptions)
+ } else {
+ this.queryParams.certificateList = []
+ }
+ },
changeSort(val) {
this.sort.field = val.prop
this.sort.order = val.order
--
Gitblit v1.8.0