| | |
| | | <el-table-column show-overflow-tooltip="true" prop="jobContent" label="主要工作内容" /> |
| | | <el-table-column show-overflow-tooltip="true" fixed="right" label="操作" width="120"> |
| | | <template slot-scope="scope"> |
| | | <span class="table-button" @click="editWorkExperience(scope.row)">编辑</span> |
| | | <span class="table-button" @click="editWorkExperience(scope.row,1)">编辑</span> |
| | | <span class="table-button" @click="singleDelete(scope.row, 'workExperienceDataselection')">删除</span> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | </el-table-column> |
| | | <el-table-column show-overflow-tooltip="true" fixed="right" label="操作" width="120"> |
| | | <template slot-scope="scope"> |
| | | <span class="table-button" @click="editPhysicalExam(scope.row)">编辑</span> |
| | | <span class="table-button" @click="editPhysicalExam(scope.row,2)">编辑</span> |
| | | <span class="table-button" @click="singleDelete(scope.row, 'physicalExamDataselection')">删除</span> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | </el-table-column> |
| | | <el-table-column show-overflow-tooltip="true" fixed="right" label="操作" width="120"> |
| | | <template slot-scope="scope"> |
| | | <span class="table-button" @click="editContractInfo(scope.row)">编辑</span> |
| | | <span class="table-button" @click="editContractInfo(scope.row,3)">编辑</span> |
| | | <span class="table-button" @click="singleDelete(scope.row, 'contractInfoDataselection')">删除</span> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | </el-table-column> |
| | | <el-table-column show-overflow-tooltip="true" fixed="right" label="操作" width="120"> |
| | | <template slot-scope="scope"> |
| | | <span class="table-button" @click="editLeaveInfo(scope.row)">编辑</span> |
| | | <span class="table-button" @click="editLeaveInfo(scope.row,5)">编辑</span> |
| | | <span class="table-button" @click="singleDelete(scope.row, 'onleaveInfoDataselection')">删除</span> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | </el-table-column> |
| | | <el-table-column show-overflow-tooltip="true" fixed="right" label="操作" width="120"> |
| | | <template slot-scope="scope"> |
| | | <span class="table-button" @click="editResign(scope.row)">编辑</span> |
| | | <span class="table-button" @click="editResign(scope.row,5)">编辑</span> |
| | | <span class="table-button" @click="singleDelete(scope.row, 'onresignDataselection')">删除</span> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | </el-table-column> |
| | | <el-table-column show-overflow-tooltip="true" fixed="right" label="操作" width="120"> |
| | | <template slot-scope="scope"> |
| | | <span class="table-button" @click="editDimissionAttend(scope.row)">编辑</span> |
| | | <span class="table-button" @click="editDimissionAttend(scope.row,6)">编辑</span> |
| | | <span class="table-button" @click="singleDelete(scope.row, 'dimissionAttendDataselection')">删除</span> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | </el-table-column> |
| | | <el-table-column show-overflow-tooltip="true" fixed="right" label="操作" width="120"> |
| | | <template slot-scope="scope"> |
| | | <span class="table-button" @click="editUnemployment(scope.row)">编辑</span> |
| | | <span class="table-button" @click="editUnemployment(scope.row,7)">编辑</span> |
| | | <span class="table-button" @click="singleDelete(scope.row, 'unemploymentDataselection')">删除</span> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | </el-table-column> |
| | | <el-table-column show-overflow-tooltip="true" fixed="right" label="操作" width="120"> |
| | | <template slot-scope="scope"> |
| | | <span class="table-button" @click="editInsurance(scope.row)">编辑</span> |
| | | <span class="table-button" @click="editInsurance(scope.row,8)">编辑</span> |
| | | <span class="table-button" @click="singleDelete(scope.row, 'oninsuranceDataselection')">删除</span> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | </el-table-column> |
| | | <el-table-column show-overflow-tooltip="true" fixed="right" label="操作" width="120"> |
| | | <template slot-scope="scope"> |
| | | <span class="table-button" @click="editAccidentCases(scope.row)">编辑</span> |
| | | <span class="table-button" @click="editAccidentCases(scope.row,9)">编辑</span> |
| | | <span class="table-button" @click="singleDelete(scope.row, 'accidentCasesDataselection')">删除</span> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | </el-table-column> |
| | | <el-table-column show-overflow-tooltip="true" fixed="right" label="操作" width="120"> |
| | | <template slot-scope="scope"> |
| | | <span class="table-button" @click="editOccupational(scope.row)">编辑</span> |
| | | <span class="table-button" @click="editOccupational(scope.row,10)">编辑</span> |
| | | <span class="table-button" @click="singleDelete(scope.row, 'occupationalDataselection')">删除</span> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | </el-table-column> |
| | | <el-table-column show-overflow-tooltip="true" fixed="right" label="操作" width="120"> |
| | | <template slot-scope="scope"> |
| | | <span class="table-button" @click="editLaborTrouble(scope.row)">编辑</span> |
| | | <span class="table-button" @click="editLaborTrouble(scope.row,11)">编辑</span> |
| | | <span class="table-button" @click="singleDelete(scope.row, 'laborTroubleDataselection')">删除</span> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | </el-table-column> |
| | | <el-table-column show-overflow-tooltip="true" fixed="right" label="操作" width="120"> |
| | | <template slot-scope="scope"> |
| | | <span class="table-button" @click="editBadRecord(scope.row)">编辑</span> |
| | | <span class="table-button" @click="editBadRecord(scope.row,12)">编辑</span> |
| | | <span class="table-button" @click="singleDelete(scope.row, 'onbadRecordDataselection')">删除</span> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | <!-- @click="singleDelete(scope.row, 'onremarkInfoDataselection')"--> |
| | | <!-- >删除--> |
| | | <!-- </el-button>--> |
| | | <span class="table-button" @click="editRemarkInfo(scope.row)">编辑</span> |
| | | <span class="table-button" @click="editRemarkInfo(scope.row,13)">编辑</span> |
| | | <span class="table-button" @click="singleDelete(scope.row, 'onremarkInfoDataselection')">删除</span> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putWorkExperience('workExperienceForm')">保 存</el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="体检信息" append-to-body :visible.sync="dialogshowArr[2].show" width="50%"> |
| | |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putPhysicalExam('physicalExamForm')">保 存</el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="合同信息" append-to-body :visible.sync="dialogshowArr[3].show" width="50%"> |
| | |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putContractInfo('contractInfoForm')">保 存</el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="离职当月考勤" append-to-body :visible.sync="dialogshowArr[4].show" width="50%"> |
| | |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putDimissionAttend('dimissionAttendForm')">保 存</el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="请假记录" append-to-body :visible.sync="dialogshowArr[5].show" width="50%"> |
| | |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putLeaveInfo('leaveInfoForm')">保 存</el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="辞职申请" append-to-body :visible.sync="dialogshowArr[6].show" width="50%"> |
| | |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putResign('resignForm')">保 存</el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="失业金领取" append-to-body :visible.sync="dialogshowArr[7].show" width="50%"> |
| | |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putUnemployment('unemploymentForm')">保 存</el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="社保申请" append-to-body :visible.sync="dialogshowArr[8].show" width="50%"> |
| | |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putInsurance('insuranceForm')">保 存</el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="意外险案件" append-to-body :visible.sync="dialogshowArr[9].show" width="50%"> |
| | |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putAccidentCases('accidentCasesForm')">保 存</el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="工伤案件" append-to-body :visible.sync="dialogshowArr[10].show" width="50%"> |
| | |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putOccupational('occupationalForm')">保 存</el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="劳资案件" append-to-body :visible.sync="dialogshowArr[11].show" width="50%"> |
| | |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putLaborTrouble('laborTroubleForm')">保 存</el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="不良记录" append-to-body :visible.sync="dialogshowArr[12].show" width="50%"> |
| | |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putBadRecord('badRecordForm')">保 存</el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="备注信息" append-to-body :visible.sync="dialogshowArr[13].show" width="50%"> |
| | |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putRemarkInfo('remarkInfoForm')">保 存</el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | |
| | | </div> |
| | | </el-dialog> |
| | | </el-dialog> |
| | |
| | | this.readon = true |
| | | }, |
| | | gzupdate1() { |
| | | const empBaseInfoForm = this.empBaseInfoForm |
| | | if (empBaseInfoForm.imagePath.indexOf('data:image/jpeg') === -1) { |
| | | this.empBaseInfoForm.imagePath = '' |
| | | } |
| | | this.$put('hr/empBaseInfo', { ...this.empBaseInfoForm }).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.updateSuccess'), |
| | |
| | | this.remarkInfoForm.version = '' |
| | | }, |
| | | dialogIsShow() { |
| | | debugger |
| | | this.workExperienceModal = false |
| | | this.isAdd = true |
| | | this.dialogshowArr[this.thisShowIndex].show = !this.dialogshowArr[this.thisShowIndex] |
| | |
| | | this.workExperienceForm.modifier = row.modifier |
| | | this.workExperienceForm.delFlag = row.delFlag |
| | | this.workExperienceForm.version = row.version |
| | | this.thisShowIndex = 1 |
| | | this.dialogshowArr[1].show = true |
| | | }, |
| | | editPhysicalExam(row) { |
| | |
| | | this.physicalExamForm.modifier = row.modifier |
| | | this.physicalExamForm.delFlag = row.delFlag |
| | | this.physicalExamForm.version = row.version |
| | | |
| | | this.thisShowIndex = 2 |
| | | this.dialogshowArr[2].show = true |
| | | }, |
| | | editContractInfo(row) { |
| | |
| | | this.contractInfoForm.modifier = row.modifier |
| | | this.contractInfoForm.delFlag = row.delFlag |
| | | this.contractInfoForm.version = row.version |
| | | |
| | | this.thisShowIndex = 3 |
| | | this.dialogshowArr[3].show = true |
| | | }, |
| | | editDimissionAttend(row) { |
| | |
| | | this.dimissionAttendForm.delFlag = row.delFlag |
| | | this.dimissionAttendForm.version = row.version |
| | | this.dimissionAttendForm.remark = row.remark |
| | | this.thisShowIndex = 4 |
| | | this.dialogshowArr[4].show = true |
| | | }, |
| | | editLeaveInfo(row) { |
| | |
| | | this.leaveInfoForm.delFlag = row.delFlag |
| | | this.leaveInfoForm.version = row.version |
| | | this.leaveInfoForm.remark = row.remark |
| | | |
| | | this.thisShowIndex = 5 |
| | | this.dialogshowArr[5].show = true |
| | | }, |
| | | editResign(row) { |
| | |
| | | this.resignForm.delFlag = row.delFlag |
| | | this.resignForm.version = row.version |
| | | this.resignForm.remark = row.remark |
| | | |
| | | this.thisShowIndex = 6 |
| | | this.dialogshowArr[6].show = true |
| | | }, |
| | | editUnemployment(row) { |
| | |
| | | this.unemploymentForm.modifier = row.modifier |
| | | this.unemploymentForm.delFlag = row.delFlag |
| | | this.unemploymentForm.version = row.version |
| | | |
| | | this.thisShowIndex = 7 |
| | | this.dialogshowArr[7].show = true |
| | | }, |
| | | editInsurance(row) { |
| | |
| | | this.insuranceForm.delFlag = row.delFlag |
| | | this.insuranceForm.version = row.version |
| | | this.insuranceForm.remark = row.remark |
| | | |
| | | this.thisShowIndex = 8 |
| | | this.dialogshowArr[8].show = true |
| | | }, |
| | | editAccidentCases(row) { |
| | |
| | | this.accidentCasesForm.modifier = row.modifier |
| | | this.accidentCasesForm.delFlag = row.delFlag |
| | | this.accidentCasesForm.version = row.version |
| | | |
| | | this.thisShowIndex = 9 |
| | | this.dialogshowArr[9].show = true |
| | | }, |
| | | editOccupational(row) { |
| | |
| | | this.occupationalForm.delFlag = row.delFlag |
| | | this.occupationalForm.version = row.version |
| | | this.occupationalForm.remark = row.remark |
| | | |
| | | this.thisShowIndex = 10 |
| | | this.dialogshowArr[10].show = true |
| | | }, |
| | | editLaborTrouble(row) { |
| | |
| | | this.laborTroubleForm.delFlag = row.delFlag |
| | | this.laborTroubleForm.version = row.version |
| | | this.laborTroubleForm.remark = row.remark |
| | | |
| | | this.thisShowIndex = 11 |
| | | this.dialogshowArr[11].show = true |
| | | }, |
| | | editBadRecord(row) { |
| | |
| | | this.badRecordForm.delFlag = row.delFlag |
| | | this.badRecordForm.version = row.version |
| | | this.badRecordForm.remark = row.remark |
| | | this.thisShowIndex = 12 |
| | | this.dialogshowArr[12].show = true |
| | | }, |
| | | editRemarkInfo(row) { |
| | |
| | | this.remarkInfoForm.modifier = row.modifier |
| | | this.remarkInfoForm.delFlag = row.delFlag |
| | | this.remarkInfoForm.version = row.version |
| | | |
| | | this.thisShowIndex = 13 |
| | | this.dialogshowArr[13].show = true |
| | | }, |
| | | gzadd(index) { |