| | |
| | | <el-row> |
| | | <el-col :span="8"> |
| | | <el-form-item label="籍贯" prop="nativePlaceName"> |
| | | <el-select v-model="empBaseInfoForm.nativePlace" placeholder="请选择最高学历" :disabled="readon ? false : true"> |
| | | <el-select v-model="empBaseInfoForm.nativePlace" placeholder="请选择籍贯" :disabled="readon ? false : true"> |
| | | <el-option |
| | | v-for="dict in nativePlaceOptions" |
| | | :key="dict.dicItemCode" |
| | |
| | | <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.pageNum = this.pagination.num |
| | | params.certificateNumb = this.empBaseInfoForm.certificateNumb |
| | | params.delFlag = '0' |
| | | params.field = 'changeDate' |
| | | params.order = 'ascending' |
| | | this.$get('hr/empJobChange/list', { |
| | | ...params |
| | | }).then((r) => { |
| | |
| | | params.empId = this.empBaseInfoForm.empId |
| | | params.dimissionType = '' |
| | | params.delFlag = '0' |
| | | params.field = 'entryDate' |
| | | params.order = 'ascending' |
| | | this.$get('hr/empDimissionlog/list', { |
| | | ...params |
| | | }).then((r) => { |
| | |
| | | this.readon = true |
| | | }, |
| | | gzupdate1() { |
| | | const empBaseInfoForm = this.empBaseInfoForm |
| | | if (empBaseInfoForm.imagePath.indexOf('data:image/jpeg') === -1) { |
| | | this.empBaseInfoForm.imagePath = '' |
| | | } |
| | | // const empBaseInfoForm = this.empBaseInfoForm |
| | | // if (empBaseInfoForm.imagePath.indexOf('data:image/jpeg') === -1) { |
| | | // 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.remarkInfoForm.version = '' |
| | | }, |
| | | dialogIsShow() { |
| | | debugger |
| | | this.workExperienceModal = false |
| | | this.isAdd = true |
| | | this.dialogshowArr[this.thisShowIndex].show = !this.dialogshowArr[this.thisShowIndex] |
| | |
| | | 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') { |
| | |
| | | border-color: rgb(64, 158, 255) !important; |
| | | } |
| | | </style> |
| | | |