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/user/search.vue | 506 ++++++++++++++++++++++++++++++++++++++++++++++++-------
1 files changed, 438 insertions(+), 68 deletions(-)
diff --git a/src/views/user/search.vue b/src/views/user/search.vue
index f22c194..83bda1c 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,25 @@
<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>
<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 +433,7 @@
</td>
</tr>
<tr>
- <td>家庭成员及关系</td>
+ <td>家庭成员及关系1</td>
<td>
<el-checkbox label="family"><span /></el-checkbox>
</td>
@@ -433,7 +451,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 +477,29 @@
<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>
</tr>
</el-checkbox-group>
@@ -533,7 +565,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" />
@@ -699,10 +731,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">
@@ -752,6 +790,7 @@
<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>
@@ -891,21 +930,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">
@@ -1160,12 +1206,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">
@@ -1330,18 +1376,18 @@
<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>
@@ -1449,6 +1495,14 @@
@sort-change="changeSort"
>
<el-table-column type="index" label="序号" width="50" align="center" />
+ <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" />
@@ -1459,17 +1513,20 @@
<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>
@@ -1650,12 +1707,12 @@
@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="allDeptName" label="(部门)护卫点" width="300" />
- <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="备注" />
@@ -1673,7 +1730,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
@@ -1877,7 +1934,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"
@@ -1925,7 +1982,7 @@
>
<el-table-column type="selection" width="55" />
<el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" />
- <el-table-column show-overflow-tooltip prop="newDeptName" label="(部门)护卫点" width="300" 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" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="entryDate" label="入职日期" width="140" sortable="custom" :sort-orders="['ascending', 'descending']" />
@@ -1944,7 +2001,195 @@
/>
</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>
@@ -1955,13 +2200,14 @@
},
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'],
dialogShowDcyg: false,
isIndeterminate: false,
checkedCities: [],
checkAll: false,
total: 0, // 总数量
queryParams: {
+ allDeptName: '',
vague: '',
sex: [],
education: [],
@@ -1976,7 +2222,9 @@
empName: '',
certificateNumb: '',
jobContent: '',
- inOutType: []
+ inOutType: [],
+ certificateList: [],
+ deptName: ''
}, // 查询参数
sort: {}, // 排序
pagination: { // 分页参数
@@ -2272,7 +2520,56 @@
dimissionTypeOptions: [],
ageStrOptions: [],
attendYearOptions: [],
- sexOptions: []
+ 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: ''
+ }
}
},
mounted() {
@@ -2332,7 +2629,7 @@
this.getDicts('LEAVETYPE').then(response => {
this.leaveTypeOptions = response.data
})
- this.getDicts('insuranceGaers').then(response => {
+ this.getDicts('INSURANCETYPE').then(response => {
this.insuranceGaersOptions = response.data
})
this.getDicts('applayStatus').then(response => {
@@ -2421,6 +2718,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
@@ -2464,9 +2821,11 @@
baseKey: '',
empNumb: '',
empName: '',
+ deptName: '',
certificateNumb: '',
jobContent: '',
- inOutType: []
+ inOutType: [],
+ certificateList: []
}
this.search()
},
@@ -2771,7 +3130,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
@@ -2818,6 +3177,10 @@
case '3':
return '调休假'
}
+ },
+ transDimissionDate(val) {
+ var dimissDate = new Date(val)
+ return dimissDate.getFullYear() === 1900 ? '' : val
},
transPhysicalExamType(physicalExamType) {
switch (physicalExamType) {
@@ -2920,6 +3283,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