From 43fed0010685df41495c33de9904d9002545bbd0 Mon Sep 17 00:00:00 2001
From: 孔祥富 <kongxf@daryun.com>
Date: 星期日, 07 三月 2021 14:13:54 +0800
Subject: [PATCH] 提交
---
src/views/user/archivesChange.vue | 2393 ++++++++++++++++++++++++++++++++++++++++-------------------
1 files changed, 1,623 insertions(+), 770 deletions(-)
diff --git a/src/views/user/archivesChange.vue b/src/views/user/archivesChange.vue
index 1546a7a..0820682 100644
--- a/src/views/user/archivesChange.vue
+++ b/src/views/user/archivesChange.vue
@@ -8,9 +8,11 @@
:close-on-click-modal="false"
:visible.sync="isVisible"
>
+
<div class="conDetails">
<div class="menu dadetails">
<div style="height: 22vh;">
+
<el-upload
class="avatar-uploader"
action="#"
@@ -18,6 +20,7 @@
:on-change="handlePictureCardPreview"
:auto-upload="false"
>
+ <div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过4MB</div>
<img v-if="empBaseInfoImageUrl" :src="empBaseInfoImageUrl" class="avatar">
<i v-else class="el-icon-plus avatar-uploader-icon" />
</el-upload>
@@ -176,16 +179,7 @@
<div class="item-node" />
<div>
<a href="javascript:void(0)" :class="item=='jljt'?'light':''" @click="goAnchor('jljt')">
- 记录截图
- </a>
- </div>
- </li>
- <li>
- <div />
- <div class="item-node" />
- <div>
- <a href="javascript:void(0)" :class="item=='xgfj'?'light':''" @click="goAnchor('xgfj')">
- 相关附件
+ 记录截图及相关附件
</a>
</div>
</li>
@@ -195,25 +189,38 @@
<div ref="jbxx" class="jbxx">
<div class="jbxxTitle">
基本信息
+ <el-button
+ style="position:absolute;right: 40px"
+ class="filter-item"
+ type="primary"
+ @click="ExportSavePdf"
+ >
+ 导出
+ </el-button>
</div>
+
<div class="jbxxCon" style="padding: 20px 40px 0 20px">
- <el-form ref="empBaseInfoForm" :model="empBaseInfoForm" class="formjbxx" label-position="right" label-width="140px">
- <el-row>
+ <el-form ref="empBaseInfoForm" :model="empBaseInfoForm" class="formjbxx" label-width="150px">
+ <el-row style="width: 100%;">
<el-col :span="8">
<el-form-item label="档案号" prop="archivesNumb">
- <el-input v-model="empBaseInfoForm.archivesNumb" />
+ <el-input v-model="empBaseInfoForm.archivesNumb" style="width: 100%;" :disabled="this.readon ? false : true" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="姓名" prop="empName">
- <el-input v-model="empBaseInfoForm.empName" />
+ <el-input v-model="empBaseInfoForm.empName" :disabled="this.readon ? false : true" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="性别" prop="sex">
- <el-select v-model="empBaseInfoForm.sex" placeholder="请选择性别">
- <el-option label="男" value="1" />
- <el-option label="女" value="2" />
+ <el-select v-model="empBaseInfoForm.sex" placeholder="请选择性别" :disabled="this.readon ? false : true">
+ <el-option
+ v-for="dict in sexOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
</el-col>
@@ -223,6 +230,7 @@
<el-form-item label="部门(护卫点)" prop="deptId">
<treeselect
v-model="empBaseInfoForm.deptId"
+ :disabled="this.readon ? false : true"
:multiple="false"
:options="depts"
:clear-value-text="$t('common.clear')"
@@ -235,6 +243,7 @@
<el-form-item label="岗位" prop="jobName">
<el-autocomplete
v-model="empBaseInfoForm.jobName"
+ :disabled="this.readon ? false : true"
class="inline-input"
:fetch-suggestions="querySearchJob"
placeholder="请输入岗位"
@@ -244,36 +253,44 @@
</el-col>
<el-col :span="8">
<el-form-item label="员工类别" prop="empType">
- <el-select v-model="empBaseInfoForm.empType" placeholder="请选择员工类型">
- <el-option label="正式工" value="1" />
- <el-option label="临时工" value="2" />
+ <el-select v-model="empBaseInfoForm.empType" placeholder="请选择员工类型" :disabled="this.readon ? false : true">
+ <el-option
+ v-for="dict in empTypeOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
- <el-form-item label="身份证号码" prop="certificateNumb">
- <el-input
- v-model="empBaseInfoForm.certificateNumb"
- @input="generateUserInfo(0,empBaseInfoForm.certificateNumb)"
- />
+ <el-form-item label="民族" prop="nation">
+ <el-select v-model="empBaseInfoForm.nation" placeholder="请选择民族" :disabled="this.readon ? false : true">
+ <el-option
+ v-for="dict in nationOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
+ </el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="年龄" prop="age">
- <el-input v-model="empBaseInfoForm.age" />
+ <el-input v-model="empBaseInfoForm.age" :disabled="this.readon ? false : true" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="婚姻状态" prop="marriage">
- <el-select v-model="empBaseInfoForm.marriage" placeholder="请选择婚姻状态">
- <el-option label="未婚" value="1" />
- <el-option label="已婚" value="2" />
- <el-option label="丧偶" value="3" />
- <el-option label="离婚" value="4" />
- <el-option label="再婚" value="5" />
- <el-option label="其它" value="9" />
+ <el-select v-model="empBaseInfoForm.marriage" placeholder="请选择婚姻状态" :disabled="this.readon ? false : true">
+ <el-option
+ v-for="dict in marriageOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
</el-col>
@@ -283,6 +300,7 @@
<el-form-item label="身份证有效期" prop="certificateValidity">
<el-date-picker
v-model="empBaseInfoForm.certificateValidity"
+ :disabled="this.readon ? false : true"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择日期"
@@ -291,25 +309,18 @@
</el-col>
<el-col :span="8">
<el-form-item label="身高(cm)" prop="stature">
- <el-input v-model="empBaseInfoForm.stature" />
+ <el-input v-model="empBaseInfoForm.stature" :disabled="this.readon ? false : true" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="政治面貌" prop="politics">
- <el-select v-model="empBaseInfoForm.politics" placeholder="请选择政治面貌">
- <el-option label="中共党员" value="01" />
- <el-option label="预备党员" value="02" />
- <el-option label="共青团员" value="03" />
- <el-option label="民革会员" value="04" />
- <el-option label="民盟盟员" value="05" />
- <el-option label="民建会员" value="06" />
- <el-option label="民进会员" value="07" />
- <el-option label="农工党员" value="08" />
- <el-option label="致公党员" value="09" />
- <el-option label="九三社员" value="10" />
- <el-option label="台盟盟员" value="11" />
- <el-option label="民主人士" value="12" />
- <el-option label="群众" value="13" />
+ <el-select v-model="empBaseInfoForm.politics" placeholder="请选择政治面貌" :disabled="this.readon ? false : true">
+ <el-option
+ v-for="dict in statusOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
</el-col>
@@ -319,6 +330,7 @@
<el-form-item label="出生日期" prop="birthdate">
<el-date-picker
v-model="empBaseInfoForm.birthdate"
+ :disabled="this.readon ? false : true"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择日期"
@@ -327,84 +339,86 @@
</el-col>
<el-col :span="8">
<el-form-item label="最高学历" prop="education">
- <el-select v-model="empBaseInfoForm.education" placeholder="请选择最高学历">
- <el-option label="博士" value="10" />
- <el-option label="硕士" value="11" />
- <el-option label="大学本科" value="21" />
- <el-option label="大学专科" value="31" />
- <el-option label="中专" value="41" />
- <el-option label="中技" value="42" />
- <el-option label="高中" value="61" />
- <el-option label="初中" value="71" />
- <el-option label="小学" value="81" />
- <el-option label="无学历" value="91" />
+ <el-select v-model="empBaseInfoForm.education" placeholder="请选择最高学历" :disabled="this.readon ? false : true">
+ <el-option
+ v-for="dict in educationOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="籍贯" prop="nativePlaceName">
- <el-autocomplete
- v-model="empBaseInfoForm.nativePlaceName"
- class="inline-input"
- :fetch-suggestions="querySearch"
- placeholder="请输入籍贯"
- @select="placeNameSelect"
- />
+ <el-select v-model="empBaseInfoForm.nativePlace" placeholder="请选择最高学历" :disabled="this.readon ? false : true">
+ <el-option
+ v-for="dict in nativePlaceOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
+ </el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="户籍地址" prop="censusAddress">
- <el-input v-model="empBaseInfoForm.censusAddress" />
+ <el-input v-model="empBaseInfoForm.censusAddress" :disabled="this.readon ? false : true" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="现住址" prop="currentAddress">
- <el-input v-model="empBaseInfoForm.currentAddress" />
+ <el-input v-model="empBaseInfoForm.currentAddress" :disabled="this.readon ? false : true" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="保安员回执" prop="returnReceipt">
- <el-input v-model="empBaseInfoForm.returnReceipt" />
+ <el-input v-model="empBaseInfoForm.returnReceipt" :disabled="this.readon ? false : true" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="保安员证号" prop="guardNumb">
- <el-input v-model="empBaseInfoForm.guardNumb" />
+ <el-input v-model="empBaseInfoForm.guardNumb" :disabled="this.readon ? false : true" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="档案情况" prop="archivesStatus">
- <el-select v-model="empBaseInfoForm.archivesStatus" placeholder="请选择档案情况">
- <el-option label="未移交" value="0" />
- <el-option label="已移交" value="1" />
+ <el-select v-model="empBaseInfoForm.archivesStatus" placeholder="请选择档案情况" :disabled="this.readon ? false : true">
+ <el-option
+ v-for="dict in archivesStatusOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="银行名称" prop="bankName">
- <el-input v-model="empBaseInfoForm.bankName" />
+ <el-input v-model="empBaseInfoForm.bankName" :disabled="this.readon ? false : true" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="银行账号" prop="bankNumb">
- <el-input v-model="empBaseInfoForm.bankNumb" />
+ <el-input v-model="empBaseInfoForm.bankNumb" :disabled="this.readon ? false : true" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="电话号码" prop="telePhone">
- <el-input v-model="empBaseInfoForm.telePhone" />
+ <el-input v-model="empBaseInfoForm.telePhone" :disabled="this.readon ? false : true" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="入职日期" prop="entryDate">
<el-date-picker
v-model="empBaseInfoForm.entryDate"
+ :disabled="this.readon ? false : true"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择日期"
@@ -416,67 +430,88 @@
<el-row>
<el-col :span="8">
<el-form-item label="保险类型" prop="insuranceType">
- <el-select v-model="empBaseInfoForm.insuranceType" placeholder="请选择保险类型">
- <el-option label="(深户)五险一档" value="1" />
- <el-option label="(非深户)五险一档" value="2" />
- <el-option label="(非深户)五险二档" value="3" />
- <el-option label="(非深户)五险三档" value="4" />
- <el-option label="(非深户)四险一档" value="5" />
+ <el-select v-model="empBaseInfoForm.insuranceType" placeholder="请选择保险类型" :disabled="this.readon ? false : true">
+ <el-option
+ v-for="dict in insuranceTypeOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="社保电脑号" prop="socialNumb">
- <el-input v-model="empBaseInfoForm.socialNumb" />
+ <el-input v-model="empBaseInfoForm.socialNumb" :disabled="this.readon ? false : true" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="招聘介绍人" prop="introducer">
- <el-input v-model="empBaseInfoForm.introducer" />
+ <el-input v-model="empBaseInfoForm.introducer" :disabled="this.readon ? false : true" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="入司工龄" prop="seniority">
- <el-input v-model="empBaseInfoForm.seniority" />
+ <el-input v-model="empBaseInfoForm.seniority" :disabled="this.readon ? false : true" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="工作证" prop="empCardStatus">
- <el-select v-model="empBaseInfoForm.empCardStatus" placeholder="请选择工作证">
- <el-option label="未发" value="0" />
- <el-option label="已发" value="1" />
+ <el-select v-model="empBaseInfoForm.empCardStatus" placeholder="请选择工作证" :disabled="this.readon ? false : true">
+ <el-option
+ v-for="dict in empCardStatusOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="家庭成员及关系" prop="family">
- <el-input v-model="empBaseInfoForm.family" />
+ <el-input v-model="empBaseInfoForm.family" :disabled="this.readon ? false : true" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="紧急联系电话" prop="urgencyPhone">
- <el-input v-model="empBaseInfoForm.urgencyPhone" />
+ <el-input v-model="empBaseInfoForm.urgencyPhone" :disabled="this.readon ? false : true" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="员工手册" prop="handbookStatus">
- <el-select v-model="empBaseInfoForm.handbookStatus" placeholder="请选择员工手册">
- <el-option label="未发" value="0" />
- <el-option label="已发" value="1" />
+ <el-select v-model="empBaseInfoForm.handbookStatus" placeholder="请选择员工手册" :disabled="this.readon ? false : true">
+ <el-option
+ v-for="dict in handbookStatusOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="相关证件" prop="certificateList">
- <el-select v-model="empBaseInfoForm.certificateList" placeholder="请选择相关证件">
- <el-option label="高中毕业证" value="1" />
- <el-option label="专科毕业证" value="2" />
- <el-option label="本科毕业证" value="3" />
+ <el-select v-model="empBaseInfoForm.certificateList" placeholder="请选择相关证件" :disabled="this.readon ? false : true">
+ <el-option
+ v-for="dict in certificateListOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
+ </el-form-item>
+ </el-col>
+ <el-col :span="8">
+ <el-form-item label="身份证号码" prop="certificateNumb">
+ <el-input
+ v-model="empBaseInfoForm.certificateNumb"
+ :disabled="this.readon ? false : true"
+ @input="generateUserInfo(0,empBaseInfoForm.certificateNumb)"
+ />
</el-form-item>
</el-col>
</el-row>
@@ -487,6 +522,7 @@
<div class="jbxxTitle">
工作经历
</div>
+
<div class="jbxxCon">
<el-table
ref="workExperienceTable"
@@ -497,12 +533,15 @@
:highlight-current-row="true"
@selection-change="onworkExperienceDataselection"
>
- <el-table-column show-overflow-tooltip="true" type="workExperienceDataselection" align="center" width="55" />
+ <el-table-column show-overflow-tooltip="true" type="index" label="序号" align="center" width="55">
+ <template slot-scope="scope">
+ <span v-text="getIndex(scope.$index)" />
+ </template>
+ </el-table-column>
<el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="workExperienceId" label="工作单位" />
- <el-table-column show-overflow-tooltip="true" prop="workUnit" label="工作单位" />
- <el-table-column show-overflow-tooltip="true" prop="workUnit" label="工作单位" />
<el-table-column show-overflow-tooltip="true" prop="beginDate" label="开始日期" />
<el-table-column show-overflow-tooltip="true" prop="endDate" label="结束日期" />
+ <el-table-column show-overflow-tooltip="true" prop="workUnit" label="工作单位" />
<el-table-column show-overflow-tooltip="true" prop="jobContent" label="主要工作内容" />
</el-table>
<pagination
@@ -510,6 +549,7 @@
:total="workExperienceDatatotal"
:page.sync="pagination.num"
:limit.sync="pagination.size"
+ @pagination="initList"
/>
</div>
</div>
@@ -517,6 +557,7 @@
<div class="jbxxTitle">
体检信息
</div>
+
<div class="jbxxCon">
<el-table
ref="physicalExamTable"
@@ -526,19 +567,18 @@
style="width: 100%;"
@selection-change="onphysicalExamDataselection"
>
- <el-table-column show-overflow-tooltip="true" type="physicalExamDataselection" width="55" />
- <el-table-column v-if="fsnumShow" prop="physicalExamId" label="" />
- <el-table-column show-overflow-tooltip="true" prop="empNumb" label="员工编号" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="deptName" label="护卫点" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="empName" label="员工姓名" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" />
- <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="hospital" label="体检医院" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="physicalExamDate" label="体检日期" width="120" />
- <el-table-column show-overflow-tooltip="true" prop="physicalExamTypeName" label="体检类型" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="bloodPressure" label="血压" width="80" />
- <el-table-column show-overflow-tooltip="true" prop="transaminase" label="转氨酶" width="80" />
- <el-table-column show-overflow-tooltip="true" prop="ecgName" label="心电图" width="80" />
+ <el-table-column show-overflow-tooltip="true" type="index" label="序号" align="center" width="55">
+ <template slot-scope="scope">
+ <span v-text="getIndex(scope.$index)" />
+ </template>
+ </el-table-column>
+ <el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="physicalExamId" label="" />
+ <el-table-column show-overflow-tooltip="true" prop="hospital" label="体检医院" width="120" />
+ <el-table-column show-overflow-tooltip="true" prop="physicalExamDate" label="体检日期" width="100" />
+ <el-table-column show-overflow-tooltip="true" prop="physicalExamType" label="体检类型" width="100" :formatter="typeFormat" />
+ <el-table-column show-overflow-tooltip="true" prop="bloodPressure" label="血压" width="100" />
+ <el-table-column show-overflow-tooltip="true" prop="transaminase" label="转氨酶" width="100" />
+ <el-table-column show-overflow-tooltip="true" prop="ecg" label="心电图" width="100" :formatter="ecgNameFormat" />
<el-table-column show-overflow-tooltip="true" prop="conclusion" label="体检结论" />
<el-table-column show-overflow-tooltip="true" prop="reviewRecord" label="复查记录" width="100" />
<el-table-column show-overflow-tooltip="true" prop="remark" label="备注" />
@@ -548,6 +588,7 @@
:total="physicalExamDatatotal"
:page.sync="pagination.num"
:limit.sync="pagination.size"
+ @pagination="initphysicalExamData"
/>
</div>
</div>
@@ -565,24 +606,24 @@
style="width: 100%;"
@selection-change="oncontractInfoDataselection"
>
- <el-table-column show-overflow-tooltip="true" type="contractInfoDataselection" width="55" />
+ <el-table-column show-overflow-tooltip="true" type="index" label="序号" align="center" width="55">
+ <template slot-scope="scope">
+ <span v-text="getIndex(scope.$index)" />
+ </template>
+ </el-table-column>
<el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="contractId" label="" />
- <el-table-column show-overflow-tooltip="true" prop="empNumb" label="员工编号" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="deptName" label="护卫点" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="empName" label="员工姓名" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" />
- <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位" width="100" />
<el-table-column show-overflow-tooltip="true" prop="signingDate" label="合同签订日期" width="120" />
<el-table-column show-overflow-tooltip="true" prop="endDate" label="合同结束日期" width="120" />
<el-table-column show-overflow-tooltip="true" prop="contractPeriod" label="合同期限(年)" width="120" />
- <el-table-column show-overflow-tooltip="true" prop="contractStatusName" label="合同状态" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="transactor" label="合同办理人" width="100" />
+ <el-table-column show-overflow-tooltip="true" prop="contractStatus" label="合同状态" width="100" :formatter="contractStatusFormat" />
+ <el-table-column show-overflow-tooltip="true" prop="transactor" label="合同办理人" />
</el-table>
<pagination
v-show="contractInfoDatatotal>0"
:total="contractInfoDatatotal"
:page.sync="pagination.num"
:limit.sync="pagination.size"
+ @pagination="initcontractInfoData"
/>
</div>
</div>
@@ -598,24 +639,25 @@
:header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
style="width: 100%;"
>
- <el-table-column show-overflow-tooltip="true" prop="newDeptName" label="现部门" width="120" />
- <el-table-column show-overflow-tooltip="true" prop="newJobName" label="现岗位" width="120" />
- <el-table-column show-overflow-tooltip="true" prop="empName" label="姓名" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="oldDeptName" label="原部门" width="120" />
- <el-table-column show-overflow-tooltip="true" prop="oldJobName" label="原岗位" width="120" />
- <el-table-column show-overflow-tooltip="true" prop="changeDate" label="调岗日期" />
- <el-table-column show-overflow-tooltip="true" prop="changeType" label="调岗类型">
+ <el-table-column show-overflow-tooltip="true" type="index" label="序号" align="center" width="55">
<template slot-scope="scope">
- {{ scope.row.changeType === '2' ? '升职': '' }}
- {{ scope.row.changeType === '3' ? '调动': '' }}
+ <span v-text="getIndex(scope.$index)" />
</template>
</el-table-column>
+ <el-table-column show-overflow-tooltip="true" prop="newDeptName" label="现部门" />
+ <el-table-column show-overflow-tooltip="true" prop="newJobName" label="现岗位" />
+ <el-table-column show-overflow-tooltip="true" prop="empName" label="姓名" width="180" />
+ <el-table-column show-overflow-tooltip="true" prop="oldDeptName" label="原部门" />
+ <el-table-column show-overflow-tooltip="true" prop="oldJobName" label="原岗位" />
+ <el-table-column show-overflow-tooltip="true" prop="changeDate" label="调岗日期" />
+ <el-table-column show-overflow-tooltip="true" prop="changeType" label="调岗类型" :formatter="changeTypeFormat" />
</el-table>
<pagination
v-show="jobChangeDatatotal>0"
:total="jobChangeDatatotal"
:page.sync="pagination.num"
:limit.sync="pagination.size"
+ @pagination="initjobChangeData"
/>
</div>
</div>
@@ -623,6 +665,7 @@
<div class="jbxxTitle">
请假记录
</div>
+
<div class="jbxxCon">
<el-table
ref="leaveInfoTable"
@@ -632,24 +675,17 @@
style="width: 100%;"
@selection-change="onleaveInfoDataselection"
>
- <el-table-column show-overflow-tooltip="true" type="leaveInfoDataselection" width="55" />
- <el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="leaveId" label="" />
- <el-table-column show-overflow-tooltip="true" prop="empNumb" label="员工编号" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="deptName" label="护卫点" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位名称" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="empName" label="员工姓名" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="证件号码" />
- <el-table-column show-overflow-tooltip="true" prop="beginTime" label="开始时间" />
- <el-table-column show-overflow-tooltip="true" prop="endTime" label="结束时间" />
- <el-table-column show-overflow-tooltip="true" prop="leaveDay" label="请假天数" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="leaveType" label="请假类型" width="100">
+ <el-table-column show-overflow-tooltip="true" type="index" label="序号" align="center" width="55">
<template slot-scope="scope">
- {{ scope.row.leaveType === '1' ? '事假': '' }}
- {{ scope.row.leaveType === '2' ? '病假': '' }}
- {{ scope.row.leaveType === '3' ? '调休假': '' }}
+ <span v-text="getIndex(scope.$index)" />
</template>
</el-table-column>
- <el-table-column show-overflow-tooltip="true" prop="returnDate" label="到岗时间" width="120" />
+ <el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="leaveId" label="" />
+ <el-table-column show-overflow-tooltip="true" prop="beginTime" label="开始时间" width="100" />
+ <el-table-column show-overflow-tooltip="true" prop="endTime" label="结束时间" width="100" />
+ <el-table-column show-overflow-tooltip="true" prop="leaveDay" label="请假天数" width="100" />
+ <el-table-column show-overflow-tooltip="true" prop="leaveType" label="请假类型" :formatter="leaveTypeFormat" />
+ <el-table-column show-overflow-tooltip="true" prop="returnDate" label="到岗时间" width="180" />
<el-table-column show-overflow-tooltip="true" prop="reporter" label="报备人" width="100" />
<el-table-column show-overflow-tooltip="true" prop="remark" label="备注" />
</el-table>
@@ -658,6 +694,7 @@
:total="leaveInfoDatatotal"
:page.sync="pagination.num"
:limit.sync="pagination.size"
+ @pagination="initleaveInfoData"
/>
</div>
</div>
@@ -665,6 +702,7 @@
<div class="jbxxTitle">
辞职申请
</div>
+
<div class="jbxxCon">
<el-table
ref="resignTable"
@@ -674,16 +712,15 @@
style="width: 100%;"
@selection-change="onresignDataselection"
>
- <el-table-column show-overflow-tooltip="true" type="resignDataselection" width="55" />
+ <el-table-column show-overflow-tooltip="true" type="index" label="序号" align="center" width="55">
+ <template slot-scope="scope">
+ <span v-text="getIndex(scope.$index)" />
+ </template>
+ </el-table-column>
<el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="resignId" label="" />
- <el-table-column show-overflow-tooltip="true" prop="deptName" label="护卫点" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位名" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="empNumb" label="员工编号" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="empName" label="员工姓名" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="证件号码" />
- <el-table-column show-overflow-tooltip="true" prop="applayDate" label="辞职申请日期" />
- <el-table-column show-overflow-tooltip="true" prop="reason" label="辞职事由" />
- <el-table-column show-overflow-tooltip="true" prop="reporter" label="汇报人" width="100" />
+ <el-table-column show-overflow-tooltip="true" prop="applayDate" label="辞职申请日期" width="180" />
+ <el-table-column show-overflow-tooltip="true" prop="reason" label="辞职事由" width="180" />
+ <el-table-column show-overflow-tooltip="true" prop="reporter" label="汇报人" width="180" />
<el-table-column show-overflow-tooltip="true" prop="remark" label="备注" />
</el-table>
<pagination
@@ -691,13 +728,15 @@
:total="resignDatatotal"
:page.sync="pagination.num"
:limit.sync="pagination.size"
+ @pagination="initresignData"
/>
</div>
</div>
<div ref="lzdykq" class="lzdykq">
<div class="jbxxTitle">
- 考勤情况
+ 离职当月考勤
</div>
+
<div class="jbxxCon">
<el-table
ref="dimissionAttendTable"
@@ -707,18 +746,16 @@
style="width: 100%;"
@selection-change="ondimissionAttendDataselection"
>
- <el-table-column show-overflow-tooltip="true" type="dimissionAttendDataselection" width="55" />
-
+ <el-table-column show-overflow-tooltip="true" type="index" label="序号" align="center" width="55">
+ <template slot-scope="scope">
+ <span v-text="getIndex(scope.$index)" />
+ </template>
+ </el-table-column>
<el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="dimissionAttendId" label="" />
- <el-table-column show-overflow-tooltip="true" prop="empNumb" label="员工编号" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="deptName" label="护卫点" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="empName" label="员工姓名" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" />
- <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位" width="120" />
<el-table-column show-overflow-tooltip="true" prop="attendMonth" label="离职考勤月份" width="120" />
<el-table-column show-overflow-tooltip="true" prop="attendDays" label="出勤天数" width="120" />
- <el-table-column show-overflow-tooltip="true" prop="overtimeDay" label="加班(天)" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="overtimeHour" label="加班(小时)" width="100" />
+ <el-table-column show-overflow-tooltip="true" prop="overtimeDay" label="加班(天)" width="120" />
+ <el-table-column show-overflow-tooltip="true" prop="overtimeHour" label="加班(小时)" width="120" />
<el-table-column show-overflow-tooltip="true" prop="deduct" label="有无代扣款项" width="180" />
<el-table-column show-overflow-tooltip="true" prop="leaveDay" label="请假(天)" width="120" />
<el-table-column show-overflow-tooltip="true" prop="absenteeism" label="旷工(天)" width="120" />
@@ -729,6 +766,7 @@
:total="dimissionAttendDatatotal"
:page.sync="pagination.num"
:limit.sync="pagination.size"
+ @pagination="initdimissionAttendData"
/>
</div>
</div>
@@ -744,8 +782,14 @@
:header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
style="width: 100%;"
>
+ <el-table-column show-overflow-tooltip="true" type="index" label="序号" align="center" width="55">
+ <template slot-scope="scope">
+ <span v-text="getIndex(scope.$index)" />
+ </template>EmpLeaveInfo
+ </el-table-column>
<el-table-column show-overflow-tooltip="true" prop="entryDate" label="入职日期" />
<el-table-column show-overflow-tooltip="true" prop="dimissionDate" label="离职日期" />
+ <el-table-column show-overflow-tooltip="true" prop="dimissionType" label="离职类型" :formatter="dimissionTypeFormat" />
<el-table-column show-overflow-tooltip="true" prop="selfLeaveDay" label="自离天数" />
<el-table-column show-overflow-tooltip="true" prop="reporter" label="报备人" />
<el-table-column show-overflow-tooltip="true" prop="remark" label="备注" />
@@ -755,6 +799,7 @@
:total="dimissionLogDatatotal"
:page.sync="pagination.num"
:limit.sync="pagination.size"
+ @pagination="initdimissionLogData"
/>
</div>
</div>
@@ -762,6 +807,7 @@
<div class="jbxxTitle">
失业金领取
</div>
+
<div class="jbxxCon">
<el-table
ref="unemploymentTable"
@@ -771,18 +817,16 @@
style="width: 100%;"
@selection-change="onunemploymentDataselection"
>
- <el-table-column show-overflow-tooltip="true" type="unemploymentDataselection" width="55" />
-
+ <el-table-column show-overflow-tooltip="true" type="index" label="序号" align="center" width="55">
+ <template slot-scope="scope">
+ <span v-text="getIndex(scope.$index)" />
+ </template>
+ </el-table-column>
<el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="unemploymentId" label="" />
- <el-table-column show-overflow-tooltip="true" prop="empNumb" label="员工编号" width="120" />
- <el-table-column show-overflow-tooltip="true" prop="deptName" label="护卫点" width="120" />
- <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位名称" width="180" />
- <el-table-column show-overflow-tooltip="true" prop="empName" label="姓名" width="120" />
- <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" />
- <el-table-column show-overflow-tooltip="true" prop="applayDate" label="失业金申请日期" />
+ <el-table-column show-overflow-tooltip="true" prop="applayDate" label="失业金申请日期" width="180" />
<el-table-column show-overflow-tooltip="true" prop="applayReason" label="申报事由" />
- <el-table-column show-overflow-tooltip="true" prop="reporter" label="汇报人" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="auditor" label="审核人" width="100" />
+ <el-table-column show-overflow-tooltip="true" prop="reporter" label="汇报人" width="180" />
+ <el-table-column show-overflow-tooltip="true" prop="auditor" label="审核人" width="180" />
<el-table-column show-overflow-tooltip="true" prop="remark" label="备注" />
</el-table>
<pagination
@@ -790,6 +834,7 @@
:total="unemploymentDatatotal"
:page.sync="pagination.num"
:limit.sync="pagination.size"
+ @pagination="initunemploymentData"
/>
</div>
</div>
@@ -797,6 +842,7 @@
<div class="jbxxTitle">
社保申请
</div>
+
<div class="jbxxCon">
<el-table
ref="insuranceTable"
@@ -806,38 +852,18 @@
style="width: 100%;"
@selection-change="oninsuranceDataselection"
>
- <el-table-column show-overflow-tooltip="true" type="insuranceDataselection" width="55" />
-
+ <el-table-column show-overflow-tooltip="true" type="index" label="序号" align="center" width="55">
+ <template slot-scope="scope">
+ <span v-text="getIndex(scope.$index)" />
+ </template>
+ </el-table-column>
<el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="insuranceId" label="" />
- <el-table-column show-overflow-tooltip="true" prop="empNumb" label="员工编号" width="120" />
- <el-table-column show-overflow-tooltip="true" prop="deptName" label="护卫点" width="120" />
- <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位名称" width="180" />
- <el-table-column show-overflow-tooltip="true" prop="empName" label="姓名" width="120" />
- <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" />
- <el-table-column show-overflow-tooltip="true" prop="applayDate" label="社保申请日期" />
- <el-table-column show-overflow-tooltip="true" prop="proposer" label="申请人" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="insuranceGaers" label="社保档位" width="100">
- <template slot-scope="scope">
- {{ scope.row.insuranceGaers === '1' ? '深户(五险一档)': '' }}
- {{ scope.row.insuranceGaers === '2' ? '非深户(五险一档)': '' }}
- {{ scope.row.insuranceGaers === '3' ? '非深户(五险二档)': '' }}
- {{ scope.row.insuranceGaers === '4' ? '调休假': '' }}
- {{ scope.row.insuranceGaers === '5' ? '调休假': '' }}
- </template>
- </el-table-column>
- <el-table-column show-overflow-tooltip="true" prop="reportStatus" label="是否已报告" width="100">
- <template slot-scope="scope">
- {{ scope.row.reportStatus === 1 ? '未报告': '' }}
- {{ scope.row.reportStatus === 2 ? '已报告': '' }}
- </template>
- </el-table-column>
- <el-table-column show-overflow-tooltip="true" prop="applayStatus" label="状态" width="100">
- <template slot-scope="scope">
- {{ scope.row.applayStatus === 1 ? '未申请': '' }}
- {{ scope.row.applayStatus === 2 ? '已申请': '' }}
- </template>
- </el-table-column>
- <el-table-column show-overflow-tooltip="true" prop="auditor" label="审核人" width="100" />
+ <el-table-column show-overflow-tooltip="true" prop="applayDate" label="社保申请日期" width="180" />
+ <el-table-column show-overflow-tooltip="true" prop="proposer" label="申请人" width="180" />
+ <el-table-column show-overflow-tooltip="true" prop="insuranceGaers" label="社保档位" :formatter="insuranceGaersFormat" />
+ <el-table-column show-overflow-tooltip="true" prop="reportStatus" label="是否已报告" :formatter="reportStatusFormat" />
+ <el-table-column show-overflow-tooltip="true" prop="applayStatus" label="状态" :formatter="applayStatusFormat" />
+ <el-table-column show-overflow-tooltip="true" prop="auditor" label="审核人" width="180" />
<el-table-column show-overflow-tooltip="true" prop="remark" label="备注" />
</el-table>
<pagination
@@ -845,6 +871,7 @@
:total="insuranceDatatotal"
:page.sync="pagination.num"
:limit.sync="pagination.size"
+ @pagination="initinsuranceData"
/>
</div>
</div>
@@ -852,6 +879,7 @@
<div class="jbxxTitle">
意外险案件
</div>
+
<div class="jbxxCon">
<el-table
ref="accidentCasesTable"
@@ -861,39 +889,33 @@
style="width: 100%;"
@selection-change="onaccidentCasesDataselection"
>
- <el-table-column show-overflow-tooltip="true" type="accidentCasesDataselection" width="55" />
-
- <el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="accidentId" label="" />
- <el-table-column show-overflow-tooltip="true" prop="empNumb" label="员工编号" width="80" />
- <el-table-column show-overflow-tooltip="true" prop="deptName" label="护卫点" width="80" />
- <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位名称" width="80" />
- <el-table-column show-overflow-tooltip="true" prop="empName" label="姓名" width="80" />
- <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" />
- <el-table-column show-overflow-tooltip="true" prop="injuredTime" label="受伤日期" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="injuredAddress" label="受伤地点" />
- <el-table-column show-overflow-tooltip="true" prop="injuredPart" label="受伤部位" />
- <el-table-column show-overflow-tooltip="true" prop="injuredDescribe" label="受伤经过描述" />
- <el-table-column show-overflow-tooltip="true" prop="injuredDiacrisis" label="意外险诊断" width="80" />
- <el-table-column show-overflow-tooltip="true" prop="hospitalName" label="就诊医院" width="80" />
- <el-table-column show-overflow-tooltip="true" prop="treatmentName" label="就诊科室" width="80" />
- <el-table-column show-overflow-tooltip="true" prop="hospitalizatioFlag" label="是否住院" width="80">
+ <el-table-column show-overflow-tooltip="true" type="index" label="序号" align="center" width="55">
<template slot-scope="scope">
- {{ scope.row.hospitalizatioFlag === 1 ? '是': '' }}
- {{ scope.row.hospitalizatioFlag === 2 ? '否': '' }}
+ <span v-text="getIndex(scope.$index)" />
</template>
</el-table-column>
- <el-table-column show-overflow-tooltip="true" prop="bedNumb" label="床号" width="80" />
- <el-table-column show-overflow-tooltip="true" prop="reprotTime" label="报案时间" width="80" />
- <el-table-column show-overflow-tooltip="true" prop="submitTime" label="递交资料时间" width="80" />
- <el-table-column show-overflow-tooltip="true" prop="sbumitBy" label="递交人" width="80" />
- <el-table-column show-overflow-tooltip="true" prop="expensesFee" label="医疗总费用" width="80" />
- <el-table-column show-overflow-tooltip="true" prop="innsureFee" label="保险赔付费用" width="80" />
+ <el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="accidentId" label="" />
+ <el-table-column show-overflow-tooltip="true" prop="injuredTime" label="受伤日期" />
+ <el-table-column show-overflow-tooltip="true" prop="injuredAddress" label="受伤地点" width="100" />
+ <el-table-column show-overflow-tooltip="true" prop="injuredPart" label="受伤部位" width="100" />
+ <el-table-column show-overflow-tooltip="true" prop="injuredDescribe" label="受伤经过描述" />
+ <el-table-column show-overflow-tooltip="true" prop="injuredDiacrisis" label="意外险诊断" width="100" />
+ <el-table-column show-overflow-tooltip="true" prop="hospitalName" label="就诊医院" width="100" />
+ <el-table-column show-overflow-tooltip="true" prop="treatmentName" label="就诊科室" width="100" />
+ <el-table-column show-overflow-tooltip="true" prop="hospitalizatioFlag" label="是否住院" width="60" :formatter="hospitalizatioFlagFormat" />
+ <el-table-column show-overflow-tooltip="true" prop="bedNumb" label="床号" width="60" />
+ <el-table-column show-overflow-tooltip="true" prop="reprotTime" label="报案时间" width="100" />
+ <el-table-column show-overflow-tooltip="true" prop="submitTime" label="递交资料时间" width="100" />
+ <el-table-column show-overflow-tooltip="true" prop="sbumitBy" label="递交人" width="100" />
+ <el-table-column show-overflow-tooltip="true" prop="expensesFee" label="医疗总费用" width="100" />
+ <el-table-column show-overflow-tooltip="true" prop="innsureFee" label="保险赔付费用" width="100" />
</el-table>
<pagination
v-show="accidentCasesDatatotal>0"
:total="accidentCasesDatatotal"
:page.sync="pagination.num"
:limit.sync="pagination.size"
+ @pagination="initaccidentCasesData"
/>
</div>
</div>
@@ -901,6 +923,7 @@
<div class="jbxxTitle">
工伤案件
</div>
+
<div class="jbxxCon">
<el-table
ref="occupationalTable"
@@ -910,39 +933,33 @@
style="width: 100%;"
@selection-change="onoccupationalDataselection"
>
- <el-table-column show-overflow-tooltip="true" type="occupationalDataselection" width="55" />
-
- <el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="occupationalId" label="" />
- <el-table-column show-overflow-tooltip="true" prop="empNumb" label="员工编号" width="80" />
- <el-table-column show-overflow-tooltip="true" prop="deptName" label="护卫点" width="80" />
- <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位" width="80" />
- <el-table-column show-overflow-tooltip="true" prop="empName" label="姓名" width="80" />
- <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" />
- <el-table-column show-overflow-tooltip="true" prop="injuredTime" label="受伤日期" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="injuredAddress" label="受伤地点" />
- <el-table-column show-overflow-tooltip="true" prop="injuredPart" label="受伤部位" />
- <el-table-column show-overflow-tooltip="true" prop="injuredDescribe" label="受伤经过描述" />
- <el-table-column show-overflow-tooltip="true" prop="injuredDiacrisis" label="工伤诊断" width="80" />
- <el-table-column show-overflow-tooltip="true" prop="hospitalName" label="就诊医院" width="80" />
- <el-table-column show-overflow-tooltip="true" prop="treatmentName" label="就诊科室" width="80" />
- <el-table-column show-overflow-tooltip="true" prop="hospitalizatioFlag" label="是否住院" width="80">
+ <el-table-column show-overflow-tooltip="true" type="index" label="序号" align="center" width="55">
<template slot-scope="scope">
- {{ scope.row.hospitalizatioFlag === 1 ? '是': '' }}
- {{ scope.row.hospitalizatioFlag === 2 ? '否': '' }}
+ <span v-text="getIndex(scope.$index)" />
</template>
</el-table-column>
- <el-table-column show-overflow-tooltip="true" prop="bedNumb" label="床号" width="80" />
- <el-table-column show-overflow-tooltip="true" prop="reportTime" label="报案时间" width="80" />
- <el-table-column show-overflow-tooltip="true" prop="submitTime" label="递交资料时间" width="80" />
+ <el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="occupationalId" label="" />
+ <el-table-column show-overflow-tooltip="true" prop="injuredTime" label="受伤日期" />
+ <el-table-column show-overflow-tooltip="true" prop="injuredAddress" label="受伤地点" />
+ <el-table-column show-overflow-tooltip="true" prop="injuredPart" label="受伤部位" width="80" />
+ <el-table-column show-overflow-tooltip="true" prop="injuredDescribe" label="受伤经过描述" />
+ <el-table-column show-overflow-tooltip="true" prop="injuredDiacrisis" label="工伤诊断" width="80" />
+ <el-table-column show-overflow-tooltip="true" prop="hospitalName" label="就诊医院" />
+ <el-table-column show-overflow-tooltip="true" prop="treatmentName" label="就诊科室" />
+ <el-table-column show-overflow-tooltip="true" prop="hospitalizatioFlag" label="是否住院" width="80" :formatter="hospitalizatioFlagFormat" />
+ <el-table-column show-overflow-tooltip="true" prop="bedNumb" label="床号" width="60" />
+ <el-table-column show-overflow-tooltip="true" prop="reportTime" label="报案时间" width="100" />
+ <el-table-column show-overflow-tooltip="true" prop="submitTime" label="递交资料时间" width="100" />
<el-table-column show-overflow-tooltip="true" prop="sbumitBy" label="递交人" width="80" />
<el-table-column show-overflow-tooltip="true" prop="expensesFee" label="医疗总费用" width="80" />
- <el-table-column show-overflow-tooltip="true" prop="compensated" label="已赔付医药费用" width="80" />
+ <el-table-column show-overflow-tooltip="true" prop="compensated" label="已赔付医药费用" width="100" />
</el-table>
<pagination
v-show="occupationalDatatotal>0"
:total="occupationalDatatotal"
:page.sync="pagination.num"
:limit.sync="pagination.size"
+ @pagination="initoccupationalData"
/>
</div>
</div>
@@ -950,6 +967,7 @@
<div class="jbxxTitle">
劳资案件
</div>
+
<div class="jbxxCon">
<el-table
ref="laborTroubleTable"
@@ -959,40 +977,27 @@
style="width: 100%;"
@selection-change="onlaborTroubleDataselection"
>
- <el-table-column show-overflow-tooltip="true" type="laborTroubleDataselection" width="55" />
-
+ <el-table-column show-overflow-tooltip="true" type="index" label="序号" align="center" width="55">
+ <template slot-scope="scope">
+ <span v-text="getIndex(scope.$index)" />
+ </template>
+ </el-table-column>
<el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="arbitrationId" label="" />
- <el-table-column show-overflow-tooltip="true" prop="empNumb" label="员工编号" width="120" />
- <el-table-column show-overflow-tooltip="true" prop="deptName" label="护卫点" width="120" />
- <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="empName" label="姓名" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" />
- <el-table-column show-overflow-tooltip="true" prop="arbitrationDate" label="仲裁日期" width="120" />
- <el-table-column show-overflow-tooltip="true" prop="arbitrationDate" label="仲裁日期" width="120" />
- <el-table-column show-overflow-tooltip="true" prop="arbitrationType" label="仲裁类型">
- <template slot-scope="scope">
- {{ scope.row.arbitrationType === '01' ? '劳资纠纷': '' }}
- {{ scope.row.arbitrationType === '02' ? '民事纠纷': '' }}
- {{ scope.row.arbitrationType === '03' ? '合同纠纷': '' }}
- </template>
- </el-table-column>
+ <el-table-column show-overflow-tooltip="true" prop="arbitrationDate" label="仲裁日期" width="100" />
+ <el-table-column show-overflow-tooltip="true" prop="arbitrationType" label="仲裁类型" :formatter="arbitrationTypeFormat" />
<el-table-column show-overflow-tooltip="true" prop="arbitrationReason" label="仲裁事由" />
- <el-table-column show-overflow-tooltip="true" prop="reporter" label="报备人" width="120" />
+ <el-table-column show-overflow-tooltip="true" prop="reporter" label="报备人" width="100" />
<el-table-column show-overflow-tooltip="true" prop="remark" label="备注" />
- <el-table-column show-overflow-tooltip="true" prop="arbitrationPay" label="仲裁赔付(元)" width="120" />
- <el-table-column show-overflow-tooltip="true" prop="arbitrationStatus" label="状态" width="100">
- <template slot-scope="scope">
- {{ scope.row.arbitrationStatus === 0 ? '未结案': '' }}
- {{ scope.row.arbitrationStatus === 1 ? '已结案': '' }}
- </template>
- </el-table-column>
- <el-table-column show-overflow-tooltip="true" prop="settleDate" label="案结日期" width="180" />
+ <el-table-column show-overflow-tooltip="true" prop="arbitrationPay" label="仲裁赔付(元)" width="180" />
+ <el-table-column show-overflow-tooltip="true" prop="arbitrationStatus" label="状态" width="100" :formatter="arbitrationStatusFormat" />
+ <el-table-column show-overflow-tooltip="true" prop="settleDate" label="案结日期" width="100" />
</el-table>
<pagination
v-show="laborTroubleDatatotal>0"
:total="laborTroubleDatatotal"
:page.sync="pagination.num"
:limit.sync="pagination.size"
+ @pagination="initlaborTroubleData"
/>
</div>
</div>
@@ -1000,6 +1005,7 @@
<div class="jbxxTitle">
不良记录
</div>
+
<div class="jbxxCon">
<el-table
ref="badRecordTable"
@@ -1009,17 +1015,15 @@
style="width: 100%;"
@selection-change="onbadRecordDataselection"
>
- <el-table-column show-overflow-tooltip="true" type="onbadRecordDataselection" width="55" />
-
+ <el-table-column show-overflow-tooltip="true" type="index" label="序号" align="center" width="55">
+ <template slot-scope="scope">
+ <span v-text="getIndex(scope.$index)" />
+ </template>
+ </el-table-column>
<el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="badId" label="" />
- <el-table-column show-overflow-tooltip="true" prop="empNumb" label="员工编号" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="deptName" label="护卫点" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="empName" label="姓名" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" />
- <el-table-column show-overflow-tooltip="true" prop="badDate" label="不良记录日期" />
+ <el-table-column show-overflow-tooltip="true" prop="badDate" label="不良记录日期" width="180" />
<el-table-column show-overflow-tooltip="true" prop="badContent" label="不良记录描述" />
- <el-table-column show-overflow-tooltip="true" prop="reporter" label="汇报人" width="100" />
+ <el-table-column show-overflow-tooltip="true" prop="reporter" label="汇报人" width="180" />
<el-table-column show-overflow-tooltip="true" prop="remark" label="备注" />
</el-table>
<pagination
@@ -1027,6 +1031,7 @@
:total="badRecordDatatotal"
:page.sync="pagination.num"
:limit.sync="pagination.size"
+ @pagination="initbadRecordData"
/>
</div>
</div>
@@ -1034,6 +1039,7 @@
<div class="jbxxTitle">
备注
</div>
+
<div class="jbxxCon">
<el-table
ref="remarkInfoTable"
@@ -1043,14 +1049,13 @@
style="width: 100%;"
@selection-change="onremarkInfoDataselection"
>
- <el-table-column show-overflow-tooltip="true" type="onremarkInfoDataselection" width="55" />
+ <el-table-column show-overflow-tooltip="true" type="index" label="序号" align="center" width="55">
+ <template slot-scope="scope">
+ <span v-text="getIndex(scope.$index)" />
+ </template>
+ </el-table-column>
<el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="remarkId" label="" />
- <el-table-column show-overflow-tooltip="true" prop="empNumb" label="员工编号" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="deptName" label="护卫点" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="empName" label="姓名" width="100" />
- <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" />
- <el-table-column show-overflow-tooltip="true" prop="remarkDate" label="备注日期" />
+ <el-table-column show-overflow-tooltip="true" prop="remarkDate" label="备注日期" width="180" />
<el-table-column show-overflow-tooltip="true" prop="remarkContent" label="备注信息" />
</el-table>
<pagination
@@ -1058,45 +1063,153 @@
:total="remarkInfoDatatotal"
:page.sync="pagination.num"
:limit.sync="pagination.size"
+ @pagination="initremarkInfoData"
/>
</div>
</div>
<div ref="jljt" class="jljt">
<div class="jbxxTitle">
- 记录截图
+ 上传附件
</div>
- <el-button
- class="filter-item"
- type="primary"
- @click.native.prevent="dialogShow"
- >
- 查看并上传
- </el-button>
- <div class="jbxxCon" />
- </div>
-
- <div ref="xgfj" class="xgfj">
- <div class="jbxxTitle">
- 相关附件
+ <div class="jbxxCon">
+ <div class="zs-main">
+ <el-row class="search-title">
+ <el-col :span="18" class="title">
+ <!-- <div class="zs-title">上传附件</div>-->
+ <p />
+ </el-col>
+ <el-col :span="6" class="search">
+ <el-input
+ v-model="fileName"
+ maxlength="20"
+ minlength="1"
+ clearable
+ placeholder="请输入文件名"
+ show-word-limit
+ style="width:200px"
+ />
+ <el-button type="primary" @click="findFileByFileName()">查询</el-button>
+ </el-col>
+ </el-row>
+ <el-container style="background-color: #fff;">
+ <el-aside width="210px" style="background-color: #fff;text-align: center;">
+ <h4>{{ empBaseInfoForm.empName }}:{{ empBaseInfoForm.deptName }}</h4>
+ <el-timeline>
+ <el-timeline-item
+ v-for="(activity, index) in activities"
+ :key="index"
+ :icon="activity.icon"
+ :type="activity.type"
+ :color="activity.color"
+ :size="activity.size"
+ placement="bottom"
+ >
+ <span
+ style="position: relative; top: -5px;"
+ @click="clickTimeline(index, activity.id)"
+ >
+ {{ activity.timestamp }}</span>
+ </el-timeline-item>
+ </el-timeline>
+ </el-aside>
+ <el-container>
+ <el-header class="text-header">
+ <el-row style="background-color: rgba(0,0,0,0.2);">
+ <el-col :span="16">
+ <el-checkbox
+ v-model="checkAll"
+ class="myRedCheckBox"
+ style="color: #000; margin-left: 20px;"
+ @change="checkAllMethods()"
+ >全选
+ </el-checkbox>
+ </el-col>
+ <el-col :span="8">
+ <el-button
+ type="primary"
+ icon="el-icon-download"
+ size="mini"
+ @click="download()"
+ >下载
+ </el-button>
+ </el-col>
+ </el-row>
+ </el-header>
+ <el-dialog
+ title="移动文件"
+ :visible.sync="mvdialogFormVisible"
+ width="25%"
+ class="add-label"
+ append-to-body
+ >
+ <el-form ref="mvlabelfrom" :model="labelfrom" :rules="mvrules">
+ <el-form-item
+ label="目录名称:"
+ :label-width="formLabelWidth"
+ prop="labelid"
+ >
+ <el-select v-model="labelfrom.labelid" placeholder="请选择移动的标签">
+ <el-option
+ v-for="items in activities"
+ :key="items.id"
+ :value="items.id"
+ :label="items.timestamp"
+ />
+ </el-select>
+ </el-form-item>
+ </el-form>
+ <div slot="footer" class="dialog-footer">
+ <el-button @click="mvdialogFormVisible = false">取 消</el-button>
+ <el-button
+ type="primary"
+ @click="mvlabel('mvlabelfrom')"
+ >确 定
+ </el-button>
+ </div>
+ </el-dialog>
+ <el-main style="background-color: #fff;margin-top: 5%;">
+ <el-row v-for="(data, index) in filesUploadData" :key="index">
+ <template v-for="(node, nodeIndex) in data.node">
+ <el-col v-if="node.isUpload === false" :key="node.filesid" :span="3">
+ <el-card
+ shadow="never"
+ @click.native="clickCard(index * 8 + nodeIndex)"
+ >
+ <img
+ :src="showFileImg(node.filesformat)"
+ class="uploading-image"
+ >
+ <el-tooltip class="item" effect="dark" :content="node.filesname" placement="bottom">
+ <div style="padding-top: 14px;">
+ <el-checkbox
+ v-model="checkedArr[index * 8 + nodeIndex].isChecked"
+ class="myRedCheckBox"
+ >{{ node.filesname }}
+ </el-checkbox>
+ </div>
+ </el-tooltip>
+ </el-card>
+ </el-col>
+ </template>
+ </el-row>
+ </el-main>
+ </el-container>
+ </el-container>
+ </div>
</div>
- <el-button
- class="filter-item"
- type="primary"
- @click.native.prevent="dialogShow"
- >
- 查看并上传
- </el-button>
- <div class="jbxxCon" />
</div>
-
</div>
</div>
- <el-dialog title="附件管理" append-to-body="true" :visible.sync="dialogShowUploadfj" width="80%" class="fjgl-class" top="10px" @close="closeDialog()">
- <uploadfj v-if="dialogShowUploadfj" :rowitem="rowitem" />
- </el-dialog>
- <el-dialog title="工作经历" append-to-body="true" :visible.sync="dialogshowArr[1].show" width="50%">
- <el-form ref="workExperienceForm" :model="workExperienceForm" :rules="workExperienceRules" label-position="right" label-width="120px">
+
+ <el-dialog title="工作经历" append-to-body :visible.sync="dialogshowArr[1].show" width="50%">
+ <el-form
+ ref="workExperienceForm"
+ :model="workExperienceForm"
+ :rules="workExperienceRules"
+ label-position="right"
+ label-width="120px"
+ >
<el-row>
<el-col :span="12">
<el-form-item label="姓名" prop="empName">
@@ -1109,8 +1222,12 @@
</el-form-item>
<el-form-item label="性别" prop="sex">
<el-select v-model="workExperienceForm.sex" placeholder="请选择性别">
- <el-option label="男" value="1" />
- <el-option label="女" value="2" />
+ <el-option
+ v-for="dict in sexOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
</el-col>
@@ -1168,8 +1285,14 @@
<el-button @click="dialogIsShow()">取 消</el-button>
</div>
</el-dialog>
- <el-dialog title="体检信息" append-to-body="true" :visible.sync="dialogshowArr[2].show" width="50%">
- <el-form ref="physicalExamForm" :model="physicalExamForm" :rules="physicalExamRules" label-position="right" label-width="120px">
+ <el-dialog title="体检信息" append-to-body :visible.sync="dialogshowArr[2].show" width="50%">
+ <el-form
+ ref="physicalExamForm"
+ :model="physicalExamForm"
+ :rules="physicalExamRules"
+ label-position="right"
+ label-width="120px"
+ >
<el-row>
<el-col :span="12">
<el-form-item label="姓名" prop="empName">
@@ -1182,8 +1305,12 @@
</el-form-item>
<el-form-item label="性别" prop="sex">
<el-select v-model="physicalExamForm.sex" placeholder="请选择性别">
- <el-option label="男" value="1" />
- <el-option label="女" value="2" />
+ <el-option
+ v-for="dict in sexOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
<el-form-item label="体检医院" prop="hospital">
@@ -1194,8 +1321,12 @@
v-model="physicalExamForm.physicalExamType"
placeholder="请选择体检类型"
>
- <el-option label="普通体检" value="1" />
- <el-option label="员工体检" value="2" />
+ <el-option
+ v-for="dict in physicalExamTypeOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
<el-form-item label="转氨酶" prop="transaminase">
@@ -1225,8 +1356,12 @@
</el-form-item>
<el-form-item label="心电图" prop="ecg">
<el-select v-model="physicalExamForm.ecg" placeholder="ecg">
- <el-option label="正常" value="1" />
- <el-option label="异常" value="0" />
+ <el-option
+ v-for="dict in ecgOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
</el-col>
@@ -1254,8 +1389,14 @@
<el-button @click="dialogIsShow()">取 消</el-button>
</div>
</el-dialog>
- <el-dialog title="合同信息" append-to-body="true" :visible.sync="dialogshowArr[3].show" width="50%">
- <el-form ref="contractInfoForm" :model="contractInfoForm" :rules="contractInfoRules" label-position="right" label-width="120px">
+ <el-dialog title="合同信息" append-to-body :visible.sync="dialogshowArr[3].show" width="50%">
+ <el-form
+ ref="contractInfoForm"
+ :model="contractInfoForm"
+ :rules="contractInfoRules"
+ label-position="right"
+ label-width="120px"
+ >
<el-row>
<el-col :span="12">
<el-form-item label="姓名" prop="empName">
@@ -1268,8 +1409,12 @@
</el-form-item>
<el-form-item label="性别" this-emp-base-info-form="sex">
<el-select v-model="contractInfoForm.sex" placeholder="请选择性别">
- <el-option label="男" value="1" />
- <el-option label="女" value="2" />
+ <el-option
+ v-for="dict in sexOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
<el-form-item label="合同签订日期" prop="signingDate">
@@ -1285,8 +1430,12 @@
v-model="contractInfoForm.contractStatus"
placeholder="请选择合同状态"
>
- <el-option label="新签" value="1" />
- <el-option label="续签" value="2" />
+ <el-option
+ v-for="dict in contractStatusOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
<el-form-item label="合同办理人" prop="transactor">
@@ -1329,8 +1478,14 @@
<el-button @click="dialogIsShow()">取 消</el-button>
</div>
</el-dialog>
- <el-dialog title="离职当月考勤" append-to-body="true" :visible.sync="dialogshowArr[4].show" width="50%">
- <el-form ref="dimissionAttendForm" :model="dimissionAttendForm" :rules="dimissionAttendRules" label-position="right" label-width="120px">
+ <el-dialog title="离职当月考勤" append-to-body :visible.sync="dialogshowArr[4].show" width="50%">
+ <el-form
+ ref="dimissionAttendForm"
+ :model="dimissionAttendForm"
+ :rules="dimissionAttendRules"
+ label-position="right"
+ label-width="120px"
+ >
<el-row>
<el-col :span="12">
<el-form-item label="姓名" prop="empName">
@@ -1343,8 +1498,12 @@
</el-form-item>
<el-form-item label="性别" prop="sex">
<el-select v-model="dimissionAttendForm.sex" placeholder="请选择性别">
- <el-option label="男" value="1" />
- <el-option label="女" value="2" />
+ <el-option
+ v-for="dict in sexOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
<el-form-item label="离职考勤月份" prop="attendMonth">
@@ -1401,8 +1560,14 @@
<el-button @click="dialogIsShow()">取 消</el-button>
</div>
</el-dialog>
- <el-dialog title="请假记录" append-to-body="true" :visible.sync="dialogshowArr[5].show" width="50%">
- <el-form ref="leaveInfoForm" :model="leaveInfoForm" :rules="leaveInfoRules" label-position="right" label-width="120px">
+ <el-dialog title="请假记录" append-to-body :visible.sync="dialogshowArr[5].show" width="50%">
+ <el-form
+ ref="leaveInfoForm"
+ :model="leaveInfoForm"
+ :rules="leaveInfoRules"
+ label-position="right"
+ label-width="120px"
+ >
<el-row>
<el-col :span="12">
<el-form-item label="姓名" prop="empName">
@@ -1415,8 +1580,12 @@
</el-form-item>
<el-form-item label="性别" prop="sex">
<el-select v-model="leaveInfoForm.sex" placeholder="请选择性别">
- <el-option label="男" value="1" />
- <el-option label="女" value="2" />
+ <el-option
+ v-for="dict in sexOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
<el-form-item label="请假开始时间" prop="beginTime">
@@ -1431,8 +1600,12 @@
<el-form-item label="请假类型" prop="leaveType">
<el-select v-model="leaveInfoForm.leaveType" placeholder="请选择请假类型">
- <el-option label="事假" value="1" />
- <el-option label="病假" value="2" />
+ <el-option
+ v-for="dict in leaveTypeOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
@@ -1488,7 +1661,7 @@
<el-button @click="dialogIsShow()">取 消</el-button>
</div>
</el-dialog>
- <el-dialog title="辞职申请" append-to-body="true" :visible.sync="dialogshowArr[6].show" width="50%">
+ <el-dialog title="辞职申请" append-to-body :visible.sync="dialogshowArr[6].show" width="50%">
<el-form ref="resignForm" :model="resignForm" :rules="resignRules" label-position="right" label-width="120px">
<el-row>
<el-col :span="12">
@@ -1502,8 +1675,12 @@
</el-form-item>
<el-form-item label="性别" prop="sex">
<el-select v-model="resignForm.sex" placeholder="请选择性别">
- <el-option label="男" value="1" />
- <el-option label="女" value="2" />
+ <el-option
+ v-for="dict in sexOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
<el-form-item label="辞职申请日期" prop="applayDate">
@@ -1550,8 +1727,14 @@
<el-button @click="dialogIsShow()">取 消</el-button>
</div>
</el-dialog>
- <el-dialog title="失业金领取" append-to-body="true" :visible.sync="dialogshowArr[7].show" width="50%">
- <el-form ref="unemploymentForm" :model="unemploymentForm" :rules="unemploymentRules" label-position="right" label-width="120px">
+ <el-dialog title="失业金领取" append-to-body :visible.sync="dialogshowArr[7].show" width="50%">
+ <el-form
+ ref="unemploymentForm"
+ :model="unemploymentForm"
+ :rules="unemploymentRules"
+ label-position="right"
+ label-width="120px"
+ >
<el-row>
<el-col :span="12">
<el-form-item label="姓名" prop="empName">
@@ -1564,8 +1747,12 @@
</el-form-item>
<el-form-item label="性别" prop="sex">
<el-select v-model="unemploymentForm.sex" placeholder="请选择性别">
- <el-option label="男" value="1" />
- <el-option label="女" value="2" />
+ <el-option
+ v-for="dict in sexOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
<el-form-item label="失业金申请日期" prop="applayDate" label-width="130px">
@@ -1612,8 +1799,14 @@
<el-button @click="dialogIsShow()">取 消</el-button>
</div>
</el-dialog>
- <el-dialog title="社保申请" append-to-body="true" :visible.sync="dialogshowArr[8].show" width="50%">
- <el-form ref="insuranceForm" :model="insuranceForm" :rules="insuranceRules" label-position="right" label-width="120px">
+ <el-dialog title="社保申请" append-to-body :visible.sync="dialogshowArr[8].show" width="50%">
+ <el-form
+ ref="insuranceForm"
+ :model="insuranceForm"
+ :rules="insuranceRules"
+ label-position="right"
+ label-width="120px"
+ >
<el-row>
<el-col :span="12">
<el-form-item label="姓名" prop="empName">
@@ -1626,8 +1819,12 @@
</el-form-item>
<el-form-item label="性别" prop="sex">
<el-select v-model="insuranceForm.sex" placeholder="请选择性别">
- <el-option label="男" value="1" />
- <el-option label="女" value="2" />
+ <el-option
+ v-for="dict in sexOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
<el-form-item label="社保申请日期" prop="applayDate">
@@ -1640,17 +1837,22 @@
</el-form-item>
<el-form-item label="社保档位" prop="insuranceGaers">
<el-select v-model="insuranceForm.insuranceGaers" placeholder="请选择社保档位">
- <el-option label="(深户)五险一档" value="1" />
- <el-option label="(非深户)五险一档" value="2" />
- <el-option label="(非深户)五险二档" value="3" />
- <el-option label="(非深户)五险三档" value="4" />
- <el-option label="(非深户)四险一档" value="5" />
+ <el-option
+ v-for="dict in insuranceGaersOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
<el-form-item label="状态" prop="applayStatus">
<el-select v-model="insuranceForm.applayStatus" placeholder="请选择状态">
- <el-option label="未申请" value="1" />
- <el-option label="已申请" value="2" />
+ <el-option
+ v-for="dict in applayStatusOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
</el-col>
@@ -1669,8 +1871,12 @@
</el-form-item>
<el-form-item label="是否已经报告">
<el-select v-model="insuranceForm.reportStatus" placeholder="是否已经报告">
- <el-option label="未报告" value="1" />
- <el-option label="已报告" value="2" />
+ <el-option
+ v-for="dict in reportStatusOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
<el-form-item label="审批人">
@@ -1691,8 +1897,14 @@
<el-button @click="dialogIsShow()">取 消</el-button>
</div>
</el-dialog>
- <el-dialog title="意外险案件" append-to-body="true" :visible.sync="dialogshowArr[9].show" width="50%">
- <el-form ref="accidentCasesForm" :model="accidentCasesForm" :rules="accidentCasesRules" label-position="right" label-width="120px">
+ <el-dialog title="意外险案件" append-to-body :visible.sync="dialogshowArr[9].show" width="50%">
+ <el-form
+ ref="accidentCasesForm"
+ :model="accidentCasesForm"
+ :rules="accidentCasesRules"
+ label-position="right"
+ label-width="120px"
+ >
<el-row>
<el-col :span="12">
<el-form-item label="姓名" prop="empName">
@@ -1705,8 +1917,12 @@
</el-form-item>
<el-form-item label="性别" prop="sex">
<el-select v-model="accidentCasesForm.sex" placeholder="请选择性别">
- <el-option label="男" value="1" />
- <el-option label="女" value="2" />
+ <el-option
+ v-for="dict in sexOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
<el-form-item label="受伤时间" prop="injuredTime">
@@ -1754,8 +1970,12 @@
</el-form-item>
<el-form-item label="是否住院" prop="hospitalizatioFlag">
<el-select v-model="accidentCasesForm.hospitalizatioFlag" placeholder="是否住院">
- <el-option label="未住院" value="0" />
- <el-option label="已住院" value="1" />
+ <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="报案时间">
@@ -1813,8 +2033,12 @@
</el-form-item>
<el-form-item label="状态" prop="settleStatus">
<el-select v-model="accidentCasesForm.settleStatus" placeholder="">
- <el-option label="已结案" value="1" />
- <el-option label="未结案" value="0" />
+ <el-option
+ v-for="dict in settleStatusOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
</el-col>
@@ -1825,8 +2049,14 @@
<el-button @click="dialogIsShow()">取 消</el-button>
</div>
</el-dialog>
- <el-dialog title="工伤案件" append-to-body="true" :visible.sync="dialogshowArr[10].show" width="50%">
- <el-form ref="occupationalForm" :model="occupationalForm" :rules="occupationalRules" label-position="right" label-width="140px">
+ <el-dialog title="工伤案件" append-to-body :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">
@@ -1839,8 +2069,12 @@
</el-form-item>
<el-form-item label="性别" prop="sex">
<el-select v-model="occupationalForm.sex" placeholder="请选择性别">
- <el-option label="男" value="1" />
- <el-option label="女" value="2" />
+ <el-option
+ v-for="dict in sexOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
<el-form-item label="受伤时间" prop="injuredTime">
@@ -1888,8 +2122,12 @@
</el-form-item>
<el-form-item label="是否住院" prop="hospitalizatioFlag">
<el-select v-model="occupationalForm.hospitalizatioFlag" placeholder="是否住院">
- <el-option label="未住院" value="0" />
- <el-option label="已住院" value="1" />
+ <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">
@@ -1984,8 +2222,12 @@
</el-form-item>
<el-form-item label="是否结案" prop="settleStatus">
<el-select v-model="occupationalForm.settleStatus" placeholder="">
- <el-option label="已结案" value="1" />
- <el-option label="未结案" value="0" />
+ <el-option
+ v-for="dict in settleStatusOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
</el-col>
@@ -2004,8 +2246,14 @@
<el-button @click="dialogIsShow()">取 消</el-button>
</div>
</el-dialog>
- <el-dialog title="劳资案件" append-to-body="true" :visible.sync="dialogshowArr[11].show" width="50%">
- <el-form ref="laborTroubleForm" :model="laborTroubleForm" :rules="laborTroubleRules" label-position="right" label-width="140px">
+ <el-dialog title="劳资案件" append-to-body :visible.sync="dialogshowArr[11].show" width="50%">
+ <el-form
+ ref="laborTroubleForm"
+ :model="laborTroubleForm"
+ :rules="laborTroubleRules"
+ label-position="right"
+ label-width="140px"
+ >
<el-row>
<el-col :span="12">
<el-form-item label="姓名" prop="empName">
@@ -2018,8 +2266,12 @@
</el-form-item>
<el-form-item label="性别" prop="sex">
<el-select v-model="laborTroubleForm.sex" placeholder="请选择性别">
- <el-option label="男" value="1" />
- <el-option label="女" value="2" />
+ <el-option
+ v-for="dict in sexOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
<el-form-item label="仲裁日期" prop="arbitrationDate">
@@ -2035,8 +2287,12 @@
</el-form-item>
<el-form-item label="状态" prop="arbitrationStatus">
<el-select v-model="laborTroubleForm.arbitrationStatus" placeholder="">
- <el-option label="已结案" value="1" />
- <el-option label="未结案" value="0" />
+ <el-option
+ v-for="dict in settleStatusOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
</el-col>
@@ -2052,13 +2308,20 @@
</el-form-item>
<el-form-item label="仲裁类型" prop="arbitrationType">
<el-select v-model="laborTroubleForm.arbitrationType" placeholder="请选择仲裁类型">
- <el-option label="劳资纠纷" value="01" />
- <el-option label="民事纠纷" value="02" />
- <el-option label="合同纠纷" value="03" />
+ <el-option
+ v-for="dict in arbitrationTypeOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
<el-form-item label="仲裁赔付(元)" prop="'arbitrationPay">
- <el-input v-model="laborTroubleForm.arbitrationPay" oninput="value=value.replace(/^\.+|[^\d.]/g,'')" @blur="arbitrationPayChange" />
+ <el-input
+ v-model="laborTroubleForm.arbitrationPay"
+ oninput="value=value.replace(/^\.+|[^\d.]/g,'')"
+ @blur="arbitrationPayChange"
+ />
</el-form-item>
<el-form-item label="案结日期" prop="settleDate">
<el-date-picker
@@ -2090,8 +2353,14 @@
<el-button @click="dialogIsShow()">取 消</el-button>
</div>
</el-dialog>
- <el-dialog title="不良记录" append-to-body="true" :visible.sync="dialogshowArr[12].show" width="50%">
- <el-form ref="badRecordForm" :model="badRecordForm" :rules="badRecordRules" label-position="right" label-width="140px">
+ <el-dialog title="不良记录" append-to-body :visible.sync="dialogshowArr[12].show" width="50%">
+ <el-form
+ ref="badRecordForm"
+ :model="badRecordForm"
+ :rules="badRecordRules"
+ label-position="right"
+ label-width="140px"
+ >
<el-row>
<el-col :span="12">
<el-form-item label="姓名" prop="empName">
@@ -2104,8 +2373,12 @@
</el-form-item>
<el-form-item label="性别" prop="sex">
<el-select v-model="badRecordForm.sex" placeholder="请选择性别">
- <el-option label="男" value="1" />
- <el-option label="女" value="2" />
+ <el-option
+ v-for="dict in sexOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
<el-form-item label="不良记录日期" prop="badDate">
@@ -2152,7 +2425,7 @@
<el-button @click="dialogIsShow()">取 消</el-button>
</div>
</el-dialog>
- <el-dialog title="备注信息" append-to-body="true" :visible.sync="dialogshowArr[13].show" width="50%">
+ <el-dialog title="备注信息" append-to-body :visible.sync="dialogshowArr[13].show" width="50%">
<el-form
ref="remarkInfoForm"
:model="remarkInfoForm"
@@ -2172,8 +2445,12 @@
</el-form-item>
<el-form-item label="性别" prop="sex">
<el-select v-model="remarkInfoForm.sex" placeholder="请选择性别">
- <el-option label="男" value="1" />
- <el-option label="女" value="2" />
+ <el-option
+ v-for="dict in sexOptions"
+ :key="dict.dicItemCode"
+ :label="dict.dicItemName"
+ :value="dict.dicItemCode"
+ />
</el-select>
</el-form-item>
<el-form-item label="备注日期" prop="remarkDate">
@@ -2218,6 +2495,9 @@
import Treeselect from '@riophae/vue-treeselect'
import '@riophae/vue-treeselect/dist/vue-treeselect.css'
import Pagination from '@/components/Pagination'
+import { getToken } from '@/utils/auth'
+import { pages } from '@/settings'
+
export default {
name: 'ArchivesChange',
components: { Treeselect, Pagination },
@@ -2237,14 +2517,37 @@
},
data() {
return {
- rowitem: {},
+ htmlTitle: 'xx',
+ nowTime: '',
+ mvrules: {
+ labelid: [{ required: true, message: '请选择标签', trigger: 'change' }]
+ },
+ mvdialogFormVisible: false,
+ uploadSinglePath: pages.uploadSinglePath,
+ labelfrom: {
+ labelid: '',
+ empId: ''
+ },
+ fileDate: {
+ labelid: 0,
+ empId: ''
+ },
+ formLabelWidth: '100px',
+ beforeIndex: 0,
+ fileName: '',
+ checkedArr: [],
+ checkAll: false,
+ activities: [],
+ filesUploadData: [],
+ updateNum: 0,
dialogShowUploadfj: false,
queryParams: {}, // 查询参数
sort: {}, // 排序
pagination: { // 分页参数
- size: 20,
+ size: 5,
num: 1
},
+ readon: false,
workExperienceModal: true,
dialogshowArr: [
{
@@ -2307,12 +2610,20 @@
certificateNumb: [{ required: true, message: '请输入身份证号', trigger: 'blur' }],
jobName: [{ required: true, message: '请选择岗位', trigger: 'change' }],
nativePlaceName: [{ required: true, message: '请选择籍贯', trigger: 'change' }],
- bankName: [{ required: true, message: '请输入银行名称', trigger: 'blur' }, { max: 36, message: '长度不超过36个字符', trigger: 'blur' }],
+ bankName: [{ required: true, message: '请输入银行名称', trigger: 'blur' }, {
+ max: 36,
+ message: '长度不超过36个字符',
+ trigger: 'blur'
+ }],
insuranceType: [{ required: true, message: '请选择保险类型', trigger: 'change' }],
entryDate: [{ required: true, message: '请选择入职日期', trigger: 'change' }],
seniority: [{ required: true, message: '请输入入司工龄', trigger: 'blur' }],
archivesStatus: [{ required: true, message: '请选择档案情况', trigger: 'change' }],
- bankNumb: [{ required: true, message: '请输入银行账号', trigger: 'blur' }, { max: 32, message: '长度不超过32个字符', trigger: 'blur' }],
+ bankNumb: [{ required: true, message: '请输入银行账号', trigger: 'blur' }, {
+ max: 32,
+ message: '长度不超过32个字符',
+ trigger: 'blur'
+ }],
empType: [{ required: true, message: '请选择员工类型', trigger: 'change' }],
censusAddress: [{ max: 128, message: '长度不超过128个字符', trigger: 'blur' }],
currentAddress: [{ max: 128, message: '长度不超过128个字符', trigger: 'blur' }],
@@ -2326,34 +2637,65 @@
urgencyPhone: [{ max: 30, message: '长度不超过30个字符', trigger: 'blur' }]
},
workExperienceRules: {
- workUnit: [{ required: true, message: '请输入工作单位', trigger: 'blur' }, { max: 128, message: '长度不超过128个字符', trigger: 'blur' }],
- beginDate: [{ required: true, validator: this.startDate }],
- endDate: [{ required: true, validator: this.endDate }],
+ workUnit: [{ required: true, message: '请输入工作单位', trigger: 'blur' }, {
+ max: 128,
+ message: '长度不超过128个字符',
+ trigger: 'blur'
+ }],
+ beginDate: [{ required: true, message: '请选择开始时间', trigger: 'change' }],
+ endDate: [{ required: true, message: '请选择结束时间', trigger: 'change' }],
jobContent: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }]
},
physicalExamRules: {
physicalExamDate: [{ required: true, message: '请选择体检日期', trigger: 'change' }],
- hospital: [{ required: true, message: '请输入体检医院', trigger: 'blur' }, { max: 64, message: '长度不超过64个字符', trigger: 'blur' }],
+ hospital: [{ required: true, message: '请输入体检医院', trigger: 'blur' }, {
+ max: 64,
+ message: '长度不超过64个字符',
+ trigger: 'blur'
+ }],
physicalExamType: [{ required: true, message: '请选择体检类型', trigger: 'change' }],
- bloodPressure: [{ required: true, message: '请输入血压', trigger: 'blur' }, { max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
- transaminase: [{ required: true, message: '请输入转氨酶', trigger: 'blur' }, { max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
- ecg: [{ required: true, message: '请选择心电图', trigger: 'change' }, { max: 16, message: '长度不超过16个字符', trigger: 'blur' }],
- conclusion: [{ required: true, message: '请输入体检结论', trigger: 'blur' }, { max: 128, message: '长度不超过128个字符', trigger: 'blur' }],
+ bloodPressure: [{ required: true, message: '请输入血压', trigger: 'blur' }, {
+ max: 40,
+ message: '长度不超过40个字符',
+ trigger: 'blur'
+ }],
+ transaminase: [{ required: true, message: '请输入转氨酶', trigger: 'blur' }, {
+ max: 40,
+ message: '长度不超过40个字符',
+ trigger: 'blur'
+ }],
+ ecg: [{ required: true, message: '请选择心电图', trigger: 'change' }, {
+ max: 16,
+ message: '长度不超过16个字符',
+ trigger: 'blur'
+ }],
+ conclusion: [{ required: true, message: '请输入体检结论', trigger: 'blur' }, {
+ max: 128,
+ message: '长度不超过128个字符',
+ trigger: 'blur'
+ }],
reviewRecord: [{ max: 128, message: '长度不超过128个字符', trigger: 'blur' }],
remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }]
},
contractInfoRules: {
- signingDate: [{ required: true, validator: this.startDate }],
+ signingDate: [{ required: true, message: '请选择合同签订时间', trigger: 'change' }],
contractStatus: [{ required: true, message: '请选择合同状态', trigger: 'change' }],
transactor: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
beginDate: [{ required: true, message: '请选择合同开始日期', trigger: 'change' }],
- endDate: [{ required: true, validator: this.endDate }],
+ endDate: [{ required: true, message: '请选择合同结束时间', trigger: 'change' }],
remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }]
},
dimissionAttendRules: {
attendMonth: [{ required: true, message: '请选择出勤月份', trigger: 'change' }],
- deduct: [{ required: true, message: '请输入代扣填款项', trigger: 'blur' }, { max: 100, message: '长度不超过100个字符', trigger: 'blur' }],
- attendDays: [{ required: true, message: '请输入出勤天数', trigger: 'blur' }, { pattern: /^\d{1,2}(\.\d{1,1})?$/, message: '出勤天数精确到1位小数' }],
+ deduct: [{ required: true, message: '请输入代扣填款项', trigger: 'blur' }, {
+ max: 100,
+ message: '长度不超过100个字符',
+ trigger: 'blur'
+ }],
+ attendDays: [{ required: true, message: '请输入出勤天数', trigger: 'blur' }, {
+ pattern: /^\d{1,2}(\.\d{1,1})?$/,
+ message: '出勤天数精确到1位小数'
+ }],
overtimeDay: [{ pattern: /^\d{1,2}(\.\d{1,1})?$/, message: '加班(天)精确到1位小数' }],
overtimeHour: [{ pattern: /^\d{1,2}(\.\d{1,1})?$/, message: '加班(小时)精确到1位小数' }],
leaveDay: [{ pattern: /^\d{1,2}(\.\d{1,1})?$/, message: '请假(天)精确到1位小数' }],
@@ -2361,29 +2703,41 @@
remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }]
},
leaveInfoRules: {
- beginTime: [{ required: true, validator: this.startDate }],
+ beginTime: [{ required: true, message: '请选择开始时间', trigger: 'change' }],
leaveType: [{ required: true, message: '请选择请假类型', trigger: 'change' }],
- endTime: [{ required: true, validator: this.endDate }],
+ endTime: [{ required: true, message: '请选择结束时间', trigger: 'change' }],
returnDate: [{ required: true, message: '请选择到岗时间', trigger: 'change' }],
reporter: [{ required: true, message: '请输入报备人', trigger: 'blur' }],
remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }]
},
resignRules: {
applayDate: [{ required: true, message: '请选择申请日期', trigger: 'change' }],
- reason: [{ required: true, message: '请输入事由', trigger: 'blur' }, { max: 256, message: '长度不超过256个字符', trigger: 'blur' }],
+ reason: [{ required: true, message: '请输入事由', trigger: 'blur' }, {
+ max: 256,
+ message: '长度不超过256个字符',
+ trigger: 'blur'
+ }],
remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }],
reporter: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }]
},
unemploymentRules: {
applayDate: [{ required: true, message: '请选择申请日期', trigger: 'change' }],
- applayReason: [{ required: true, message: '请输入申报事由', trigger: 'blur' }, { max: 128, message: '长度不超过128个字符', trigger: 'blur' }],
+ applayReason: [{ required: true, message: '请输入申报事由', trigger: 'blur' }, {
+ max: 128,
+ message: '长度不超过128个字符',
+ trigger: 'blur'
+ }],
reporter: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
auditor: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }]
},
insuranceRules: {
applayDate: [{ required: true, message: '请选择申请日期', trigger: 'change' }],
- proposer: [{ required: true, message: '请输入申请人', trigger: 'blur' }, { max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
+ proposer: [{ required: true, message: '请输入申请人', trigger: 'blur' }, {
+ max: 40,
+ message: '长度不超过40个字符',
+ trigger: 'blur'
+ }],
insuranceGaers: [{ required: true, message: '请选择社保档位', trigger: 'change' }],
auditor: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }],
@@ -2391,10 +2745,26 @@
},
accidentCasesRules: {
injuredTime: [{ required: true, message: '请选择受伤时间', trigger: 'blur' }],
- injuredPart: [{ required: true, message: '请输入受伤部位', trigger: 'blur' }, { max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
- injuredAddress: [{ required: true, message: '请输入受伤地点', trigger: 'blur' }, { max: 64, message: '长度不超过64个字符', trigger: 'blur' }],
- injuredDescribe: [{ required: true, message: '请输入受伤经过描述', trigger: 'blur' }, { max: 512, message: '长度不超过512个字符', trigger: 'blur' }],
- hospitalName: [{ required: true, message: '请输入就诊医院', trigger: 'blur' }, { max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
+ injuredPart: [{ required: true, message: '请输入受伤部位', trigger: 'blur' }, {
+ max: 40,
+ message: '长度不超过40个字符',
+ trigger: 'blur'
+ }],
+ injuredAddress: [{ required: true, message: '请输入受伤地点', trigger: 'blur' }, {
+ max: 64,
+ message: '长度不超过64个字符',
+ trigger: 'blur'
+ }],
+ injuredDescribe: [{ required: true, message: '请输入受伤经过描述', trigger: 'blur' }, {
+ max: 512,
+ message: '长度不超过512个字符',
+ trigger: 'blur'
+ }],
+ hospitalName: [{ required: true, message: '请输入就诊医院', trigger: 'blur' }, {
+ max: 40,
+ message: '长度不超过40个字符',
+ trigger: 'blur'
+ }],
hospitalizatioFlag: [{ required: true, message: '请选择是否住院', trigger: 'blur' }],
innsureFee: [{ required: true, message: '请输入保险赔付费用', trigger: 'blur' }],
expensesFee: [{ required: true, message: '请输入医疗总费用', trigger: 'blur' }],
@@ -2406,9 +2776,21 @@
},
occupationalRules: {
injuredTime: [{ required: true, message: '请选择受伤时间', trigger: 'blur' }],
- injuredPart: [{ required: true, message: '请输入受伤部位', trigger: 'blur' }, { max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
- injuredDescribe: [{ required: true, message: '请输入受伤经过描述', trigger: 'blur' }, { max: 512, message: '长度不超过512个字符', trigger: 'blur' }],
- hospitalName: [{ required: true, message: '请输入就诊医院', trigger: 'blur' }, { max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
+ injuredPart: [{ required: true, message: '请输入受伤部位', trigger: 'blur' }, {
+ max: 40,
+ message: '长度不超过40个字符',
+ trigger: 'blur'
+ }],
+ injuredDescribe: [{ required: true, message: '请输入受伤经过描述', trigger: 'blur' }, {
+ max: 512,
+ message: '长度不超过512个字符',
+ trigger: 'blur'
+ }],
+ hospitalName: [{ required: true, message: '请输入就诊医院', trigger: 'blur' }, {
+ max: 40,
+ message: '长度不超过40个字符',
+ trigger: 'blur'
+ }],
hospitalizatioFlag: [{ required: true, message: '请选择是否住院', trigger: 'blur' }],
innsureFee: [{ required: true, message: '请输入保险赔付费用', trigger: 'blur' }],
settleDate: [{ required: true, message: '请选择案结时间', trigger: 'change' }],
@@ -2421,7 +2803,11 @@
laborTroubleRules: {
arbitrationType: [{ required: true, message: '请选择仲裁类型', trigger: 'change' }],
arbitrationDate: [{ required: true, message: '请选择仲裁日期', trigger: 'change' }],
- arbitrationReason: [{ required: true, message: '请输入仲裁事由', trigger: 'blur' }, { max: 1024, message: '长度不超过1024个字符', trigger: 'blur' }],
+ arbitrationReason: [{ required: true, message: '请输入仲裁事由', trigger: 'blur' }, {
+ max: 1024,
+ message: '长度不超过1024个字符',
+ trigger: 'blur'
+ }],
arbitrationStatus: [{ required: true, message: '请选择结案状态', trigger: 'change' }],
remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }],
reporter: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }]
@@ -2574,7 +2960,7 @@
creator: '',
modifyTime: '',
modifier: '',
- delFlag: '',
+
empStatus: 0,
version: ''
},
@@ -2600,7 +2986,7 @@
creator: '',
modifyTime: '',
modifier: '',
- delFlag: '',
+
version: '',
empStatus: 0,
remark: ''
@@ -2647,7 +3033,7 @@
creator: '',
modifyTime: '',
modifier: '',
- delFlag: '',
+
version: '',
empStatus: 0,
remark: ''
@@ -2686,7 +3072,7 @@
creator: '',
modifyTime: '',
modifier: '',
- delFlag: '',
+
empStatus: 0,
version: ''
},
@@ -2711,7 +3097,7 @@
creator: '',
modifyTime: '',
modifier: '',
- delFlag: '',
+
version: '',
empStatus: 0,
remark: ''
@@ -2736,7 +3122,7 @@
creator: '',
modifyTime: '',
modifier: '',
- delFlag: '',
+
empStatus: 0,
version: ''
},
@@ -2758,7 +3144,7 @@
creator: '',
modifyTime: '',
modifier: '',
- delFlag: '',
+
version: '',
empStatus: 0,
remark: ''
@@ -2784,7 +3170,7 @@
creator: '',
modifyTime: '',
modifier: '',
- delFlag: '',
+
version: '',
empStatus: 0,
remark: ''
@@ -2811,7 +3197,7 @@
creator: '',
modifyTime: '',
modifier: '',
- delFlag: '',
+
empStatus: 0,
version: ''
},
@@ -2837,7 +3223,7 @@
creator: '',
modifyTime: '',
modifier: '',
- delFlag: '',
+
version: '',
empStatus: 0,
remark: ''
@@ -2866,7 +3252,6 @@
creator: '',
modifyTime: '',
modifier: '',
- delFlag: '',
empStatus: 0,
version: ''
},
@@ -2889,7 +3274,6 @@
creator: '',
modifyTime: '',
modifier: '',
- delFlag: '',
empStatus: 0,
version: ''
},
@@ -2940,7 +3324,6 @@
creator: '',
modifyTime: '',
modifier: '',
- delFlag: '',
empStatus: 0,
version: ''
},
@@ -2963,7 +3346,7 @@
creator: '',
modifyTime: '',
modifier: '',
- delFlag: '',
+
version: '',
empStatus: 0,
remark: ''
@@ -2974,7 +3357,7 @@
depts: [],
sysConfig: this.initSysConfig(),
listType: ['jbxx', 'gzjl', 'tjxx', 'htxx', 'tgjl', 'qjjl', 'czsq', 'lzdykq', 'rlzjl', 'syjlq', 'sbsq', 'ywxaj', 'gsaj', 'lzaj',
- 'bz', 'jljt', 'xgfj', 'bljl', 'jljt', 'xgfj'],
+ 'bljl', 'bz', 'jljt'],
form: {},
isAdd: false,
thisShowIndex: '',
@@ -2985,7 +3368,31 @@
{ type: 'dic_credentials' },
{ type: 'password' },
{ type: 'implicit' }
- ]
+ ],
+ statusOptions: [],
+ empTypeOptions: [],
+ nationOptions: [],
+ marriageOptions: [],
+ educationOptions: [],
+ nativePlaceOptions: [],
+ archivesStatusOptions: [],
+ insuranceTypeOptions: [],
+ empCardStatusOptions: [],
+ handbookStatusOptions: [],
+ ecgOptions: [],
+ certificateListOptions: [],
+ physicalExamTypeOptions: [],
+ contractStatusOptions: [],
+ leaveTypeOptions: [],
+ insuranceGaersOptions: [],
+ applayStatusOptions: [],
+ reportStatusOptions: [],
+ hospitalizatioFlagOptions: [],
+ settleStatusOptions: [],
+ arbitrationTypeOptions: [],
+ changeTypeOptions: [],
+ dimissionTypeOptions: [],
+ sexOptions: []
}
},
computed: {
@@ -3001,8 +3408,371 @@
},
mounted() {
this.initDept()
+ /* 政治面貌*/
+ this.getDicts('PLITICAL').then(response => {
+ this.statusOptions = 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
+ })
},
methods: {
+ typeFormat(row, column) {
+ return this.selectDictLabel(this.physicalExamTypeOptions, row.physicalExamType)
+ },
+ ecgNameFormat(row, column) {
+ return this.selectDictLabel(this.ecgOptions, row.ecg)
+ },
+ contractStatusFormat(row, column) {
+ return this.selectDictLabel(this.contractStatusOptions, row.contractStatus)
+ },
+ changeTypeFormat(row, column) {
+ return this.selectDictLabel(this.changeTypeOptions, row.changeType)
+ },
+ leaveTypeFormat(row, column) {
+ return this.selectDictLabel(this.leaveTypeOptions, row.leaveType)
+ },
+ dimissionTypeFormat(row, column) {
+ return this.selectDictLabel(this.dimissionTypeOptions, row.dimissionType)
+ },
+ insuranceGaersFormat(row, column) {
+ return this.selectDictLabel(this.insuranceGaersOptions, row.insuranceGaers)
+ },
+ reportStatusFormat(row, column) {
+ return this.selectDictLabel(this.reportStatusOptions, row.reportStatus)
+ },
+ applayStatusFormat(row, column) {
+ return this.selectDictLabel(this.applayStatusOptions, row.applayStatus)
+ },
+ hospitalizatioFlagFormat(row, column) {
+ return this.selectDictLabel(this.hospitalizatioFlagOptions, row.hospitalizatioFlag)
+ },
+ arbitrationTypeFormat(row, column) {
+ return this.selectDictLabel(this.arbitrationTypeOptions, row.arbitrationType)
+ },
+ arbitrationStatusFormat(row, column) {
+ return this.selectDictLabel(this.settleStatusOptions, row.arbitrationStatus)
+ },
+ beforeAvatarUpload(file) {
+ this.fileDate.labelid = this.activities[this.beforeIndex].id
+ const isLt50M = file.size / 1024 / 1024 < 50
+ if (!isLt50M) {
+ this.$message.error('上传文件不能超过 50MB!')
+ }
+ return isLt50M
+ },
+ headers() {
+ const token = getToken()
+ if (token) {
+ return {
+ Authorization: 'bearer ' + token
+ }
+ } else {
+ return null
+ }
+ },
+ handleAvatarSuccess(response, file, fileList) {
+ this.$notify({
+ title: '成功',
+ message: '上传成功!',
+ type: 'success'
+ })
+ this.updateNum++
+ if (this.updateNum === fileList.length) {
+ this.updateNum = 0
+ // 生成查询文件的条件
+ var params = {
+ labelid: this.activities[this.beforeIndex].id,
+ filesname: this.fileName,
+ empid: this.empBaseInfoForm.empId
+ }
+ this.initFile(params)
+ }
+ },
+ handleAvatarError() {
+ this.updateNum = 0
+ this.$notify.error({
+ title: '失败',
+ message: '上传失败,请联系管理员!'
+ })
+ },
+ showFileImg(type) {
+ switch (type) {
+ case 'txt':
+ return require('../../assets/uploading/txt.png')
+ case 'apk':
+ return require('../../assets/uploading/apk.png')
+ case 'csv':
+ return require('../../assets/uploading/csv.png')
+ case 'excel':
+ return require('../../assets/uploading/excel.png')
+ case 'exe':
+ return require('../../assets/uploading/exe.png')
+ case 'folder':
+ return require('../../assets/uploading/folder.png')
+ case 'gif':
+ return require('../../assets/uploading/gif.png')
+ case 'html':
+ return require('../../assets/uploading/html.png')
+ case 'json':
+ return require('../../assets/uploading/json.png')
+ case 'mp3':
+ return require('../../assets/uploading/mp3.png')
+ case 'mp4':
+ return require('../../assets/uploading/mp4.png')
+ case 'pdf':
+ return require('../../assets/uploading/pdf.png')
+ case 'pic':
+ return require('../../assets/uploading/pic.png')
+ case 'ppt':
+ return require('../../assets/uploading/ppt.png')
+ case 'rar':
+ return require('../../assets/uploading/rar.png')
+ case 'svg':
+ return require('../../assets/uploading/svg.png')
+ case 'webpage':
+ return require('../../assets/uploading/webpage.png')
+ case 'word':
+ return require('../../assets/uploading/word.png')
+ case 'zip':
+ return require('../../assets/uploading/zip.png')
+ case 'jpg':
+ return require('../../assets/uploading/jpg.png')
+ case 'png':
+ return require('../../assets/uploading/png.png')
+ default:
+ return require('../../assets/uploading/unknown.png')
+ }
+ },
+ clickCard(index) {
+ if (this.checkedArr[index].isChecked) {
+ this.$set(this.checkedArr[index], 'isChecked', false)
+ } else {
+ this.$set(this.checkedArr[index], 'isChecked', true)
+ }
+ },
+ transDimissionType(dimissionType) {
+ switch (dimissionType) {
+ case '1':
+ return '正常离职'
+ case '2':
+ return '自动离职'
+ case '3':
+ return '公司劝退'
+ case '4':
+ return '公司辞退'
+ case '5':
+ return '试用期内'
+ }
+ },
+ mvlabel(formName) {
+ if (this.labelfrom.labelid === this.activities[this.beforeIndex].id) {
+ this.$message({
+ message: '文件在同一目录!',
+ type: 'warning'
+ })
+ return
+ }
+ var checke = []
+ this.checkedArr.forEach((v, i) => {
+ if (v.isChecked) {
+ checke.push(v.accessoryid)
+ }
+ })
+ if (checke.length <= 0) {
+ this.$message({
+ message: '请选择需要移动的文件!',
+ type: 'warning'
+ })
+ } else {
+ this.$refs[formName].validate(valid => {
+ if (valid) {
+ // 生成查询文件的条件
+ var params = {
+ accessoryids: checke.join(','),
+ labelid: this.labelfrom.labelid,
+ empId: this.labelfrom.empId
+ }
+ this.$post('hr/empAccessory/mvFiles', { ...params }).then(() => {
+ this.$message({
+ message: '移动成功!',
+ type: 'success'
+ })
+ this.mvdialogFormVisible = false
+ // 生成查询文件的条件
+ var initFileParams = {
+ labelid: this.activities[this.beforeIndex].id,
+ filesname: this.fileName,
+ empid: this.empBaseInfoForm.empId
+ }
+ this.initFile(initFileParams)
+ })
+ }
+ })
+ }
+ },
+ delFile() {
+ var checke = []
+ this.checkedArr.forEach((v, i) => {
+ if (v.isChecked) {
+ checke.push(v.accessoryid)
+ }
+ })
+ if (checke.length <= 0) {
+ this.$message({
+ message: '请选择需要删除的文件!',
+ type: 'warning'
+ })
+ } else {
+ // 生成查询文件的条件
+ var params = { accessoryids: checke.join(',') }
+ this.$delete('hr/empAccessory', { ...params }).then(() => {
+ this.$message({
+ message: '删除成功!',
+ type: 'success'
+ })
+ // 生成查询文件的条件
+ var initFileParams = {
+ labelid: this.activities[this.beforeIndex].id,
+ filesname: this.fileName,
+ empid: this.empBaseInfoForm.empId
+ }
+
+ this.initFile(initFileParams)
+ })
+ }
+ },
+ download() {
+ var checke = []
+ this.checkedArr.forEach((v, i) => {
+ if (v.isChecked) {
+ checke.push(v.accessoryid)
+ }
+ })
+ if (checke.length <= 0) {
+ this.$message({
+ message: '请选择需要下载的文件!',
+ type: 'warning'
+ })
+ } else {
+ // 生成查询文件的条件
+ var params = { accessoryids: checke.join(',') }
+ this.$download('hr/empAccessory/download', { ...params }, this.activities[this.beforeIndex].timestamp + '.zip').then(() => {
+ this.$message({
+ message: '下载成功!',
+ type: 'success'
+ })
+ })
+ }
+ },
+ checkAllMethods() {
+ if (this.checkAll) {
+ this.checkedArr.forEach((v, i) => {
+ this.$set(v, 'isChecked', true)
+ })
+ } else {
+ this.checkedArr.forEach((v, i) => {
+ this.$set(v, 'isChecked', false)
+ })
+ }
+ },
+ clickTimeline(index, id) {
+ // 不这样操作的不会响应式更新
+ // 赋值到新的列表
+ var list = this.activities
+ // 将之前的数组置为空
+ this.activities = []
+ // 删除之前下标的颜色
+ delete list[this.beforeIndex].color
+ // 将新下标存储起来
+ this.beforeIndex = index
+ // 将新下标修改颜色
+ list[index]['color'] = '#a32c30'
+ // 将修改好的数组放回去
+ this.activities = list
+ this.checkAll = false
+ // 生成查询文件的条件
+ var params = {
+ labelid: this.activities[this.beforeIndex].id,
+ filesname: this.fileName,
+ empid: this.empBaseInfoForm.empId
+ }
+ this.initFile(params)
+ },
+ findFileByFileName() {
+ // 生成查询文件的条件
+ var params = {
+ filesname: this.fileName,
+ empid: this.empBaseInfoForm.empId
+ }
+ this.initFile(params)
+ },
onremarkInfoDataselection(selection) {
this.remarkInfoDataselection = selection
},
@@ -3042,8 +3812,72 @@
oncontractInfoDataselection(selection) {
this.contractInfoDataselection = selection
},
+ async initlabel() {
+ await this.$get('hr/label').then(r => {
+ this.activities = []
+ this.beforeIndex = 0
+ r.data.data.forEach((v, i) => {
+ if (i === 0) {
+ this.activities.push({
+ timestamp: v.labelname,
+ id: v.labelid,
+ color: '#a32c30'
+ })
+ } else {
+ this.activities.push({ timestamp: v.labelname, id: v.labelid })
+ }
+ })
+ })
+ var params = {
+ labelid: this.activities[this.beforeIndex].id,
+ filesname: this.fileName,
+ empid: this.empBaseInfoForm.empId
+ }
+ this.initFile(params)
+ },
+ initFile(params) {
+ var node = { node: [] }
+ // 文件列表置为空
+ this.filesUploadData = []
+ this.checkedArr = []
+ this.$get('hr/empAccessory', { ...params }).then(r => {
+ r.data.data.forEach((v, i) => {
+ this.checkedArr.push({ isChecked: false, accessoryid: v.accessoryid })
+ // 一行8个 等于8就换行
+ if (i % 8 === 0 && i !== 0) {
+ this.filesUploadData.push(node)
+ node = { node: [] }
+ }
+ // 添加一个新的元素判断是否是上传用的
+ this.$set(v, 'isUpload', false)
+ // 添加
+ node.node.push(v)
+ // 如果是最后一个元素,需要手动丢到列表里面去
+ if (i === r.data.data.length - 1) {
+ this.filesUploadData.push(node)
+ }
+ })
+ // 如果列表为空,增加一个上传的
+ if (this.filesUploadData.length === 0) {
+ this.filesUploadData.push({ node: [{ isUpload: true }] })
+ } else {
+ // 如果不为空,但是这一行刚好满8个了,就将数组,新增一个对象
+ if (this.filesUploadData[this.filesUploadData.length - 1].node.length === 8) {
+ this.filesUploadData.push({ node: [{ isUpload: true }] })
+ } else {
+ // 新增一个上传
+ this.filesUploadData[this.filesUploadData.length - 1].node.push({
+ isUpload: true
+ })
+ }
+ }
+ })
+ },
setArchives(val) {
this.empBaseInfoForm = { ...val }
+ this.empBaseInfoImageUrl = pages.getEmpBaseInfoImage + this.empBaseInfoForm.empId
+ this.fileDate.empId = this.empBaseInfoForm.empId
+ this.labelfrom.empId = this.empBaseInfoForm.empId
this.remarkInfoForm = { ...val }
this.laborTroubleForm = { ...val }
this.occupationalForm = { ...val }
@@ -3057,7 +3891,7 @@
this.physicalExamForm = { ...val }
this.workExperienceForm = { ...val }
this.badRecordForm = { ...val }
-
+ this.initlabel()
this.initphysicalExamData()
this.initList() // 工作经历
this.initjobChangeData() // 调岗记录
@@ -3103,7 +3937,7 @@
initdimissionLogData(params = {}) {
params.pageSize = this.pagination.size
params.pageNum = this.pagination.num
- params.empNumb = this.empBaseInfoForm.empNumb
+ params.dimissionType = ''
params.delFlag = '0'
this.$get('hr/empDimissionlog/list', {
...params
@@ -3127,12 +3961,24 @@
})
},
gzupdate() {
+ this.readon = true
+ },
+ gzupdate1() {
this.$put('hr/empBaseInfo', { ...this.empBaseInfoForm }).then(() => {
this.$message({
message: this.$t('tips.updateSuccess'),
type: 'success'
})
})
+ },
+ ExportSavePdf(params = {}) {
+ params.pageSize = this.pagination.size
+ params.pageNum = this.pagination.num
+ params.empNumb = this.empBaseInfoForm.empNumb
+
+ this.$download('hr/pdf/contract', {
+ ...params
+ }, `${this.empBaseInfoForm.empName}.pdf`)
},
initleaveInfoData(params = {}) {
params.pageSize = this.pagination.size
@@ -3239,7 +4085,6 @@
})
},
dialogShow() {
- this.rowitem = this.empBaseInfoForm
this.dialogShowUploadfj = true
},
initaccidentCasesData(params = {}) {
@@ -3353,15 +4198,6 @@
},
cleanContractInfo() {
this.contractInfoForm.contractId = ''
- this.contractInfoForm.empId = ''
- this.contractInfoForm.empNumb = ''
- this.contractInfoForm.empName = ''
- this.contractInfoForm.certificateNumb = ''
- this.contractInfoForm.sex = ''
- this.contractInfoForm.deptId = ''
- this.contractInfoForm.deptName = ''
- this.contractInfoForm.JobId = ''
- this.contractInfoForm.jobName = ''
this.contractInfoForm.beginDate = ''
this.contractInfoForm.endDate = ''
this.contractInfoForm.contractStatus = ''
@@ -3373,7 +4209,6 @@
this.contractInfoForm.creator = ''
this.contractInfoForm.modifyTime = ''
this.contractInfoForm.modifier = ''
- this.contractInfoForm.delFlag = ''
this.contractInfoForm.version = ''
},
putDimissionAttend(formName) {
@@ -3406,15 +4241,6 @@
},
cleanDimissionAttend() {
this.dimissionAttendForm.dimissionAttendId = ''
- this.dimissionAttendForm.empId = ''
- this.dimissionAttendForm.empNumb = ''
- this.dimissionAttendForm.empName = ''
- this.dimissionAttendForm.sex = ''
- this.dimissionAttendForm.certificateNumb = ''
- this.dimissionAttendForm.deptId = ''
- this.dimissionAttendForm.deptName = ''
- this.dimissionAttendForm.JobId = ''
- this.dimissionAttendForm.jobName = ''
this.dimissionAttendForm.attendMonth = ''
this.dimissionAttendForm.overtimeHour = ''
this.dimissionAttendForm.overtimeDay = ''
@@ -3425,7 +4251,6 @@
this.dimissionAttendForm.creator = ''
this.dimissionAttendForm.modifyTime = ''
this.dimissionAttendForm.modifier = ''
- this.dimissionAttendForm.delFlag = ''
this.dimissionAttendForm.version = ''
this.dimissionAttendForm.remark = ''
},
@@ -3459,15 +4284,6 @@
},
cleanLeaveInfo() {
this.leaveInfoForm.leaveId = ''
- this.leaveInfoForm.empId = ''
- this.leaveInfoForm.empNumb = ''
- this.leaveInfoForm.empName = ''
- this.leaveInfoForm.sex = ''
- this.leaveInfoForm.certificateNumb = ''
- this.leaveInfoForm.deptId = ''
- this.leaveInfoForm.deptName = ''
- this.leaveInfoForm.JobId = ''
- this.leaveInfoForm.jobName = ''
this.leaveInfoForm.beginTime = ''
this.leaveInfoForm.endTime = ''
this.leaveInfoForm.leaveType = ''
@@ -3478,7 +4294,6 @@
this.leaveInfoForm.creator = ''
this.leaveInfoForm.modifyTime = ''
this.leaveInfoForm.modifier = ''
- this.leaveInfoForm.delFlag = ''
this.leaveInfoForm.version = ''
this.leaveInfoForm.remark = ''
},
@@ -3512,15 +4327,6 @@
},
cleanResign() {
this.resignForm.resignId = ''
- this.resignForm.empId = ''
- this.resignForm.empNumb = ''
- this.resignForm.empName = ''
- this.resignForm.sex = ''
- this.resignForm.certificateNumb = ''
- this.resignForm.deptId = ''
- this.resignForm.deptName = ''
- this.resignForm.JobId = ''
- this.resignForm.jobName = ''
this.resignForm.applayDate = ''
this.resignForm.reporter = ''
this.resignForm.reason = ''
@@ -3528,7 +4334,6 @@
this.resignForm.creator = ''
this.resignForm.modifyTime = ''
this.resignForm.modifier = ''
- this.resignForm.delFlag = ''
this.resignForm.version = ''
this.resignForm.remark = ''
},
@@ -3562,15 +4367,6 @@
},
cleanUnemployment() {
this.unemploymentForm.unemploymentId = ''
- this.unemploymentForm.empId = ''
- this.unemploymentForm.empNumb = ''
- this.unemploymentForm.empName = ''
- this.unemploymentForm.sex = ''
- this.unemploymentForm.certificateNumb = ''
- this.unemploymentForm.deptId = ''
- this.unemploymentForm.deptName = ''
- this.unemploymentForm.JobId = ''
- this.unemploymentForm.jobName = ''
this.unemploymentForm.applayDate = ''
this.unemploymentForm.applayReason = ''
this.unemploymentForm.reporter = ''
@@ -3580,7 +4376,6 @@
this.unemploymentForm.creator = ''
this.unemploymentForm.modifyTime = ''
this.unemploymentForm.modifier = ''
- this.unemploymentForm.delFlag = ''
this.unemploymentForm.version = ''
},
handlePictureCardPreview(file) {
@@ -3656,15 +4451,6 @@
},
cleanInsurance() {
this.insuranceForm.insuranceId = ''
- this.insuranceForm.empId = ''
- this.insuranceForm.empNumb = ''
- this.insuranceForm.empName = ''
- this.insuranceForm.sex = ''
- this.insuranceForm.certificateNumb = ''
- this.insuranceForm.deptId = ''
- this.insuranceForm.deptName = ''
- this.insuranceForm.JobId = ''
- this.insuranceForm.jobName = ''
this.insuranceForm.applayDate = ''
this.insuranceForm.proposer = ''
this.insuranceForm.insuranceGaers = ''
@@ -3675,7 +4461,6 @@
this.insuranceForm.creator = ''
this.insuranceForm.modifyTime = ''
this.insuranceForm.modifier = ''
- this.insuranceForm.delFlag = ''
this.insuranceForm.version = ''
this.insuranceForm.remark = ''
},
@@ -3709,15 +4494,6 @@
},
cleanAccidentCases() {
this.accidentCasesForm.accidentId = ''
- this.accidentCasesForm.empId = ''
- this.accidentCasesForm.empNumb = ''
- this.accidentCasesForm.empName = ''
- this.accidentCasesForm.sex = ''
- this.accidentCasesForm.certificateNumb = ''
- this.accidentCasesForm.deptId = ''
- this.accidentCasesForm.deptName = ''
- this.accidentCasesForm.JobId = ''
- this.accidentCasesForm.jobName = ''
this.accidentCasesForm.injuredTime = ''
this.accidentCasesForm.injuredAddress = ''
this.accidentCasesForm.injuredPart = ''
@@ -3741,7 +4517,6 @@
this.accidentCasesForm.creator = ''
this.accidentCasesForm.modifyTime = ''
this.accidentCasesForm.modifier = ''
- this.accidentCasesForm.delFlag = ''
this.accidentCasesForm.version = ''
},
putOccupational(formName) {
@@ -3772,17 +4547,11 @@
}
})
},
+ getIndex($index) {
+ return (this.pagination.num - 1) * this.pagination.size + $index + 1
+ },
cleanOccupational() {
this.occupationalForm.occupationalId = ''
- this.occupationalForm.empId = ''
- this.occupationalForm.empNumb = ''
- this.occupationalForm.empName = ''
- this.occupationalForm.sex = ''
- this.occupationalForm.certificateNumb = ''
- this.occupationalForm.deptId = ''
- this.occupationalForm.deptName = ''
- this.occupationalForm.JobId = ''
- this.occupationalForm.jobName = ''
this.occupationalForm.injuredTime = ''
this.occupationalForm.injuredAddress = ''
this.occupationalForm.injuredPart = ''
@@ -3814,7 +4583,6 @@
this.occupationalForm.creator = ''
this.occupationalForm.modifyTime = ''
this.occupationalForm.modifier = ''
- this.occupationalForm.delFlag = ''
this.occupationalForm.version = ''
this.occupationalForm.remark = ''
},
@@ -3855,7 +4623,6 @@
this.workExperienceForm.creator = ''
this.workExperienceForm.modifyTime = ''
this.workExperienceForm.modifier = ''
- this.workExperienceForm.delFlag = ''
this.workExperienceForm.version = ''
},
putLaborTrouble(formName) {
@@ -3888,15 +4655,6 @@
},
cleanLaborTrouble() {
this.laborTroubleForm.arbitrationId = ''
- this.laborTroubleForm.empId = ''
- this.laborTroubleForm.empNumb = ''
- this.laborTroubleForm.empName = ''
- this.laborTroubleForm.sex = ''
- this.laborTroubleForm.certificateNumb = ''
- this.laborTroubleForm.deptId = ''
- this.laborTroubleForm.deptName = ''
- this.laborTroubleForm.JobId = ''
- this.laborTroubleForm.jobName = ''
this.laborTroubleForm.arbitrationDate = ''
this.laborTroubleForm.arbitrationType = ''
this.laborTroubleForm.arbitrationReason = ''
@@ -3908,7 +4666,6 @@
this.laborTroubleForm.creator = ''
this.laborTroubleForm.modifyTime = ''
this.laborTroubleForm.modifier = ''
- this.laborTroubleForm.delFlag = ''
this.laborTroubleForm.version = ''
this.laborTroubleForm.remark = ''
},
@@ -3942,15 +4699,6 @@
},
cleanBadRecord() {
this.badRecordForm.badId = ''
- this.badRecordForm.empId = ''
- this.badRecordForm.empName = ''
- this.badRecordForm.empNumb = ''
- this.badRecordForm.sex = ''
- this.badRecordForm.certificateNumb = ''
- this.badRecordForm.deptId = ''
- this.badRecordForm.deptName = ''
- this.badRecordForm.JobId = ''
- this.badRecordForm.jobName = ''
this.badRecordForm.badDate = ''
this.badRecordForm.reporter = ''
this.badRecordForm.badContent = ''
@@ -3958,7 +4706,6 @@
this.badRecordForm.creator = ''
this.badRecordForm.modifyTime = ''
this.badRecordForm.modifier = ''
- this.badRecordForm.delFlag = ''
this.badRecordForm.version = ''
this.badRecordForm.remark = ''
},
@@ -3992,22 +4739,12 @@
},
cleanRemarkInfo() {
this.remarkInfoForm.remarkId = ''
- this.remarkInfoForm.empId = ''
- this.remarkInfoForm.empNumb = ''
- this.remarkInfoForm.empName = ''
- this.remarkInfoForm.sex = ''
- this.remarkInfoForm.certificateNumb = ''
- this.remarkInfoForm.JobId = ''
- this.remarkInfoForm.deptId = ''
- this.remarkInfoForm.deptName = ''
- this.remarkInfoForm.jobName = ''
this.remarkInfoForm.remarkContent = ''
this.remarkInfoForm.remarkDate = ''
this.remarkInfoForm.createTime = ''
this.remarkInfoForm.creator = ''
this.remarkInfoForm.modifyTime = ''
this.remarkInfoForm.modifier = ''
- this.remarkInfoForm.delFlag = ''
this.remarkInfoForm.version = ''
},
dialogIsShow() {
@@ -4260,7 +4997,6 @@
},
editInsurance(row) {
this.isAdd = false
-
this.insuranceForm.insuranceId = row.insuranceId
this.insuranceForm.empId = row.empId
this.insuranceForm.empNumb = row.empNumb
@@ -4461,7 +5197,6 @@
this.dialogshowArr[index].show = true
},
gzdelete(tables, selection, Id) {
- debugger
if (!selection.length) {
this.$message({
message: this.$t('tips.noDataSelected'),
@@ -4657,25 +5392,14 @@
case 'lzaj':
item = 13
break
- case 'bz':
+ case 'bljl':
item = 14
break
- case 'jljt':
+ case 'bz':
item = 15
break
- case 'xgfj':
- item = 16
- break
- case 'bljl':
- item = 17
- break
- // eslint-disable-next-line no-duplicate-case
case 'jljt':
- item = 18
- break
- // eslint-disable-next-line no-duplicate-case
- case 'xgfj':
- item = 19
+ item = 16
break
}
this.$nextTick(() => {
@@ -4754,7 +5478,6 @@
} else {
// update
this.$put('system/sysConfig', { ...this.sysConfig }).then(() => {
- debugger
this.buttonLoading = false
this.isVisible = false
this.$message({
@@ -4781,214 +5504,344 @@
}
</script>
<style lang="scss" scoped>
-.conDetails{
- display: flex;
- justify-content: space-between;
- .dadetails{
- width: 220px;
- padding: 10px ;
- box-sizing: border-box;
- .jbxxImg{
- width: 100px;
- height: 80px;
- }
- .title-da{
- margin-left: -102px;
- text-align: center;
- padding: 10px;
- padding-bottom: 7px;
- margin-bottom: 19px;
- }
- .jbxx-ul {
- margin: 0;
- font-size: 14px;
- list-style: none;
- padding-left: 10px !important;
+ .conDetails {
+ display: flex;
+ justify-content: space-between;
- >li:last-of-type {
- > div:first-of-type {
- position: absolute;
- left: 4px;
- height: 100%;
- border-left: 0;
- }
+ .dadetails {
+ width: 220px;
+ padding: 10px;
+ box-sizing: border-box;
+
+ .jbxxImg {
+ width: 100px;
+ height: 80px;
}
- li {
- padding-bottom: 5px;
+ .title-da {
+ margin-left: -102px;
+ text-align: center;
+ padding: 10px;
+ padding-bottom: 7px;
+ margin-bottom: 19px;
+ }
+
+ }
+
+ .boxDetails {
+ flex: 1;
+ padding: 10px;
+ font-size: 16px;
+ height: 90vh;
+ overflow-y: scroll;
+
+ .jbxxTitle {
+ height: 30px;
+ line-height: 30px;
+ padding-left: 15px;
+ border-left: 4px solid #a00515;
+ margin: 40px 0 20px;
+ color: #000;
+ font-weight: 700;
+ position: relative;
+ }
+
+ .jbxx .jbxxTitle {
+ margin: 20px 0;
+ }
+
+ .jbxxTitle::after {
+
+ content: '';
+ position: absolute;
+ left: 100px;
+ top: 50%;
+ display: inline-block;
+ width: 80%;
+ height: 1px;
+ border: 1px dashed #ccc;
+ }
+
+ .el-table__header {
+ width: 100%;
+ }
+
+ //.jbxx{
+ // /deep/.el-form-item{
+ // display: flex;
+ // }
+ // /deep/.el-form-item__label{
+ // white-space: nowrap;
+ // width: 100px!important;
+ // }
+ // /deep/.el-form-item__content{
+ // margin-left: 10px!important;
+ // width: 80%!important;
+ // }
+ // .formjbxx{
+ // display: flex;
+ // flex-wrap: wrap;
+ // }
+ //}
+
+ }
+ }
+
+ .el-select {
+ width: 100%;
+ }
+
+ .el-autocomplete {
+ width: 100%;
+ }
+
+ .el-date-editor.el-input,
+ .el-date-editor.el-input__inner {
+ width: 100%;
+ }
+
+ .el-main {
+ margin-top: 2%;
+ }
+
+ .app-main {
+ background-color: #ffffff;
+ }
+
+ .el-button,
+ .el-button--primary {
+ background: #a32c30;
+ border-color: #a32c30;
+ color: #fff;
+ outline: none;
+ }
+
+ .zs-main .text-header {
+ line-height: 40px;
+ }
+
+ .el-card {
+ border: none;
+ }
+
+ .el-input-number {
+ width: 100%;
+ }
+
+ .clearfix:before,
+ .clearfix:after {
+ display: table;
+ content: '';
+ }
+
+ .clearfix:after {
+ clear: both;
+ }
+
+ .add-folder {
+ text-align: initial;
+ }
+
+ .zs-main {
+ .search-title {
+ height: 50px;
+
+ .search {
+ position: relative;
+ top: 50%;
+ transform: translateY(-50%);
+ }
+
+ .title {
+ position: relative;
+ top: 40%;
+ transform: translateY(-50%);
+ }
+
+ .zs-title {
+ border-left: 4px solid #a32c30;
+ padding-left: 10px;
+ font-size: 16px;
+ }
+ }
+
+ .add-folder-but {
+ background: #fff !important;
+ color: #a32c30 !important;
+ margin-bottom: 20px;
+ }
+
+ padding: 0 15px 0 15px;
+
+ .text-header {
+ line-height: 60px;
+ }
+
+ .uploading-image {
+ width: 100%;
+ height: 100%;
+ display: block;
+ }
+ }
+
+ .el-timeline-item__timestamp {
+ font-size: 15px;
+ color: #000;
+ }
+
+ /* 设置带边框的checkbox,选中后边框的颜色 */
+ .myRedCheckBox.is-bordered.is-checked {
+ border-color: #a32c30;
+ }
+
+ /* 设置选中后的文字颜色 */
+ .myRedCheckBox .el-checkbox__input.is-checked + .el-checkbox__label {
+ color: #a32c30;
+ }
+
+ /* 设置选中后对勾框的边框和背景颜色 */
+ .myRedCheckBox .el-checkbox__input.is-checked .el-checkbox__inner,
+ .myRedCheckBox .el-checkbox__input.is-indeterminate .el-checkbox__inner {
+ border-color: #a32c30;
+ background-color: #a32c30;
+ }
+
+ /* 设置checkbox获得焦点后,对勾框的边框颜色 */
+ .myRedCheckBox .el-checkbox__input.is-focus .el-checkbox__inner {
+ border-color: #a32c30;
+ }
+
+ /* 设置鼠标经过对勾框,对勾框边框的颜色 */
+ .myRedCheckBox .el-checkbox__inner:hover {
+ border-color: #a32c30;
+ }
+
+ .avatar-uploader .el-upload {
+ border: 1px dashed #d9d9d9;
+ border-radius: 6px;
+ cursor: pointer;
+ position: relative;
+ overflow: hidden;
+ }
+
+ .avatar-uploader .el-upload:hover {
+ border-color: #409eff;
+ }
+
+ .avatar-uploader-icon {
+ font-size: 28px;
+ color: #8c939d;
+ width: 150px;
+ height: 150px;
+ line-height: 150px;
+ text-align: center;
+ }
+
+ .avatar {
+ width: 150px;
+ height: 150px;
+ display: block;
+ }
+
+ .avatar-uploader .el-upload-dragger .el-icon-upload {
+ margin: 20px 0 16px;
+ }
+
+ .avatar-uploader .el-upload-dragger {
+ border: none;
+ width: 100px;
+ height: 100px;
+ }
+
+ .table-button {
+ color: #a00515;
+ display: inline-block;
+ width: 50%;
+ cursor: pointer;
+ }
+
+ .filter-item {
+ margin-bottom: 10px;
+ position: absolute;
+ right: 20px;
+ }
+
+ .jbxx-ul {
+ margin: 0;
+ font-size: 14px;
+ list-style: none;
+ padding-left: 10px !important;
+
+ >li:last-of-type {
+ > div:first-of-type {
+ position: absolute;
+ left: 4px;
+ height: 100%;
+ border-left: 0;
+ }
+ }
+
+ li {
+ padding-bottom: 5px;
+ position: relative;
+ height: 35px;
+ box-sizing: border-box;
+
+ > div:first-of-type {
+ position: absolute;
+ left: 4px;
+ height: 100%;
+ border-left: 2px solid #dfe4ed;
+ }
+
+ > div:last-of-type {
+ color: #333;
+ cursor: pointer;
position: relative;
height: 35px;
box-sizing: border-box;
-
- > div:first-of-type {
- position: absolute;
- left: 4px;
- height: 100%;
- border-left: 2px solid #dfe4ed;
- }
-
- > div:last-of-type {
- color: #333;
+ padding-left: 28px !important;
+ &:hover {
+ color: #a00515;
cursor: pointer;
- position: relative;
- height: 35px;
- box-sizing: border-box;
- padding-left: 28px !important;
- &:hover {
- color: #a00515;
- cursor: pointer;
- }
- .light {
- color: #a00515;
- }
}
-
- .item-node {
- left: -1px;
- width: 12px;
- height: 12px;
- position: absolute;
- background-color: #dfe4ed;
- border-radius: 50%;
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
+ .light {
+ color: #a00515;
}
}
- }
+ .item-node {
+ left: -1px;
+ width: 12px;
+ height: 12px;
+ position: absolute;
+ background-color: #dfe4ed;
+ border-radius: 50%;
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-pack: center;
+ -ms-flex-pack: center;
+ justify-content: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ }
+ }
}
- .boxDetails{
- flex: 1;
- padding: 10px;
- font-size: 16px;
- height: 90vh;
- overflow-y: scroll;
- .jbxxTitle{
- height: 30px;
- line-height: 30px;
- padding-left: 15px;
- border-left: 4px solid #a00515;
- margin: 40px 0 20px;
- color: #000;
- font-weight: 700;
- position: relative;
- }
- .jbxx .jbxxTitle {
- margin: 20px 0;
- }
-
- .jbxxTitle::after {
-
- content: '';
- position: absolute;
- left: 100px;
- top: 50%;
- display: inline-block;
- width: 80%;
- height: 1px;
- border: 1px dashed #ccc;
- }
- .el-table__header{
- width: 100%;
- }
- //.jbxx{
- // /deep/.el-form-item{
- // display: flex;
- // }
- // /deep/.el-form-item__label{
- // white-space: nowrap;
- // width: 100px!important;
- // }
- // /deep/.el-form-item__content{
- // margin-left: 0px!important;
- // }
- // .formjbxx{
- // display: flex;
- // flex-wrap: wrap;
- // }
- //}
-
- }
-}
-
-.avatar-uploader .el-upload {
- border: 1px dashed #d9d9d9;
- border-radius: 6px;
- cursor: pointer;
- position: relative;
- overflow: hidden;
-}
-
-.avatar-uploader .el-upload:hover {
- border-color: #409eff;
-}
-
-.avatar-uploader-icon {
- font-size: 28px;
- color: #8c939d;
- width: 150px;
- height: 150px;
- line-height: 150px;
- text-align: center;
-}
-
-.avatar {
- width: 150px;
- height: 150px;
- display: block;
-}
-
-.avatar-uploader .el-upload-dragger .el-icon-upload {
- margin: 20px 0 16px;
-}
-
-.avatar-uploader .el-upload-dragger {
- border: none;
- width: 100px;
- height: 100px;
-}
-.el-select {
- width: 100%;
-}
-
-.el-autocomplete {
- width: 100%;
-}
-.el-date-editor.el-input,
-.el-date-editor.el-input__inner {
- width: 100%;
-}
-.el-input-number {
- width: 100%;
-}
-
-.el-main {
- margin-top: 2%;
-}
-.app-main {
- background-color: #ffffff;
-}
-.filter-item {
- margin-bottom: 10px;
- position: absolute;
- right: 20px;
-}
</style>
<style lang="scss">
-.da-dialog {
-.el-dialog__title {
- font-weight: 700;
-}
-.el-dialog__body {
- padding: 10px 20px;
-}
-}
+ .da-dialog {
+ .el-dialog__title {
+ font-weight: 700;
+ }
+ .el-dialog__body {
+ padding: 10px 20px;
+ }
+ }
+ .el-dialog.is-fullscreen {
+ overflow: hidden;
+ }
</style>
+
--
Gitblit v1.8.0