| | |
| | | <el-table-column show-overflow-tooltip="true" fixed="right" label="操作" width="120"> |
| | | <template slot-scope="scope"> |
| | | <span class="table-button" @click="editLeaveInfo(scope.row,5)">编辑</span> |
| | | <span class="table-button" @click="singleDelete(scope.row, 'onleaveInfoDataselection')">删除</span> |
| | | <span class="table-button" @click="singleDelete(scope.row, 'leaveInfoDataselection')">删除</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="leaveId" label="" /> |
| | |
| | | <el-table-column show-overflow-tooltip="true" fixed="right" label="操作" width="120"> |
| | | <template slot-scope="scope"> |
| | | <span class="table-button" @click="editResign(scope.row,5)">编辑</span> |
| | | <span class="table-button" @click="singleDelete(scope.row, 'onresignDataselection')">删除</span> |
| | | <span class="table-button" @click="singleDelete(scope.row, 'resignDataselection')">删除</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="resignId" label="" /> |
| | |
| | | <el-table-column show-overflow-tooltip="true" fixed="right" label="操作" width="120"> |
| | | <template slot-scope="scope"> |
| | | <span class="table-button" @click="editBadRecord(scope.row,12)">编辑</span> |
| | | <span class="table-button" @click="singleDelete(scope.row, 'onbadRecordDataselection')">删除</span> |
| | | <span class="table-button" @click="singleDelete(scope.row, 'badRecordDataselection')">删除</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="badId" label="" /> |
| | |
| | | <!-- >删除--> |
| | | <!-- </el-button>--> |
| | | <span class="table-button" @click="editRemarkInfo(scope.row,13)">编辑</span> |
| | | <span class="table-button" @click="singleDelete(scope.row, 'onremarkInfoDataselection')">删除</span> |
| | | <span class="table-button" @click="singleDelete(scope.row, 'remarkInfoDataselection')">删除</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="remarkId" label="" /> |
| | |
| | | certificateList = val.certificateList.split(',') |
| | | val.certificateList = certificateList |
| | | } |
| | | const remarks = '' |
| | | val.remark = remarks |
| | | this.empBaseInfoForm = { ...val } |
| | | this.empBaseInfoImageUrl = pages.getEmpBaseInfoImage + this.empBaseInfoForm.empId |
| | | this.fileDate.empId = this.empBaseInfoForm.empId |
| | |
| | | params.empId = this.empBaseInfoForm.empId |
| | | params.dimissionType = '' |
| | | params.delFlag = '0' |
| | | params.field = 'createTime' |
| | | params.order = 'ascending' |
| | | this.$get('hr/empDimissionlog/list', { |
| | | ...params |
| | | }).then((r) => { |
| | |
| | | // this.empBaseInfoForm.imagePath = '' |
| | | // } |
| | | this.$put('hr/empBaseInfo', { ...this.empBaseInfoForm }).then(() => { |
| | | this.readon = false |
| | | this.$emit('success') |
| | | this.$message({ |
| | | message: this.$t('tips.updateSuccess'), |
| | | type: 'success' |
| | |
| | | this.dialogshowArr[13].show = true |
| | | }, |
| | | gzadd(index) { |
| | | debugger |
| | | this.isAdd = true |
| | | this.thisShowIndex = index |
| | | this.dialogshowArr[index].show = true |
| | |
| | | message: this.$t('tips.deleteSuccess'), |
| | | type: 'success' |
| | | }) |
| | | if (selection === 'onremarkInfoDataselection') { |
| | | if (selection === 'remarkInfoDataselection') { |
| | | this.initremarkInfoData() |
| | | } else if (selection === 'onbadRecordDataselection') { |
| | | } else if (selection === 'badRecordDataselection') { |
| | | this.initbadRecordData() |
| | | } else if (selection === 'laborTroubleDataselection') { |
| | | this.initlaborTroubleData() |
| | |
| | | singleDelete(row, names) { |
| | | let ids = '' |
| | | let urls = '' |
| | | if (names === 'onremarkInfoDataselection') { |
| | | if (names === 'remarkInfoDataselection') { |
| | | ids = row.remarkId |
| | | urls = 'empRemarkInfo' |
| | | } else if (names === 'onbadRecordDataselection') { |