| | |
| | | sortable="custom" |
| | | :sort-orders="['ascending', 'descending']" |
| | | /> |
| | | <el-table-column show-overflow-tooltip prop="injuredAddress" label="受伤地点" width="80" /> |
| | | <el-table-column show-overflow-tooltip prop="injuredAddress" label="受伤地点" /> |
| | | <el-table-column show-overflow-tooltip prop="injuredPart" label="受伤部位" width="80" /> |
| | | <el-table-column show-overflow-tooltip prop="injuredDescribe" label="受伤经过描述" width="120" /> |
| | | <el-table-column show-overflow-tooltip prop="injuredDiacrisis" label="意外险诊断" width="120" /> |
| | | <el-table-column show-overflow-tooltip prop="injuredDescribe" label="受伤经过描述" /> |
| | | <el-table-column show-overflow-tooltip prop="injuredDiacrisis" label="意外险诊断" /> |
| | | <!-- <el-table-column show-overflow-tooltip prop="hospitalName" label="就诊医院" width="80" />--> |
| | | <!-- <el-table-column show-overflow-tooltip prop="treatmentName" label="就诊科室" width="80" />--> |
| | | <el-table-column |
| | |
| | | /> |
| | | <el-table-column show-overflow-tooltip prop="injuredAddress" label="受伤地点" width="100" /> |
| | | <el-table-column show-overflow-tooltip prop="injuredPart" label="受伤部位" width="80" /> |
| | | <el-table-column show-overflow-tooltip prop="injuredDescribe" label="受伤经过描述" width="120" /> |
| | | <el-table-column show-overflow-tooltip prop="injuredDiacrisis" label="工伤诊断" width="80" /> |
| | | <el-table-column show-overflow-tooltip prop="hospitalName" label="就诊医院" width="100" /> |
| | | <el-table-column show-overflow-tooltip prop="injuredDescribe" label="受伤经过描述" /> |
| | | <el-table-column show-overflow-tooltip prop="injuredDiacrisis" label="工伤诊断" /> |
| | | <el-table-column show-overflow-tooltip prop="hospitalName" label="就诊医院" /> |
| | | <el-table-column show-overflow-tooltip prop="treatmentName" label="就诊科室" width="100" /> |
| | | <el-table-column |
| | | show-overflow-tooltip |
| | |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="工作经历" :visible.sync="dialogshowArr[1].show" width="50%"> |
| | | <el-form |
| | | ref="workExperienceForm" |
| | | :model="workExperienceForm" |
| | | :rules="workExperienceRules" |
| | | label-position="right" |
| | | label-width="120px" |
| | | > |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="workExperienceForm.empName" suffix-icon="el-icon-search" @click.native="showXzyg()" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="workExperienceForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="sexName"> |
| | | <el-input v-model="workExperienceForm.sexName" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="编号" prop="empNumb"> |
| | | <el-input v-model="workExperienceForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" prop="allDeptName"> |
| | | <el-input v-model="workExperienceForm.allDeptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="workExperienceForm.jobName" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col> |
| | | <el-form-item label="工作单位" prop="workUnit"> |
| | | <el-input v-model="workExperienceForm.workUnit" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="开始日期" prop="beginDate"> |
| | | <el-date-picker |
| | | v-model="workExperienceForm.beginDate" |
| | | type="date" |
| | | value-format="yyyy-MM-dd" |
| | | placeholder="年-月-日" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="结束日期" prop="endDate"> |
| | | <el-date-picker |
| | | v-model="workExperienceForm.endDate" |
| | | type="date" |
| | | value-format="yyyy-MM-dd" |
| | | placeholder="年-月-日" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col> |
| | | <el-form-item label="主要工作内容" prop="jobContent"> |
| | | <el-input v-model="workExperienceForm.jobContent" type="textarea" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putWorkExperience('workExperienceForm')">保 存</el-button> |
| | | <el-button |
| | | v-if="isAdd" |
| | | type="primary" |
| | | @click="putWorkExperienceContinue('workExperienceForm')" |
| | | >保存并继续新增 |
| | | </el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="体检信息" :visible.sync="dialogshowArr[2].show" width="50%"> |
| | | <el-form |
| | | ref="physicalExamForm" |
| | | :model="physicalExamForm" |
| | | :rules="physicalExamRules" |
| | | label-position="right" |
| | | label-width="120px" |
| | | > |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="physicalExamForm.empName" suffix-icon="el-icon-search" @click.native="showXzyg()" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="physicalExamForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-input v-model="physicalExamForm.sex" /> |
| | | </el-form-item> |
| | | <el-form-item label="体检医院" prop="hospital"> |
| | | <el-input v-model="physicalExamForm.hospital" /> |
| | | </el-form-item> |
| | | <el-form-item label="体检类型" prop="physicalExamType"> |
| | | <el-select |
| | | v-model="physicalExamForm.physicalExamType" |
| | | placeholder="请选择体检类型" |
| | | > |
| | | <el-option |
| | | v-for="dict in physicalExamTypeOptions" |
| | | :key="dict.dicItemCode" |
| | | :label="dict.dicItemName" |
| | | :value="dict.dicItemCode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="转氨酶" prop="transaminase"> |
| | | <el-input v-model="physicalExamForm.transaminase" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="编号" prop="empNumb"> |
| | | <el-input v-model="physicalExamForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" prop="allDeptName"> |
| | | <el-input v-model="physicalExamForm.allDeptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="physicalExamForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="体检日期" prop="physicalExamDate"> |
| | | <el-date-picker |
| | | v-model="physicalExamForm.physicalExamDate" |
| | | value-format="yyyy-MM-dd" |
| | | type="date" |
| | | placeholder="选择体检日期" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="血压" prop="bloodPressure"> |
| | | <el-input v-model="physicalExamForm.bloodPressure" /> |
| | | </el-form-item> |
| | | <el-form-item label="心电图" prop="ecg"> |
| | | <el-select v-model="physicalExamForm.ecg" placeholder="ecg"> |
| | | <el-option |
| | | v-for="dict in ecgOptions" |
| | | :key="dict.dicItemCode" |
| | | :label="dict.dicItemName" |
| | | :value="dict.dicItemCode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col> |
| | | <el-form-item label="体检结论" prop="conclusion"> |
| | | <el-input v-model="physicalExamForm.conclusion" /> |
| | | </el-form-item> |
| | | <el-form-item label="复查日期" prop="reviewRecord"> |
| | | <el-date-picker |
| | | v-model="physicalExamForm.reviewRecord" |
| | | value-format="yyyy-MM-dd" |
| | | type="date" |
| | | placeholder="选择复查日期" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col> |
| | | <el-form-item label="备注" prop="remark"> |
| | | <el-input v-model="physicalExamForm.remark" type="textarea" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putPhysicalExam('physicalExamForm')">保 存</el-button> |
| | | <el-button |
| | | v-if="isAdd" |
| | | type="primary" |
| | | @click="putPhysicalExamContinue('physicalExamForm')" |
| | | >保存并继续新增 |
| | | </el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="合同信息" :visible.sync="dialogshowArr[3].show" width="50%"> |
| | | <el-form |
| | | ref="contractInfoForm" |
| | | :model="contractInfoForm" |
| | | :rules="contractInfoRules" |
| | | label-position="right" |
| | | label-width="120px" |
| | | > |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="contractInfoForm.empName" suffix-icon="el-icon-search" @click.native="showXzyg()" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="contractInfoForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <!-- <el-input v-model="contractInfoForm.sex" />--> |
| | | <el-select v-model="contractInfoForm.sex" placeholder="请选择性别"> |
| | | <el-option |
| | | v-for="dict in sexOptions" |
| | | :key="dict.dicItemCode" |
| | | :label="dict.dicItemName" |
| | | :value="dict.dicItemCode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="合同签订日期" prop="signingDate"> |
| | | <el-date-picker |
| | | v-model="contractInfoForm.signingDate" |
| | | value-format="yyyy-MM-dd" |
| | | type="date" |
| | | placeholder="选择日期" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="合同状态" prop="contractStatus"> |
| | | <el-select |
| | | v-model="contractInfoForm.contractStatus" |
| | | placeholder="请选择合同状态" |
| | | > |
| | | <el-option |
| | | v-for="dict in contractStatusOptions" |
| | | :key="dict.dicItemCode" |
| | | :label="dict.dicItemName" |
| | | :value="dict.dicItemCode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="合同办理人" prop="transactor"> |
| | | <el-input v-model="contractInfoForm.transactor" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="编号" prop="empNumb"> |
| | | <el-input v-model="contractInfoForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" prop="allDeptName"> |
| | | <el-input v-model="contractInfoForm.allDeptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="contractInfoForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="合同结束日期" prop="endDate"> |
| | | <el-date-picker |
| | | v-model="contractInfoForm.endDate" |
| | | value-format="yyyy-MM-dd" |
| | | type="date" |
| | | placeholder="选择日期" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="合同期限(年)" prop="contractPeriod"> |
| | | <el-input v-model="contractInfoForm.contractPeriod" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col> |
| | | <el-form-item label="备注" prop="remark"> |
| | | <el-input v-model="contractInfoForm.remark" type="textarea" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putContractInfo('contractInfoForm')">保 存</el-button> |
| | | <el-button |
| | | v-if="isAdd" |
| | | type="primary" |
| | | @click="putContractInfoContinue('contractInfoForm')" |
| | | >保存并继续新增 |
| | | </el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="离职当月考勤" :visible.sync="dialogshowArr[4].show" width="50%"> |
| | | <el-form |
| | | ref="dimissionAttendForm" |
| | | :model="dimissionAttendForm" |
| | | :rules="dimissionAttendRules" |
| | | label-position="right" |
| | | label-width="120px" |
| | | > |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="dimissionAttendForm.empName" suffix-icon="el-icon-search" @click.native="showXzyg()" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="dimissionAttendForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-input v-model="dimissionAttendForm.sex" /> |
| | | </el-form-item> |
| | | <el-form-item label="离职考勤月份" prop="attendMonth"> |
| | | <el-date-picker |
| | | v-model="dimissionAttendForm.attendMonth" |
| | | value-format="yyyy-MM" |
| | | type="month" |
| | | placeholder="选择考勤月份" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="加班(天)" prop="overtimeDay"> |
| | | <el-input v-model="dimissionAttendForm.overtimeDay" /> |
| | | </el-form-item> |
| | | <el-form-item label="有无代扣款项" prop="deduct"> |
| | | <el-input v-model="dimissionAttendForm.deduct" /> |
| | | </el-form-item> |
| | | <el-form-item label="旷工(天)" prop="absenteeism"> |
| | | <el-input v-model="dimissionAttendForm.absenteeism" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="编号" prop="empNumb"> |
| | | <el-input v-model="dimissionAttendForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" prop="allDeptName"> |
| | | <el-input v-model="dimissionAttendForm.allDeptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="dimissionAttendForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="出勤天数" prop="attendDays"> |
| | | <el-input v-model="dimissionAttendForm.attendDays" /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="加班(小时)" prop="overtimeHour"> |
| | | <el-input v-model="dimissionAttendForm.overtimeHour" /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="请假(天)" prop="leaveDay"> |
| | | <el-input v-model="dimissionAttendForm.leaveDay" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col> |
| | | <el-form-item label="备注" prop="remark"> |
| | | <el-input v-model="dimissionAttendForm.remark" type="textarea" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putDimissionAttend('dimissionAttendForm')">保 存</el-button> |
| | | <el-button v-if="isAdd" type="primary" @click="putDimissionAttendContinue('dimissionAttendForm')">保存并继续新增 |
| | | </el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="请假记录" :visible.sync="dialogshowArr[5].show" width="50%"> |
| | | <el-form |
| | | ref="leaveInfoForm" |
| | | :model="leaveInfoForm" |
| | | :rules="leaveInfoRules" |
| | | label-position="right" |
| | | label-width="120px" |
| | | > |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="leaveInfoForm.empName" suffix-icon="el-icon-search" @click.native="showXzyg()" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="leaveInfoForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-input v-model="leaveInfoForm.sex" /> |
| | | </el-form-item> |
| | | <el-form-item label="请假开始时间" prop="beginTime"> |
| | | <el-date-picker |
| | | v-model="leaveInfoForm.beginTime" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | format="yyyy-MM-dd HH:mm:ss" |
| | | type="datetime" |
| | | placeholder="选择请假开始时间" |
| | | /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="请假类型" prop="leaveType"> |
| | | <el-select v-model="leaveInfoForm.leaveType" placeholder="请选择请假类型"> |
| | | <el-option |
| | | v-for="dict in leaveTypeOptions" |
| | | :key="dict.dicItemCode" |
| | | :label="dict.dicItemName" |
| | | :value="dict.dicItemCode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="报备人" prop="reporter"> |
| | | <el-input v-model="leaveInfoForm.reporter" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="编号" prop="empNumb"> |
| | | <el-input v-model="leaveInfoForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" prop="allDeptName"> |
| | | <el-input v-model="leaveInfoForm.allDeptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="leaveInfoForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="请假结束时间" prop="endTime"> |
| | | <el-date-picker |
| | | v-model="leaveInfoForm.endTime" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | format="yyyy-MM-dd HH:mm:ss" |
| | | type="datetime" |
| | | placeholder="选择请假结束时间" |
| | | /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="请假天数" prop="leaveDay"> |
| | | <el-input v-model="leaveInfoForm.leaveDay" /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="返岗时间" prop="returnDate"> |
| | | <el-date-picker |
| | | v-model="leaveInfoForm.returnDate" |
| | | value-format="yyyy-MM-dd" |
| | | type="date" |
| | | placeholder="选择返岗时间" |
| | | /> |
| | | </el-form-item> |
| | | |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col> |
| | | <el-form-item label="备注"> |
| | | <el-input v-model="leaveInfoForm.remark" type="textarea" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putLeaveInfo('leaveInfoForm')">保 存</el-button> |
| | | <el-button v-if="isAdd" type="primary" @click="putLeaveInfoContinue('leaveInfoForm')">保存并继续新增</el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="辞职申请" :visible.sync="dialogshowArr[6].show" width="50%"> |
| | | <el-form ref="resignForm" :model="resignForm" :rules="resignRules" label-position="right" label-width="120px"> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="resignForm.empName" suffix-icon="el-icon-search" @click.native="showXzyg()" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="resignForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-input v-model="resignForm.sex" /> |
| | | </el-form-item> |
| | | <el-form-item label="辞职申请日期" prop="applayDate"> |
| | | <el-date-picker |
| | | v-model="resignForm.applayDate" |
| | | value-format="yyyy-MM-dd" |
| | | type="date" |
| | | placeholder="选择辞职申请日期" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="编号" prop="empNumb"> |
| | | <el-input v-model="resignForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" prop="allDeptName"> |
| | | <el-input v-model="resignForm.allDeptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="resignForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="报备人"> |
| | | <el-input v-model="resignForm.reporter" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col> |
| | | <el-form-item label="辞职事由" prop="reason"> |
| | | <el-input v-model="resignForm.reason" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col> |
| | | <el-form-item label="备注"> |
| | | <el-input v-model="resignForm.remark" type="textarea" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putResign('resignForm')">保 存</el-button> |
| | | <el-button v-if="isAdd" type="primary" @click="putResignContinue('resignForm')">保存并继续新增</el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="失业金领取" :visible.sync="dialogshowArr[7].show" width="50%"> |
| | | <el-form |
| | | ref="unemploymentForm" |
| | | :model="unemploymentForm" |
| | | :rules="unemploymentRules" |
| | | label-position="right" |
| | | label-width="120px" |
| | | > |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="unemploymentForm.empName" suffix-icon="el-icon-search" @click.native="showXzyg()" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="unemploymentForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-input v-model="unemploymentForm.sex" /> |
| | | </el-form-item> |
| | | <el-form-item label="失业金申请日期" prop="applayDate" label-width="130px"> |
| | | <el-date-picker |
| | | v-model="unemploymentForm.applayDate" |
| | | value-format="yyyy-MM-dd" |
| | | type="date" |
| | | placeholder="选择失业金申请日期" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="申报事由" prop="applayReason"> |
| | | <el-input v-model="unemploymentForm.applayReason" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="编号" prop="empNumb"> |
| | | <el-input v-model="unemploymentForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" prop="allDeptName"> |
| | | <el-input v-model="unemploymentForm.allDeptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="unemploymentForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="汇报人"> |
| | | <el-input v-model="unemploymentForm.reporter" /> |
| | | </el-form-item> |
| | | <el-form-item label="审批人"> |
| | | <el-input v-model="unemploymentForm.auditor" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-row> |
| | | <el-col> |
| | | <el-form-item label="备注"> |
| | | <el-input v-model="unemploymentForm.remark" type="textarea" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putUnemployment('unemploymentForm')">保 存</el-button> |
| | | <el-button v-if="isAdd" type="primary" @click="putUnemploymentContinue('unemploymentForm')">保存并继续新增 |
| | | </el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="社保申请" :visible.sync="dialogshowArr[8].show" width="50%"> |
| | | <el-form |
| | | ref="insuranceForm" |
| | | :model="insuranceForm" |
| | | :rules="insuranceRules" |
| | | label-position="right" |
| | | label-width="120px" |
| | | > |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="insuranceForm.empName" suffix-icon="el-icon-search" @click.native="showXzyg()" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="insuranceForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-input v-model="insuranceForm.sex" /> |
| | | </el-form-item> |
| | | <el-form-item label="社保申请日期" prop="applayDate"> |
| | | <el-date-picker |
| | | v-model="insuranceForm.applayDate" |
| | | value-format="yyyy-MM-dd" |
| | | type="date" |
| | | placeholder="选择社保申请日期" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="社保档位" prop="insuranceGaers"> |
| | | <el-select v-model="insuranceForm.insuranceGaers" placeholder="请选择社保档位"> |
| | | <el-option |
| | | v-for="dict in insuranceGaersOptions" |
| | | :key="dict.dicItemCode" |
| | | :label="dict.dicItemName" |
| | | :value="dict.dicItemCode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="状态" prop="applayStatus"> |
| | | <el-select v-model="insuranceForm.applayStatus" placeholder="请选择状态"> |
| | | <el-option |
| | | v-for="dict in applayStatusOptions" |
| | | :key="dict.dicItemCode" |
| | | :label="dict.dicItemName" |
| | | :value="dict.dicItemCode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="编号" prop="empNumb"> |
| | | <el-input v-model="insuranceForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" prop="allDeptName"> |
| | | <el-input v-model="insuranceForm.allDeptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="insuranceForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="申请人" prop="proposer"> |
| | | <el-input v-model="insuranceForm.proposer" /> |
| | | </el-form-item> |
| | | <el-form-item label="是否已经报告"> |
| | | <el-select v-model="insuranceForm.reportStatus" placeholder="是否已经报告"> |
| | | <el-option |
| | | v-for="dict in reportStatusOptions" |
| | | :key="dict.dicItemCode" |
| | | :label="dict.dicItemName" |
| | | :value="dict.dicItemCode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="审批人"> |
| | | <el-input v-model="insuranceForm.auditor" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col> |
| | | <el-form-item label="备注"> |
| | | <el-input v-model="insuranceForm.remark" type="textarea" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putInsurance('insuranceForm')">保 存</el-button> |
| | | <el-button v-if="isAdd" type="primary" @click="putInsuranceContinue('insuranceForm')">保存并继续新增</el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="意外险案件" :visible.sync="dialogshowArr[9].show" width="50%"> |
| | | <el-form |
| | | ref="accidentCasesForm" |
| | | :model="accidentCasesForm" |
| | | :rules="accidentCasesRules" |
| | | label-position="right" |
| | | label-width="120px" |
| | | > |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="accidentCasesForm.empName" suffix-icon="el-icon-search" @click.native="showXzyg()" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="accidentCasesForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-input v-model="accidentCasesForm.sex" /> |
| | | </el-form-item> |
| | | <el-form-item label="受伤时间" prop="injuredTime"> |
| | | <el-date-picker |
| | | v-model="accidentCasesForm.injuredTime" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | type="datetime" |
| | | placeholder="选择受伤时间" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="受伤部位" prop="injuredPart"> |
| | | <el-input v-model="accidentCasesForm.injuredPart" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="编号" prop="empNumb"> |
| | | <el-input v-model="accidentCasesForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" prop="allDeptName"> |
| | | <el-input v-model="accidentCasesForm.allDeptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="accidentCasesForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="受伤地点"> |
| | | <el-input v-model="accidentCasesForm.injuredAddress" /> |
| | | </el-form-item> |
| | | <el-form-item label="意外险诊断"> |
| | | <el-input v-model="accidentCasesForm.injuredDiacrisis" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-row> |
| | | <el-col> |
| | | <el-form-item label="受伤经过描述" prop="injuredDescribe"> |
| | | <el-input v-model="accidentCasesForm.injuredDescribe" type="textarea" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="就诊医院" prop="hospitalName"> |
| | | <el-input v-model="accidentCasesForm.hospitalName" /> |
| | | </el-form-item> |
| | | <el-form-item label="是否住院" prop="hospitalizatioFlag"> |
| | | <el-select v-model="accidentCasesForm.hospitalizatioFlag" placeholder="是否住院"> |
| | | <el-option |
| | | v-for="dict in hospitalizatioFlagOptions" |
| | | :key="dict.dicItemCode" |
| | | :label="dict.dicItemName" |
| | | :value="dict.dicItemCode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="报案时间"> |
| | | <el-date-picker |
| | | v-model="accidentCasesForm.reprotTime" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | type="datetime" |
| | | placeholder="选择报案时间" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="递交人"> |
| | | <el-input v-model="accidentCasesForm.sbumitBy" /> |
| | | </el-form-item> |
| | | <el-form-item label="保险赔付费用" prop="innsureFee"> |
| | | <el-input v-model="accidentCasesForm.innsureFee" /> |
| | | </el-form-item> |
| | | <el-form-item label="人事处理时间"> |
| | | <el-date-picker |
| | | v-model="accidentCasesForm.hrDoDate" |
| | | value-format="yyyy-MM-dd" |
| | | type="date" |
| | | placeholder="选择人事处理时间" |
| | | /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="案结时间" prop="settleDate"> |
| | | <el-date-picker |
| | | v-model="accidentCasesForm.settleDate" |
| | | value-format="yyyy-MM-dd" |
| | | type="date" |
| | | placeholder="选择案结时间" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="就诊科室"> |
| | | <el-input v-model="accidentCasesForm.treatmentName" /> |
| | | </el-form-item> |
| | | <el-form-item label="床号"> |
| | | <el-input v-model="accidentCasesForm.bedNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="递交资料时间"> |
| | | <el-date-picker |
| | | v-model="accidentCasesForm.submitTime" |
| | | value-format="yyyy-MM-dd" |
| | | type="date" |
| | | placeholder="选择递交资料时间" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="医疗总费用" prop="expensesFee"> |
| | | <el-input v-model="accidentCasesForm.expensesFee" /> |
| | | </el-form-item> |
| | | <el-form-item label="报单号"> |
| | | <el-input v-model="accidentCasesForm.expenseReport" /> |
| | | </el-form-item> |
| | | <el-form-item label="状态" prop="settleStatus"> |
| | | <el-select v-model="accidentCasesForm.settleStatus" placeholder=""> |
| | | <el-option |
| | | v-for="dict in settleStatusOptions" |
| | | :key="dict.dicItemCode" |
| | | :label="dict.dicItemName" |
| | | :value="dict.dicItemCode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="备注" prop="remark"> |
| | | <el-input v-model="accidentCasesForm.remark" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putAccidentCases('accidentCasesForm')">保 存</el-button> |
| | | <el-button v-if="isAdd" type="primary" @click="putAccidentCasesContinue('accidentCasesForm')">保存并继续新增 |
| | | </el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="工伤案件" :visible.sync="dialogshowArr[10].show" width="50%"> |
| | | <el-form |
| | | ref="occupationalForm" |
| | | :model="occupationalForm" |
| | | :rules="occupationalRules" |
| | | label-position="right" |
| | | label-width="140px" |
| | | > |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="occupationalForm.empName" suffix-icon="el-icon-search" @click.native="showXzyg()" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="occupationalForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-input v-model="occupationalForm.sex" /> |
| | | </el-form-item> |
| | | <el-form-item label="受伤时间" prop="injuredTime"> |
| | | <el-date-picker |
| | | v-model="occupationalForm.injuredTime" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | type="datetime" |
| | | placeholder="选择受伤时间" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="受伤部位" prop="injuredPart"> |
| | | <el-input v-model="occupationalForm.injuredPart" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="编号" prop="empNumb"> |
| | | <el-input v-model="occupationalForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" prop="allDeptName"> |
| | | <el-input v-model="occupationalForm.allDeptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="occupationalForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="受伤地点" prop="injuredAddress"> |
| | | <el-input v-model="occupationalForm.injuredAddress" /> |
| | | </el-form-item> |
| | | <el-form-item label="工伤诊断" prop="injuredDiacrisis"> |
| | | <el-input v-model="occupationalForm.injuredDiacrisis" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-row> |
| | | <el-col> |
| | | <el-form-item label="受伤经过描述" prop="injuredDescribe"> |
| | | <el-input v-model="occupationalForm.injuredDescribe" type="textarea" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="就诊医院" prop="hospitalName"> |
| | | <el-input v-model="occupationalForm.hospitalName" /> |
| | | </el-form-item> |
| | | <el-form-item label="是否住院" prop="hospitalizatioFlag"> |
| | | <el-select v-model="occupationalForm.hospitalizatioFlag" placeholder="是否住院"> |
| | | <el-option |
| | | v-for="dict in hospitalizatioFlagOptions" |
| | | :key="dict.dicItemCode" |
| | | :label="dict.dicItemName" |
| | | :value="dict.dicItemCode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="报案时间" prop="'reportTime"> |
| | | <el-date-picker |
| | | v-model="occupationalForm.reportTime" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | type="datetime" |
| | | placeholder="选择报案时间" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="递交人" prop="'sbumitBy"> |
| | | <el-input v-model="occupationalForm.sbumitBy" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="就诊科室" prop="'treatmentName"> |
| | | <el-input v-model="occupationalForm.treatmentName" /> |
| | | </el-form-item> |
| | | <el-form-item label="床号" prop="bedNumb"> |
| | | <el-input v-model="occupationalForm.bedNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="递交资料时间" prop="submitTime"> |
| | | <el-date-picker |
| | | v-model="occupationalForm.submitTime" |
| | | value-format="yyyy-MM-dd" |
| | | type="date" |
| | | placeholder="选择递交资料时间" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="人事处理时间" prop="hrDoDate"> |
| | | <el-date-picker |
| | | v-model="occupationalForm.hrDoDate" |
| | | value-format="yyyy-MM-dd" |
| | | type="date" |
| | | placeholder="选择人事处理时间" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | 社保赔偿费用 |
| | | <el-divider /> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="医疗总费用" prop="expensesFee"> |
| | | <el-input v-model="occupationalForm.expensesFee" /> |
| | | </el-form-item> |
| | | <el-form-item label="一次性伤残补助金" prop="socialDisability"> |
| | | <el-input v-model="occupationalForm.socialDisability" /> |
| | | </el-form-item> |
| | | <el-form-item label="一次性医疗补助金" prop="socialSubsidy"> |
| | | <el-input v-model="occupationalForm.socialSubsidy" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="剔除总额"> |
| | | <el-input v-model="occupationalForm.eliminate" /> |
| | | </el-form-item> |
| | | <el-form-item label="住院伙食补贴"> |
| | | <el-input v-model="occupationalForm.socialAllowance" /> |
| | | </el-form-item> |
| | | <el-form-item label="社保赔偿总费用"> |
| | | <el-input v-model="occupationalForm.socialCompensation" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | 公司赔偿费用 |
| | | <el-divider /> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="已赔付医药费用" prop="compensated"> |
| | | <el-input v-model="occupationalForm.compensated" /> |
| | | </el-form-item> |
| | | <el-form-item label="一次性伤残补助金"> |
| | | <el-input v-model="occupationalForm.companylDisability" /> |
| | | </el-form-item> |
| | | <el-form-item label="一次性医疗补助金"> |
| | | <el-input v-model="occupationalForm.companySubsidy" /> |
| | | </el-form-item> |
| | | <el-form-item label="一次性就业补助金"> |
| | | <el-input v-model="occupationalForm.jobSubsidy" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="其他赔偿报销"> |
| | | <el-input v-model="occupationalForm.otherCompensated" /> |
| | | </el-form-item> |
| | | <el-form-item label="工伤生活补贴"> |
| | | <el-input v-model="occupationalForm.companyAllowance" /> |
| | | </el-form-item> |
| | | <el-form-item label="公司赔偿总费用" prop="companyCompensation"> |
| | | <el-input v-model="occupationalForm.companyCompensation" /> |
| | | </el-form-item> |
| | | <el-form-item label="是否结案" prop="settleStatus"> |
| | | <el-select v-model="occupationalForm.settleStatus" placeholder=""> |
| | | <el-option |
| | | v-for="dict in settleStatusOptions" |
| | | :key="dict.dicItemCode" |
| | | :label="dict.dicItemName" |
| | | :value="dict.dicItemCode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-row> |
| | | <el-col> |
| | | <el-form-item label="备注"> |
| | | <el-input v-model="occupationalForm.remark" type="textarea" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putOccupational('occupationalForm')">保 存</el-button> |
| | | <el-button v-if="isAdd" type="primary" @click="putOccupationalContinue('occupationalForm')">保存并继续新增 |
| | | </el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="仲裁案件" :visible.sync="dialogshowArr[11].show" width="50%"> |
| | | <el-form |
| | | ref="laborTroubleForm" |
| | | :model="laborTroubleForm" |
| | | :rules="laborTroubleRules" |
| | | label-position="right" |
| | | label-width="140px" |
| | | > |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="laborTroubleForm.empName" suffix-icon="el-icon-search" @click.native="showXzyg()" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="laborTroubleForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-input v-model="laborTroubleForm.sex" /> |
| | | </el-form-item> |
| | | <el-form-item label="仲裁日期" prop="arbitrationDate"> |
| | | <el-date-picker |
| | | v-model="laborTroubleForm.arbitrationDate" |
| | | value-format="yyyy-MM-dd" |
| | | type="date" |
| | | placeholder="选择仲裁日期" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="汇报人" prop="reporter"> |
| | | <el-input v-model="laborTroubleForm.reporter" /> |
| | | </el-form-item> |
| | | <el-form-item label="状态" prop="arbitrationStatus"> |
| | | <el-select v-model="laborTroubleForm.arbitrationStatus" placeholder=""> |
| | | <el-option |
| | | v-for="dict in settleStatusOptions" |
| | | :key="dict.dicItemCode" |
| | | :label="dict.dicItemName" |
| | | :value="dict.dicItemCode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="编号" prop="empNumb"> |
| | | <el-input v-model="laborTroubleForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" prop="allDeptName"> |
| | | <el-input v-model="laborTroubleForm.allDeptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="laborTroubleForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="仲裁类型" prop="arbitrationType"> |
| | | <el-select v-model="laborTroubleForm.arbitrationType" placeholder="请选择仲裁类型"> |
| | | <el-option |
| | | v-for="dict in arbitrationTypeOptions" |
| | | :key="dict.dicItemCode" |
| | | :label="dict.dicItemName" |
| | | :value="dict.dicItemCode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="仲裁赔付(元)" prop="'arbitrationPay"> |
| | | <el-input |
| | | v-model="laborTroubleForm.arbitrationPay" |
| | | oninput="value=value.replace(/^\.+|[^\d.]/g,'')" |
| | | @blur="arbitrationPayChange" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="案结日期" prop="settleDate"> |
| | | <el-date-picker |
| | | v-model="laborTroubleForm.settleDate" |
| | | value-format="yyyy-MM-dd" |
| | | type="date" |
| | | placeholder="选择案结日期" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col> |
| | | <el-form-item label="仲裁事由" prop="arbitrationReason"> |
| | | <el-input v-model="laborTroubleForm.arbitrationReason" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col> |
| | | <el-form-item label="备注" prop="remark"> |
| | | <el-input v-model="laborTroubleForm.remark" type="textarea" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putLaborTrouble('laborTroubleForm')">保 存</el-button> |
| | | <el-button v-if="isAdd" type="primary" @click="putLaborTroubleContinue('laborTroubleForm')">保存并继续新增 |
| | | </el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="不良记录" :visible.sync="dialogshowArr[12].show" width="50%"> |
| | | <el-form |
| | | ref="badRecordForm" |
| | | :model="badRecordForm" |
| | | :rules="badRecordRules" |
| | | label-position="right" |
| | | label-width="140px" |
| | | > |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="badRecordForm.empName" suffix-icon="el-icon-search" @click.native="showXzyg()" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="badRecordForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-input v-model="badRecordForm.sex" /> |
| | | </el-form-item> |
| | | <el-form-item label="不良记录日期" prop="badDate"> |
| | | <el-date-picker |
| | | v-model="badRecordForm.badDate" |
| | | type="date" |
| | | value-format="yyyy-MM-dd" |
| | | placeholder="选择不良记录日期" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="编号" prop="empNumb"> |
| | | <el-input v-model="badRecordForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" prop="allDeptName"> |
| | | <el-input v-model="badRecordForm.allDeptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="badRecordForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="汇报人" prop="reporter"> |
| | | <el-input v-model="badRecordForm.reporter" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col> |
| | | <el-form-item label="不良记录描述" prop="badContent"> |
| | | <el-input v-model="badRecordForm.badContent" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col> |
| | | <el-form-item label="备注"> |
| | | <el-input v-model="badRecordForm.remark" type="textarea" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putBadRecord('badRecordForm')">保 存</el-button> |
| | | <el-button v-if="isAdd" type="primary" @click="putBadRecordContinue('badRecordForm')">保存并继续新增</el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="备注信息" :visible.sync="dialogshowArr[13].show" width="50%"> |
| | | <el-form |
| | | ref="remarkInfoForm" |
| | | :model="remarkInfoForm" |
| | | :rules="remarkInfoRules" |
| | | label-position="right" |
| | | label-width="140px" |
| | | > |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="remarkInfoForm.empName" suffix-icon="el-icon-search" @click.native="showXzyg()" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="remarkInfoForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-input v-model="remarkInfoForm.sex" /> |
| | | </el-form-item> |
| | | <el-form-item label="备注日期" prop="remarkDate"> |
| | | <el-date-picker |
| | | v-model="remarkInfoForm.remarkDate" |
| | | value-format="yyyy-MM-dd" |
| | | type="date" |
| | | placeholder="选择备注日期" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="编号" prop="empNumb"> |
| | | <el-input v-model="remarkInfoForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" prop="allDeptName"> |
| | | <el-input v-model="remarkInfoForm.allDeptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="remarkInfoForm.jobName" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col> |
| | | <el-form-item label="备注" prop="remarkContent"> |
| | | <el-input v-model="remarkInfoForm.remarkContent" type="textarea" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putRemarkInfo('remarkInfoForm')">保 存</el-button> |
| | | <el-button v-if="isAdd" type="primary" @click="putRemarkInfoContinue('remarkInfoForm')">保存并继续新增 |
| | | </el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <work-experience-edit |
| | | :visible.sync="dialogshowArr[1].show" |
| | | :is-add="isAdd" |
| | | :edit-data="workExperienceEditData" |
| | | :sex-options="sexOptions" |
| | | :show-continue-button="true" |
| | | :emp-info-disabled="false" |
| | | @select-employee="showXzyg" |
| | | @success="handleWorkExperienceSuccess" |
| | | @continue="handleWorkExperienceContinue" |
| | | /> |
| | | <physical-exam-edit |
| | | :visible.sync="dialogshowArr[2].show" |
| | | :is-add="isAdd" |
| | | :edit-data="physicalExamEditData" |
| | | :sex-options="sexOptions" |
| | | :physical-exam-type-options="physicalExamTypeOptions" |
| | | :ecg-options="ecgOptions" |
| | | :show-continue-button="true" |
| | | :emp-info-disabled="false" |
| | | @select-employee="showXzyg" |
| | | @success="handlePhysicalExamSuccess" |
| | | @continue="handlePhysicalExamContinue" |
| | | /> |
| | | <contract-info-edit |
| | | :visible.sync="dialogshowArr[3].show" |
| | | :is-add="isAdd" |
| | | :edit-data="contractInfoEditData" |
| | | :sex-options="sexOptions" |
| | | :contract-status-options="contractStatusOptions" |
| | | :show-continue-button="true" |
| | | :emp-info-disabled="false" |
| | | @select-employee="showXzyg" |
| | | @success="handleContractInfoSuccess" |
| | | @continue="handleContractInfoContinue" |
| | | /> |
| | | <dimission-attend-edit |
| | | :visible.sync="dialogshowArr[4].show" |
| | | :is-add="isAdd" |
| | | :edit-data="dimissionAttendEditData" |
| | | :sex-options="sexOptions" |
| | | :show-continue-button="true" |
| | | :emp-info-disabled="false" |
| | | @select-employee="showXzyg" |
| | | @success="handleDimissionAttendSuccess" |
| | | @continue="handleDimissionAttendContinue" |
| | | /> |
| | | <leave-info-edit |
| | | :visible.sync="dialogshowArr[5].show" |
| | | :is-add="isAdd" |
| | | :edit-data="leaveInfoEditData" |
| | | :sex-options="sexOptions" |
| | | :leave-type-options="leaveTypeOptions" |
| | | :show-continue-button="true" |
| | | :emp-info-disabled="false" |
| | | @select-employee="showXzyg" |
| | | @success="handleLeaveInfoSuccess" |
| | | @continue="handleLeaveInfoContinue" |
| | | /> |
| | | <resign-edit |
| | | :visible.sync="dialogshowArr[6].show" |
| | | :is-add="isAdd" |
| | | :edit-data="resignEditData" |
| | | :sex-options="sexOptions" |
| | | :show-continue-button="true" |
| | | :emp-info-disabled="false" |
| | | @select-employee="showXzyg" |
| | | @success="handleResignSuccess" |
| | | @continue="handleResignContinue" |
| | | /> |
| | | <unemployment-insurance-edit |
| | | :visible.sync="dialogshowArr[7].show" |
| | | :is-add="isAdd" |
| | | :edit-data="unemploymentEditData" |
| | | :sex-options="sexOptions" |
| | | :show-continue-button="true" |
| | | :emp-info-disabled="false" |
| | | @select-employee="showXzyg" |
| | | @success="handleUnemploymentSuccess" |
| | | @continue="handleUnemploymentContinue" |
| | | /> |
| | | <social-security-edit |
| | | :visible.sync="dialogshowArr[8].show" |
| | | :is-add="isAdd" |
| | | :edit-data="socialSecurityEditData" |
| | | :sex-options="sexOptions" |
| | | :insurance-gaers-options="insuranceGaersOptions" |
| | | :applay-status-options="applayStatusOptions" |
| | | :report-status-options="reportStatusOptions" |
| | | :show-continue-button="true" |
| | | :emp-info-disabled="false" |
| | | @select-employee="showXzyg" |
| | | @success="handleInsuranceSuccess" |
| | | @continue="handleInsuranceContinue" |
| | | /> |
| | | <accident-insurance-edit |
| | | :visible.sync="dialogshowArr[9].show" |
| | | :is-add="isAdd" |
| | | :edit-data="accidentInsuranceEditData" |
| | | :sex-options="sexOptions" |
| | | :hospitalizatio-flag-options="hospitalizatioFlagOptions" |
| | | :settle-status-options="settleStatusOptions" |
| | | :show-continue-button="true" |
| | | :emp-info-disabled="false" |
| | | @select-employee="showXzyg" |
| | | @success="handleAccidentCasesSuccess" |
| | | @continue="handleAccidentCasesContinue" |
| | | /> |
| | | <work-injury-edit |
| | | :visible.sync="dialogshowArr[10].show" |
| | | :is-add="isAdd" |
| | | :edit-data="workInjuryEditData" |
| | | :sex-options="sexOptions" |
| | | :hospitalizatio-flag-options="hospitalizatioFlagOptions" |
| | | :settle-status-options="settleStatusOptions" |
| | | :show-continue-button="true" |
| | | :emp-info-disabled="false" |
| | | @select-employee="showXzyg" |
| | | @success="handleOccupationalSuccess" |
| | | @continue="handleOccupationalContinue" |
| | | /> |
| | | <arbitration-edit |
| | | :visible.sync="dialogshowArr[11].show" |
| | | :is-add="isAdd" |
| | | :edit-data="arbitrationEditData" |
| | | :sex-options="sexOptions" |
| | | :arbitration-type-options="arbitrationTypeOptions" |
| | | :settle-status-options="settleStatusOptions" |
| | | :show-continue-button="true" |
| | | :emp-info-disabled="false" |
| | | @select-employee="showXzyg" |
| | | @success="handleLaborTroubleSuccess" |
| | | @continue="handleLaborTroubleContinue" |
| | | /> |
| | | <bad-record-edit |
| | | :visible.sync="dialogshowArr[12].show" |
| | | :is-add="isAdd" |
| | | :edit-data="badRecordEditData" |
| | | :sex-options="sexOptions" |
| | | :show-continue-button="true" |
| | | :emp-info-disabled="false" |
| | | @select-employee="showXzyg" |
| | | @success="handleBadRecordSuccess" |
| | | @continue="handleBadRecordContinue" |
| | | /> |
| | | <remark-edit |
| | | :visible.sync="dialogshowArr[13].show" |
| | | :is-add="isAdd" |
| | | :edit-data="remarkEditData" |
| | | :sex-options="sexOptions" |
| | | :show-continue-button="true" |
| | | :emp-info-disabled="false" |
| | | @select-employee="showXzyg" |
| | | @success="handleRemarkInfoSuccess" |
| | | @continue="handleRemarkInfoContinue" |
| | | /> |
| | | |
| | | <el-dialog title="选择员工" :visible.sync="dialogShowXzyg" width="60%"> |
| | | <Selectuser @selectedUser="selectedUser" @cancleChooseUser="cancleChooseUser" /> |
| | |
| | | import Pagination from '@/components/Pagination' |
| | | import { pages } from '@/settings' |
| | | import { getToken } from '@/utils/auth' |
| | | import dictMixin from '../../utils/dictMixin' |
| | | import WorkExperienceEdit from './components/WorkExperienceEdit' |
| | | import PhysicalExamEdit from './components/PhysicalExamEdit' |
| | | import ContractInfoEdit from './components/ContractInfoEdit' |
| | | import DimissionAttendEdit from './components/DimissionAttendEdit' |
| | | import LeaveInfoEdit from './components/LeaveInfoEdit' |
| | | import ResignEdit from './components/ResignEdit' |
| | | import UnemploymentInsuranceEdit from './components/UnemploymentInsuranceEdit' |
| | | import SocialSecurityEdit from './components/SocialSecurityEdit' |
| | | import AccidentInsuranceEdit from './components/AccidentInsuranceEdit' |
| | | import WorkInjuryEdit from './components/WorkInjuryEdit' |
| | | import ArbitrationEdit from './components/ArbitrationEdit' |
| | | import BadRecordEdit from './components/BadRecordEdit' |
| | | import RemarkEdit from './components/RemarkEdit' |
| | | |
| | | export default { |
| | | components: { Treeselect, Pagination }, |
| | | components: { Treeselect, Pagination, WorkExperienceEdit, PhysicalExamEdit, ContractInfoEdit, DimissionAttendEdit, LeaveInfoEdit, ResignEdit, UnemploymentInsuranceEdit, SocialSecurityEdit, AccidentInsuranceEdit, WorkInjuryEdit, ArbitrationEdit, BadRecordEdit, RemarkEdit }, |
| | | mixins: [dictMixin], |
| | | data() { |
| | | return { |
| | | downloadEmpExcel: pages.downloadEmpExcel, |
| | |
| | | formLabelWidth: '120px', |
| | | thisShowIndex: 0, |
| | | dialogShowXzyg: false, |
| | | workExperienceEditData: {}, |
| | | physicalExamEditData: {}, |
| | | contractInfoEditData: {}, |
| | | dimissionAttendEditData: {}, |
| | | leaveInfoEditData: {}, |
| | | resignEditData: {}, |
| | | unemploymentEditData: {}, |
| | | socialSecurityEditData: {}, |
| | | accidentInsuranceEditData: {}, |
| | | workInjuryEditData: {}, |
| | | arbitrationEditData: {}, |
| | | badRecordEditData: {}, |
| | | remarkEditData: {}, |
| | | dialogshowArr: [ |
| | | { |
| | | show: false |
| | |
| | | computed: { |
| | | // 字典选项计算属性 |
| | | statusOptions() { return this.getDictOptions('PLITICAL') }, |
| | | empTypeOptions() { return this.getDictOptions('empType') }, |
| | | empTypeOptions() { return this.getDictOptions('EMPTYPE') }, |
| | | nationOptions() { return this.getDictOptions('NATION') }, |
| | | marriageOptions() { return this.getDictOptions('MARRIAGE') }, |
| | | educationOptions() { return this.getDictOptions('EDUCATION') }, |
| | |
| | | mounted() { |
| | | this.permissions = JSON.parse(localStorage.getItem('PERMISSIONS')) |
| | | // 字典数据已在登录时预加载,直接从 Vuex 获取 |
| | | this.initDictTypes(['PLITICAL', 'sex', 'empType', 'NATION', 'MARRIAGE', 'EDUCATION', 'NATIVEPLACE', 'archivesStatus', 'INSURANCETYPE', 'empCardStatus', 'handbookStatus', 'certificateList', 'PHYSICALEXAMTYPE', 'ECG', 'CONTRACTSTATUS', 'LEAVETYPE', 'applayStatus', 'reportStatus', 'hospitalizatioFlag', 'settleStatus', 'ZCTYPE', 'changeType', 'LZTYPE']) |
| | | this.initDictTypes(['PLITICAL', 'sex', 'EMPTYPE', 'NATION', 'MARRIAGE', 'EDUCATION', 'NATIVEPLACE', 'archivesStatus', 'INSURANCETYPE', 'empCardStatus', 'handbookStatus', 'certificateList', 'PHYSICALEXAMTYPE', 'ECG', 'CONTRACTSTATUS', 'LEAVETYPE', 'applayStatus', 'reportStatus', 'hospitalizatioFlag', 'settleStatus', 'ZCTYPE', 'changeType', 'LZTYPE']) |
| | | this.initDept() |
| | | this.thisShowIndex = 1 |
| | | this.isShow(false, 0) |
| | |
| | | this.cleanEmpBase() |
| | | break |
| | | case 1: |
| | | this.cleanWorkExperience() |
| | | this.workExperienceEditData = {} |
| | | break |
| | | case 2: |
| | | this.cleanPhysicalExam() |
| | | this.physicalExamEditData = {} |
| | | break |
| | | case 3: |
| | | this.cleanContractInfo() |
| | | this.contractInfoEditData = {} |
| | | break |
| | | case 4: |
| | | this.cleanDimissionAttend() |
| | | this.dimissionAttendEditData = {} |
| | | break |
| | | case 5: |
| | | this.cleanLeaveInfo() |
| | | this.leaveInfoEditData = {} |
| | | break |
| | | case 6: |
| | | this.cleanResign() |
| | | this.resignEditData = {} |
| | | break |
| | | case 7: |
| | | this.cleanUnemployment() |
| | | this.unemploymentEditData = {} |
| | | break |
| | | case 8: |
| | | this.cleanInsurance() |
| | | this.socialSecurityEditData = {} |
| | | break |
| | | case 9: |
| | | this.cleanAccidentCases() |
| | | this.accidentInsuranceEditData = {} |
| | | break |
| | | case 10: |
| | | this.cleanOccupational() |
| | | this.workInjuryEditData = {} |
| | | break |
| | | case 11: |
| | | this.cleanLaborTrouble() |
| | | this.arbitrationEditData = {} |
| | | break |
| | | case 12: |
| | | this.cleanBadRecord() |
| | | this.badRecordEditData = {} |
| | | break |
| | | case 13: |
| | | this.cleanRemarkInfo() |
| | | this.remarkEditData = {} |
| | | break |
| | | } |
| | | this.dialogshowArr[this.thisShowIndex].show = !this.dialogshowArr[this.thisShowIndex] |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | putWorkExperience(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.workExperienceForm.delFlag = '2' |
| | | this.$post('hr/empWorkExperience', { ...this.workExperienceForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanWorkExperience() |
| | | this.selectWorkExperience() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empWorkExperience', { ...this.workExperienceForm }).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.updateSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanWorkExperience() |
| | | this.selectWorkExperience() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | handleWorkExperienceSuccess() { |
| | | this.isAdd = true |
| | | this.selectWorkExperience() |
| | | this.dialogIsShow() |
| | | }, |
| | | putWorkExperienceContinue(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.workExperienceForm.delFlag = '2' |
| | | this.$post('hr/empWorkExperience', { ...this.workExperienceForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanWorkExperience() |
| | | this.selectWorkExperience() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | setTimeout(() => { |
| | | this.$refs[formName].clearValidate() |
| | | }, 1500) |
| | | }, |
| | | cleanWorkExperience() { |
| | | this.workExperienceForm.empId = '' |
| | | this.workExperienceForm.archivesNumb = '' |
| | | this.workExperienceForm.deptId = '' |
| | | this.workExperienceForm.deptName = '' |
| | | this.workExperienceForm.allDeptName = '' |
| | | this.workExperienceForm.empNumb = '' |
| | | this.workExperienceForm.empName = '' |
| | | this.workExperienceForm.sex = '' |
| | | this.workExperienceForm.JobId = '' |
| | | this.workExperienceForm.jobName = '' |
| | | this.workExperienceForm.certificateNumb = '' |
| | | this.workExperienceForm.workUnit = '' |
| | | this.workExperienceForm.beginDate = '' |
| | | this.workExperienceForm.endDate = '' |
| | | this.workExperienceForm.jobContent = '' |
| | | this.workExperienceForm.createTime = '' |
| | | this.workExperienceForm.creator = '' |
| | | this.workExperienceForm.modifyTime = '' |
| | | this.workExperienceForm.modifier = '' |
| | | this.workExperienceForm.delFlag = '' |
| | | this.workExperienceForm.version = '' |
| | | handleWorkExperienceContinue() { |
| | | this.selectWorkExperience() |
| | | }, |
| | | editWorkExperience(row) { |
| | | this.isAdd = false |
| | | this.workExperienceForm.workExperienceId = row.workExperienceId |
| | | this.workExperienceForm.empId = row.empId |
| | | this.workExperienceForm.empNumb = row.empNumb |
| | | this.workExperienceForm.empName = row.empName |
| | | this.workExperienceForm.certificateNumb = row.certificateNumb |
| | | this.workExperienceForm.sexName = row.sex |
| | | this.workExperienceForm.deptId = row.deptId |
| | | this.workExperienceForm.deptName = row.deptName |
| | | this.workExperienceForm.allDeptName = row.allDeptName |
| | | this.workExperienceForm.JobId = row.JobId |
| | | this.workExperienceForm.jobName = row.jobName |
| | | this.workExperienceForm.workUnit = row.workUnit |
| | | this.workExperienceForm.beginDate = row.beginDate |
| | | this.workExperienceForm.endDate = row.endDate |
| | | this.workExperienceForm.jobContent = row.jobContent |
| | | this.workExperienceForm.createTime = row.createTime |
| | | this.workExperienceForm.creator = row.creator |
| | | this.workExperienceForm.modifyTime = row.modifyTime |
| | | this.workExperienceForm.modifier = row.modifier |
| | | this.workExperienceForm.delFlag = row.delFlag |
| | | this.workExperienceForm.version = row.version |
| | | this.workExperienceEditData = { ...row } |
| | | this.dialogshowArr[1].show = true |
| | | }, |
| | | selectPhysicalExam() { |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | putPhysicalExam(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empPhysicalExam', { ...this.physicalExamForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanPhysicalExam() |
| | | this.selectPhysicalExam() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empPhysicalExam', { ...this.physicalExamForm }).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.updateSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanPhysicalExam() |
| | | this.selectPhysicalExam() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | handlePhysicalExamSuccess() { |
| | | this.isAdd = true |
| | | this.selectPhysicalExam() |
| | | this.dialogIsShow() |
| | | }, |
| | | putPhysicalExamContinue(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empPhysicalExam', { ...this.physicalExamForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanPhysicalExam() |
| | | this.selectPhysicalExam() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | setTimeout(() => { |
| | | this.$refs[formName].clearValidate() |
| | | }, 1500) |
| | | }, |
| | | cleanPhysicalExam() { |
| | | this.physicalExamForm.empId = '' |
| | | this.physicalExamForm.archivesNumb = '' |
| | | this.physicalExamForm.deptId = '' |
| | | this.physicalExamForm.deptName = '' |
| | | this.physicalExamForm.allDeptName = '' |
| | | this.physicalExamForm.empNumb = '' |
| | | this.physicalExamForm.empName = '' |
| | | this.physicalExamForm.sex = '' |
| | | this.physicalExamForm.JobId = '' |
| | | this.physicalExamForm.jobName = '' |
| | | this.physicalExamForm.certificateNumb = '' |
| | | this.physicalExamForm.hospital = '' |
| | | this.physicalExamForm.physicalExamDate = '' |
| | | this.physicalExamForm.physicalExamType = '' |
| | | this.physicalExamForm.bloodPressure = '' |
| | | this.physicalExamForm.transaminase = '' |
| | | this.physicalExamForm.ecg = '' |
| | | this.physicalExamForm.conclusion = '' |
| | | this.physicalExamForm.reviewRecord = '' |
| | | this.physicalExamForm.remark = '' |
| | | handlePhysicalExamContinue() { |
| | | this.selectPhysicalExam() |
| | | }, |
| | | editPhysicalExam(row) { |
| | | this.isAdd = false |
| | | this.physicalExamForm.physicalExamId = row.physicalExamId |
| | | this.physicalExamForm.empId = row.empId |
| | | this.physicalExamForm.empNumb = row.empNumb |
| | | this.physicalExamForm.empName = row.empName |
| | | this.physicalExamForm.certificateNumb = row.certificateNumb |
| | | this.physicalExamForm.sex = row.sex |
| | | this.physicalExamForm.deptId = row.deptId |
| | | this.physicalExamForm.deptName = row.deptName |
| | | this.physicalExamForm.allDeptName = row.allDeptName |
| | | this.physicalExamForm.JobId = row.JobId |
| | | this.physicalExamForm.jobName = row.jobName |
| | | this.physicalExamForm.hospital = row.hospital |
| | | this.physicalExamForm.physicalExamDate = row.physicalExamDate |
| | | this.physicalExamForm.physicalExamType = row.physicalExamType |
| | | this.physicalExamForm.bloodPressure = row.bloodPressure |
| | | this.physicalExamForm.transaminase = row.transaminase |
| | | this.physicalExamForm.ecg = row.ecg |
| | | this.physicalExamForm.conclusion = row.conclusion |
| | | this.physicalExamForm.reviewRecord = row.reviewRecord |
| | | this.physicalExamForm.remark = row.remark |
| | | this.physicalExamForm.createTime = row.createTime |
| | | this.physicalExamForm.creator = row.creator |
| | | this.physicalExamForm.modifyTime = row.modifyTime |
| | | this.physicalExamForm.modifier = row.modifier |
| | | this.physicalExamForm.delFlag = row.delFlag |
| | | this.physicalExamForm.version = row.version |
| | | |
| | | this.physicalExamEditData = { ...row } |
| | | this.dialogshowArr[2].show = true |
| | | }, |
| | | selectContractInfo() { |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | putContractInfo(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empContractInfo', { ...this.contractInfoForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanContractInfo() |
| | | this.selectContractInfo() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empContractInfo', { ...this.contractInfoForm }).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.updateSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanContractInfo() |
| | | this.selectContractInfo() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | handleContractInfoSuccess() { |
| | | this.isAdd = true |
| | | this.selectContractInfo() |
| | | this.dialogIsShow() |
| | | }, |
| | | putContractInfoContinue(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empContractInfo', { ...this.contractInfoForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanContractInfo() |
| | | this.selectContractInfo() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | setTimeout(() => { |
| | | this.$refs[formName].clearValidate() |
| | | }, 1500) |
| | | }, |
| | | cleanContractInfo() { |
| | | this.contractInfoForm.empId = '' |
| | | this.contractInfoForm.archivesNumb = '' |
| | | this.contractInfoForm.deptId = '' |
| | | this.contractInfoForm.deptName = '' |
| | | this.contractInfoForm.allDeptName = '' |
| | | this.contractInfoForm.empNumb = '' |
| | | this.contractInfoForm.empName = '' |
| | | this.contractInfoForm.sex = '' |
| | | this.contractInfoForm.JobId = '' |
| | | this.contractInfoForm.jobName = '' |
| | | this.contractInfoForm.certificateNumb = '' |
| | | this.contractInfoForm.contractId = '' |
| | | this.contractInfoForm.beginDate = '' |
| | | this.contractInfoForm.endDate = '' |
| | | this.contractInfoForm.contractStatus = '' |
| | | this.contractInfoForm.contractPeriod = '' |
| | | this.contractInfoForm.transactor = '' |
| | | this.contractInfoForm.signingDate = '' |
| | | this.contractInfoForm.remark = '' |
| | | this.contractInfoForm.createTime = '' |
| | | this.contractInfoForm.creator = '' |
| | | this.contractInfoForm.modifyTime = '' |
| | | this.contractInfoForm.modifier = '' |
| | | this.contractInfoForm.delFlag = '' |
| | | this.contractInfoForm.version = '' |
| | | handleContractInfoContinue() { |
| | | this.selectContractInfo() |
| | | }, |
| | | editContractInfo(row) { |
| | | this.isAdd = false |
| | | |
| | | this.contractInfoForm.contractId = row.contractId |
| | | this.contractInfoForm.empId = row.empId |
| | | this.contractInfoForm.empNumb = row.empNumb |
| | | this.contractInfoForm.empName = row.empName |
| | | this.contractInfoForm.certificateNumb = row.certificateNumb |
| | | this.contractInfoForm.sex = row.sex |
| | | this.contractInfoForm.deptId = row.deptId |
| | | this.contractInfoForm.deptName = row.deptName |
| | | this.contractInfoForm.allDeptName = row.allDeptName |
| | | this.contractInfoForm.JobId = row.JobId |
| | | this.contractInfoForm.jobName = row.jobName |
| | | this.contractInfoForm.beginDate = row.beginDate |
| | | this.contractInfoForm.endDate = row.endDate |
| | | this.contractInfoForm.contractStatus = row.contractStatus |
| | | this.contractInfoForm.contractPeriod = row.contractPeriod |
| | | this.contractInfoForm.transactor = row.transactor |
| | | this.contractInfoForm.signingDate = row.signingDate |
| | | this.contractInfoForm.remark = row.remark |
| | | this.contractInfoForm.createTime = row.createTime |
| | | this.contractInfoForm.creator = row.creator |
| | | this.contractInfoForm.modifyTime = row.modifyTime |
| | | this.contractInfoForm.modifier = row.modifier |
| | | this.contractInfoForm.delFlag = row.delFlag |
| | | this.contractInfoForm.version = row.version |
| | | |
| | | this.contractInfoEditData = { ...row } |
| | | this.dialogshowArr[3].show = true |
| | | }, |
| | | selectDimissionAttend() { |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | putDimissionAttend(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empDimissionAttend', { ...this.dimissionAttendForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanDimissionAttend() |
| | | this.selectDimissionAttend() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empDimissionAttend', { ...this.dimissionAttendForm }).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.updateSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanDimissionAttend() |
| | | this.selectDimissionAttend() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | handleDimissionAttendSuccess() { |
| | | this.isAdd = true |
| | | this.selectDimissionAttend() |
| | | this.dialogIsShow() |
| | | }, |
| | | putDimissionAttendContinue(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empDimissionAttend', { ...this.dimissionAttendForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanDimissionAttend() |
| | | this.selectDimissionAttend() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | setTimeout(() => { |
| | | this.$refs[formName].clearValidate() |
| | | }, 1500) |
| | | }, |
| | | cleanDimissionAttend() { |
| | | this.dimissionAttendForm.empId = '' |
| | | this.dimissionAttendForm.archivesNumb = '' |
| | | this.dimissionAttendForm.deptId = '' |
| | | this.dimissionAttendForm.deptName = '' |
| | | this.dimissionAttendForm.allDeptName = '' |
| | | this.dimissionAttendForm.empNumb = '' |
| | | this.dimissionAttendForm.empName = '' |
| | | this.dimissionAttendForm.sex = '' |
| | | this.dimissionAttendForm.JobId = '' |
| | | this.dimissionAttendForm.jobName = '' |
| | | this.dimissionAttendForm.certificateNumb = '' |
| | | this.dimissionAttendForm.dimissionAttendId = '' |
| | | this.dimissionAttendForm.attendMonth = '' |
| | | this.dimissionAttendForm.overtimeHour = '' |
| | | this.dimissionAttendForm.overtimeDay = '' |
| | | this.dimissionAttendForm.leaveDay = '' |
| | | this.dimissionAttendForm.deduct = '' |
| | | this.dimissionAttendForm.absenteeism = '' |
| | | this.dimissionAttendForm.createTime = '' |
| | | this.dimissionAttendForm.creator = '' |
| | | this.dimissionAttendForm.modifyTime = '' |
| | | this.dimissionAttendForm.modifier = '' |
| | | this.dimissionAttendForm.delFlag = '' |
| | | this.dimissionAttendForm.version = '' |
| | | this.dimissionAttendForm.remark = '' |
| | | handleDimissionAttendContinue() { |
| | | this.selectDimissionAttend() |
| | | }, |
| | | editDimissionAttend(row) { |
| | | this.isAdd = false |
| | | this.dimissionAttendForm.dimissionAttendId = row.dimissionAttendId |
| | | this.dimissionAttendForm.empId = row.empId |
| | | this.dimissionAttendForm.empNumb = row.empNumb |
| | | this.dimissionAttendForm.empName = row.empName |
| | | this.dimissionAttendForm.sex = row.sex |
| | | this.dimissionAttendForm.certificateNumb = row.certificateNumb |
| | | this.dimissionAttendForm.deptId = row.deptId |
| | | this.dimissionAttendForm.deptName = row.deptName |
| | | this.dimissionAttendForm.allDeptName = row.allDeptName |
| | | this.dimissionAttendForm.JobId = row.JobId |
| | | this.dimissionAttendForm.jobName = row.jobName |
| | | this.dimissionAttendForm.attendMonth = row.attendMonth |
| | | this.dimissionAttendForm.overtimeHour = row.overtimeHour |
| | | this.dimissionAttendForm.overtimeDay = row.overtimeDay |
| | | this.dimissionAttendForm.leaveDay = row.leaveDay |
| | | this.dimissionAttendForm.deduct = row.deduct |
| | | this.dimissionAttendForm.absenteeism = row.absenteeism |
| | | this.dimissionAttendForm.createTime = row.createTime |
| | | this.dimissionAttendForm.creator = row.creator |
| | | this.dimissionAttendForm.modifyTime = row.modifyTime |
| | | this.dimissionAttendForm.modifier = row.modifier |
| | | this.dimissionAttendForm.delFlag = row.delFlag |
| | | this.dimissionAttendForm.version = row.version |
| | | this.dimissionAttendForm.remark = row.remark |
| | | this.dimissionAttendEditData = { ...row } |
| | | this.dialogshowArr[4].show = true |
| | | }, |
| | | selectLeaveInfo() { |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | putLeaveInfo(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empLeaveInfo', { ...this.leaveInfoForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanLeaveInfo() |
| | | this.selectLeaveInfo() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empLeaveInfo', { ...this.leaveInfoForm }).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.updateSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanLeaveInfo() |
| | | this.selectLeaveInfo() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | handleLeaveInfoSuccess() { |
| | | this.isAdd = true |
| | | this.selectLeaveInfo() |
| | | this.dialogIsShow() |
| | | }, |
| | | putLeaveInfoContinue(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empLeaveInfo', { ...this.leaveInfoForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanLeaveInfo() |
| | | this.selectLeaveInfo() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | setTimeout(() => { |
| | | this.$refs[formName].clearValidate() |
| | | }, 1500) |
| | | }, |
| | | cleanLeaveInfo() { |
| | | this.leaveInfoForm.empId = '' |
| | | this.leaveInfoForm.archivesNumb = '' |
| | | this.leaveInfoForm.deptId = '' |
| | | this.leaveInfoForm.deptName = '' |
| | | this.leaveInfoForm.allDeptName = '' |
| | | this.leaveInfoForm.empNumb = '' |
| | | this.leaveInfoForm.empName = '' |
| | | this.leaveInfoForm.sex = '' |
| | | this.leaveInfoForm.JobId = '' |
| | | this.leaveInfoForm.jobName = '' |
| | | this.leaveInfoForm.certificateNumb = '' |
| | | this.leaveInfoForm.leaveId = '' |
| | | this.leaveInfoForm.beginTime = '' |
| | | this.leaveInfoForm.endTime = '' |
| | | this.leaveInfoForm.leaveType = '' |
| | | this.leaveInfoForm.leaveDay = '' |
| | | this.leaveInfoForm.reporter = '' |
| | | this.leaveInfoForm.returnDate = '' |
| | | this.leaveInfoForm.createTime = '' |
| | | this.leaveInfoForm.creator = '' |
| | | this.leaveInfoForm.modifyTime = '' |
| | | this.leaveInfoForm.modifier = '' |
| | | this.leaveInfoForm.delFlag = '' |
| | | this.leaveInfoForm.version = '' |
| | | this.leaveInfoForm.remark = '' |
| | | handleLeaveInfoContinue() { |
| | | this.selectLeaveInfo() |
| | | }, |
| | | editLeaveInfo(row) { |
| | | this.isAdd = false |
| | | |
| | | this.leaveInfoForm.leaveId = row.leaveId |
| | | this.leaveInfoForm.empId = row.empId |
| | | this.leaveInfoForm.empNumb = row.empNumb |
| | | this.leaveInfoForm.empName = row.empName |
| | | this.leaveInfoForm.sex = row.sex |
| | | this.leaveInfoForm.certificateNumb = row.certificateNumb |
| | | this.leaveInfoForm.deptId = row.deptId |
| | | this.leaveInfoForm.deptName = row.deptName |
| | | this.leaveInfoForm.allDeptName = row.allDeptName |
| | | this.leaveInfoForm.JobId = row.JobId |
| | | this.leaveInfoForm.jobName = row.jobName |
| | | this.leaveInfoForm.beginTime = row.beginTime |
| | | this.leaveInfoForm.endTime = row.endTime |
| | | this.leaveInfoForm.leaveType = row.leaveType |
| | | this.leaveInfoForm.leaveDay = row.leaveDay |
| | | this.leaveInfoForm.reporter = row.reporter |
| | | this.leaveInfoForm.returnDate = row.returnDate |
| | | this.leaveInfoForm.createTime = row.createTime |
| | | this.leaveInfoForm.creator = row.creator |
| | | this.leaveInfoForm.modifyTime = row.modifyTime |
| | | this.leaveInfoForm.modifier = row.modifier |
| | | this.leaveInfoForm.delFlag = row.delFlag |
| | | this.leaveInfoForm.version = row.version |
| | | this.leaveInfoForm.remark = row.remark |
| | | |
| | | this.leaveInfoEditData = { ...row } |
| | | this.dialogshowArr[5].show = true |
| | | }, |
| | | selectResign() { |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | putResign(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empResign', { ...this.resignForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanResign() |
| | | this.selectResign() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empResign', { ...this.resignForm }).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.updateSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanResign() |
| | | this.selectResign() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | handleResignSuccess() { |
| | | this.isAdd = true |
| | | this.selectResign() |
| | | this.dialogIsShow() |
| | | }, |
| | | putResignContinue(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empResign', { ...this.resignForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanResign() |
| | | this.selectResign() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | setTimeout(() => { |
| | | this.$refs[formName].clearValidate() |
| | | }, 1500) |
| | | }, |
| | | cleanResign() { |
| | | this.resignForm.empId = '' |
| | | this.resignForm.archivesNumb = '' |
| | | this.resignForm.deptId = '' |
| | | this.resignForm.deptName = '' |
| | | this.resignForm.allDeptName = '' |
| | | this.resignForm.empNumb = '' |
| | | this.resignForm.empName = '' |
| | | this.resignForm.sex = '' |
| | | this.resignForm.JobId = '' |
| | | this.resignForm.jobName = '' |
| | | this.resignForm.certificateNumb = '' |
| | | this.resignForm.resignId = '' |
| | | this.resignForm.applayDate = '' |
| | | this.resignForm.reporter = '' |
| | | this.resignForm.reason = '' |
| | | this.resignForm.createTime = '' |
| | | this.resignForm.creator = '' |
| | | this.resignForm.modifyTime = '' |
| | | this.resignForm.modifier = '' |
| | | this.resignForm.delFlag = '' |
| | | this.resignForm.version = '' |
| | | this.resignForm.remark = '' |
| | | handleResignContinue() { |
| | | this.selectResign() |
| | | }, |
| | | editResign(row) { |
| | | this.isAdd = false |
| | | |
| | | this.resignForm.resignId = row.resignId |
| | | this.resignForm.empId = row.empId |
| | | this.resignForm.empNumb = row.empNumb |
| | | this.resignForm.empName = row.empName |
| | | this.resignForm.sex = row.sex |
| | | this.resignForm.certificateNumb = row.certificateNumb |
| | | this.resignForm.deptId = row.deptId |
| | | this.resignForm.deptName = row.deptName |
| | | this.resignForm.allDeptName = row.allDeptName |
| | | this.resignForm.JobId = row.JobId |
| | | this.resignForm.jobName = row.jobName |
| | | this.resignForm.applayDate = row.applayDate |
| | | this.resignForm.reporter = row.reporter |
| | | this.resignForm.reason = row.reason |
| | | this.resignForm.createTime = row.createTime |
| | | this.resignForm.creator = row.creator |
| | | this.resignForm.modifyTime = row.modifyTime |
| | | this.resignForm.modifier = row.modifier |
| | | this.resignForm.delFlag = row.delFlag |
| | | this.resignForm.version = row.version |
| | | this.resignForm.remark = row.remark |
| | | |
| | | this.resignEditData = { ...row } |
| | | this.dialogshowArr[6].show = true |
| | | }, |
| | | selectUnemployment() { |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | putUnemployment(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empUnemployment', { ...this.unemploymentForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanUnemployment() |
| | | this.selectUnemployment() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empUnemployment', { ...this.unemploymentForm }).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.updateSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanUnemployment() |
| | | this.selectUnemployment() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | handleUnemploymentSuccess() { |
| | | this.isAdd = true |
| | | this.selectUnemployment() |
| | | this.dialogIsShow() |
| | | }, |
| | | putUnemploymentContinue(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empUnemployment', { ...this.unemploymentForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanUnemployment() |
| | | this.selectUnemployment() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | setTimeout(() => { |
| | | this.$refs[formName].clearValidate() |
| | | }, 1500) |
| | | }, |
| | | cleanUnemployment() { |
| | | this.unemploymentForm.empId = '' |
| | | this.unemploymentForm.archivesNumb = '' |
| | | this.unemploymentForm.deptId = '' |
| | | this.unemploymentForm.deptName = '' |
| | | this.unemploymentForm.allDeptName = '' |
| | | this.unemploymentForm.empNumb = '' |
| | | this.unemploymentForm.empName = '' |
| | | this.unemploymentForm.sex = '' |
| | | this.unemploymentForm.JobId = '' |
| | | this.unemploymentForm.jobName = '' |
| | | this.unemploymentForm.certificateNumb = '' |
| | | this.unemploymentForm.unemploymentId = '' |
| | | this.unemploymentForm.applayDate = '' |
| | | this.unemploymentForm.applayReason = '' |
| | | this.unemploymentForm.reporter = '' |
| | | this.unemploymentForm.auditor = '' |
| | | this.unemploymentForm.remark = '' |
| | | this.unemploymentForm.createTime = '' |
| | | this.unemploymentForm.creator = '' |
| | | this.unemploymentForm.modifyTime = '' |
| | | this.unemploymentForm.modifier = '' |
| | | this.unemploymentForm.delFlag = '' |
| | | this.unemploymentForm.version = '' |
| | | handleUnemploymentContinue() { |
| | | this.selectUnemployment() |
| | | }, |
| | | editUnemployment(row) { |
| | | this.isAdd = false |
| | | |
| | | this.unemploymentForm.unemploymentId = row.unemploymentId |
| | | this.unemploymentForm.empId = row.empId |
| | | this.unemploymentForm.empNumb = row.empNumb |
| | | this.unemploymentForm.empName = row.empName |
| | | this.unemploymentForm.sex = row.sex |
| | | this.unemploymentForm.certificateNumb = row.certificateNumb |
| | | this.unemploymentForm.deptId = row.deptId |
| | | this.unemploymentForm.deptName = row.deptName |
| | | this.unemploymentForm.allDeptName = row.allDeptName |
| | | this.unemploymentForm.JobId = row.JobId |
| | | this.unemploymentForm.jobName = row.jobName |
| | | this.unemploymentForm.applayDate = row.applayDate |
| | | this.unemploymentForm.applayReason = row.applayReason |
| | | this.unemploymentForm.remark = row.remark |
| | | this.unemploymentForm.reporter = row.reporter |
| | | this.unemploymentForm.auditor = row.auditor |
| | | this.unemploymentForm.createTime = row.createTime |
| | | this.unemploymentForm.creator = row.creator |
| | | this.unemploymentForm.modifyTime = row.modifyTime |
| | | this.unemploymentForm.modifier = row.modifier |
| | | this.unemploymentForm.delFlag = row.delFlag |
| | | this.unemploymentForm.version = row.version |
| | | |
| | | this.unemploymentEditData = { ...row } |
| | | this.dialogshowArr[7].show = true |
| | | }, |
| | | selectInsurance() { |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | putInsurance(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empInsurance', { ...this.insuranceForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanInsurance() |
| | | this.selectInsurance() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empInsurance', { ...this.insuranceForm }).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.updateSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanInsurance() |
| | | this.selectInsurance() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | handleInsuranceSuccess() { |
| | | this.isAdd = true |
| | | this.selectInsurance() |
| | | this.dialogIsShow() |
| | | }, |
| | | putInsuranceContinue(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empInsurance', { ...this.insuranceForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanInsurance() |
| | | this.selectInsurance() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | setTimeout(() => { |
| | | this.$refs[formName].clearValidate() |
| | | }, 1500) |
| | | }, |
| | | cleanInsurance() { |
| | | this.insuranceForm.empId = '' |
| | | this.insuranceForm.archivesNumb = '' |
| | | this.insuranceForm.deptId = '' |
| | | this.insuranceForm.deptName = '' |
| | | this.insuranceForm.allDeptName = '' |
| | | this.insuranceForm.empNumb = '' |
| | | this.insuranceForm.empName = '' |
| | | this.insuranceForm.sex = '' |
| | | this.insuranceForm.JobId = '' |
| | | this.insuranceForm.jobName = '' |
| | | this.insuranceForm.certificateNumb = '' |
| | | this.insuranceForm.insuranceId = '' |
| | | this.insuranceForm.applayDate = '' |
| | | this.insuranceForm.proposer = '' |
| | | this.insuranceForm.insuranceGaers = '' |
| | | this.insuranceForm.reportStatus = '' |
| | | this.insuranceForm.applayStatus = '' |
| | | this.insuranceForm.auditor = '' |
| | | this.insuranceForm.createTime = '' |
| | | this.insuranceForm.creator = '' |
| | | this.insuranceForm.modifyTime = '' |
| | | this.insuranceForm.modifier = '' |
| | | this.insuranceForm.delFlag = '' |
| | | this.insuranceForm.version = '' |
| | | this.insuranceForm.remark = '' |
| | | handleInsuranceContinue() { |
| | | this.selectInsurance() |
| | | }, |
| | | editInsurance(row) { |
| | | this.isAdd = false |
| | | |
| | | this.insuranceForm.insuranceId = row.insuranceId |
| | | this.insuranceForm.empId = row.empId |
| | | this.insuranceForm.empNumb = row.empNumb |
| | | this.insuranceForm.empName = row.empName |
| | | this.insuranceForm.sex = row.sex |
| | | this.insuranceForm.certificateNumb = row.certificateNumb |
| | | this.insuranceForm.deptId = row.deptId |
| | | this.insuranceForm.deptName = row.deptName |
| | | this.insuranceForm.allDeptName = row.allDeptName |
| | | this.insuranceForm.JobId = row.JobId |
| | | this.insuranceForm.jobName = row.jobName |
| | | this.insuranceForm.applayDate = row.applayDate |
| | | this.insuranceForm.proposer = row.proposer |
| | | this.insuranceForm.insuranceGaers = row.insuranceGaers |
| | | this.insuranceForm.reportStatus = row.reportStatus + '' |
| | | this.insuranceForm.applayStatus = row.applayStatus + '' |
| | | this.insuranceForm.auditor = row.auditor |
| | | this.insuranceForm.createTime = row.createTime |
| | | this.insuranceForm.creator = row.creator |
| | | this.insuranceForm.modifyTime = row.modifyTime |
| | | this.insuranceForm.modifier = row.modifier |
| | | this.insuranceForm.delFlag = row.delFlag |
| | | this.insuranceForm.version = row.version |
| | | this.insuranceForm.remark = row.remark |
| | | this.socialSecurityEditData = { ...row } |
| | | this.dialogshowArr[8].show = true |
| | | }, |
| | | selectAccidentCases() { |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | putAccidentCases(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empAccidentCases', { ...this.accidentCasesForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanAccidentCases() |
| | | this.selectAccidentCases() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empAccidentCases', { ...this.accidentCasesForm }).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.updateSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanAccidentCases() |
| | | this.selectAccidentCases() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | handleAccidentCasesSuccess() { |
| | | this.isAdd = true |
| | | this.selectAccidentCases() |
| | | this.dialogIsShow() |
| | | }, |
| | | putAccidentCasesContinue(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empAccidentCases', { ...this.accidentCasesForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanAccidentCases() |
| | | this.selectAccidentCases() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | setTimeout(() => { |
| | | this.$refs[formName].clearValidate() |
| | | }, 1500) |
| | | }, |
| | | cleanAccidentCases() { |
| | | this.accidentCasesForm.empId = '' |
| | | this.accidentCasesForm.archivesNumb = '' |
| | | this.accidentCasesForm.deptId = '' |
| | | this.accidentCasesForm.deptName = '' |
| | | this.accidentCasesForm.allDeptName = '' |
| | | this.accidentCasesForm.empNumb = '' |
| | | this.accidentCasesForm.empName = '' |
| | | this.accidentCasesForm.sex = '' |
| | | this.accidentCasesForm.JobId = '' |
| | | this.accidentCasesForm.jobName = '' |
| | | this.accidentCasesForm.certificateNumb = '' |
| | | this.accidentCasesForm.accidentId = '' |
| | | this.accidentCasesForm.injuredTime = '' |
| | | this.accidentCasesForm.injuredAddress = '' |
| | | this.accidentCasesForm.injuredPart = '' |
| | | this.accidentCasesForm.injuredDiacrisis = '' |
| | | this.accidentCasesForm.injuredDescribe = '' |
| | | this.accidentCasesForm.hospitalName = '' |
| | | this.accidentCasesForm.treatmentName = '' |
| | | this.accidentCasesForm.hospitalizatioFlag = '' |
| | | this.accidentCasesForm.bedNumb = '' |
| | | this.accidentCasesForm.reprotTime = '' |
| | | this.accidentCasesForm.submitTime = '' |
| | | this.accidentCasesForm.sbumitBy = '' |
| | | this.accidentCasesForm.expensesFee = '' |
| | | this.accidentCasesForm.expenseReport = '' |
| | | this.accidentCasesForm.innsureFee = '' |
| | | this.accidentCasesForm.hrDoDate = '' |
| | | this.accidentCasesForm.settleDate = '' |
| | | this.accidentCasesForm.settleStatus = '' |
| | | this.accidentCasesForm.remark = '' |
| | | this.accidentCasesForm.createTime = '' |
| | | this.accidentCasesForm.creator = '' |
| | | this.accidentCasesForm.modifyTime = '' |
| | | this.accidentCasesForm.modifier = '' |
| | | this.accidentCasesForm.delFlag = '2' |
| | | this.accidentCasesForm.version = '' |
| | | handleAccidentCasesContinue() { |
| | | this.selectAccidentCases() |
| | | }, |
| | | editAccidentCases(row) { |
| | | this.isAdd = false |
| | | |
| | | this.accidentCasesForm.accidentId = row.accidentId |
| | | this.accidentCasesForm.empId = row.empId |
| | | this.accidentCasesForm.empNumb = row.empNumb |
| | | this.accidentCasesForm.empName = row.empName |
| | | this.accidentCasesForm.sex = row.sex |
| | | this.accidentCasesForm.certificateNumb = row.certificateNumb |
| | | this.accidentCasesForm.deptId = row.deptId |
| | | this.accidentCasesForm.deptName = row.deptName |
| | | this.accidentCasesForm.allDeptName = row.allDeptName |
| | | this.accidentCasesForm.JobId = row.JobId |
| | | this.accidentCasesForm.jobName = row.jobName |
| | | this.accidentCasesForm.injuredTime = row.injuredTime |
| | | this.accidentCasesForm.injuredAddress = row.injuredAddress |
| | | this.accidentCasesForm.injuredPart = row.injuredPart |
| | | this.accidentCasesForm.injuredDiacrisis = row.injuredDiacrisis |
| | | this.accidentCasesForm.injuredDescribe = row.injuredDescribe |
| | | this.accidentCasesForm.hospitalName = row.hospitalName |
| | | this.accidentCasesForm.treatmentName = row.treatmentName |
| | | this.accidentCasesForm.hospitalizatioFlag = row.hospitalizatioFlag + '' |
| | | this.accidentCasesForm.bedNumb = row.bedNumb |
| | | this.accidentCasesForm.reprotTime = row.reprotTime |
| | | this.accidentCasesForm.submitTime = row.submitTime |
| | | this.accidentCasesForm.sbumitBy = row.sbumitBy |
| | | this.accidentCasesForm.expensesFee = row.expensesFee |
| | | this.accidentCasesForm.expenseReport = row.expenseReport |
| | | this.accidentCasesForm.innsureFee = row.innsureFee |
| | | this.accidentCasesForm.hrDoDate = row.hrDoDate |
| | | this.accidentCasesForm.settleDate = row.settleDate |
| | | this.accidentCasesForm.settleStatus = row.settleStatus + '' |
| | | this.accidentCasesForm.remark = row.remark |
| | | this.accidentCasesForm.createTime = row.createTime |
| | | this.accidentCasesForm.creator = row.creator |
| | | this.accidentCasesForm.modifyTime = row.modifyTime |
| | | this.accidentCasesForm.modifier = row.modifier |
| | | this.accidentCasesForm.delFlag = row.delFlag |
| | | this.accidentCasesForm.version = row.version |
| | | |
| | | this.accidentInsuranceEditData = { ...row } |
| | | this.dialogshowArr[9].show = true |
| | | }, |
| | | selectOccupational() { |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | putOccupational(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empOccupational', { ...this.occupationalForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanOccupational() |
| | | this.selectOccupational() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empOccupational', { ...this.occupationalForm }).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.updateSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanOccupational() |
| | | this.selectOccupational() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | handleOccupationalSuccess() { |
| | | this.isAdd = true |
| | | this.selectOccupational() |
| | | this.dialogIsShow() |
| | | }, |
| | | putOccupationalContinue(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empOccupational', { ...this.occupationalForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanOccupational() |
| | | this.selectOccupational() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | setTimeout(() => { |
| | | this.$refs[formName].clearValidate() |
| | | }, 1500) |
| | | }, |
| | | cleanOccupational() { |
| | | this.occupationalForm.empId = '' |
| | | this.occupationalForm.archivesNumb = '' |
| | | this.occupationalForm.deptId = '' |
| | | this.occupationalForm.deptName = '' |
| | | this.occupationalForm.allDeptName = '' |
| | | this.occupationalForm.empNumb = '' |
| | | this.occupationalForm.empName = '' |
| | | this.occupationalForm.sex = '' |
| | | this.occupationalForm.JobId = '' |
| | | this.occupationalForm.jobName = '' |
| | | this.occupationalForm.certificateNumb = '' |
| | | this.occupationalForm.occupationalId = '' |
| | | this.occupationalForm.injuredTime = '' |
| | | this.occupationalForm.injuredAddress = '' |
| | | this.occupationalForm.injuredPart = '' |
| | | this.occupationalForm.injuredDiacrisis = '' |
| | | this.occupationalForm.injuredDescribe = '' |
| | | this.occupationalForm.hospitalName = '' |
| | | this.occupationalForm.treatmentName = '' |
| | | this.occupationalForm.hospitalizatioFlag = '' |
| | | this.occupationalForm.bedNumb = '' |
| | | this.occupationalForm.reportTime = '' |
| | | this.occupationalForm.submitTime = '' |
| | | this.occupationalForm.sbumitBy = '' |
| | | this.occupationalForm.hrDoDate = '' |
| | | this.occupationalForm.expensesFee = '' |
| | | this.occupationalForm.eliminate = '' |
| | | this.occupationalForm.socialDisability = '' |
| | | this.occupationalForm.socialAllowance = '' |
| | | this.occupationalForm.socialSubsidy = '' |
| | | this.occupationalForm.socialCompensation = '' |
| | | this.occupationalForm.compensated = '' |
| | | this.occupationalForm.otherCompensated = '' |
| | | this.occupationalForm.companylDisability = '' |
| | | this.occupationalForm.companyAllowance = '' |
| | | this.occupationalForm.companySubsidy = '' |
| | | this.occupationalForm.companyCompensation = '' |
| | | this.occupationalForm.jobSubsidy = '' |
| | | this.occupationalForm.settleStatus = '' |
| | | this.occupationalForm.createTime = '' |
| | | this.occupationalForm.creator = '' |
| | | this.occupationalForm.modifyTime = '' |
| | | this.occupationalForm.modifier = '' |
| | | this.occupationalForm.delFlag = '2' |
| | | this.occupationalForm.version = '' |
| | | this.occupationalForm.remark = '' |
| | | handleOccupationalContinue() { |
| | | this.selectOccupational() |
| | | }, |
| | | editOccupational(row) { |
| | | this.isAdd = false |
| | | |
| | | this.occupationalForm.occupationalId = row.occupationalId |
| | | this.occupationalForm.empId = row.empId |
| | | this.occupationalForm.empNumb = row.empNumb |
| | | this.occupationalForm.empName = row.empName |
| | | this.occupationalForm.sex = row.sex |
| | | this.occupationalForm.certificateNumb = row.certificateNumb |
| | | this.occupationalForm.deptId = row.deptId |
| | | this.occupationalForm.deptName = row.deptName |
| | | this.occupationalForm.allDeptName = row.allDeptName |
| | | this.occupationalForm.JobId = row.JobId |
| | | this.occupationalForm.jobName = row.jobName |
| | | this.occupationalForm.injuredTime = row.injuredTime |
| | | this.occupationalForm.injuredAddress = row.injuredAddress |
| | | this.occupationalForm.injuredPart = row.injuredPart |
| | | this.occupationalForm.injuredDiacrisis = row.injuredDiacrisis |
| | | this.occupationalForm.injuredDescribe = row.injuredDescribe |
| | | this.occupationalForm.hospitalName = row.hospitalName |
| | | this.occupationalForm.treatmentName = row.treatmentName |
| | | this.occupationalForm.hospitalizatioFlag = row.hospitalizatioFlag + '' |
| | | this.occupationalForm.bedNumb = row.bedNumb |
| | | this.occupationalForm.reportTime = row.reportTime |
| | | this.occupationalForm.submitTime = row.submitTime |
| | | this.occupationalForm.sbumitBy = row.sbumitBy |
| | | this.occupationalForm.hrDoDate = row.hrDoDate |
| | | this.occupationalForm.expensesFee = row.expensesFee |
| | | this.occupationalForm.eliminate = row.eliminate |
| | | this.occupationalForm.socialDisability = row.socialDisability |
| | | this.occupationalForm.socialAllowance = row.socialAllowance |
| | | this.occupationalForm.socialSubsidy = row.socialSubsidy |
| | | this.occupationalForm.socialCompensation = row.socialCompensation |
| | | this.occupationalForm.compensated = row.compensated |
| | | this.occupationalForm.otherCompensated = row.otherCompensated |
| | | this.occupationalForm.companylDisability = row.companylDisability |
| | | this.occupationalForm.companyAllowance = row.companyAllowance |
| | | this.occupationalForm.companySubsidy = row.companySubsidy |
| | | this.occupationalForm.companyCompensation = row.companyCompensation |
| | | this.occupationalForm.jobSubsidy = row.jobSubsidy |
| | | this.occupationalForm.settleStatus = row.settleStatus + '' |
| | | this.occupationalForm.createTime = row.createTime |
| | | this.occupationalForm.creator = row.creator |
| | | this.occupationalForm.modifyTime = row.modifyTime |
| | | this.occupationalForm.modifier = row.modifier |
| | | this.occupationalForm.delFlag = row.delFlag |
| | | this.occupationalForm.version = row.version |
| | | this.occupationalForm.remark = row.remark |
| | | this.workInjuryEditData = { ...row } |
| | | this.dialogshowArr[10].show = true |
| | | }, |
| | | selectLaborTrouble() { |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | arbitrationPayChange(e) { |
| | | this.laborTroubleForm.arbitrationPay = e.target.value |
| | | handleLaborTroubleSuccess() { |
| | | this.isAdd = true |
| | | this.selectLaborTrouble() |
| | | this.dialogIsShow() |
| | | }, |
| | | putLaborTrouble(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empLaborTrouble', { ...this.laborTroubleForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanLaborTrouble() |
| | | this.selectLaborTrouble() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empLaborTrouble', { ...this.laborTroubleForm }).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.updateSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanLaborTrouble() |
| | | this.selectLaborTrouble() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | putLaborTroubleContinue(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empLaborTrouble', { ...this.laborTroubleForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanLaborTrouble() |
| | | this.selectLaborTrouble() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | setTimeout(() => { |
| | | this.$refs[formName].clearValidate() |
| | | }, 1500) |
| | | }, |
| | | cleanLaborTrouble() { |
| | | this.laborTroubleForm.empId = '' |
| | | this.laborTroubleForm.archivesNumb = '' |
| | | this.laborTroubleForm.deptId = '' |
| | | this.laborTroubleForm.deptName = '' |
| | | this.laborTroubleForm.allDeptName = '' |
| | | this.laborTroubleForm.empNumb = '' |
| | | this.laborTroubleForm.empName = '' |
| | | this.laborTroubleForm.sex = '' |
| | | this.laborTroubleForm.JobId = '' |
| | | this.laborTroubleForm.jobName = '' |
| | | this.laborTroubleForm.certificateNumb = '' |
| | | this.laborTroubleForm.arbitrationId = '' |
| | | this.laborTroubleForm.arbitrationDate = '' |
| | | this.laborTroubleForm.arbitrationType = '' |
| | | this.laborTroubleForm.arbitrationReason = '' |
| | | this.laborTroubleForm.reporter = '' |
| | | this.laborTroubleForm.arbitrationPay = '' |
| | | this.laborTroubleForm.arbitrationStatus = '' |
| | | this.laborTroubleForm.settleDate = '' |
| | | this.laborTroubleForm.createTime = '' |
| | | this.laborTroubleForm.creator = '' |
| | | this.laborTroubleForm.modifyTime = '' |
| | | this.laborTroubleForm.modifier = '' |
| | | this.laborTroubleForm.delFlag = '2' |
| | | this.laborTroubleForm.version = '' |
| | | this.laborTroubleForm.remark = '' |
| | | handleLaborTroubleContinue() { |
| | | this.selectLaborTrouble() |
| | | }, |
| | | editLaborTrouble(row) { |
| | | this.isAdd = false |
| | | this.laborTroubleForm.arbitrationId = row.arbitrationId |
| | | this.laborTroubleForm.empId = row.empId |
| | | this.laborTroubleForm.empNumb = row.empNumb |
| | | this.laborTroubleForm.empName = row.empName |
| | | this.laborTroubleForm.sex = row.sex |
| | | this.laborTroubleForm.certificateNumb = row.certificateNumb |
| | | this.laborTroubleForm.deptId = row.deptId |
| | | this.laborTroubleForm.deptName = row.deptName |
| | | this.laborTroubleForm.allDeptName = row.allDeptName |
| | | this.laborTroubleForm.JobId = row.JobId |
| | | this.laborTroubleForm.jobName = row.jobName |
| | | this.laborTroubleForm.arbitrationDate = row.arbitrationDate |
| | | this.laborTroubleForm.arbitrationType = row.arbitrationType |
| | | this.laborTroubleForm.arbitrationReason = row.arbitrationReason |
| | | this.laborTroubleForm.reporter = row.reporter |
| | | this.laborTroubleForm.arbitrationPay = row.arbitrationPay |
| | | this.laborTroubleForm.arbitrationStatus = row.arbitrationStatus + '' |
| | | this.laborTroubleForm.settleDate = row.settleDate |
| | | this.laborTroubleForm.createTime = row.createTime |
| | | this.laborTroubleForm.creator = row.creator |
| | | this.laborTroubleForm.modifyTime = row.modifyTime |
| | | this.laborTroubleForm.modifier = row.modifier |
| | | this.laborTroubleForm.delFlag = row.delFlag |
| | | this.laborTroubleForm.version = row.version |
| | | this.laborTroubleForm.remark = row.remark |
| | | |
| | | this.arbitrationEditData = { ...row } |
| | | this.dialogshowArr[11].show = true |
| | | }, |
| | | selectBadRecord() { |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | cleanBadRecord() { |
| | | this.badRecordForm.empId = '' |
| | | this.badRecordForm.archivesNumb = '' |
| | | this.badRecordForm.deptId = '' |
| | | this.badRecordForm.deptName = '' |
| | | this.badRecordForm.allDeptName = '' |
| | | this.badRecordForm.empNumb = '' |
| | | this.badRecordForm.empName = '' |
| | | this.badRecordForm.sex = '' |
| | | this.badRecordForm.JobId = '' |
| | | this.badRecordForm.jobName = '' |
| | | this.badRecordForm.certificateNumb = '' |
| | | this.badRecordForm.badId = '' |
| | | this.badRecordForm.badDate = '' |
| | | this.badRecordForm.reporter = '' |
| | | this.badRecordForm.badContent = '' |
| | | this.badRecordForm.createTime = '' |
| | | this.badRecordForm.creator = '' |
| | | this.badRecordForm.modifyTime = '' |
| | | this.badRecordForm.modifier = '' |
| | | this.badRecordForm.delFlag = '2' |
| | | this.badRecordForm.version = '' |
| | | this.badRecordForm.remark = '' |
| | | handleBadRecordSuccess() { |
| | | this.isAdd = true |
| | | this.selectBadRecord() |
| | | this.dialogIsShow() |
| | | }, |
| | | putBadRecord(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empBadRecord', { ...this.badRecordForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanBadRecord() |
| | | this.selectBadRecord() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empBadRecord', { ...this.badRecordForm }).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.updateSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanBadRecord() |
| | | this.selectBadRecord() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | putBadRecordContinue(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empBadRecord', { ...this.badRecordForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanBadRecord() |
| | | this.selectBadRecord() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | setTimeout(() => { |
| | | this.$refs[formName].clearValidate() |
| | | }, 1500) |
| | | handleBadRecordContinue() { |
| | | this.selectBadRecord() |
| | | }, |
| | | editBadRecord(row) { |
| | | this.isAdd = false |
| | | this.badRecordForm.badId = row.badId |
| | | this.badRecordForm.empId = row.empId |
| | | this.badRecordForm.empName = row.empName |
| | | this.badRecordForm.empNumb = row.empNumb |
| | | this.badRecordForm.sex = row.sex |
| | | this.badRecordForm.certificateNumb = row.certificateNumb |
| | | this.badRecordForm.deptId = row.deptId |
| | | this.badRecordForm.deptName = row.deptName |
| | | this.badRecordForm.allDeptName = row.allDeptName |
| | | this.badRecordForm.JobId = row.JobId |
| | | this.badRecordForm.jobName = row.jobName |
| | | this.badRecordForm.badDate = row.badDate |
| | | this.badRecordForm.reporter = row.reporter |
| | | this.badRecordForm.badContent = row.badContent |
| | | this.badRecordForm.createTime = row.createTime |
| | | this.badRecordForm.creator = row.creator |
| | | this.badRecordForm.modifyTime = row.modifyTime |
| | | this.badRecordForm.modifier = row.modifier |
| | | this.badRecordForm.delFlag = row.delFlag |
| | | this.badRecordForm.version = row.version |
| | | this.badRecordForm.remark = row.remark |
| | | this.badRecordEditData = { ...row } |
| | | this.dialogshowArr[12].show = true |
| | | }, |
| | | selectRemarkInfo() { |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | putRemarkInfo(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empRemarkInfo', { ...this.remarkInfoForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanRemarkInfo() |
| | | this.selectRemarkInfo() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empRemarkInfo', { ...this.remarkInfoForm }).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.updateSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanRemarkInfo() |
| | | this.selectRemarkInfo() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | handleRemarkInfoSuccess() { |
| | | this.isAdd = true |
| | | this.selectRemarkInfo() |
| | | this.dialogIsShow() |
| | | }, |
| | | putRemarkInfoContinue(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empRemarkInfo', { ...this.remarkInfoForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanRemarkInfo() |
| | | this.selectRemarkInfo() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | setTimeout(() => { |
| | | this.$refs[formName].clearValidate() |
| | | }, 1500) |
| | | }, |
| | | cleanRemarkInfo() { |
| | | this.remarkInfoForm.empId = '' |
| | | this.remarkInfoForm.archivesNumb = '' |
| | | this.remarkInfoForm.deptId = '' |
| | | this.remarkInfoForm.deptName = '' |
| | | this.remarkInfoForm.allDeptName = '' |
| | | this.remarkInfoForm.empNumb = '' |
| | | this.remarkInfoForm.empName = '' |
| | | this.remarkInfoForm.sex = '' |
| | | this.remarkInfoForm.JobId = '' |
| | | this.remarkInfoForm.jobName = '' |
| | | this.remarkInfoForm.certificateNumb = '' |
| | | this.remarkInfoForm.remarkId = '' |
| | | this.remarkInfoForm.remarkContent = '' |
| | | this.remarkInfoForm.remarkDate = '' |
| | | this.remarkInfoForm.createTime = '' |
| | | this.remarkInfoForm.creator = '' |
| | | this.remarkInfoForm.modifyTime = '' |
| | | this.remarkInfoForm.modifier = '' |
| | | this.remarkInfoForm.delFlag = '2' |
| | | this.remarkInfoForm.version = '' |
| | | handleRemarkInfoContinue() { |
| | | this.selectRemarkInfo() |
| | | }, |
| | | editRemarkInfo(row) { |
| | | this.isAdd = false |
| | | this.remarkInfoForm.remarkId = row.remarkId |
| | | this.remarkInfoForm.empId = row.empId |
| | | this.remarkInfoForm.empNumb = row.empNumb |
| | | this.remarkInfoForm.empName = row.empName |
| | | this.remarkInfoForm.sex = row.sex |
| | | this.remarkInfoForm.certificateNumb = row.certificateNumb |
| | | this.remarkInfoForm.JobId = row.JobId |
| | | this.remarkInfoForm.deptId = row.deptId |
| | | this.remarkInfoForm.deptName = row.deptName |
| | | this.remarkInfoForm.allDeptName = row.allDeptName |
| | | this.remarkInfoForm.jobName = row.jobName |
| | | this.remarkInfoForm.remarkContent = row.remarkContent |
| | | this.remarkInfoForm.remarkDate = row.remarkDate |
| | | this.remarkInfoForm.createTime = row.createTime |
| | | this.remarkInfoForm.creator = row.creator |
| | | this.remarkInfoForm.modifyTime = row.modifyTime |
| | | this.remarkInfoForm.modifier = row.modifier |
| | | this.remarkInfoForm.delFlag = row.delFlag |
| | | this.remarkInfoForm.version = row.version |
| | | |
| | | this.remarkEditData = { ...row } |
| | | this.dialogshowArr[13].show = true |
| | | }, |
| | | showXzyg() { |
| | |
| | | var data = users[i] |
| | | switch (this.thisShowIndex) { |
| | | case 1: |
| | | this.inputForName = 'workExperienceForm' |
| | | this.workExperienceEditData = { empId: data.empId, empName: data.empName, empNumb: data.empNumb, certificateNumb: data.certificateNumb, deptId: data.deptId, deptName: data.deptName, allDeptName: data.allDeptName, JobId: data.jobId, jobName: data.jobName, sex: data.sex === '1' ? '男' : '女' } |
| | | break |
| | | case 2: |
| | | this.inputForName = 'physicalExamForm' |
| | | this.physicalExamEditData = { empId: data.empId, empName: data.empName, empNumb: data.empNumb, certificateNumb: data.certificateNumb, deptId: data.deptId, deptName: data.deptName, allDeptName: data.allDeptName, JobId: data.jobId, jobName: data.jobName, sex: data.sex === '1' ? '男' : '女' } |
| | | break |
| | | case 3: |
| | | this.inputForName = 'contractInfoForm' |
| | | this.contractInfoEditData = { empId: data.empId, empName: data.empName, empNumb: data.empNumb, certificateNumb: data.certificateNumb, deptId: data.deptId, deptName: data.deptName, allDeptName: data.allDeptName, JobId: data.jobId, jobName: data.jobName, sex: data.sex === '1' ? '男' : '女' } |
| | | break |
| | | case 4: |
| | | this.inputForName = 'dimissionAttendForm' |
| | | this.dimissionAttendEditData = { empId: data.empId, empName: data.empName, empNumb: data.empNumb, certificateNumb: data.certificateNumb, deptId: data.deptId, deptName: data.deptName, allDeptName: data.allDeptName, JobId: data.jobId, jobName: data.jobName, sex: data.sex === '1' ? '男' : '女' } |
| | | break |
| | | case 5: |
| | | this.inputForName = 'leaveInfoForm' |
| | | this.leaveInfoEditData = { empId: data.empId, empName: data.empName, empNumb: data.empNumb, certificateNumb: data.certificateNumb, deptId: data.deptId, deptName: data.deptName, allDeptName: data.allDeptName, JobId: data.jobId, jobName: data.jobName, sex: data.sex === '1' ? '男' : '女' } |
| | | break |
| | | case 6: |
| | | this.inputForName = 'resignForm' |
| | | this.resignEditData = { empId: data.empId, empName: data.empName, empNumb: data.empNumb, certificateNumb: data.certificateNumb, deptId: data.deptId, deptName: data.deptName, allDeptName: data.allDeptName, JobId: data.jobId, jobName: data.jobName, sex: data.sex === '1' ? '男' : '女' } |
| | | break |
| | | case 7: |
| | | this.inputForName = 'unemploymentForm' |
| | | this.unemploymentEditData = { empId: data.empId, empName: data.empName, empNumb: data.empNumb, certificateNumb: data.certificateNumb, deptId: data.deptId, deptName: data.deptName, allDeptName: data.allDeptName, JobId: data.jobId, jobName: data.jobName, sex: data.sex === '1' ? '男' : '女' } |
| | | break |
| | | case 8: |
| | | this.inputForName = 'insuranceForm' |
| | | this.socialSecurityEditData = { empId: data.empId, empName: data.empName, empNumb: data.empNumb, certificateNumb: data.certificateNumb, deptId: data.deptId, deptName: data.deptName, allDeptName: data.allDeptName, JobId: data.jobId, jobName: data.jobName, sex: data.sex === '1' ? '男' : '女' } |
| | | break |
| | | case 9: |
| | | this.inputForName = 'accidentCasesForm' |
| | | this.accidentInsuranceEditData = { empId: data.empId, empName: data.empName, empNumb: data.empNumb, certificateNumb: data.certificateNumb, deptId: data.deptId, deptName: data.deptName, allDeptName: data.allDeptName, JobId: data.jobId, jobName: data.jobName, sex: data.sex === '1' ? '男' : '女' } |
| | | break |
| | | case 10: |
| | | this.inputForName = 'occupationalForm' |
| | | this.workInjuryEditData = { empId: data.empId, empName: data.empName, empNumb: data.empNumb, certificateNumb: data.certificateNumb, deptId: data.deptId, deptName: data.deptName, allDeptName: data.allDeptName, JobId: data.jobId, jobName: data.jobName, sex: data.sex === '1' ? '男' : '女' } |
| | | break |
| | | case 11: |
| | | this.inputForName = 'laborTroubleForm' |
| | | this.arbitrationEditData = { empId: data.empId, empName: data.empName, empNumb: data.empNumb, certificateNumb: data.certificateNumb, deptId: data.deptId, deptName: data.deptName, allDeptName: data.allDeptName, JobId: data.jobId, jobName: data.jobName, sex: data.sex === '1' ? '男' : '女' } |
| | | break |
| | | case 12: |
| | | this.inputForName = 'badRecordForm' |
| | | this.badRecordEditData = { empId: data.empId, empName: data.empName, empNumb: data.empNumb, certificateNumb: data.certificateNumb, deptId: data.deptId, deptName: data.deptName, allDeptName: data.allDeptName, JobId: data.jobId, jobName: data.jobName, sex: data.sex === '1' ? '男' : '女' } |
| | | break |
| | | case 13: |
| | | this.inputForName = 'remarkInfoForm' |
| | | this.remarkEditData = { empId: data.empId, empName: data.empName, empNumb: data.empNumb, certificateNumb: data.certificateNumb, deptId: data.deptId, deptName: data.deptName, allDeptName: data.allDeptName, JobId: data.jobId, jobName: data.jobName, sex: data.sex === '1' ? '男' : '女' } |
| | | break |
| | | } |
| | | this[this.inputForName].empId = data.empId |
| | | this[this.inputForName].empName = data.empName |
| | | this[this.inputForName].empNumb = data.empNumb |
| | | this[this.inputForName].certificateNumb = data.certificateNumb |
| | | this[this.inputForName].deptId = data.deptId |
| | | this[this.inputForName].deptName = data.deptName |
| | | this[this.inputForName].allDeptName = data.allDeptName |
| | | this[this.inputForName].JobId = data.jobId |
| | | this[this.inputForName].jobName = data.jobName |
| | | this[this.inputForName].sex = data.sex === '1' ? '男' : '女' |
| | | this[this.inputForName].sexName = data.sex === '1' ? '男' : '女' |
| | | if (this.thisShowIndex >= 7 && this.thisShowIndex <= 13) { |
| | | // case 7-13 已在 switch 中直接设置 editData,此处无需额外操作 |
| | | } |
| | | } |
| | | this.dialogShowXzyg = false |
| | | }, |