| | |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="工作经历" :visible.sync="dialogshowArr[1].show" width="50%"> |
| | | <el-form :model="workExperienceForm" :rules="rules" label-position="right" label-width="120px"> |
| | | <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-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putWorkExperience()">保 存</el-button> |
| | | <el-button type="primary" @click="putWorkExperience('workExperienceForm')">保 存</el-button> |
| | | <el-button |
| | | type="primary" |
| | | @click="putWorkExperienceContinue()" |
| | | @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 :model="physicalExamForm" :rules="rules" label-position="right" label-width="120px"> |
| | | <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-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putPhysicalExam()">保 存</el-button> |
| | | <el-button type="primary" @click="putPhysicalExam('physicalExamForm')">保 存</el-button> |
| | | <el-button |
| | | type="primary" |
| | | @click="putPhysicalExamContinue()" |
| | | @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 :model="contractInfoForm" :rules="rules" label-position="right" label-width="120px"> |
| | | <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-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putContractInfo()">保 存</el-button> |
| | | <el-button type="primary" @click="putContractInfo('contractInfoForm')">保 存</el-button> |
| | | <el-button |
| | | type="primary" |
| | | @click="putContractInfoContinue()" |
| | | @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 :model="dimissionAttendForm" :rules="rules" label-position="right" label-width="120px"> |
| | | <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-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putDimissionAttend()">保 存</el-button> |
| | | <el-button type="primary" @click="putDimissionAttendContinue()">保存并继续新增</el-button> |
| | | <el-button type="primary" @click="putDimissionAttend('dimissionAttendForm')">保 存</el-button> |
| | | <el-button 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 :model="leaveInfoForm" :rules="rules" label-position="right" label-width="120px"> |
| | | <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-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putLeaveInfo()">保 存</el-button> |
| | | <el-button type="primary" @click="putLeaveInfoContinue()">保存并继续新增</el-button> |
| | | <el-button type="primary" @click="putLeaveInfo('leaveInfoForm')">保 存</el-button> |
| | | <el-button 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 :model="resignForm" :rules="rules" label-position="right" label-width="120px"> |
| | | <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-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putResign()">保 存</el-button> |
| | | <el-button type="primary" @click="putResignContinue()">保存并继续新增</el-button> |
| | | <el-button type="primary" @click="putResign('resignForm')">保 存</el-button> |
| | | <el-button 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 :model="unemploymentForm" :rules="rules" label-position="right" label-width="120px"> |
| | | <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-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putUnemployment()">保 存</el-button> |
| | | <el-button type="primary" @click="putUnemploymentContinue()">保存并继续新增</el-button> |
| | | <el-button type="primary" @click="putUnemployment('unemploymentForm')">保 存</el-button> |
| | | <el-button 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 :model="insuranceForm" :rules="rules" label-position="right" label-width="120px"> |
| | | <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-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putInsurance()">保 存</el-button> |
| | | <el-button type="primary" @click="putInsuranceContinue()">保存并继续新增</el-button> |
| | | <el-button type="primary" @click="putInsurance('insuranceForm')">保 存</el-button> |
| | | <el-button 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 :model="accidentCasesForm" :rules="rules" label-position="right" label-width="120px"> |
| | | <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-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putAccidentCases()">保 存</el-button> |
| | | <el-button type="primary" @click="putAccidentCasesContinue()">保存并继续新增</el-button> |
| | | <el-button type="primary" @click="putAccidentCases('accidentCasesForm')">保 存</el-button> |
| | | <el-button 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 :model="occupationalForm" :rules="rules" label-position="right" label-width="140px"> |
| | | <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-form-item label="受伤地点" prop="injuredAddress"> |
| | | <el-input v-model="occupationalForm.injuredAddress" /> |
| | | </el-form-item> |
| | | <el-form-item label="工伤诊断"> |
| | | <el-form-item label="工伤诊断" prop="injuredDiacrisis"> |
| | | <el-input v-model="occupationalForm.injuredDiacrisis" /> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | <el-option label="已住院" value="1" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="报案时间"> |
| | | <el-form-item label="报案时间" prop="'reportTime"> |
| | | <el-date-picker |
| | | v-model="occupationalForm.reportTime" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | |
| | | placeholder="选择报案时间" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="递交人"> |
| | | <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="就诊科室"> |
| | | <el-form-item label="就诊科室" prop="'treatmentName"> |
| | | <el-input v-model="occupationalForm.treatmentName" /> |
| | | </el-form-item> |
| | | <el-form-item label="床号"> |
| | | <el-form-item label="床号" prop="bedNumb"> |
| | | <el-input v-model="occupationalForm.bedNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="递交资料时间"> |
| | | <el-form-item label="递交资料时间" prop="submitTime"> |
| | | <el-date-picker |
| | | v-model="occupationalForm.submitTime" |
| | | value-format="yyyy-MM-dd" |
| | |
| | | placeholder="选择递交资料时间" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="人事处理时间"> |
| | | <el-form-item label="人事处理时间" prop="hrDoDate"> |
| | | <el-date-picker |
| | | v-model="occupationalForm.hrDoDate" |
| | | value-format="yyyy-MM-dd" |
| | |
| | | <el-form-item label="医疗总费用" prop="expensesFee"> |
| | | <el-input v-model="occupationalForm.expensesFee" /> |
| | | </el-form-item> |
| | | <el-form-item label="一次性伤残补助金"> |
| | | <el-form-item label="一次性伤残补助金" prop="socialDisability"> |
| | | <el-input v-model="occupationalForm.socialDisability" /> |
| | | </el-form-item> |
| | | <el-form-item label="一次性医疗补助金"> |
| | | <el-form-item label="一次性医疗补助金" prop="socialSubsidy"> |
| | | <el-input v-model="occupationalForm.socialSubsidy" /> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | </el-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putOccupational()">保 存</el-button> |
| | | <el-button type="primary" @click="putOccupationalContinue()">保存并继续新增</el-button> |
| | | <el-button type="primary" @click="putOccupational('occupationalForm')">保 存</el-button> |
| | | <el-button 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 :model="laborTroubleForm" :rules="rules" label-position="right" label-width="140px"> |
| | | <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"> |
| | |
| | | placeholder="选择仲裁日期" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="汇报人"> |
| | | <el-form-item label="汇报人" prop="reporter"> |
| | | <el-input v-model="laborTroubleForm.reporter" /> |
| | | </el-form-item> |
| | | <el-form-item label="状态" prop="arbitrationStatus"> |
| | |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="laborTroubleForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="仲裁类型"> |
| | | <el-input v-model="laborTroubleForm.arbitrationType" /> |
| | | <el-form-item label="仲裁类型" prop="arbitrationType"> |
| | | <el-select v-model="laborTroubleForm.arbitrationType" placeholder="请选择仲裁类型"> |
| | | <el-option label="劳资纠纷" value="01" /> |
| | | <el-option label="民事纠纷" value="02" /> |
| | | <el-option label="合同纠纷" value="03" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="仲裁赔付(元)"> |
| | | <el-input v-model="laborTroubleForm.arbitrationPay" /> |
| | | <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="案结日期"> |
| | | <el-form-item label="案结日期" prop="settleDate"> |
| | | <el-date-picker |
| | | v-model="laborTroubleForm.settleDate" |
| | | value-format="yyyy-MM-dd" |
| | |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item label="备注"> |
| | | <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()">保 存</el-button> |
| | | <el-button type="primary" @click="putLaborTroubleContinue()">保存并继续新增</el-button> |
| | | <el-button type="primary" @click="putLaborTrouble('laborTroubleForm')">保 存</el-button> |
| | | <el-button type="primary" @click="putLaborTroubleContinue('laborTroubleForm')">保存并继续新增</el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="badRecordForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="汇报人"> |
| | | <el-form-item label="汇报人" prop="reporter"> |
| | | <el-input v-model="badRecordForm.reporter" /> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | seniority: [{ required: true, message: '请输入入司工龄', trigger: 'blur' }], |
| | | archivesStatus: [{ required: true, message: '请选择档案情况', trigger: 'change' }], |
| | | bankNumb: [{ required: true, message: '请输入银行账号', trigger: 'blur' }], |
| | | empType: [{ required: true, message: '请选择员工类型', trigger: 'change' }], |
| | | workUnit: [{ required: true, message: '请输入工作单位', trigger: 'blur' }], |
| | | empType: [{ required: true, message: '请选择员工类型', trigger: 'change' }] |
| | | }, |
| | | workExperienceRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'blur' }], |
| | | workUnit: [{ required: true, message: '请输入工作单位', trigger: 'blur' }, { max: 128, message: '长度不超过128个字符', trigger: 'blur' }], |
| | | beginDate: [{ required: true, message: '请选择开始日期', trigger: 'change' }], |
| | | endDate: [{ required: true, message: '请选择结束日期', trigger: 'change' }], |
| | | hospital: [{ required: true, message: '请输入体检医院', trigger: 'blur' }], |
| | | jobContent: [{ required: true, message: '请输入主要工作内容', trigger: 'blur' }, { max: 512, message: '长度不超过512个字符', trigger: 'blur' }] |
| | | }, |
| | | physicalExamRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'blur' }], |
| | | physicalExamDate: [{ required: true, message: '请选择体检日期', trigger: 'change' }], |
| | | conclusion: [{ required: true, message: '请输入体检结论', trigger: 'blur' }], |
| | | hospital: [{ required: true, message: '请输入体检医院', trigger: 'blur' }, { max: 64, message: '长度不超过64个字符', trigger: 'blur' }], |
| | | physicalExamType: [{ required: true, message: '请选择体检类型', trigger: 'change' }], |
| | | bloodPressure: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }], |
| | | transaminase: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }], |
| | | ecg: [{ max: 16, message: '长度不超过16个字符', trigger: 'blur' }], |
| | | conclusion: [{ required: true, message: '请输入体检结论', trigger: 'blur' }, { max: 128, message: '长度不超过128个字符', trigger: 'blur' }], |
| | | reviewRecord: [{ max: 128, message: '长度不超过128个字符', trigger: 'blur' }], |
| | | remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }] |
| | | }, |
| | | contractInfoRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'blur' }], |
| | | signingDate: [{ required: true, message: '请选择合同签订日期', trigger: 'change' }], |
| | | contractStatus: [{ required: true, message: '请选择合同状态', trigger: 'change' }], |
| | | transactor: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }], |
| | | beginDate: [{ required: true, message: '请选择合同开始日期', trigger: 'change' }], |
| | | endDate: [{ required: true, message: '请选择合同结束日期', trigger: 'change' }], |
| | | remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }] |
| | | }, |
| | | dimissionAttendRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'blur' }], |
| | | attendMonth: [{ required: true, message: '请选择出勤月份', trigger: 'change' }], |
| | | deduct: [{ required: true, message: '请输入代扣填款项', trigger: 'blur' }], |
| | | attendDays: [{ required: true, message: '请输入出勤天数', trigger: 'blur' }], |
| | | attendDays: [{ required: true, message: '请输入出勤天数', trigger: 'blur' }] |
| | | }, |
| | | leaveInfoRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'blur' }], |
| | | beginTime: [{ required: true, message: '请选择请假开始时间', trigger: 'change' }], |
| | | leaveType: [{ required: true, message: '请选择请假类型', trigger: 'change' }], |
| | | reporter: [{ required: true, message: '请输入报备人', trigger: 'blur' }], |
| | | endTime: [{ required: true, message: '请选择请假结束时间', trigger: 'change' }], |
| | | reporter: [{ required: true, message: '请输入报备人', trigger: 'blur' }], |
| | | remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }] |
| | | }, |
| | | resignRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'blur' }], |
| | | applayDate: [{ required: true, message: '请选择申请日期', trigger: 'change' }], |
| | | reason: [{ required: true, message: '请输入辞职事由', trigger: 'blur' }], |
| | | applayReason: [{ required: true, message: '请输入申报事由', trigger: 'blur' }], |
| | | reason: [{ required: true, message: '请输入事由', trigger: 'blur' }, { max: 256, message: '长度不超过256个字符', trigger: 'blur' }], |
| | | remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }], |
| | | reporter: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }] |
| | | }, |
| | | unemploymentRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'blur' }], |
| | | applayDate: [{ required: true, message: '请选择申请日期', trigger: 'change' }], |
| | | applayReason: [{ required: true, message: '请输入申报事由', trigger: 'blur' }, { max: 128, message: '长度不超过128个字符', trigger: 'blur' }], |
| | | reporter: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }], |
| | | auditor: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }], |
| | | remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }] |
| | | }, |
| | | insuranceRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'blur' }], |
| | | applayDate: [{ required: true, message: '请选择申请日期', trigger: 'change' }], |
| | | proposer: [{ required: true, message: '请输入申请人', trigger: 'blur' }, { max: 40, message: '长度不超过40个字符', trigger: 'blur' }], |
| | | insuranceGaers: [{ required: true, message: '请选择社保档位', trigger: 'change' }], |
| | | applayStatus: [{ required: true, message: '请选择申请状态', trigger: 'change' }], |
| | | proposer: [{ required: true, message: '请输入申请人', trigger: 'blur' }], |
| | | auditor: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }], |
| | | remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }], |
| | | applayStatus: [{ required: true, message: '请选择申请状态', trigger: 'change' }] |
| | | }, |
| | | accidentCasesRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'blur' }], |
| | | injuredTime: [{ required: true, message: '请选择受伤时间', trigger: 'blur' }], |
| | | injuredPart: [{ required: true, message: '请输入受伤部位', trigger: 'blur' }], |
| | | injuredDescribe: [{ required: true, message: '请输入受伤经过描述', trigger: 'blur' }], |
| | | hospitalName: [{ required: true, message: '请输入就诊医院', trigger: 'blur' }], |
| | | injuredPart: [{ required: true, message: '请输入受伤部位', trigger: 'blur' }, { max: 40, message: '长度不超过40个字符', trigger: 'blur' }], |
| | | injuredAddress: [{ required: true, message: '请输入受伤地点', trigger: 'blur' }, { max: 64, message: '长度不超过64个字符', trigger: 'blur' }], |
| | | injuredDescribe: [{ required: true, message: '请输入受伤经过描述', trigger: 'blur' }, { max: 512, message: '长度不超过512个字符', trigger: 'blur' }], |
| | | hospitalName: [{ required: true, message: '请输入就诊医院', trigger: 'blur' }, { max: 40, message: '长度不超过40个字符', trigger: 'blur' }], |
| | | hospitalizatioFlag: [{ required: true, message: '请选择是否住院', trigger: 'blur' }], |
| | | innsureFee: [{ required: true, message: '请输入保险赔付费用', trigger: 'blur' }], |
| | | expensesFee: [{ required: true, message: '请输入医疗总费用', trigger: 'blur' }], |
| | | settleDate: [{ required: true, message: '请选择案结时间', trigger: 'change' }], |
| | | injuredDiacrisis: [{ max: 256, message: '长度不超过256个字符', trigger: 'blur' }], |
| | | sbumitBy: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }], |
| | | expenseReport: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }], |
| | | remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }] |
| | | }, |
| | | occupationalRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'blur' }], |
| | | injuredTime: [{ required: true, message: '请选择受伤时间', trigger: 'blur' }], |
| | | injuredPart: [{ required: true, message: '请输入受伤部位', trigger: 'blur' }, { max: 40, message: '长度不超过40个字符', trigger: 'blur' }], |
| | | injuredDescribe: [{ required: true, message: '请输入受伤经过描述', trigger: 'blur' }, { max: 512, message: '长度不超过512个字符', trigger: 'blur' }], |
| | | hospitalName: [{ required: true, message: '请输入就诊医院', trigger: 'blur' }, { max: 40, message: '长度不超过40个字符', trigger: 'blur' }], |
| | | hospitalizatioFlag: [{ required: true, message: '请选择是否住院', trigger: 'blur' }], |
| | | innsureFee: [{ required: true, message: '请输入保险赔付费用', trigger: 'blur' }], |
| | | settleDate: [{ required: true, message: '请选择案结时间', trigger: 'change' }], |
| | |
| | | settleStatus: [{ required: true, message: '请选择结案状态', trigger: 'change' }], |
| | | injuredAddress: [{ required: true, message: '请输入受伤地点', trigger: 'blur' }], |
| | | compensated: [{ required: true, message: '请输入已赔付医药费用', trigger: 'blur' }], |
| | | companyCompensation: [{ required: true, message: '请输入公司赔偿总费用', trigger: 'blur' }], |
| | | companyCompensation: [{ required: true, message: '请输入公司赔偿总费用', trigger: 'blur' }] |
| | | }, |
| | | laborTroubleRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'blur' }], |
| | | arbitrationType: [{ required: true, message: '请选择仲裁类型', trigger: 'change' }], |
| | | arbitrationDate: [{ required: true, message: '请选择仲裁日期', trigger: 'change' }], |
| | | arbitrationReason: [{ required: true, message: '请输入仲裁事由', trigger: 'blur' }], |
| | | arbitrationStatus: [{ required: true, message: '请选择结案状态', trigger: 'change' }] |
| | | arbitrationReason: [{ required: true, message: '请输入仲裁事由', trigger: 'blur' }, { max: 1024, message: '长度不超过1024个字符', trigger: 'blur' }], |
| | | arbitrationStatus: [{ required: true, message: '请选择结案状态', trigger: 'change' }], |
| | | remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }], |
| | | reporter: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }] |
| | | }, |
| | | badRecordRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'blur' }], |
| | |
| | | message: '长度不超过512个字符', |
| | | trigger: 'blur' |
| | | }], |
| | | reporter: [{ required: true, message: '请输入报备人', trigger: 'blur' }, { |
| | | reporter: [{ |
| | | max: 50, |
| | | message: '长度不超过50个字符', |
| | | trigger: 'blur' |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | putWorkExperience() { |
| | | putWorkExperience(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empWorkExperience', { ...this.workExperienceForm }).then(() => { |
| | | this.buttonLoading = false |
| | |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | putWorkExperienceContinue() { |
| | | putWorkExperienceContinue(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empWorkExperience', { ...this.workExperienceForm }).then(() => { |
| | | this.buttonLoading = false |
| | |
| | | this.selectWorkExperience() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | | cleanWorkExperience() { |
| | | this.workExperienceForm.workUnit = '' |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | putPhysicalExam() { |
| | | putPhysicalExam(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empPhysicalExam', { ...this.physicalExamForm }).then(() => { |
| | | this.buttonLoading = false |
| | |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | putPhysicalExamContinue() { |
| | | putPhysicalExamContinue(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empPhysicalExam', { ...this.physicalExamForm }).then(() => { |
| | | this.buttonLoading = false |
| | |
| | | this.selectPhysicalExam() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | | cleanPhysicalExam() { |
| | | this.physicalExamForm.hospital = '' |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | putContractInfo() { |
| | | putContractInfo(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empContractInfo', { ...this.contractInfoForm }).then(() => { |
| | | this.buttonLoading = false |
| | |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | putContractInfoContinue() { |
| | | putContractInfoContinue(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empContractInfo', { ...this.contractInfoForm }).then(() => { |
| | | this.buttonLoading = false |
| | |
| | | this.selectContractInfo() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | | cleanContractInfo() { |
| | | this.contractInfoForm.contractId = '' |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | putDimissionAttend() { |
| | | putDimissionAttend(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empDimissionAttend', { ...this.dimissionAttendForm }).then(() => { |
| | | this.buttonLoading = false |
| | |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | putDimissionAttendContinue() { |
| | | putDimissionAttendContinue(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empDimissionAttend', { ...this.dimissionAttendForm }).then(() => { |
| | | this.buttonLoading = false |
| | |
| | | this.selectDimissionAttend() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | | cleanDimissionAttend() { |
| | | this.dimissionAttendForm.dimissionAttendId = '' |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | putLeaveInfo() { |
| | | putLeaveInfo(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empLeaveInfo', { ...this.leaveInfoForm }).then(() => { |
| | | this.buttonLoading = false |
| | |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | putLeaveInfoContinue() { |
| | | putLeaveInfoContinue(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empLeaveInfo', { ...this.leaveInfoForm }).then(() => { |
| | | this.buttonLoading = false |
| | |
| | | this.selectLeaveInfo() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | | cleanLeaveInfo() { |
| | | this.leaveInfoForm.leaveId = '' |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | putResign() { |
| | | putResign(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empResign', { ...this.resignForm }).then(() => { |
| | | this.buttonLoading = false |
| | |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | putResignContinue() { |
| | | putResignContinue(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empResign', { ...this.resignForm }).then(() => { |
| | | this.buttonLoading = false |
| | |
| | | this.selectResign() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | | cleanResign() { |
| | | this.resignForm.resignId = '' |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | putUnemployment() { |
| | | putUnemployment(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empUnemployment', { ...this.unemploymentForm }).then(() => { |
| | | this.buttonLoading = false |
| | |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | putUnemploymentContinue() { |
| | | putUnemploymentContinue(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empUnemployment', { ...this.unemploymentForm }).then(() => { |
| | | this.buttonLoading = false |
| | |
| | | this.selectUnemployment() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | | cleanUnemployment() { |
| | | this.unemploymentForm.unemploymentId = '' |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | putInsurance() { |
| | | putInsurance(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empInsurance', { ...this.insuranceForm }).then(() => { |
| | | this.buttonLoading = false |
| | |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | putInsuranceContinue() { |
| | | putInsuranceContinue(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empInsurance', { ...this.insuranceForm }).then(() => { |
| | | this.buttonLoading = false |
| | |
| | | this.selectInsurance() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | | cleanInsurance() { |
| | | this.insuranceForm.insuranceId = '' |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | putAccidentCases() { |
| | | putAccidentCases(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empAccidentCases', { ...this.accidentCasesForm }).then(() => { |
| | | this.buttonLoading = false |
| | |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | putAccidentCasesContinue() { |
| | | putAccidentCasesContinue(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empAccidentCases', { ...this.accidentCasesForm }).then(() => { |
| | | this.buttonLoading = false |
| | |
| | | this.selectAccidentCases() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | | cleanAccidentCases() { |
| | | this.accidentCasesForm.accidentId = '' |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | putOccupational() { |
| | | putOccupational(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empOccupational', { ...this.occupationalForm }).then(() => { |
| | | this.buttonLoading = false |
| | |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | putOccupationalContinue() { |
| | | putOccupationalContinue(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empOccupational', { ...this.occupationalForm }).then(() => { |
| | | this.buttonLoading = false |
| | |
| | | this.selectOccupational() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | | cleanOccupational() { |
| | | this.occupationalForm.occupationalId = '' |
| | |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | putLaborTrouble() { |
| | | arbitrationPayChange(e) { |
| | | this.laborTroubleForm.arbitrationPay = e.target.value |
| | | }, |
| | | putLaborTrouble(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empLaborTrouble', { ...this.laborTroubleForm }).then(() => { |
| | | this.buttonLoading = false |
| | |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | putLaborTroubleContinue() { |
| | | putLaborTroubleContinue(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empLaborTrouble', { ...this.laborTroubleForm }).then(() => { |
| | | this.buttonLoading = false |
| | |
| | | this.selectLaborTrouble() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | | cleanLaborTrouble() { |
| | | this.laborTroubleForm.arbitrationId = '' |