From 4f736e9566e5a8184463d24d1eb8d3170f396ea4 Mon Sep 17 00:00:00 2001
From: yijiusmile <253281376@qq.com>
Date: 星期三, 07 四月 2021 13:59:07 +0800
Subject: [PATCH] 社保档次和保险类型合并成一个
---
src/views/user/Informationinput.vue | 668 +++++++++++++++++++++++++++++++++++--------------------
1 files changed, 424 insertions(+), 244 deletions(-)
diff --git a/src/views/user/Informationinput.vue b/src/views/user/Informationinput.vue
index 82adc7f..a4100b8 100644
--- a/src/views/user/Informationinput.vue
+++ b/src/views/user/Informationinput.vue
@@ -3,53 +3,53 @@
<el-container>
<el-aside width="175px">
<el-timeline style="padding-left: 15px">
- <el-timeline-item @click.native="isShow(showArr[0].show, 0)">
+ <el-timeline-item v-show="timelineShow('empBaseinfo:list')" @click.native="isShow(showArr[0].show, 0)">
<span :class="thisShowIndex===0?'selectedTimeline':''">基本信息</span>
</el-timeline-item>
- <el-timeline-item @click.native="isShow(showArr[1].show, 1)">
+ <el-timeline-item v-show="timelineShow('empWorkexperience:list')" @click.native="isShow(showArr[1].show, 1)">
<span :class="thisShowIndex===1?'selectedTimeline':''">工作经历</span>
</el-timeline-item>
- <el-timeline-item @click.native="isShow(showArr[2].show, 2)">
+ <el-timeline-item v-show="timelineShow('empPhysicalexam:list')" @click.native="isShow(showArr[2].show, 2)">
<span :class="thisShowIndex===2?'selectedTimeline':''">体检信息</span>
</el-timeline-item>
- <el-timeline-item @click.native="isShow(showArr[3].show, 3)">
+ <el-timeline-item v-show="timelineShow('empContractinfo:list')" @click.native="isShow(showArr[3].show, 3)">
<span :class="thisShowIndex===3?'selectedTimeline':''">合同信息</span>
</el-timeline-item>
- <el-timeline-item @click.native="isShow(showArr[4].show, 4)">
+ <el-timeline-item v-show="timelineShow('empDimissionattend:list')" @click.native="isShow(showArr[4].show, 4)">
<span :class="thisShowIndex===4?'selectedTimeline':''">离职当月考勤</span>
</el-timeline-item>
- <el-timeline-item @click.native="isShow(showArr[5].show, 5)">
+ <el-timeline-item v-show="timelineShow('empLeaveinfo:list')" @click.native="isShow(showArr[5].show, 5)">
<span :class="thisShowIndex===5?'selectedTimeline':''">请假记录</span>
</el-timeline-item>
- <el-timeline-item @click.native="isShow(showArr[6].show, 6)">
+ <el-timeline-item v-show="timelineShow('empResign:list')" @click.native="isShow(showArr[6].show, 6)">
<span :class="thisShowIndex===6?'selectedTimeline':''">辞职申请</span>
</el-timeline-item>
- <el-timeline-item @click.native="isShow(showArr[7].show, 7)">
+ <el-timeline-item v-show="timelineShow('empUnemployment:list')" @click.native="isShow(showArr[7].show, 7)">
<span :class="thisShowIndex===7?'selectedTimeline':''">失业金领取</span>
</el-timeline-item>
- <el-timeline-item @click.native="isShow(showArr[8].show, 8)">
+ <el-timeline-item v-show="timelineShow('empInsurance:list')" @click.native="isShow(showArr[8].show, 8)">
<span :class="thisShowIndex===8?'selectedTimeline':''">社保申请</span>
</el-timeline-item>
- <el-timeline-item @click.native="isShow(showArr[9].show, 9)">
+ <el-timeline-item v-show="timelineShow('empAccidentcases:list')" @click.native="isShow(showArr[9].show, 9)">
<span :class="thisShowIndex===9?'selectedTimeline':''">意外险案件</span>
</el-timeline-item>
- <el-timeline-item @click.native="isShow(showArr[10].show, 10)">
+ <el-timeline-item v-show="timelineShow('empOccupational:list')" @click.native="isShow(showArr[10].show, 10)">
<span :class="thisShowIndex===10?'selectedTimeline':''">工伤案件</span>
</el-timeline-item>
- <el-timeline-item @click.native="isShow(showArr[11].show, 11)">
+ <el-timeline-item v-show="timelineShow('empLabortrouble:list')" @click.native="isShow(showArr[11].show, 11)">
<span :class="thisShowIndex===11?'selectedTimeline':''">劳资案件</span>
</el-timeline-item>
- <el-timeline-item @click.native="isShow(showArr[12].show, 12)">
+ <el-timeline-item v-show="timelineShow('empBadrecord:list')" @click.native="isShow(showArr[12].show, 12)">
<span :class="thisShowIndex===12?'selectedTimeline':''">不良记录</span>
</el-timeline-item>
- <el-timeline-item @click.native="isShow(showArr[13].show, 13)">
+ <el-timeline-item v-show="timelineShow('empRemarkinfo:list')" @click.native="isShow(showArr[13].show, 13)">
<span :class="thisShowIndex===13?'selectedTimeline':''">备注信息</span>
</el-timeline-item>
</el-timeline>
</el-aside>
<el-main>
<el-row>
- <el-col :span="24">
+ <el-col>
<el-button class="commonBtn" @click.native="dialogIsShow('0')">新增</el-button>
<el-button class="commonBtn" style="background-color: #409EFF" @click.native="butDelete()">删除</el-button>
<el-button class="commonBtn" style="float: right" @click.native="showDryg(0)">导入员工信息</el-button>
@@ -60,8 +60,11 @@
ref="empBaseInfoTable"
:data="basicInformationData"
stripe
- :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
+ border
+ :cell-style="{padding:'7px 0','text-align':'center'}"
+ :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
style="width: 100%;"
+ @sort-change="changeSort"
>
<el-table-column type="selection" width="50" />
<el-table-column label="操作" width="80">
@@ -78,24 +81,37 @@
编辑
</span>
</template>
- </el-table-column>
- <el-table-column label="照片" width="80">
- <template slot-scope="scope" width="90">
- <img :src="scope.row.imagePath">
- </template>
- </el-table-column>
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" />
- <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="60" />
- <el-table-column show-overflow-tooltip prop="deptName" label="护卫点" width="80" />
+ </el-table-column>-->
+ <!-- <el-table-column label="照片" width="60">-->
+ <!-- <template slot-scope="scope">-->
+ <!-- <!– <img :src="scope.row.imagePath">–>-->
+ <!-- <el-image-->
+ <!-- v-if="scope.row.imagePath && scope.row.imagePath != ''"-->
+ <!-- style="width: 30px; height: 30px"-->
+ <!-- :src="scope.row.imagePath"-->
+ <!-- fit="cover"-->
+ <!-- />-->
+
+ <!-- <el-image-->
+ <!-- v-else-->
+ <!-- style="width: 30px; height: 30px"-->
+ <!-- :src="defaultImg"-->
+ <!-- fit="cover"-->
+ <!-- />-->
+ <!-- </template>-->
+ <!-- </el-table-column>-->
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="50" />
+ <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="180" />
<el-table-column show-overflow-tooltip prop="empType" label="员工类别" width="80" :formatter="empTypeFormat" />
<el-table-column show-overflow-tooltip prop="sex" label="性别" width="50" :formatter="sexFormat" />
<el-table-column show-overflow-tooltip prop="nation" label="民族" width="50" :formatter="nationFormat" />
- <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" />
<el-table-column show-overflow-tooltip prop="marriage" label="婚姻状况" width="80" :formatter="marriageFormat" />
<el-table-column show-overflow-tooltip prop="politics" label="政治面貌" width="80" :formatter="politicsFormat" />
- <el-table-column show-overflow-tooltip prop="education" label="学历" width="80" :formatter="educationFormat" />
- <el-table-column prop="entryDate" show-overflow-tooltip label="入职日期" width="80" />
+ <el-table-column show-overflow-tooltip prop="education" label="学历" width="50" :formatter="educationFormat" />
+ <el-table-column prop="entryDate" show-overflow-tooltip label="入职日期" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column
prop="insuranceType"
show-overflow-tooltip
@@ -103,18 +119,21 @@
width="80"
:formatter="insuranceTypeFormat"
/>
- <el-table-column prop="socialNumb" show-overflow-tooltip label="社保电脑号" />
- <el-table-column prop="guardNumb" show-overflow-tooltip label="保安员证号" />
- <el-table-column prop="archivesNumb" show-overflow-tooltip label="档案编号" />
+ <el-table-column prop="socialNumb" show-overflow-tooltip label="社保电脑号" width="100" />
+ <el-table-column prop="guardNumb" show-overflow-tooltip label="保安员证号" width="100" />
+ <el-table-column prop="archivesNumb" show-overflow-tooltip label="档案编号" width="80" />
<el-table-column prop="archivesStatusName" show-overflow-tooltip label="档案情况" />
</el-table>
<el-table
v-show="showArr[1].show"
ref="workExperienceTable"
:data="workExperienceData"
- :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
+ :cell-style="{padding:'7px 0','text-align':'center'}"
+ :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
stripe
+ border
style="width: 100%;"
+ @sort-change="changeSort"
>
<el-table-column type="selection" width="55" />
<el-table-column label="操作" width="100">
@@ -131,21 +150,24 @@
</span>
</template>
</el-table-column>
- <el-table-column prop="empNumb" label="编号" width="100" />
- <el-table-column prop="empName" label="员工姓名" width="100" />
- <el-table-column prop="certificateNumb" show-overflow-tooltip label="身份证号码" />
- <el-table-column prop="workUnit" show-overflow-tooltip label="工作单位" />
- <el-table-column prop="beginDate" label="开始日期" width="120" />
- <el-table-column prop="endDate" label="结束日期" width="120" />
- <el-table-column prop="jobContent" show-overflow-tooltip label="主要工作内容" />
+ <el-table-column prop="empNumb" label="编号" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column prop="empName" label="姓名" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column prop="certificateNumb" show-overflow-tooltip label="身份证号码" width="180" />
+ <el-table-column prop="workUnit" show-overflow-tooltip label="工作单位" width="160" />
+ <el-table-column prop="beginDate" label="开始日期" width="140" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column prop="endDate" label="结束日期" width="140" />
+ <el-table-column prop="jobContent" show-overflow-tooltip label="主要工作内容" min-width="120" />
</el-table>
<el-table
v-show="showArr[2].show"
ref="physicalExamTable"
:data="physicalExamData"
- :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
+ :cell-style="{padding:'7px 0','text-align':'center'}"
+ :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
stripe
+ border
style="width: 100%;"
+ @sort-change="changeSort"
>
<el-table-column type="selection" width="50" />
<el-table-column label="操作" width="80">
@@ -163,13 +185,13 @@
</span>
</template>
</el-table-column>
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" />
- <el-table-column show-overflow-tooltip prop="deptName" label="护卫点" width="80" />
- <el-table-column show-overflow-tooltip prop="empName" label="员工姓名" width="80" />
- <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" />
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="80" />
- <el-table-column prop="hospital" show-overflow-tooltip label="体检医院" />
- <el-table-column show-overflow-tooltip prop="physicalExamDate" label="体检日期" width="100" />
+ <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="160" />
+ <el-table-column prop="hospital" show-overflow-tooltip label="体检医院" min-width="100" />
+ <el-table-column show-overflow-tooltip prop="physicalExamDate" label="体检日期" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column
show-overflow-tooltip
prop="physicalExamType"
@@ -180,17 +202,20 @@
<el-table-column show-overflow-tooltip prop="bloodPressure" label="血压" width="60" />
<el-table-column show-overflow-tooltip prop="transaminase" label="转氨酶" width="80" />
<el-table-column prop="ecg" show-overflow-tooltip label="心电图" width="80" :formatter="ecgNameFormat" />
- <el-table-column prop="conclusion" show-overflow-tooltip label="体检结论" />
- <el-table-column prop="reviewRecord" show-overflow-tooltip label="复查记录" />
+ <el-table-column prop="conclusion" show-overflow-tooltip label="体检结论" min-width="100" />
+ <el-table-column prop="reviewRecord" show-overflow-tooltip label="复查日期" min-width="100" />
<el-table-column prop="remark" show-overflow-tooltip label="备注" />
</el-table>
<el-table
v-show="showArr[3].show"
ref="contractInfoTable"
:data="contractInfoData"
- :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
+ :cell-style="{padding:'7px 0','text-align':'center'}"
+ :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
stripe
+ border
style="width: 100%;"
+ @sort-change="changeSort"
>
<el-table-column type="selection" width="55" />
<el-table-column label="操作" width="100">
@@ -208,24 +233,27 @@
</span>
</template>
</el-table-column>
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="100" />
- <el-table-column show-overflow-tooltip prop="deptName" label="护卫点" width="150" />
- <el-table-column prop="empName" label="员工姓名" width="100" />
- <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" />
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="100" />
- <el-table-column show-overflow-tooltip prop="signingDate" label="合同签订日期" />
- <el-table-column show-overflow-tooltip prop="endDate" label="合同结束日期" />
- <el-table-column show-overflow-tooltip prop="contractPeriod" label="合同期限(年)" />
- <el-table-column show-overflow-tooltip prop="contractStatus" label="合同状态" :formatter="contractStatusFormat" />
- <el-table-column show-overflow-tooltip prop="transactor" label="合同办理人" />
+ <el-table-column prop="empName" label="姓名" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="155" />
+ <el-table-column show-overflow-tooltip prop="signingDate" label="合同签订日期" width="140" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="endDate" label="合同结束日期" width="140" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="contractPeriod" label="合同期限(年)" width="120" />
+ <el-table-column show-overflow-tooltip prop="contractStatus" label="合同状态" :formatter="contractStatusFormat" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="transactor" label="合同办理人" width="100" />
</el-table>
<el-table
v-show="showArr[4].show"
ref="dimissionAttendTable"
:data="dimissionAttendData"
- :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
+ :cell-style="{padding:'7px 0','text-align':'center'}"
+ :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
stripe
+ border
style="width: 100%;"
+ @sort-change="changeSort"
>
<el-table-column type="selection" width="50" />
<el-table-column label="操作" width="80">
@@ -238,16 +266,16 @@
</span>
</template>
</el-table-column>
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" />
- <el-table-column show-overflow-tooltip prop="deptName" label="护卫点" width="80" />
- <el-table-column show-overflow-tooltip prop="empName" label="员工姓名" width="80" />
- <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" />
- <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="100" />
- <el-table-column show-overflow-tooltip prop="attendMonth" label="离职考勤月份" width="100" />
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="60" />
+ <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="120" />
+ <el-table-column show-overflow-tooltip prop="attendMonth" label="离职考勤月份" width="120" />
<el-table-column show-overflow-tooltip prop="attendDays" label="出勤天数" width="100" />
<el-table-column show-overflow-tooltip prop="overtimeDay" label="加班(天)" width="100" />
- <el-table-column show-overflow-tooltip prop="overtimeHour" label="加班(小时)" width="80" />
- <el-table-column show-overflow-tooltip prop="deduct" label="有无代扣款项" width="80" />
+ <el-table-column show-overflow-tooltip prop="overtimeHour" label="加班(小时)" width="120" />
+ <el-table-column show-overflow-tooltip prop="deduct" label="有无代扣款项" width="120" />
<el-table-column show-overflow-tooltip prop="leaveDay" label="请假(天)" width="100" />
<el-table-column show-overflow-tooltip prop="absenteeism" label="旷工(天)" width="100" />
<el-table-column show-overflow-tooltip prop="remark" label="备注" />
@@ -256,9 +284,12 @@
v-show="showArr[5].show"
ref="leaveInfoTable"
:data="leaveInfoData"
- :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
+ :cell-style="{padding:'7px 0','text-align':'center'}"
+ :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
stripe
+ border
style="width: 100%;"
+ @sort-change="changeSort"
>
<el-table-column type="selection" width="50" />
<el-table-column label="操作" width="80">
@@ -270,16 +301,16 @@
</span>
</template>
</el-table-column>
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" />
- <el-table-column show-overflow-tooltip prop="deptName" label="护卫点" width="80" />
- <el-table-column show-overflow-tooltip prop="jobName" label="岗位名称" width="80" />
- <el-table-column show-overflow-tooltip prop="empName" label="员工姓名" width="80" />
- <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" />
- <el-table-column show-overflow-tooltip prop="beginTime" label="开始时间" width="150" />
- <el-table-column show-overflow-tooltip prop="endTime" label="结束时间" width="150" />
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="80" />
+ <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="120" />
+ <el-table-column show-overflow-tooltip prop="beginTime" label="开始时间" width="140" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="endTime" label="结束时间" width="110" />
<el-table-column show-overflow-tooltip prop="leaveDay" label="请假天数" width="80" />
<el-table-column show-overflow-tooltip prop="leaveType" label="请假类型" width="80" :formatter="leaveTypeFormat" />
- <el-table-column show-overflow-tooltip prop="returnDate" label="到岗时间" width="120" />
+ <el-table-column show-overflow-tooltip prop="returnDate" label="返岗时间" width="110" />
<el-table-column show-overflow-tooltip prop="reporter" label="报备人" width="80" />
<el-table-column show-overflow-tooltip prop="remark" label="备注" />
</el-table>
@@ -287,9 +318,12 @@
v-show="showArr[6].show"
ref="resignTable"
:data="resignData"
- :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
+ :cell-style="{padding:'7px 0','text-align':'center'}"
+ :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
stripe
+ border
style="width: 100%;"
+ @sort-change="changeSort"
>
<el-table-column type="selection" width="50" />
<el-table-column label="操作" width="80">
@@ -301,12 +335,12 @@
</span>
</template>
</el-table-column>
- <el-table-column show-overflow-tooltip prop="deptName" label="护卫点" width="100" />
- <el-table-column show-overflow-tooltip prop="jobName" label="岗位名" width="100" />
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" />
- <el-table-column show-overflow-tooltip prop="empName" label="员工姓名" width="100" />
- <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" />
- <el-table-column show-overflow-tooltip prop="applayDate" label="辞职申请日期" width="150" />
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="100" />
+ <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="160" />
+ <el-table-column show-overflow-tooltip prop="applayDate" label="辞职申请日期" width="150" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="reason" label="辞职事由" width="150" />
<el-table-column show-overflow-tooltip prop="reporter" label="汇报人" width="100" />
<el-table-column show-overflow-tooltip prop="remark" label="备注" />
@@ -315,9 +349,12 @@
v-show="showArr[7].show"
ref="unemploymentTable"
:data="unemploymentData"
- :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
+ :cell-style="{padding:'7px 0','text-align':'center'}"
+ :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
stripe
+ border
style="width: 100%;"
+ @sort-change="changeSort"
>
<el-table-column type="selection" width="50" />
<el-table-column label="操作" width="80">
@@ -329,13 +366,13 @@
</span>
</template>
</el-table-column>
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" />
- <el-table-column show-overflow-tooltip prop="deptName" label="护卫点" width="100" />
- <el-table-column show-overflow-tooltip prop="jobName" label="岗位名称" width="100" />
- <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="100" />
- <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" />
- <el-table-column show-overflow-tooltip prop="applayDate" label="失业金申请日期" width="150" />
- <el-table-column show-overflow-tooltip prop="applayReason" label="申报事由" width="100" />
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="100" />
+ <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="150" />
+ <el-table-column show-overflow-tooltip prop="applayDate" label="失业金申请日期" width="150" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="applayReason" label="申报事由" />
<el-table-column show-overflow-tooltip prop="reporter" label="汇报人" width="100" />
<el-table-column show-overflow-tooltip prop="auditor" label="审核人" width="100" />
<el-table-column show-overflow-tooltip prop="remark" label="备注" />
@@ -344,9 +381,12 @@
v-show="showArr[8].show"
ref="insuranceTable"
:data="insuranceData"
- :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
+ :cell-style="{padding:'7px 0','text-align':'center'}"
+ :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
stripe
+ border
style="width: 100%;"
+ @sort-change="changeSort"
>
<el-table-column type="selection" width="50" />
<el-table-column label="操作" width="80">
@@ -358,26 +398,29 @@
</span>
</template>
</el-table-column>
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" />
- <el-table-column show-overflow-tooltip prop="deptName" label="护卫点" width="100" />
- <el-table-column show-overflow-tooltip prop="jobName" label="岗位名称" width="100" />
- <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="100" />
- <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" />
- <el-table-column show-overflow-tooltip prop="applayDate" label="社保申请日期" />
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="100" />
+ <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="120" />
+ <el-table-column show-overflow-tooltip prop="applayDate" label="社保申请日期" width="140" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="proposer" label="申请人" width="80" />
- <el-table-column show-overflow-tooltip prop="insuranceGaers" label="社保档位" :formatter="insuranceGaersFormat" />
+ <el-table-column show-overflow-tooltip prop="insuranceGaers" label="保险类型" :formatter="insuranceGaersFormat" width="80" />
<el-table-column prop="reportStatus " label="是否已报告" width="100" :formatter="reportStatusFormat" />
- <el-table-column prop="applayStatus" label="状态" width="100" :formatter="applayStatusFormat" />
- <el-table-column prop="auditor" label="审核人" width="100" />
- <el-table-column prop="remark" label="备注" />
+ <el-table-column prop="applayStatus" label="状态" width="80" :formatter="applayStatusFormat" />
+ <el-table-column prop="auditor" label="审核人" width="80" />
+ <el-table-column prop="remark" label="备注" width="300" />
</el-table>
<el-table
v-show="showArr[9].show"
ref="accidentCasesTable"
:data="accidentCasesData"
- :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
+ :cell-style="{padding:'7px 0','text-align':'center'}"
+ :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
stripe
+ border
style="width: 100%;"
+ @sort-change="changeSort"
>
<el-table-column type="selection" width="50" />
<el-table-column label="操作" width="80">
@@ -389,39 +432,42 @@
</span>
</template>
</el-table-column>
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="60" />
- <el-table-column show-overflow-tooltip prop="deptName" label="护卫点" width="60" />
- <el-table-column show-overflow-tooltip prop="jobName" label="岗位名称" width="60" />
- <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="60" />
- <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" />
- <el-table-column show-overflow-tooltip prop="injuredTime" label="受伤日期" />
- <el-table-column show-overflow-tooltip prop="injuredAddress" label="受伤地点" />
- <el-table-column show-overflow-tooltip prop="injuredPart" label="受伤部位" width="60" />
- <el-table-column show-overflow-tooltip prop="injuredDescribe" label="受伤经过描述" />
- <el-table-column show-overflow-tooltip prop="injuredDiacrisis" label="意外险诊断" />
- <el-table-column show-overflow-tooltip prop="hospitalName" label="就诊医院" />
- <el-table-column show-overflow-tooltip prop="treatmentName" label="就诊科室" />
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="90" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="80" />
+ <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="120" />
+ <el-table-column show-overflow-tooltip prop="injuredTime" label="受伤日期" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="injuredAddress" label="受伤地点" width="80" />
+ <el-table-column show-overflow-tooltip prop="injuredPart" label="受伤部位" width="80" />
+ <el-table-column show-overflow-tooltip prop="injuredDescribe" label="受伤经过描述" width="120" />
+ <el-table-column show-overflow-tooltip prop="injuredDiacrisis" label="意外险诊断" width="120" />
+ <el-table-column show-overflow-tooltip prop="hospitalName" label="就诊医院" width="80" />
+ <el-table-column show-overflow-tooltip prop="treatmentName" label="就诊科室" width="80" />
<el-table-column
show-overflow-tooltip
prop="hospitalizatioFlag"
label="是否住院"
- width="60"
+ width="80"
:formatter="hospitalizatioFlagFormat"
/>
- <el-table-column show-overflow-tooltip prop="bedNumb" label="床号" width="40" />
- <el-table-column show-overflow-tooltip prop="reprotTime" label="报案时间" width="60" />
- <el-table-column show-overflow-tooltip prop="submitTime" label="递交资料时间" />
- <el-table-column show-overflow-tooltip prop="sbumitBy" label="递交人" width="60" />
- <el-table-column show-overflow-tooltip prop="expensesFee" label="医疗总费用" width="60" />
- <el-table-column show-overflow-tooltip prop="innsureFee" label="保险赔付费用" width="60" />
+ <el-table-column show-overflow-tooltip prop="bedNumb" label="床号" width="60" />
+ <el-table-column show-overflow-tooltip prop="reprotTime" label="报案时间" width="80" />
+ <el-table-column show-overflow-tooltip prop="submitTime" label="递交资料时间" width="120" />
+ <el-table-column show-overflow-tooltip prop="sbumitBy" label="递交人" width="80" />
+ <el-table-column show-overflow-tooltip prop="expensesFee" label="医疗总费用" width="100" />
+ <el-table-column show-overflow-tooltip prop="innsureFee" label="保险赔付费用" width="120" />
</el-table>
<el-table
v-show="showArr[10].show"
ref="occupationalTable"
:data="occupationalData"
- :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
+ :cell-style="{padding:'7px 0','text-align':'center'}"
+ :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
stripe
+ border
style="width: 100%;"
+ @sort-change="changeSort"
>
<el-table-column type="selection" width="50" />
<el-table-column label="操作" width="80">
@@ -433,40 +479,43 @@
</span>
</template>
</el-table-column>
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="60" />
- <el-table-column show-overflow-tooltip prop="deptName" label="护卫点" width="60" />
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="90" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="60" />
- <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="60" />
- <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" />
- <el-table-column show-overflow-tooltip prop="injuredTime" label="受伤日期" />
- <el-table-column show-overflow-tooltip prop="injuredAddress" label="受伤地点" />
- <el-table-column show-overflow-tooltip prop="injuredPart" label="受伤部位" width="60" />
- <el-table-column show-overflow-tooltip prop="injuredDescribe" label="受伤经过描述" />
- <el-table-column show-overflow-tooltip prop="injuredDiacrisis" label="工伤诊断" />
- <el-table-column show-overflow-tooltip prop="hospitalName" label="就诊医院" />
- <el-table-column show-overflow-tooltip prop="treatmentName" label="就诊科室" />
+ <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="120" />
+ <el-table-column show-overflow-tooltip prop="injuredTime" label="受伤日期" width="130" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="injuredAddress" label="受伤地点" width="100" />
+ <el-table-column show-overflow-tooltip prop="injuredPart" label="受伤部位" width="80" />
+ <el-table-column show-overflow-tooltip prop="injuredDescribe" label="受伤经过描述" width="120" />
+ <el-table-column show-overflow-tooltip prop="injuredDiacrisis" label="工伤诊断" width="80" />
+ <el-table-column show-overflow-tooltip prop="hospitalName" label="就诊医院" width="100" />
+ <el-table-column show-overflow-tooltip prop="treatmentName" label="就诊科室" width="100" />
<el-table-column
show-overflow-tooltip
prop="hospitalizatioFlag"
label="是否住院"
- width="50"
+ width="80"
:formatter="hospitalizatioFlagFormat"
/>
- <el-table-column show-overflow-tooltip prop="bedNumb" label="床号" width="40" />
- <el-table-column show-overflow-tooltip prop="reportTime" label="报案时间" width="60" />
- <el-table-column show-overflow-tooltip prop="submitTime" label="递交资料时间" />
- <el-table-column show-overflow-tooltip prop="sbumitBy" label="递交人" width="60" />
- <el-table-column show-overflow-tooltip prop="expensesFee" label="医疗总费用" width="60" />
- <el-table-column show-overflow-tooltip prop="compensated" label="已赔付医药费用" width="60" />
- <el-table-column show-overflow-tooltip prop="settleStatusName" label="是否结案" width="60" />
+ <el-table-column show-overflow-tooltip prop="bedNumb" label="床号" width="60" />
+ <el-table-column show-overflow-tooltip prop="reportTime" label="报案时间" width="100" />
+ <el-table-column show-overflow-tooltip prop="submitTime" label="递交资料时间" width="120" />
+ <el-table-column show-overflow-tooltip prop="sbumitBy" label="递交人" width="80" />
+ <el-table-column show-overflow-tooltip prop="expensesFee" label="医疗总费用" width="100" />
+ <el-table-column show-overflow-tooltip prop="compensated" label="已赔付医药费用" width="120" />
+ <el-table-column show-overflow-tooltip prop="settleStatusName" label="是否结案" width="80" />
</el-table>
<el-table
v-show="showArr[11].show"
ref="laborTroubleTable"
:data="laborTroubleData"
- :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
+ :cell-style="{padding:'7px 0','text-align':'center'}"
+ :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
stripe
+ border
style="width: 100%;"
+ @sort-change="changeSort"
>
<el-table-column type="selection" width="50" />
<el-table-column label="操作" width="80">
@@ -478,13 +527,12 @@
</span>
</template>
</el-table-column>
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" />
- <el-table-column show-overflow-tooltip prop="deptName" label="护卫点" width="100" />
- <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="70" />
- <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="80" />
- <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" />
- <el-table-column show-overflow-tooltip prop="arbitrationDate" label="仲裁日期" width="100" />
- <el-table-column show-overflow-tooltip prop="arbitrationDate" label="仲裁日期" width="100" />
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="280" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="60" />
+ <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="120" />
+ <el-table-column show-overflow-tooltip prop="arbitrationDate" label="仲裁日期" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column
show-overflow-tooltip
prop="arbitrationType"
@@ -492,26 +540,29 @@
width="100"
:formatter="arbitrationTypeFormat"
/>
- <el-table-column show-overflow-tooltip prop="arbitrationReason" label="仲裁事由" />
- <el-table-column show-overflow-tooltip prop="reporter" label="报备人" width="80" />
+ <el-table-column show-overflow-tooltip prop="arbitrationReason" label="仲裁事由" min-width="100" />
+ <el-table-column show-overflow-tooltip prop="reporter" label="报备人" width="70" />
<el-table-column show-overflow-tooltip prop="remark" label="备注" />
- <el-table-column show-overflow-tooltip prop="arbitrationPay" label="仲裁赔付(元)" width="100" />
+ <el-table-column show-overflow-tooltip prop="arbitrationPay" label="仲裁赔付(元)" width="120" />
<el-table-column
show-overflow-tooltip
prop="arbitrationStatus"
label="状态"
- width="80"
+ width="50"
:formatter="arbitrationStatusFormat"
/>
- <el-table-column show-overflow-tooltip prop="settleDate" label="案结日期" width="120" />
+ <el-table-column show-overflow-tooltip prop="settleDate" label="案结日期" width="100" />
</el-table>
<el-table
v-show="showArr[12].show"
ref="badRecordTable"
:data="badRecordData"
- :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
+ :cell-style="{padding:'7px 0','text-align':'center'}"
+ :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
stripe
+ border
style="width: 100%;"
+ @sort-change="changeSort"
>
<el-table-column type="selection" width="55" />
<el-table-column label="操作" width="100">
@@ -528,13 +579,13 @@
</span>
</template>
</el-table-column>
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="120" />
- <el-table-column show-overflow-tooltip prop="deptName" label="护卫点" width="120" />
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="120" />
- <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="120" />
- <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" />
- <el-table-column show-overflow-tooltip prop="badDate" label="不良记录日期" width="150" />
- <el-table-column show-overflow-tooltip prop="badContent" label="不良记录描述" />
+ <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" min-width="120" />
+ <el-table-column show-overflow-tooltip prop="badDate" label="不良记录日期" width="150" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="badContent" label="不良记录描述" min-width="120" />
<el-table-column show-overflow-tooltip prop="reporter" label="汇报人" width="120" />
<el-table-column show-overflow-tooltip prop="remark" label="备注" />
</el-table>
@@ -542,9 +593,12 @@
v-show="showArr[13].show"
ref="remarkInfoTable"
:data="remarkInfoData"
- :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
+ :cell-style="{padding:'7px 0','text-align':'center'}"
+ :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
stripe
+ border
style="width: 100%;"
+ @sort-change="changeSort"
>
<el-table-column type="selection" width="50" />
<el-table-column label="操作" width="80">
@@ -556,12 +610,12 @@
</span>
</template>
</el-table-column>
- <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="180" />
- <el-table-column show-overflow-tooltip prop="deptName" label="护卫点" width="120" />
+ <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="120" />
- <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="120" />
- <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" />
- <el-table-column show-overflow-tooltip prop="remarkDate" label="备注日期" width="180" />
+ <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" />
+ <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="180" />
+ <el-table-column show-overflow-tooltip prop="remarkDate" label="备注日期" width="150" sortable="custom" :sort-orders="['ascending', 'descending']" />
<el-table-column show-overflow-tooltip prop="remarkContent" label="备注信息" />
</el-table>
<pagination
@@ -571,7 +625,7 @@
:limit.sync="pagination.size"
@pagination="search"
/>
- <el-col :span="24">
+ <el-col>
<div style="width: 250px;margin: 20px auto 0;">
<el-button class="nomalBtn" @click="deleteFrom()">取消</el-button>
<el-button class="commonBtn" @click="submitTo()">提交</el-button>
@@ -584,19 +638,18 @@
<el-row>
<el-col span="24">
<el-form-item label="员工模板下载" prop="region">
- <a href="http://120.24.23.155:8000/员工信息.xls" target="_blank" style="color: #3A8EE6;">员工信息.xlxs</a>
+ <a :href="downloadEmpExcel" target="_blank" style="color: #3A8EE6;">员工信息.xlxs</a>
<span style="margin-left: 100px;">点击下载</span>
</el-form-item>
<el-form-item label="导入员工">
<el-upload
ref="upload"
class="upload-demo"
- action="http://120.24.23.155:8301/hr/empBaseInfo/importEmp"
+ :action="uploadEmpExcel"
accept=".xls, .xlsx, .excel"
:headers="headers()"
:on-success="importHandleAvatarSuccess"
:on-error="importHandleAvatarError"
- :file-list="fileList"
:auto-upload="false"
>
<el-button slot="trigger" size="small" type="primary">选取文件</el-button>
@@ -659,7 +712,7 @@
</el-select>
</el-form-item>
<el-form-item label="民族" prop="nation">
- <el-select v-model="empBaseInfoForm.nation" placeholder="请选择民族">
+ <el-select v-model="empBaseInfoForm.nation" filterable placeholder="请选择民族">
<el-option
v-for="dict in nationOptions"
:key="dict.dicItemCode"
@@ -719,7 +772,7 @@
<el-form-item label="招聘介绍人" prop="introducer">
<el-input v-model="empBaseInfoForm.introducer" />
</el-form-item>
- <el-form-item label="银行名称" prop="bankName">
+ <el-form-item label="银行名称">
<el-input v-model="empBaseInfoForm.bankName" />
</el-form-item>
<el-form-item label="保险类型" prop="insuranceType">
@@ -746,7 +799,7 @@
<el-form-item label="姓名" prop="empName">
<el-input v-model="empBaseInfoForm.empName" />
</el-form-item>
- <el-form-item label="部门(护卫点)" required message="请选择护卫点" prop="deptId">
+ <el-form-item label="部门(护卫点)" required message="请选择部门(护卫点)" prop="allDeptName">
<treeselect
v-model="empBaseInfoForm.deptId"
:multiple="false"
@@ -754,6 +807,7 @@
:clear-value-text="$t('common.clear')"
placeholder="请选择部门(护卫点)"
style="width:100%"
+ @select="DeptNameSelect"
/>
</el-form-item>
<el-form-item label="岗位" prop="jobName">
@@ -825,7 +879,7 @@
/>
</el-select>
</el-form-item>
- <el-form-item label="银行账号" prop="bankNumb">
+ <el-form-item label="银行账号">
<el-input v-model="empBaseInfoForm.bankNumb" />
</el-form-item>
<el-form-item label="社保电脑号" prop="socialNumb">
@@ -852,9 +906,9 @@
</el-select>
</el-form-item>
</el-col>
- <el-col :span="24">
+ <el-col>
<el-form-item label="相关证件" prop="certificateList">
- <el-select v-model="empBaseInfoForm.certificateList" placeholder="请选择相关证件">
+ <el-select v-model="empBaseInfoForm.certificateList" multiple placeholder="请选择相关证件">
<el-option
v-for="dict in certificateListOptions"
:key="dict.dicItemCode"
@@ -901,8 +955,8 @@
<el-form-item label="编号" prop="empNumb">
<el-input v-model="workExperienceForm.empNumb" />
</el-form-item>
- <el-form-item label="部门(护卫点)" prop="deptName">
- <el-input v-model="workExperienceForm.deptName" />
+ <el-form-item label="部门(护卫点)" prop="allDeptName">
+ <el-input v-model="workExperienceForm.allDeptName" />
</el-form-item>
<el-form-item label="岗位" prop="jobName">
<el-input v-model="workExperienceForm.jobName" />
@@ -910,7 +964,7 @@
</el-col>
</el-row>
<el-row>
- <el-col :span="24">
+ <el-col>
<el-form-item label="工作单位" prop="workUnit">
<el-input v-model="workExperienceForm.workUnit" />
</el-form-item>
@@ -939,7 +993,7 @@
</el-col>
</el-row>
<el-row>
- <el-col :span="24">
+ <el-col>
<el-form-item label="主要工作内容" prop="jobContent">
<el-input v-model="workExperienceForm.jobContent" type="textarea" />
</el-form-item>
@@ -1002,8 +1056,8 @@
<el-form-item label="编号" prop="empNumb">
<el-input v-model="physicalExamForm.empNumb" />
</el-form-item>
- <el-form-item label="部门(护卫点)" prop="deptName">
- <el-input v-model="physicalExamForm.deptName" />
+ <el-form-item label="部门(护卫点)" prop="allDeptName">
+ <el-input v-model="physicalExamForm.allDeptName" />
</el-form-item>
<el-form-item label="岗位" prop="jobName">
<el-input v-model="physicalExamForm.jobName" />
@@ -1032,17 +1086,22 @@
</el-col>
</el-row>
<el-row>
- <el-col :span="24">
+ <el-col>
<el-form-item label="体检结论" prop="conclusion">
<el-input v-model="physicalExamForm.conclusion" />
</el-form-item>
- <el-form-item label="复查记录" prop="reviewRecord">
- <el-input v-model="physicalExamForm.reviewRecord" />
+ <el-form-item label="复查日期" prop="reviewRecord">
+ <el-date-picker
+ v-model="physicalExamForm.reviewRecord"
+ value-format="yyyy-MM-dd"
+ type="date"
+ placeholder="选择复查日期"
+ />
</el-form-item>
</el-col>
</el-row>
<el-row>
- <el-col :span="24">
+ <el-col>
<el-form-item label="备注" prop="remark">
<el-input v-model="physicalExamForm.remark" type="textarea" />
</el-form-item>
@@ -1110,8 +1169,8 @@
<el-form-item label="编号" prop="empNumb">
<el-input v-model="contractInfoForm.empNumb" />
</el-form-item>
- <el-form-item label="部门(护卫点)" prop="deptName">
- <el-input v-model="contractInfoForm.deptName" />
+ <el-form-item label="部门(护卫点)" prop="allDeptName">
+ <el-input v-model="contractInfoForm.allDeptName" />
</el-form-item>
<el-form-item label="岗位" prop="jobName">
<el-input v-model="contractInfoForm.jobName" />
@@ -1130,7 +1189,7 @@
</el-col>
</el-row>
<el-row>
- <el-col :span="24">
+ <el-col>
<el-form-item label="备注" prop="remark">
<el-input v-model="contractInfoForm.remark" type="textarea" />
</el-form-item>
@@ -1191,8 +1250,8 @@
<el-form-item label="编号" prop="empNumb">
<el-input v-model="dimissionAttendForm.empNumb" />
</el-form-item>
- <el-form-item label="部门(护卫点)" prop="deptName">
- <el-input v-model="dimissionAttendForm.deptName" />
+ <el-form-item label="部门(护卫点)" prop="allDeptName">
+ <el-input v-model="dimissionAttendForm.allDeptName" />
</el-form-item>
<el-form-item label="岗位" prop="jobName">
<el-input v-model="dimissionAttendForm.jobName" />
@@ -1211,7 +1270,7 @@
</el-col>
</el-row>
<el-row>
- <el-col :span="24">
+ <el-col>
<el-form-item label="备注" prop="remark">
<el-input v-model="dimissionAttendForm.remark" type="textarea" />
</el-form-item>
@@ -1275,8 +1334,8 @@
<el-form-item label="编号" prop="empNumb">
<el-input v-model="leaveInfoForm.empNumb" />
</el-form-item>
- <el-form-item label="部门(护卫点)" prop="deptName">
- <el-input v-model="leaveInfoForm.deptName" />
+ <el-form-item label="部门(护卫点)" prop="allDeptName">
+ <el-input v-model="leaveInfoForm.allDeptName" />
</el-form-item>
<el-form-item label="岗位" prop="jobName">
<el-input v-model="leaveInfoForm.jobName" />
@@ -1295,19 +1354,19 @@
<el-input v-model="leaveInfoForm.leaveDay" />
</el-form-item>
- <el-form-item label="到岗时间" prop="returnDate">
+ <el-form-item label="返岗时间" prop="returnDate">
<el-date-picker
v-model="leaveInfoForm.returnDate"
value-format="yyyy-MM-dd"
type="date"
- placeholder="选择到岗时间"
+ placeholder="选择返岗时间"
/>
</el-form-item>
</el-col>
</el-row>
<el-row>
- <el-col :span="24">
+ <el-col>
<el-form-item label="备注">
<el-input v-model="leaveInfoForm.remark" type="textarea" />
</el-form-item>
@@ -1348,8 +1407,8 @@
<el-form-item label="编号" prop="empNumb">
<el-input v-model="resignForm.empNumb" />
</el-form-item>
- <el-form-item label="部门(护卫点)" prop="deptName">
- <el-input v-model="resignForm.deptName" />
+ <el-form-item label="部门(护卫点)" prop="allDeptName">
+ <el-input v-model="resignForm.allDeptName" />
</el-form-item>
<el-form-item label="岗位" prop="jobName">
<el-input v-model="resignForm.jobName" />
@@ -1360,14 +1419,14 @@
</el-col>
</el-row>
<el-row>
- <el-col :span="24">
+ <el-col>
<el-form-item label="辞职事由" prop="reason">
<el-input v-model="resignForm.reason" />
</el-form-item>
</el-col>
</el-row>
<el-row>
- <el-col :span="24">
+ <el-col>
<el-form-item label="备注">
<el-input v-model="resignForm.remark" type="textarea" />
</el-form-item>
@@ -1417,8 +1476,8 @@
<el-form-item label="编号" prop="empNumb">
<el-input v-model="unemploymentForm.empNumb" />
</el-form-item>
- <el-form-item label="部门(护卫点)" prop="deptName">
- <el-input v-model="unemploymentForm.deptName" />
+ <el-form-item label="部门(护卫点)" prop="allDeptName">
+ <el-input v-model="unemploymentForm.allDeptName" />
</el-form-item>
<el-form-item label="岗位" prop="jobName">
<el-input v-model="unemploymentForm.jobName" />
@@ -1433,7 +1492,7 @@
</el-row>
<el-row>
- <el-col :span="24">
+ <el-col>
<el-form-item label="备注">
<el-input v-model="unemploymentForm.remark" type="textarea" />
</el-form-item>
@@ -1475,8 +1534,8 @@
placeholder="选择社保申请日期"
/>
</el-form-item>
- <el-form-item label="社保档位" prop="insuranceGaers">
- <el-select v-model="insuranceForm.insuranceGaers" placeholder="请选择社保档位">
+ <el-form-item label="保险类型" prop="insuranceGaers">
+ <el-select v-model="insuranceForm.insuranceGaers" placeholder="请选择保险类型">
<el-option
v-for="dict in insuranceGaersOptions"
:key="dict.dicItemCode"
@@ -1500,8 +1559,8 @@
<el-form-item label="编号" prop="empNumb">
<el-input v-model="insuranceForm.empNumb" />
</el-form-item>
- <el-form-item label="部门(护卫点)" prop="deptName">
- <el-input v-model="insuranceForm.deptName" />
+ <el-form-item label="部门(护卫点)" prop="allDeptName">
+ <el-input v-model="insuranceForm.allDeptName" />
</el-form-item>
<el-form-item label="岗位" prop="jobName">
<el-input v-model="insuranceForm.jobName" />
@@ -1525,7 +1584,7 @@
</el-col>
</el-row>
<el-row>
- <el-col :span="24">
+ <el-col>
<el-form-item label="备注">
<el-input v-model="insuranceForm.remark" type="textarea" />
</el-form-item>
@@ -1575,8 +1634,8 @@
<el-form-item label="编号" prop="empNumb">
<el-input v-model="accidentCasesForm.empNumb" />
</el-form-item>
- <el-form-item label="部门(护卫点)" prop="deptName">
- <el-input v-model="accidentCasesForm.deptName" />
+ <el-form-item label="部门(护卫点)" prop="allDeptName">
+ <el-input v-model="accidentCasesForm.allDeptName" />
</el-form-item>
<el-form-item label="岗位" prop="jobName">
<el-input v-model="accidentCasesForm.jobName" />
@@ -1591,7 +1650,7 @@
</el-row>
<el-row>
- <el-col :span="24">
+ <el-col>
<el-form-item label="受伤经过描述" prop="injuredDescribe">
<el-input v-model="accidentCasesForm.injuredDescribe" type="textarea" />
</el-form-item>
@@ -1722,8 +1781,8 @@
<el-form-item label="编号" prop="empNumb">
<el-input v-model="occupationalForm.empNumb" />
</el-form-item>
- <el-form-item label="部门(护卫点)" prop="deptName">
- <el-input v-model="occupationalForm.deptName" />
+ <el-form-item label="部门(护卫点)" prop="allDeptName">
+ <el-input v-model="occupationalForm.allDeptName" />
</el-form-item>
<el-form-item label="岗位" prop="jobName">
<el-input v-model="occupationalForm.jobName" />
@@ -1738,7 +1797,7 @@
</el-row>
<el-row>
- <el-col :span="24">
+ <el-col>
<el-form-item label="受伤经过描述" prop="injuredDescribe">
<el-input v-model="occupationalForm.injuredDescribe" type="textarea" />
</el-form-item>
@@ -1863,7 +1922,7 @@
</el-row>
<el-row>
- <el-col :span="24">
+ <el-col>
<el-form-item label="备注">
<el-input v-model="occupationalForm.remark" type="textarea" />
</el-form-item>
@@ -1923,8 +1982,8 @@
<el-form-item label="编号" prop="empNumb">
<el-input v-model="laborTroubleForm.empNumb" />
</el-form-item>
- <el-form-item label="部门(护卫点)" prop="deptName">
- <el-input v-model="laborTroubleForm.deptName" />
+ <el-form-item label="部门(护卫点)" prop="allDeptName">
+ <el-input v-model="laborTroubleForm.allDeptName" />
</el-form-item>
<el-form-item label="岗位" prop="jobName">
<el-input v-model="laborTroubleForm.jobName" />
@@ -1957,14 +2016,14 @@
</el-col>
</el-row>
<el-row>
- <el-col :span="24">
+ <el-col>
<el-form-item label="仲裁事由" prop="arbitrationReason">
<el-input v-model="laborTroubleForm.arbitrationReason" />
</el-form-item>
</el-col>
</el-row>
<el-row>
- <el-col :span="24">
+ <el-col>
<el-form-item label="备注" prop="remark">
<el-input v-model="laborTroubleForm.remark" type="textarea" />
</el-form-item>
@@ -2011,8 +2070,8 @@
<el-form-item label="编号" prop="empNumb">
<el-input v-model="badRecordForm.empNumb" />
</el-form-item>
- <el-form-item label="部门(护卫点)" prop="deptName">
- <el-input v-model="badRecordForm.deptName" />
+ <el-form-item label="部门(护卫点)" prop="allDeptName">
+ <el-input v-model="badRecordForm.allDeptName" />
</el-form-item>
<el-form-item label="岗位" prop="jobName">
<el-input v-model="badRecordForm.jobName" />
@@ -2023,14 +2082,14 @@
</el-col>
</el-row>
<el-row>
- <el-col :span="24">
+ <el-col>
<el-form-item label="不良记录描述" prop="badContent">
<el-input v-model="badRecordForm.badContent" />
</el-form-item>
</el-col>
</el-row>
<el-row>
- <el-col :span="24">
+ <el-col>
<el-form-item label="备注">
<el-input v-model="badRecordForm.remark" type="textarea" />
</el-form-item>
@@ -2077,8 +2136,8 @@
<el-form-item label="编号" prop="empNumb">
<el-input v-model="remarkInfoForm.empNumb" />
</el-form-item>
- <el-form-item label="部门(护卫点)" prop="deptName">
- <el-input v-model="remarkInfoForm.deptName" />
+ <el-form-item label="部门(护卫点)" prop="allDeptName">
+ <el-input v-model="remarkInfoForm.allDeptName" />
</el-form-item>
<el-form-item label="岗位" prop="jobName">
<el-input v-model="remarkInfoForm.jobName" />
@@ -2086,7 +2145,7 @@
</el-col>
</el-row>
<el-row>
- <el-col :span="24">
+ <el-col>
<el-form-item label="备注" prop="remarkContent">
<el-input v-model="remarkInfoForm.remarkContent" type="textarea" />
</el-form-item>
@@ -2117,6 +2176,9 @@
components: { Treeselect, Pagination },
data() {
return {
+ downloadEmpExcel: pages.downloadEmpExcel,
+ uploadEmpExcel: pages.uploadEmpExcel,
+ defaultImg: require('../../assets/avatar/20180414165936.jpg'),
baseicInformationForm: {},
dialogShowDryg: false,
empBaseInfoImageUrl: '',
@@ -2136,7 +2198,7 @@
message: this.$t('rules.noMoreThan20'),
trigger: 'blur'
}],
- empName: [{ required: true, message: '请输入员工姓名', trigger: 'blur' },
+ empName: [{ required: true, message: '请输入姓名', trigger: 'blur' },
{ min: 2, max: 50, message: this.$t('rules.noMoreThan50'), trigger: 'blur' }],
empNumb: [{ required: true, message: '请输入编号', trigger: 'blur' },
{ min: 2, max: 20, message: this.$t('rules.noMoreThan20'), trigger: 'blur' }],
@@ -2240,7 +2302,7 @@
beginTime: [{ required: true, validator: this.startDate }],
leaveType: [{ required: true, message: '请选择请假类型', trigger: 'change' }],
endTime: [{ required: true, validator: this.endDate }],
- returnDate: [{ required: true, message: '请选择到岗时间', trigger: 'change' }],
+ returnDate: [{ required: true, message: '请选择返岗时间', trigger: 'change' }],
reporter: [{ required: true, message: '请输入报备人', trigger: 'blur' }],
remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }]
},
@@ -2275,7 +2337,7 @@
message: '长度不超过40个字符',
trigger: 'blur'
}],
- insuranceGaers: [{ required: true, message: '请选择社保档位', trigger: 'change' }],
+ insuranceGaers: [{ required: true, message: '请选择保险类型', trigger: 'change' }],
auditor: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }],
applayStatus: [{ required: true, message: '请选择申请状态', trigger: 'change' }]
@@ -2555,6 +2617,7 @@
JobId: '',
deptId: '',
deptName: '',
+ allDeptName: '',
jobName: '',
remarkContent: '',
remarkDate: '',
@@ -2576,6 +2639,7 @@
certificateNumb: '',
deptId: '',
deptName: '',
+ allDeptName: '',
JobId: '',
jobName: '',
arbitrationDate: '',
@@ -2604,6 +2668,7 @@
certificateNumb: '',
deptId: '',
deptName: '',
+ allDeptName: '',
JobId: '',
jobName: '',
injuredTime: '',
@@ -2652,6 +2717,7 @@
certificateNumb: '',
deptId: '',
deptName: '',
+ allDeptName: '',
JobId: '',
jobName: '',
injuredTime: '',
@@ -2691,6 +2757,7 @@
certificateNumb: '',
deptId: '',
deptName: '',
+ allDeptName: '',
JobId: '',
jobName: '',
applayDate: '',
@@ -2718,6 +2785,7 @@
certificateNumb: '',
deptId: '',
deptName: '',
+ allDeptName: '',
JobId: '',
jobName: '',
applayDate: '',
@@ -2743,6 +2811,7 @@
certificateNumb: '',
deptId: '',
deptName: '',
+ allDeptName: '',
JobId: '',
jobName: '',
applayDate: '',
@@ -2767,6 +2836,7 @@
certificateNumb: '',
deptId: '',
deptName: '',
+ allDeptName: '',
JobId: '',
jobName: '',
beginTime: '',
@@ -2794,6 +2864,7 @@
sexName: '',
deptId: '',
deptName: '',
+ allDeptName: '',
JobId: '',
jobName: '',
beginDate: '',
@@ -2820,6 +2891,7 @@
sexName: '',
deptId: '',
deptName: '',
+ allDeptName: '',
JobId: '',
jobName: '',
certificateNumb: '',
@@ -2849,6 +2921,7 @@
sexName: '',
deptId: '',
deptName: '',
+ allDeptName: '',
JobId: '',
jobName: '',
hospital: '',
@@ -2878,6 +2951,7 @@
sexName: '',
deptId: '',
deptName: '',
+ allDeptName: '',
JobId: '',
jobName: '',
workUnit: '',
@@ -2897,8 +2971,9 @@
empId: '',
customerId: '',
archivesNumb: '',
- deptId: '1',
+ deptId: null,
deptName: '',
+ allDeptName: '',
empNumb: '',
empName: '',
sex: '1',
@@ -2954,6 +3029,7 @@
certificateNumb: '',
deptId: '',
deptName: '',
+ allDeptName: '',
JobId: '',
jobName: '',
badDate: '',
@@ -2991,10 +3067,12 @@
arbitrationTypeOptions: [],
changeTypeOptions: [],
dimissionTypeOptions: [],
- sexOptions: []
+ sexOptions: [],
+ permissions: {}
}
},
mounted() {
+ this.permissions = JSON.parse(localStorage.getItem('PERMISSIONS'))
this.getDicts('PLITICAL').then(response => {
this.statusOptions = response.data
})
@@ -3043,7 +3121,7 @@
this.getDicts('LEAVETYPE').then(response => {
this.leaveTypeOptions = response.data
})
- this.getDicts('insuranceGaers').then(response => {
+ this.getDicts('INSURANCETYPE').then(response => {
this.insuranceGaersOptions = response.data
})
this.getDicts('applayStatus').then(response => {
@@ -3070,8 +3148,17 @@
this.initDept()
this.thisShowIndex = 1
this.isShow(false, 0)
+ this.initJob()
},
methods: {
+ timelineShow(name) {
+ for (const v of this.permissions) {
+ if (v === name) {
+ return true
+ }
+ }
+ return false
+ },
importHandleAvatarError() {
this.$notify.error({
title: '错误',
@@ -3079,7 +3166,7 @@
})
},
importHandleAvatarSuccess(res, file) {
- if (res.data === null) {
+ if (res.data === null || res.data.length === 0) {
this.$notify({
title: '成功',
message: '导入成功!',
@@ -3340,6 +3427,11 @@
resetDeptTree() {
this.$refs.deptTree.setCheckedKeys([])
},
+ initJob() {
+ this.$get('system/position/dicJob').then((r) => {
+ this.restaurJob = r.data.data
+ })
+ },
butDelete() {
let selected
switch (this.thisShowIndex) {
@@ -3570,7 +3662,7 @@
}
break
case 11:
- selected = this.$refs.occupationalTable.selection
+ selected = this.$refs.laborTroubleTable.selection
if (selected.length > 0) {
const delIds = []
selected.forEach((j) => {
@@ -4151,8 +4243,9 @@
this.empBaseInfoForm.empId = ''
this.empBaseInfoForm.customerId = ''
this.empBaseInfoForm.archivesNumb = ''
- this.empBaseInfoForm.deptId = ''
+ this.empBaseInfoForm.deptId = null
this.empBaseInfoForm.deptName = ''
+ this.empBaseInfoForm.allDeptName = ''
this.empBaseInfoForm.empNumb = ''
this.empBaseInfoForm.empName = ''
this.empBaseInfoForm.sex = ''
@@ -4200,11 +4293,17 @@
},
editEmpBase(row) {
this.isAdd = false
+ let certificateList = []
+ if (row.certificateList && typeof row.certificateList === 'string') {
+ certificateList = row.certificateList.split(',')
+ row.certificateList = certificateList
+ }
this.empBaseInfoForm.empId = row.empId
this.empBaseInfoForm.customerId = row.customerId
this.empBaseInfoForm.archivesNumb = row.archivesNumb
this.empBaseInfoForm.deptId = row.deptId
this.empBaseInfoForm.deptName = row.deptName
+ this.empBaseInfoForm.allDeptName = row.allDeptName
this.empBaseInfoForm.empNumb = row.empNumb
this.empBaseInfoForm.empName = row.empName
this.empBaseInfoForm.sex = row.sex
@@ -4249,6 +4348,7 @@
this.empBaseInfoForm.version = row.version
this.dialogshowArr[0].show = true
this.empBaseInfoImageUrl = pages.getEmpBaseInfoImage + row.empId
+ this.empBaseInfoForm.insuranceType = row.insuranceType
},
putEmpBase(formName) {
this.$refs[formName].validate((valid) => {
@@ -4294,6 +4394,9 @@
}
}
})
+ setTimeout(() => {
+ this.$refs[formName].clearValidate()
+ }, 1500)
},
selectWorkExperience() {
this.tableUrl = 'hr/empWorkExperience/list'
@@ -4305,6 +4408,7 @@
this.$refs[formName].validate((valid) => {
if (valid) {
if (this.isAdd) {
+ this.workExperienceForm.delFlag = '2'
this.$post('hr/empWorkExperience', { ...this.workExperienceForm }).then(() => {
this.buttonLoading = false
this.$message({
@@ -4333,6 +4437,7 @@
this.$refs[formName].validate((valid) => {
if (valid) {
if (this.isAdd) {
+ this.workExperienceForm.delFlag = '2'
this.$post('hr/empWorkExperience', { ...this.workExperienceForm }).then(() => {
this.buttonLoading = false
this.$message({
@@ -4345,12 +4450,16 @@
}
}
})
+ setTimeout(() => {
+ this.$refs[formName].clearValidate()
+ }, 1500)
},
cleanWorkExperience() {
this.workExperienceForm.empId = ''
this.workExperienceForm.archivesNumb = ''
this.workExperienceForm.deptId = ''
this.workExperienceForm.deptName = ''
+ this.workExperienceForm.allDeptName = ''
this.workExperienceForm.empNumb = ''
this.workExperienceForm.empName = ''
this.workExperienceForm.sex = ''
@@ -4375,9 +4484,10 @@
this.workExperienceForm.empNumb = row.empNumb
this.workExperienceForm.empName = row.empName
this.workExperienceForm.certificateNumb = row.certificateNumb
- this.workExperienceForm.sex = row.sex
+ this.workExperienceForm.sexName = row.sex
this.workExperienceForm.deptId = row.deptId
this.workExperienceForm.deptName = row.deptName
+ this.workExperienceForm.allDeptName = row.allDeptName
this.workExperienceForm.JobId = row.JobId
this.workExperienceForm.jobName = row.jobName
this.workExperienceForm.workUnit = row.workUnit
@@ -4442,12 +4552,16 @@
}
}
})
+ setTimeout(() => {
+ this.$refs[formName].clearValidate()
+ }, 1500)
},
cleanPhysicalExam() {
this.physicalExamForm.empId = ''
this.physicalExamForm.archivesNumb = ''
this.physicalExamForm.deptId = ''
this.physicalExamForm.deptName = ''
+ this.physicalExamForm.allDeptName = ''
this.physicalExamForm.empNumb = ''
this.physicalExamForm.empName = ''
this.physicalExamForm.sex = ''
@@ -4474,6 +4588,7 @@
this.physicalExamForm.sex = row.sex
this.physicalExamForm.deptId = row.deptId
this.physicalExamForm.deptName = row.deptName
+ this.physicalExamForm.allDeptName = row.allDeptName
this.physicalExamForm.JobId = row.JobId
this.physicalExamForm.jobName = row.jobName
this.physicalExamForm.hospital = row.hospital
@@ -4544,12 +4659,16 @@
}
}
})
+ setTimeout(() => {
+ this.$refs[formName].clearValidate()
+ }, 1500)
},
cleanContractInfo() {
this.contractInfoForm.empId = ''
this.contractInfoForm.archivesNumb = ''
this.contractInfoForm.deptId = ''
this.contractInfoForm.deptName = ''
+ this.contractInfoForm.allDeptName = ''
this.contractInfoForm.empNumb = ''
this.contractInfoForm.empName = ''
this.contractInfoForm.sex = ''
@@ -4582,6 +4701,7 @@
this.contractInfoForm.sex = row.sex
this.contractInfoForm.deptId = row.deptId
this.contractInfoForm.deptName = row.deptName
+ this.contractInfoForm.allDeptName = row.allDeptName
this.contractInfoForm.JobId = row.JobId
this.contractInfoForm.jobName = row.jobName
this.contractInfoForm.beginDate = row.beginDate
@@ -4650,12 +4770,16 @@
}
}
})
+ setTimeout(() => {
+ this.$refs[formName].clearValidate()
+ }, 1500)
},
cleanDimissionAttend() {
this.dimissionAttendForm.empId = ''
this.dimissionAttendForm.archivesNumb = ''
this.dimissionAttendForm.deptId = ''
this.dimissionAttendForm.deptName = ''
+ this.dimissionAttendForm.allDeptName = ''
this.dimissionAttendForm.empNumb = ''
this.dimissionAttendForm.empName = ''
this.dimissionAttendForm.sex = ''
@@ -4687,6 +4811,7 @@
this.dimissionAttendForm.certificateNumb = row.certificateNumb
this.dimissionAttendForm.deptId = row.deptId
this.dimissionAttendForm.deptName = row.deptName
+ this.dimissionAttendForm.allDeptName = row.allDeptName
this.dimissionAttendForm.JobId = row.JobId
this.dimissionAttendForm.jobName = row.jobName
this.dimissionAttendForm.attendMonth = row.attendMonth
@@ -4754,12 +4879,16 @@
}
}
})
+ setTimeout(() => {
+ this.$refs[formName].clearValidate()
+ }, 1500)
},
cleanLeaveInfo() {
this.leaveInfoForm.empId = ''
this.leaveInfoForm.archivesNumb = ''
this.leaveInfoForm.deptId = ''
this.leaveInfoForm.deptName = ''
+ this.leaveInfoForm.allDeptName = ''
this.leaveInfoForm.empNumb = ''
this.leaveInfoForm.empName = ''
this.leaveInfoForm.sex = ''
@@ -4792,6 +4921,7 @@
this.leaveInfoForm.certificateNumb = row.certificateNumb
this.leaveInfoForm.deptId = row.deptId
this.leaveInfoForm.deptName = row.deptName
+ this.leaveInfoForm.allDeptName = row.allDeptName
this.leaveInfoForm.JobId = row.JobId
this.leaveInfoForm.jobName = row.jobName
this.leaveInfoForm.beginTime = row.beginTime
@@ -4860,12 +4990,16 @@
}
}
})
+ setTimeout(() => {
+ this.$refs[formName].clearValidate()
+ }, 1500)
},
cleanResign() {
this.resignForm.empId = ''
this.resignForm.archivesNumb = ''
this.resignForm.deptId = ''
this.resignForm.deptName = ''
+ this.resignForm.allDeptName = ''
this.resignForm.empNumb = ''
this.resignForm.empName = ''
this.resignForm.sex = ''
@@ -4895,6 +5029,7 @@
this.resignForm.certificateNumb = row.certificateNumb
this.resignForm.deptId = row.deptId
this.resignForm.deptName = row.deptName
+ this.resignForm.allDeptName = row.allDeptName
this.resignForm.JobId = row.JobId
this.resignForm.jobName = row.jobName
this.resignForm.applayDate = row.applayDate
@@ -4960,12 +5095,16 @@
}
}
})
+ setTimeout(() => {
+ this.$refs[formName].clearValidate()
+ }, 1500)
},
cleanUnemployment() {
this.unemploymentForm.empId = ''
this.unemploymentForm.archivesNumb = ''
this.unemploymentForm.deptId = ''
this.unemploymentForm.deptName = ''
+ this.unemploymentForm.allDeptName = ''
this.unemploymentForm.empNumb = ''
this.unemploymentForm.empName = ''
this.unemploymentForm.sex = ''
@@ -4996,6 +5135,7 @@
this.unemploymentForm.certificateNumb = row.certificateNumb
this.unemploymentForm.deptId = row.deptId
this.unemploymentForm.deptName = row.deptName
+ this.unemploymentForm.allDeptName = row.allDeptName
this.unemploymentForm.JobId = row.JobId
this.unemploymentForm.jobName = row.jobName
this.unemploymentForm.applayDate = row.applayDate
@@ -5062,12 +5202,16 @@
}
}
})
+ setTimeout(() => {
+ this.$refs[formName].clearValidate()
+ }, 1500)
},
cleanInsurance() {
this.insuranceForm.empId = ''
this.insuranceForm.archivesNumb = ''
this.insuranceForm.deptId = ''
this.insuranceForm.deptName = ''
+ this.insuranceForm.allDeptName = ''
this.insuranceForm.empNumb = ''
this.insuranceForm.empName = ''
this.insuranceForm.sex = ''
@@ -5100,6 +5244,7 @@
this.insuranceForm.certificateNumb = row.certificateNumb
this.insuranceForm.deptId = row.deptId
this.insuranceForm.deptName = row.deptName
+ this.insuranceForm.allDeptName = row.allDeptName
this.insuranceForm.JobId = row.JobId
this.insuranceForm.jobName = row.jobName
this.insuranceForm.applayDate = row.applayDate
@@ -5167,12 +5312,16 @@
}
}
})
+ setTimeout(() => {
+ this.$refs[formName].clearValidate()
+ }, 1500)
},
cleanAccidentCases() {
this.accidentCasesForm.empId = ''
this.accidentCasesForm.archivesNumb = ''
this.accidentCasesForm.deptId = ''
this.accidentCasesForm.deptName = ''
+ this.accidentCasesForm.allDeptName = ''
this.accidentCasesForm.empNumb = ''
this.accidentCasesForm.empName = ''
this.accidentCasesForm.sex = ''
@@ -5203,7 +5352,7 @@
this.accidentCasesForm.creator = ''
this.accidentCasesForm.modifyTime = ''
this.accidentCasesForm.modifier = ''
- this.accidentCasesForm.delFlag = ''
+ this.accidentCasesForm.delFlag = '2'
this.accidentCasesForm.version = ''
},
editAccidentCases(row) {
@@ -5217,6 +5366,7 @@
this.accidentCasesForm.certificateNumb = row.certificateNumb
this.accidentCasesForm.deptId = row.deptId
this.accidentCasesForm.deptName = row.deptName
+ this.accidentCasesForm.allDeptName = row.allDeptName
this.accidentCasesForm.JobId = row.JobId
this.accidentCasesForm.jobName = row.jobName
this.accidentCasesForm.injuredTime = row.injuredTime
@@ -5297,12 +5447,16 @@
}
}
})
+ setTimeout(() => {
+ this.$refs[formName].clearValidate()
+ }, 1500)
},
cleanOccupational() {
this.occupationalForm.empId = ''
this.occupationalForm.archivesNumb = ''
this.occupationalForm.deptId = ''
this.occupationalForm.deptName = ''
+ this.occupationalForm.allDeptName = ''
this.occupationalForm.empNumb = ''
this.occupationalForm.empName = ''
this.occupationalForm.sex = ''
@@ -5341,7 +5495,7 @@
this.occupationalForm.creator = ''
this.occupationalForm.modifyTime = ''
this.occupationalForm.modifier = ''
- this.occupationalForm.delFlag = ''
+ this.occupationalForm.delFlag = '2'
this.occupationalForm.version = ''
this.occupationalForm.remark = ''
},
@@ -5356,6 +5510,7 @@
this.occupationalForm.certificateNumb = row.certificateNumb
this.occupationalForm.deptId = row.deptId
this.occupationalForm.deptName = row.deptName
+ this.occupationalForm.allDeptName = row.allDeptName
this.occupationalForm.JobId = row.JobId
this.occupationalForm.jobName = row.jobName
this.occupationalForm.injuredTime = row.injuredTime
@@ -5447,12 +5602,16 @@
}
}
})
+ setTimeout(() => {
+ this.$refs[formName].clearValidate()
+ }, 1500)
},
cleanLaborTrouble() {
this.laborTroubleForm.empId = ''
this.laborTroubleForm.archivesNumb = ''
this.laborTroubleForm.deptId = ''
this.laborTroubleForm.deptName = ''
+ this.laborTroubleForm.allDeptName = ''
this.laborTroubleForm.empNumb = ''
this.laborTroubleForm.empName = ''
this.laborTroubleForm.sex = ''
@@ -5471,7 +5630,7 @@
this.laborTroubleForm.creator = ''
this.laborTroubleForm.modifyTime = ''
this.laborTroubleForm.modifier = ''
- this.laborTroubleForm.delFlag = ''
+ this.laborTroubleForm.delFlag = '2'
this.laborTroubleForm.version = ''
this.laborTroubleForm.remark = ''
},
@@ -5485,6 +5644,7 @@
this.laborTroubleForm.certificateNumb = row.certificateNumb
this.laborTroubleForm.deptId = row.deptId
this.laborTroubleForm.deptName = row.deptName
+ this.laborTroubleForm.allDeptName = row.allDeptName
this.laborTroubleForm.JobId = row.JobId
this.laborTroubleForm.jobName = row.jobName
this.laborTroubleForm.arbitrationDate = row.arbitrationDate
@@ -5515,6 +5675,7 @@
this.badRecordForm.archivesNumb = ''
this.badRecordForm.deptId = ''
this.badRecordForm.deptName = ''
+ this.badRecordForm.allDeptName = ''
this.badRecordForm.empNumb = ''
this.badRecordForm.empName = ''
this.badRecordForm.sex = ''
@@ -5529,7 +5690,7 @@
this.badRecordForm.creator = ''
this.badRecordForm.modifyTime = ''
this.badRecordForm.modifier = ''
- this.badRecordForm.delFlag = ''
+ this.badRecordForm.delFlag = '2'
this.badRecordForm.version = ''
this.badRecordForm.remark = ''
},
@@ -5577,6 +5738,9 @@
}
}
})
+ setTimeout(() => {
+ this.$refs[formName].clearValidate()
+ }, 1500)
},
editBadRecord(row) {
this.isAdd = false
@@ -5588,6 +5752,7 @@
this.badRecordForm.certificateNumb = row.certificateNumb
this.badRecordForm.deptId = row.deptId
this.badRecordForm.deptName = row.deptName
+ this.badRecordForm.allDeptName = row.allDeptName
this.badRecordForm.JobId = row.JobId
this.badRecordForm.jobName = row.jobName
this.badRecordForm.badDate = row.badDate
@@ -5652,12 +5817,16 @@
}
}
})
+ setTimeout(() => {
+ this.$refs[formName].clearValidate()
+ }, 1500)
},
cleanRemarkInfo() {
this.remarkInfoForm.empId = ''
this.remarkInfoForm.archivesNumb = ''
this.remarkInfoForm.deptId = ''
this.remarkInfoForm.deptName = ''
+ this.remarkInfoForm.allDeptName = ''
this.remarkInfoForm.empNumb = ''
this.remarkInfoForm.empName = ''
this.remarkInfoForm.sex = ''
@@ -5671,7 +5840,7 @@
this.remarkInfoForm.creator = ''
this.remarkInfoForm.modifyTime = ''
this.remarkInfoForm.modifier = ''
- this.remarkInfoForm.delFlag = ''
+ this.remarkInfoForm.delFlag = '2'
this.remarkInfoForm.version = ''
},
editRemarkInfo(row) {
@@ -5685,6 +5854,7 @@
this.remarkInfoForm.JobId = row.JobId
this.remarkInfoForm.deptId = row.deptId
this.remarkInfoForm.deptName = row.deptName
+ this.remarkInfoForm.allDeptName = row.allDeptName
this.remarkInfoForm.jobName = row.jobName
this.remarkInfoForm.remarkContent = row.remarkContent
this.remarkInfoForm.remarkDate = row.remarkDate
@@ -5753,6 +5923,7 @@
this[this.inputForName].certificateNumb = data.certificateNumb
this[this.inputForName].deptId = data.deptId
this[this.inputForName].deptName = data.deptName
+ this[this.inputForName].allDeptName = data.allDeptName
this[this.inputForName].JobId = data.jobId
this[this.inputForName].jobName = data.jobName
this[this.inputForName].sex = data.sex === '1' ? '男' : '女'
@@ -5781,6 +5952,10 @@
}, jobNameSelect(item) {
this.empBaseInfoForm.jobName = item.value
this.empBaseInfoForm.JobId = item.code
+ }, DeptNameSelect(val) {
+ this.empBaseInfoForm.deptId = val.deptId
+ this.empBaseInfoForm.deptName = val.label
+ this.empBaseInfoForm.allDeptName = val.allDeptName
},
generateUserInfo(index, val) {
var userinfo = toCardGetUserInfo(val)
@@ -5811,6 +5986,11 @@
case '5':
return '(非深户)四险一档'
}
+ },
+ changeSort(val) {
+ this.sort.field = val.prop
+ this.sort.order = val.order
+ this.search()
}
}
}
--
Gitblit v1.8.0