| | |
| | | <el-aside width="200px"> |
| | | <el-timeline> |
| | | <el-timeline-item @click.native="isShow(showArr[0].show, 0)"> |
| | | <span :class="thisShowIndex==0?'selectedTimeline':''">基本信息</span> |
| | | <span :class="thisShowIndex===0?'selectedTimeline':''">基本信息</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[1].show, 1)"> |
| | | <span :class="thisShowIndex==1?'selectedTimeline':''">工作经历</span> |
| | | <span :class="thisShowIndex===1?'selectedTimeline':''">工作经历</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[2].show, 2)"> |
| | | <span :class="thisShowIndex==2?'selectedTimeline':''">体检信息</span> |
| | | <span :class="thisShowIndex===2?'selectedTimeline':''">体检信息</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[3].show, 3)"> |
| | | <span :class="thisShowIndex==3?'selectedTimeline':''">合同信息</span> |
| | | <span :class="thisShowIndex===3?'selectedTimeline':''">合同信息</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[4].show, 4)"> |
| | | <span :class="thisShowIndex==4?'selectedTimeline':''">考勤情况</span> |
| | | <span :class="thisShowIndex===4?'selectedTimeline':''">考勤情况</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[5].show, 5)"> |
| | | <span :class="thisShowIndex==5?'selectedTimeline':''">请假记录</span> |
| | | <span :class="thisShowIndex===5?'selectedTimeline':''">请假记录</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[6].show, 6)"> |
| | | <span :class="thisShowIndex==6?'selectedTimeline':''">辞职申请</span> |
| | | <span :class="thisShowIndex===6?'selectedTimeline':''">辞职申请</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[7].show, 7)"> |
| | | <span :class="thisShowIndex==7?'selectedTimeline':''">失业金领取</span> |
| | | <span :class="thisShowIndex===7?'selectedTimeline':''">失业金领取</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[8].show, 8)"> |
| | | <span :class="thisShowIndex==8?'selectedTimeline':''">社保申请</span> |
| | | <span :class="thisShowIndex===8?'selectedTimeline':''">社保申请</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[9].show, 9)"> |
| | | <span :class="thisShowIndex==9?'selectedTimeline':''">意外险案件</span> |
| | | <span :class="thisShowIndex===9?'selectedTimeline':''">意外险案件</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[10].show, 10)"> |
| | | <span :class="thisShowIndex==10?'selectedTimeline':''">工伤案件</span> |
| | | <span :class="thisShowIndex===10?'selectedTimeline':''">工伤案件</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[11].show, 11)"> |
| | | <span :class="thisShowIndex==11?'selectedTimeline':''">劳资案件</span> |
| | | <span :class="thisShowIndex===11?'selectedTimeline':''">劳资案件</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[12].show, 12)"> |
| | | <span :class="thisShowIndex==12?'selectedTimeline':''">不良记录</span> |
| | | <span :class="thisShowIndex===12?'selectedTimeline':''">不良记录</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[13].show, 13)"> |
| | | <span :class="thisShowIndex==13?'selectedTimeline':''">备注信息</span> |
| | | <span :class="thisShowIndex===13?'selectedTimeline':''">备注信息</span> |
| | | </el-timeline-item> |
| | | </el-timeline> |
| | | </el-aside> |
| | |
| | | <el-table-column prop="remarkDate" label="备注日期" width="180" /> |
| | | <el-table-column prop="remarkContent" label="备注信息" width="400" /> |
| | | </el-table> |
| | | <pagination v-show="total>0" :total="total" :page.sync="pagination.num" :limit.sync="pagination.size" @pagination="search" /> |
| | | <pagination |
| | | v-show="total>0" |
| | | :total="total" |
| | | :page.sync="pagination.num" |
| | | :limit.sync="pagination.size" |
| | | @pagination="search" |
| | | /> |
| | | <el-col :span="24"> |
| | | <div style="margin: 0px auto; width: 250px;margin-top: 20px;"> |
| | | <el-button class="nomalBtn" @click="deleteFrom()">取消</el-button> |
| | |
| | | deleteFrom() { |
| | | this.butDelete() |
| | | }, |
| | | submitTo() { |
| | | let selected |
| | | switch (this.thisShowIndex) { |
| | | case 0: |
| | | selected = this.$refs.empBaseInfoTable.selection |
| | | if (selected.length > 0) { |
| | | const delIds = [] |
| | | selected.forEach((j) => { |
| | | delIds.push(j.empId) |
| | | }) |
| | | this.$delete(`hr/empBaseInfo/toNormal/` + delIds).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.submitSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.selectEmpBase() |
| | | }) |
| | | } |
| | | break |
| | | } |
| | | }, |
| | | selectEmpBase() { |
| | | this.queryParams.delFlag = '2' |
| | | // eslint-disable-next-line no-undef |