| | |
| | | row-key="prop1" |
| | | width="50%" |
| | | > |
| | | <el-table-column type="selection" :reserve-selection="false" width="55" /> |
| | | <el-table-column prop="deptName" label="护卫点" width="100" /> |
| | | <el-table-column prop="jobName" label="岗位" width="100" /> |
| | | <el-table-column prop="empNumb" label="员工编号" width="100" /> |
| | | <el-table-column prop="empName" label="姓名" width="100" /> |
| | | <el-table-column prop="deptName" label="护卫点" width="100" /> |
| | | <el-table-column prop="certificateNumb" label="身份证号码" width="180" /> |
| | | <el-table-column prop="contractStatus" label="合同状态" width="180"> |
| | | <template slot-scope="{row}"> |
| | | {{ transContractStatus(row.contractStatus,row.endDate) }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="signingDate" label="合同签订日期" width="100" /> |
| | | <el-table-column prop="beginDate" label="开始日期" width="100" /> |
| | | <el-table-column prop="endDate" label="结束日期" width="100" /> |
| | | <el-table-column prop="contractStatus" label="合同状态" width="100" /> |
| | | <el-table-column prop="contractPeriod" label="合同期限(年)" width="100" /> |
| | | <el-table-column prop="transactor" label="合同办理人" width="50" /> |
| | | <el-table-column prop="signingDate" label="合同签订日期" width="100" /> |
| | | <el-table-column prop="certificateNumb" label="身份证号码" width="180" /> |
| | | <el-table-column prop="transactor" label="办理人" width="50" /> |
| | | </el-table> |
| | | <pagination |
| | | v-show="total>0" |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | transContractStatus(contractStatus, time) { |
| | | var strtime = time.replace('/-/g', '/')// 时间转换 |
| | | // 时间 |
| | | var date1 = new Date(strtime) |
| | | // 现在时间 |
| | | var date2 = new Date() |
| | | if (date1 <= date2) { |
| | | return '到期' |
| | | } else { |
| | | switch (contractStatus) { |
| | | case '1': |
| | | return '有效' |
| | | case '2': |
| | | return '到期' |
| | | case '3': |
| | | return '续签' |
| | | case '4': |
| | | return '存档' |
| | | } |
| | | } |
| | | }, |
| | | beforeClose(done) { |
| | | this.$emit('cancleChooseUser') |
| | | }, |
| | |
| | | <el-table-column prop="injuredDiacrisis" label="工伤诊断" width="180" /> |
| | | <el-table-column prop="hospitalName" label="就诊医院" width="180" /> |
| | | <el-table-column prop="treatmentName" label="就诊科室" width="180" /> |
| | | <el-table-column prop="hospitalizatioFlag" label="是否住院" width="180" /> |
| | | <el-table-column prop="hospitalizatioFlag" label="是否住院"> |
| | | <template scope="scope"> |
| | | {{ scope.row.hospitalizatioFlag === 1 ? '是': '' }} |
| | | {{ scope.row.hospitalizatioFlag === 2 ? '否': '' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="bedNumb" label="床号" width="180" /> |
| | | <el-table-column prop="reportTime" label="报案时间" width="180" /> |
| | | <el-table-column prop="submitTime" label="递交资料时间" width="180" /> |
| | |
| | | <span style=" font-size: 16px; color: #333333;"> 时间段:</span> |
| | | <el-date-picker |
| | | v-model="value2" |
| | | type="datetimerange" |
| | | type="daterange" |
| | | :picker-options="pickerOptions" |
| | | range-separator="至" |
| | | start-placeholder="开始日期" |
| | |
| | | </el-card> |
| | | </el-col> |
| | | <el-col :span="4"> |
| | | <el-card shadow="always" class="card-info" @click.native="showsyj('失业金案件','3')"> |
| | | <el-card shadow="always" class="card-info" @click.native="showsyj('失业金领取','3')"> |
| | | <p class="card-number">{{ total.syj }}</p> |
| | | <p>失业金案件</p> |
| | | <p>失业金领取</p> |
| | | </el-card> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="4"> |
| | | <el-card shadow="always" class="card-info" @click.native="showXzyg('身份证到期','11')"> |
| | | <el-card shadow="always" class="card-info" @click.native="showSfz('身份证到期','11')"> |
| | | <p class="card-number">{{ total.sfz }}</p> |
| | | <p>身份证到期</p> |
| | | </el-card> |
| | |
| | | <lz-user ref="lzUser" :dialog-visible="dialog.dialogShowlz" :title="title" @cancleChooseUser="canclelzUser" /> |
| | | <qj-user ref="qjUser" :dialog-visible="dialog.dialogShowqj" :title="title" @cancleChooseUser="cancleqjUser" /> |
| | | <yg-user ref="ygUser" :dialog-visible="dialog.dialogShowyg" :title="title" @cancleChooseUser="cancleygUser" /> |
| | | <sfz-user ref="sfzUser" :dialog-visible="dialog.dialogShowSfz" :title="title" @cancleChooseUser="cancleSfzUser" /> |
| | | </div> |
| | | </template> |
| | | <script> |
| | |
| | | import LzUser from './lzUser' |
| | | import QjUser from './qjUser' |
| | | import YgUser from './ygUser' |
| | | import SfzUser from './sfzUser' |
| | | export default { |
| | | components: { YgUser, QjUser, LzUser, GsUser, YwUser, SbUser, YjUser, TjUser, TgUser, BlUser, CqUser, HtUser, OnTheJobUser }, |
| | | components: { SfzUser, YgUser, QjUser, LzUser, GsUser, YwUser, SbUser, YjUser, TjUser, TgUser, BlUser, CqUser, HtUser, OnTheJobUser }, |
| | | data() { |
| | | return { |
| | | dialog: { |
| | |
| | | dialogShowlz: false, |
| | | dialogShowqj: false, |
| | | dialogShowCq: false, |
| | | dialogShowSfz: false, |
| | | title: '', |
| | | type: '' |
| | | }, |
| | |
| | | this.selectTab(0) |
| | | }, |
| | | methods: { |
| | | showSfz(title, number) { |
| | | this.dialog.dialogShowSfz = true |
| | | this.title = title |
| | | const values = this.value2 |
| | | const btime = values[0] |
| | | const etime = values[1] |
| | | const index = this.selectIndex |
| | | this.$refs.sfzUser.setjobUser(btime, etime, index, number) |
| | | }, |
| | | showbl(title, number) { |
| | | this.dialog.dialogShowbl = true |
| | | this.title = title |
| | |
| | | cancleygUser() { |
| | | this.dialog.dialogShowyg = false |
| | | }, |
| | | cancleSfzUser() { |
| | | this.dialog.dialogShowSfz = false |
| | | }, |
| | | submitForm() { |
| | | const values = this.value2 |
| | | const btime = values[0] |
| | |
| | | <el-table-column prop="empName" label="姓名" width="180" /> |
| | | <el-table-column prop="certificateNumb" label="身份证号码" width="180" /> |
| | | <el-table-column prop="arbitrationDate" label="仲裁日期" width="180" /> |
| | | <el-table-column prop="arbitrationType" label="仲裁类型" width="180" /> |
| | | <el-table-column prop="arbitrationType" label="仲裁类型"> |
| | | <template scope="scope"> |
| | | {{ scope.row.arbitrationType === '01' ? '劳资纠纷': '' }} |
| | | {{ scope.row.arbitrationType === '02' ? '民事纠纷': '' }} |
| | | {{ scope.row.arbitrationType === '03' ? '合同纠纷': '' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="arbitrationReason" label="仲裁事由" width="180" /> |
| | | <el-table-column prop="reporter" label="报备人" width="180" /> |
| | | <el-table-column prop="remark" label="备注" width="180" /> |
| | | <el-table-column prop="arbitrationPay" label="仲裁赔付(元)" width="180" /> |
| | | <el-table-column prop="arbitrationStatus" label="状态" width="180" /> |
| | | <el-table-column prop="arbitrationStatus" label="状态"> |
| | | <template scope="scope"> |
| | | {{ scope.row.arbitrationStatus === 0 ? '未结案': '' }} |
| | | {{ scope.row.arbitrationStatus === 1 ? '已结案': '' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="settleDate" label="案结日期" width="180" /> |
| | | </el-table> |
| | | <pagination |
| | |
| | | <el-table-column prop="beginTime" label="开始时间" width="180" /> |
| | | <el-table-column prop="endTime" label="结束时间" width="180" /> |
| | | <el-table-column prop="leaveDay" label="请假天数" width="180" /> |
| | | <el-table-column prop="leaveType" label="请假类型" width="180" /> |
| | | <el-table-column prop="leaveType" label="请假类型"> |
| | | <template scope="scope"> |
| | | {{ scope.row.leaveType === '1' ? '事假': '' }} |
| | | {{ scope.row.leaveType === '2' ? '病假': '' }} |
| | | {{ scope.row.leaveType === '3' ? '调休假': '' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="returnDate" label="到岗时间" width="180" /> |
| | | <el-table-column prop="reporter" label="报备人" width="180" /> |
| | | <el-table-column prop="remark" label="备注" width="180" /> |
| | |
| | | <el-table-column prop="certificateNumb" label="身份证号码" width="180" /> |
| | | <el-table-column prop="applayDate" label="社保申请日期" width="180" /> |
| | | <el-table-column prop="proposer" label="申请人" width="180" /> |
| | | <el-table-column prop="insuranceGaers" label="社保档位" width="180" /> |
| | | <el-table-column prop="reportStatus " label="是否已报告" width="180" /> |
| | | <el-table-column prop="applayStatus" label="状态" width="180" /> |
| | | <el-table-column prop="insuranceGaers" label="社保档位"> |
| | | <template 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 prop="reportStatus" label="是否已报告"> |
| | | <template scope="scope"> |
| | | {{ scope.row.reportStatus === 1 ? '未报告': '' }} |
| | | {{ scope.row.reportStatus === 2 ? '已报告': '' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="applayStatus" label="状态"> |
| | | <template scope="scope"> |
| | | {{ scope.row.applayStatus === 1 ? '未申请': '' }} |
| | | {{ scope.row.applayStatus === 2 ? '已申请': '' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="auditor" label="审核人" width="180" /> |
| | | <el-table-column prop="remark" label="备注" width="280" /> |
| | | </el-table> |
| New file |
| | |
| | | <template> |
| | | <el-dialog |
| | | :title="title" |
| | | top="50px" |
| | | :close-on-click-modal="false" |
| | | :close-on-press-escape="false" |
| | | :visible.sync="isVisible" |
| | | :before-close="beforeClose" |
| | | > |
| | | <div class="app-container"> |
| | | <div class="filter-container" style="margin-left: -340px;"> |
| | | <el-input v-model="queryParams.name" placeholder="姓名/身份证号/护卫点/员工编号" class="filter-item search-item" /> |
| | | <el-button class="filter-item" type="primary" @click="search"> |
| | | {{ $t('table.search') }} |
| | | </el-button> |
| | | <el-button class="filter-item" type="success" @click="reset"> |
| | | {{ $t('table.reset') }} |
| | | </el-button> |
| | | </div> |
| | | <el-table |
| | | ref="multipleTable" |
| | | :data="list" |
| | | row-key="prop1" |
| | | width="50%" |
| | | > |
| | | <el-table-column type="selection" :reserve-selection="false" width="55" /> |
| | | <el-table-column prop="empNumb" label="员工编号" width="100" /> |
| | | <el-table-column prop="deptName" label="护卫点" width="100" /> |
| | | <el-table-column prop="jobName" label="岗位" width="100" /> |
| | | <el-table-column prop="empName" label="姓名" width="100" /> |
| | | <el-table-column prop="certificateNumb" label="身份证号码" width="180" /> |
| | | <el-table-column prop="certificateValidity" label="身份证有效期" width="180" /> |
| | | <el-table-column prop="empStatus" label="员工状态" width="100"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ gzdStateList[scope.row.empStatus] }} </span> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <pagination |
| | | v-show="total>0" |
| | | :total="total" |
| | | :page.sync="pagination.num" |
| | | :limit.sync="pagination.size" |
| | | @pagination="search" |
| | | /> |
| | | <el-button type="danger" @click="cancleChoose">关闭</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | </template> |
| | | <script> |
| | | // 引用翻页组件 |
| | | import Pagination from '@/components/Pagination' |
| | | export default { |
| | | components: { |
| | | Pagination |
| | | }, |
| | | props: { |
| | | dialogVisible: { |
| | | type: Boolean, |
| | | default: false |
| | | }, |
| | | title: { |
| | | type: String, |
| | | default: '' |
| | | }, |
| | | multipleselect: { |
| | | type: Boolean, |
| | | default: false |
| | | } |
| | | }, |
| | | data() { |
| | | return { |
| | | gzdStateList: { |
| | | 0: '在职', |
| | | 1: '离职', |
| | | 2: '退休' |
| | | }, |
| | | show: false, |
| | | headerHeight: '70px', |
| | | deptTree: [], |
| | | selection: [], |
| | | multipleSelection: [], |
| | | total: 0, // 总数量 |
| | | queryParams: { |
| | | name: null, |
| | | btime: null, |
| | | etime: null, |
| | | index: null, |
| | | number: null |
| | | }, // 查询参数 |
| | | sort: {}, // 排序 |
| | | pagination: { // 分页参数 |
| | | size: 5, |
| | | num: 1 |
| | | }, |
| | | list: [], // 给table显示的数据 |
| | | defaultProps: { |
| | | children: 'children', |
| | | label: 'label' |
| | | } |
| | | } |
| | | }, |
| | | computed: { |
| | | isVisible: { |
| | | get() { |
| | | return this.dialogVisible |
| | | } |
| | | } |
| | | }, |
| | | methods: { |
| | | beforeClose(done) { |
| | | this.$emit('cancleChooseUser') |
| | | }, |
| | | search() { |
| | | this.fetch({ |
| | | ...this.queryParams |
| | | }) |
| | | }, |
| | | reset() { |
| | | this.queryParams.name = null |
| | | this.search() |
| | | }, |
| | | // 翻页方法 |
| | | setjobUser(btime, etime, index, number) { |
| | | this.queryParams.btime = btime |
| | | this.queryParams.etime = etime |
| | | this.queryParams.index = index |
| | | this.queryParams.number = number |
| | | this.queryParams.name = null |
| | | this.search() |
| | | }, |
| | | fetch(params = {}) { |
| | | var that = this |
| | | params.pageSize = this.pagination.size |
| | | params.pageNum = this.pagination.num |
| | | this.$get('hr/statistics/empBaseInfoList', { |
| | | ...params |
| | | }).then((r) => { |
| | | const data = r.data.data |
| | | that.total = data.total |
| | | that.list = data.rows |
| | | }) |
| | | }, |
| | | cancleChoose() { |
| | | this.$emit('cancleChooseUser') |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | <style lang="scss" scoped> |
| | | .link_button { |
| | | color: #169BD5; |
| | | } |
| | | |
| | | .del_button { |
| | | color: #D9001B; |
| | | } |
| | | </style> |
| | |
| | | <el-table-column prop="newDeptName" label="新护卫点" width="180" /> |
| | | <el-table-column prop="newJobName" label="新岗位名称" width="180" /> |
| | | <el-table-column prop="certificateNumb" label="证件号码" width="180" /> |
| | | <el-table-column prop="changeType" label="调岗类型" width="180" /> |
| | | <el-table-column prop="changeType" label="调岗类型"> |
| | | <template scope="scope"> |
| | | {{ scope.row.changeType === '2' ? '升职': '' }} |
| | | {{ scope.row.changeType === '3' ? '调动': '' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="changeDate" label="调岗位日期" width="180" /> |
| | | <el-table-column prop="changeReason" label="调岗原因" width="180" /> |
| | | </el-table> |
| | |
| | | <el-table-column prop="jobName" label="岗位" width="180" /> |
| | | <el-table-column prop="hospital" label="体检医院" width="180" /> |
| | | <el-table-column prop="physicalExamDate" label="体检日期" width="180" /> |
| | | <el-table-column prop="physicalExamType" label="体检类型" width="180" /> |
| | | <el-table-column prop="physicalExamTypeName" label="体检类型" width="180" /> |
| | | <el-table-column prop="bloodPressure" label="血压" width="180" /> |
| | | <el-table-column prop="transaminase" label="转氨酶" width="180" /> |
| | | <el-table-column prop="ecg" label="心电图" width="180" /> |
| | |
| | | <el-table-column prop="injuredDiacrisis" label="意外险诊断" width="180" /> |
| | | <el-table-column prop="hospitalName" label="就诊医院" width="180" /> |
| | | <el-table-column prop="treatmentName" label="就诊科室" width="180" /> |
| | | <el-table-column prop="hospitalizatioFlag" label="是否住院" width="180" /> |
| | | <el-table-column prop="hospitalizatioFlag" label="是否住院"> |
| | | <template scope="scope"> |
| | | {{ scope.row.hospitalizatioFlag === 1 ? '是': '' }} |
| | | {{ scope.row.hospitalizatioFlag === 2 ? '否': '' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="bedNumb" label="床号" width="180" /> |
| | | <el-table-column prop="reprotTime" label="报案时间" width="180" /> |
| | | <el-table-column prop="submitTime" label="递交资料时间" width="180" /> |
| | |
| | | width="80%" |
| | | height="80%" |
| | | top="80px" |
| | | fullscreen="true" |
| | | :close-on-click-modal="false" |
| | | :close-on-press-escape="false" |
| | | :visible.sync="isVisible" |
| | |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column label="操作" width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | @click="editArchives(scope.row)" |
| | | > |
| | | 档案</el-button> |
| | | <el-button type="text" size="small" @click="editEmpBase(scope.row)">编辑 |
| | | </el-button> |
| | | </template> |
| | |
| | | <el-dialog title="选择员工" :visible.sync="dialogShowXzbm"> |
| | | <Selectdept @selectedDept="selectedDept" @cancleChooseDept="cancleChooseDept" /> |
| | | </el-dialog> |
| | | <archives-change |
| | | ref="article" |
| | | :dialog-visible="dialog.isVisible" |
| | | :title="dialog.title" |
| | | :type="dialog.type" |
| | | @close="editClose" |
| | | /> |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import Pagination from '@/components/Pagination' |
| | | import ArchivesChange from './archivesChange' |
| | | export default { |
| | | components: { |
| | | ArchivesChange, |
| | | Pagination |
| | | }, |
| | | data() { |
| | | return { |
| | | dialog: { |
| | | isVisible: false, |
| | | title: '', |
| | | type: '' |
| | | }, |
| | | total: 0, // 总数量 |
| | | queryParams: { |
| | | empNumb: '', |
| | |
| | | this.fetch() |
| | | }, |
| | | methods: { |
| | | editClose() { |
| | | this.dialog.isVisible = false |
| | | }, |
| | | resetSearch() { |
| | | this.queryParams = { |
| | | empNumb: '', |
| | |
| | | this.advancedQueryShow = true |
| | | } |
| | | }, |
| | | editArchives(row) { |
| | | this.$refs.article.setArchives(row) |
| | | this.dialog.title = '档案管理' |
| | | this.dialog.isVisible = true |
| | | }, |
| | | delEmp() { |
| | | var selection = this.$refs.multipleTable.store.states.selection |
| | | if (selection.length === 0) { |