| | |
| | | <template> |
| | | <div> |
| | | <div class="info-input"> |
| | | <el-container> |
| | | <el-aside width="200px"> |
| | | <el-timeline> |
| | | <el-timeline-item @click.native="isShow(showArr[0].show, 0)"> |
| | | <span :class="thisShowIndex==0?'selectedTimeline':''">基本信息</span> |
| | | <el-aside width="175px"> |
| | | <el-timeline style="padding-left: 15px"> |
| | | <el-timeline-item v-show="timelineShow('empBaseinfo:list')" @click.native="isShow(showArr[0].show, 0)"> |
| | | <span :class="thisShowIndex===0?'selectedTimeline':''">基本信息</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[1].show, 1)"> |
| | | <span :class="thisShowIndex==1?'selectedTimeline':''">工作经历</span> |
| | | <el-timeline-item v-show="timelineShow('empWorkexperience:list')" @click.native="isShow(showArr[1].show, 1)"> |
| | | <span :class="thisShowIndex===1?'selectedTimeline':''">工作经历</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[2].show, 2)"> |
| | | <span :class="thisShowIndex==2?'selectedTimeline':''">体检信息</span> |
| | | <el-timeline-item v-show="timelineShow('empPhysicalexam:list')" @click.native="isShow(showArr[2].show, 2)"> |
| | | <span :class="thisShowIndex===2?'selectedTimeline':''">体检信息</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[3].show, 3)"> |
| | | <span :class="thisShowIndex==3?'selectedTimeline':''">合同信息</span> |
| | | <el-timeline-item v-show="timelineShow('empContractinfo:list')" @click.native="isShow(showArr[3].show, 3)"> |
| | | <span :class="thisShowIndex===3?'selectedTimeline':''">合同信息</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[4].show, 4)"> |
| | | <span :class="thisShowIndex==4?'selectedTimeline':''">考勤情况</span> |
| | | <el-timeline-item v-show="timelineShow('empDimissionattend:list')" @click.native="isShow(showArr[4].show, 4)"> |
| | | <span :class="thisShowIndex===4?'selectedTimeline':''">离职当月考勤</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[5].show, 5)"> |
| | | <span :class="thisShowIndex==5?'selectedTimeline':''">请假记录</span> |
| | | <el-timeline-item v-show="timelineShow('empLeaveinfo:list')" @click.native="isShow(showArr[5].show, 5)"> |
| | | <span :class="thisShowIndex===5?'selectedTimeline':''">请假记录</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[6].show, 6)"> |
| | | <span :class="thisShowIndex==6?'selectedTimeline':''">辞职申请</span> |
| | | <el-timeline-item v-show="timelineShow('empResign:list')" @click.native="isShow(showArr[6].show, 6)"> |
| | | <span :class="thisShowIndex===6?'selectedTimeline':''">辞职申请</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[7].show, 7)"> |
| | | <span :class="thisShowIndex==7?'selectedTimeline':''">失业金领取</span> |
| | | <el-timeline-item v-show="timelineShow('empUnemployment:list')" @click.native="isShow(showArr[7].show, 7)"> |
| | | <span :class="thisShowIndex===7?'selectedTimeline':''">失业金领取</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[8].show, 8)"> |
| | | <span :class="thisShowIndex==8?'selectedTimeline':''">社保申请</span> |
| | | <el-timeline-item v-show="timelineShow('empInsurance:list')" @click.native="isShow(showArr[8].show, 8)"> |
| | | <span :class="thisShowIndex===8?'selectedTimeline':''">社保申请</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[9].show, 9)"> |
| | | <span :class="thisShowIndex==9?'selectedTimeline':''">意外险案件</span> |
| | | <el-timeline-item v-show="timelineShow('empAccidentcases:list')" @click.native="isShow(showArr[9].show, 9)"> |
| | | <span :class="thisShowIndex===9?'selectedTimeline':''">意外险案件</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[10].show, 10)"> |
| | | <span :class="thisShowIndex==10?'selectedTimeline':''">工伤案件</span> |
| | | <el-timeline-item v-show="timelineShow('empOccupational:list')" @click.native="isShow(showArr[10].show, 10)"> |
| | | <span :class="thisShowIndex===10?'selectedTimeline':''">工伤案件</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[11].show, 11)"> |
| | | <span :class="thisShowIndex==11?'selectedTimeline':''">劳资案件</span> |
| | | <el-timeline-item v-show="timelineShow('empLabortrouble:list')" @click.native="isShow(showArr[11].show, 11)"> |
| | | <span :class="thisShowIndex===11?'selectedTimeline':''">劳资案件</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[12].show, 12)"> |
| | | <span :class="thisShowIndex==12?'selectedTimeline':''">不良记录</span> |
| | | <el-timeline-item v-show="timelineShow('empBadrecord:list')" @click.native="isShow(showArr[12].show, 12)"> |
| | | <span :class="thisShowIndex===12?'selectedTimeline':''">不良记录</span> |
| | | </el-timeline-item> |
| | | <el-timeline-item @click.native="isShow(showArr[13].show, 13)"> |
| | | <span :class="thisShowIndex==13?'selectedTimeline':''">备注信息</span> |
| | | <el-timeline-item v-show="timelineShow('empRemarkinfo:list')" @click.native="isShow(showArr[13].show, 13)"> |
| | | <span :class="thisShowIndex===13?'selectedTimeline':''">备注信息</span> |
| | | </el-timeline-item> |
| | | </el-timeline> |
| | | </el-aside> |
| | | <el-main> |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-button class="commonBtn" @click.native="dialogIsShow()">新增</el-button> |
| | | <el-button class="commonBtn" @click.native="butDelete()">删除</el-button> |
| | | <el-button class="commonBtn" style="float: right">导入员工信息</el-button> |
| | | <el-col> |
| | | <el-button class="commonBtn" @click.native="dialogIsShow('0')">新增</el-button> |
| | | <el-button class="commonBtn" style="background-color: #409EFF" @click.native="butDelete()">删除</el-button> |
| | | <el-button class="commonBtn" style="float: right" @click.native="showDryg(0)">导入员工信息</el-button> |
| | | </el-col> |
| | | </el-row> |
| | | <el-table |
| | | v-show="showArr[0].show" |
| | | ref="empBaseInfoTable" |
| | | :data="basicInformationData" |
| | | style="width: 100%;height: 70%;" |
| | | stripe |
| | | border |
| | | :cell-style="{padding:'7px 0','text-align':'center'}" |
| | | :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}" |
| | | style="width: 100%;" |
| | | @sort-change="changeSort" |
| | | > |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <el-table-column type="selection" width="50" /> |
| | | <el-table-column label="操作" width="80"> |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | @click="editEmpBase(scope.row)" |
| | | >编辑 |
| | | </el-button> |
| | | <!-- <el-button--> |
| | | <!-- type="text"--> |
| | | <!-- size="small"--> |
| | | <!-- @click="editEmpBase(scope.row)"--> |
| | | <!-- >编辑--> |
| | | <!-- </el-button>--> |
| | | |
| | | <span style="color: #a00515;cursor: pointer;" @click="editEmpBase(scope.row)"> |
| | | <i class="el-icon-edit-outline" style="font-size: 1.9vh;margin-right: 5px;" /> |
| | | 编辑 |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | | <el-table-column prop="empName" label="姓名" width="180" /> |
| | | <el-table-column prop="deptName" label="护卫点" /> |
| | | <el-table-column prop="jobName" label="岗位" width="180" /> |
| | | <el-table-column prop="empType" label="员工类别" width="180" /> |
| | | <el-table-column prop="sex" label="性别" /> |
| | | <el-table-column prop="nation" label="民族" /> |
| | | <el-table-column prop="certificateNumb" label="身份证号码" width="180" /> |
| | | <el-table-column prop="marriage" label="婚姻状况" /> |
| | | <el-table-column prop="politics" label="政治面貌" width="180" /> |
| | | <el-table-column prop="education" label="最高学历" width="180" /> |
| | | <el-table-column prop="entryDate" label="入职日期" width="180" /> |
| | | <el-table-column prop="insuranceType" label="保险类型" width="180" /> |
| | | <el-table-column prop="socialNumb" label="社保电脑号" width="180" /> |
| | | <el-table-column prop="guardNumb" label="保安员证号" width="180" /> |
| | | <el-table-column prop="archivesNumber" label="档案编号" width="180" /> |
| | | <el-table-column prop="archivesStatus" label="档案情况" width="180" /> |
| | | </el-table-column>--> |
| | | <!-- <el-table-column label="照片" width="60">--> |
| | | <!-- <template slot-scope="scope">--> |
| | | <!-- <!– <img :src="scope.row.imagePath">–>--> |
| | | <!-- <el-image--> |
| | | <!-- v-if="scope.row.imagePath && scope.row.imagePath != ''"--> |
| | | <!-- style="width: 30px; height: 30px"--> |
| | | <!-- :src="scope.row.imagePath"--> |
| | | <!-- fit="cover"--> |
| | | <!-- />--> |
| | | |
| | | <!-- <el-image--> |
| | | <!-- v-else--> |
| | | <!-- style="width: 30px; height: 30px"--> |
| | | <!-- :src="defaultImg"--> |
| | | <!-- fit="cover"--> |
| | | <!-- />--> |
| | | <!-- </template>--> |
| | | <!-- </el-table-column>--> |
| | | <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="50" /> |
| | | <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="180" /> |
| | | <el-table-column show-overflow-tooltip prop="empType" label="员工类别" width="80" :formatter="empTypeFormat" /> |
| | | <el-table-column show-overflow-tooltip prop="sex" label="性别" width="50" :formatter="sexFormat" /> |
| | | <el-table-column show-overflow-tooltip prop="nation" label="民族" width="50" :formatter="nationFormat" /> |
| | | <el-table-column show-overflow-tooltip prop="marriage" label="婚姻状况" width="80" :formatter="marriageFormat" /> |
| | | <el-table-column show-overflow-tooltip prop="politics" label="政治面貌" width="80" :formatter="politicsFormat" /> |
| | | <el-table-column show-overflow-tooltip prop="education" label="学历" width="50" :formatter="educationFormat" /> |
| | | <el-table-column prop="entryDate" show-overflow-tooltip label="入职日期" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column |
| | | prop="insuranceType" |
| | | show-overflow-tooltip |
| | | label="保险类型" |
| | | width="80" |
| | | :formatter="insuranceTypeFormat" |
| | | /> |
| | | <el-table-column prop="socialNumb" show-overflow-tooltip label="社保电脑号" width="100" /> |
| | | <el-table-column prop="guardNumb" show-overflow-tooltip label="保安员证号" width="100" /> |
| | | <el-table-column prop="archivesNumb" show-overflow-tooltip label="档案编号" width="80" /> |
| | | <el-table-column prop="archivesStatusName" show-overflow-tooltip label="档案情况" /> |
| | | </el-table> |
| | | <el-table |
| | | v-show="showArr[1].show" |
| | | ref="workExperienceTable" |
| | | :data="workExperienceData" |
| | | style="width: 100%;height: 70%;" |
| | | :cell-style="{padding:'7px 0','text-align':'center'}" |
| | | :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}" |
| | | stripe |
| | | border |
| | | style="width: 100%;" |
| | | @sort-change="changeSort" |
| | | > |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <el-table-column label="操作" width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | @click="editWorkExperience(scope.row)" |
| | | >编辑 |
| | | </el-button> |
| | | <!-- <el-button--> |
| | | <!-- type="text"--> |
| | | <!-- size="small"--> |
| | | <!-- @click="editWorkExperience(scope.row)"--> |
| | | <!-- >编辑--> |
| | | <!-- </el-button>--> |
| | | <span style="color: #a00515;cursor: pointer;" @click="editWorkExperience(scope.row)"> |
| | | <i class="el-icon-edit-outline" style="font-size: 1.9vh;margin-right: 5px;" /> |
| | | 编辑 |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | | <el-table-column prop="empName" label="员工姓名" width="180" /> |
| | | <el-table-column prop="certificateNumb" label="证件号码" width="180" /> |
| | | <el-table-column prop="workUnit" label="工作单位" width="180" /> |
| | | <el-table-column prop="beginDate" label="开始日期" width="180" /> |
| | | <el-table-column prop="endDate" label="结束日期" width="180" /> |
| | | <el-table-column prop="jobContent" label="主要工作内容" width="180" /> |
| | | <el-table-column prop="empNumb" label="编号" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column prop="empName" label="姓名" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column prop="certificateNumb" show-overflow-tooltip label="身份证号码" width="180" /> |
| | | <el-table-column prop="workUnit" show-overflow-tooltip label="工作单位" width="160" /> |
| | | <el-table-column prop="beginDate" label="开始日期" width="140" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column prop="endDate" label="结束日期" width="140" /> |
| | | <el-table-column prop="jobContent" show-overflow-tooltip label="主要工作内容" min-width="120" /> |
| | | </el-table> |
| | | <el-table |
| | | v-show="showArr[2].show" |
| | | ref="physicalExamTable" |
| | | :data="physicalExamData" |
| | | style="width: 100%;height: 70%;" |
| | | :cell-style="{padding:'7px 0','text-align':'center'}" |
| | | :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}" |
| | | stripe |
| | | border |
| | | style="width: 100%;" |
| | | @sort-change="changeSort" |
| | | > |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <el-table-column type="selection" width="50" /> |
| | | <el-table-column label="操作" width="80"> |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | @click="editPhysicalExam(scope.row)" |
| | | >编辑 |
| | | </el-button> |
| | | <!-- <el-button--> |
| | | <!-- type="text"--> |
| | | <!-- size="small"--> |
| | | <!-- @click="editPhysicalExam(scope.row)"--> |
| | | <!-- >编辑--> |
| | | <!-- </el-button>--> |
| | | |
| | | <span style="color: #a00515;cursor: pointer;" @click="editPhysicalExam(scope.row)"> |
| | | <i class="el-icon-edit-outline" style="font-size: 1.9vh;margin-right: 5px;" /> |
| | | 编辑 |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | | <el-table-column prop="deptName" label="护卫点" width="180" /> |
| | | <el-table-column prop="empName" label="员工姓名" width="180" /> |
| | | <el-table-column prop="certificateNumb" label="身份证号码" width="180" /> |
| | | <el-table-column prop="jobName" label="岗位" width="180" /> |
| | | <el-table-column prop="hospital" label="体检医院" width="180" /> |
| | | <el-table-column prop="physicalExamDate" label="体检日期" width="180" /> |
| | | <el-table-column prop="physicalExamType" label="体检类型" width="180" /> |
| | | <el-table-column prop="bloodPressure" label="血压" width="180" /> |
| | | <el-table-column prop="transaminase" label="转氨酶" width="180" /> |
| | | <el-table-column prop="ecg" label="心电图" width="180" /> |
| | | <el-table-column prop="conclusion" label="体检结论" width="180" /> |
| | | <el-table-column prop="reviewRecord" label="复查记录" width="180" /> |
| | | <el-table-column prop="remark" label="备注" width="180" /> |
| | | <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="80" /> |
| | | <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="160" /> |
| | | <el-table-column prop="hospital" show-overflow-tooltip label="体检医院" min-width="100" /> |
| | | <el-table-column show-overflow-tooltip prop="physicalExamDate" label="体检日期" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column |
| | | show-overflow-tooltip |
| | | prop="physicalExamType" |
| | | label="体检类型" |
| | | width="80" |
| | | :formatter="typeFormat" |
| | | /> |
| | | <el-table-column show-overflow-tooltip prop="bloodPressure" label="血压" width="60" /> |
| | | <el-table-column show-overflow-tooltip prop="transaminase" label="转氨酶" width="80" /> |
| | | <el-table-column prop="ecg" show-overflow-tooltip label="心电图" width="80" :formatter="ecgNameFormat" /> |
| | | <el-table-column prop="conclusion" show-overflow-tooltip label="体检结论" min-width="100" /> |
| | | <el-table-column prop="reviewRecord" show-overflow-tooltip label="复查日期" min-width="100" /> |
| | | <el-table-column prop="remark" show-overflow-tooltip label="备注" /> |
| | | </el-table> |
| | | <el-table |
| | | v-show="showArr[3].show" |
| | | ref="contractInfoTable" |
| | | :data="contractInfoData" |
| | | style="width: 100%;height: 70%;" |
| | | :cell-style="{padding:'7px 0','text-align':'center'}" |
| | | :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}" |
| | | stripe |
| | | border |
| | | style="width: 100%;" |
| | | @sort-change="changeSort" |
| | | > |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <el-table-column label="操作" width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | @click="editContractInfo(scope.row)" |
| | | >编辑 |
| | | </el-button> |
| | | <!-- <el-button--> |
| | | <!-- type="text"--> |
| | | <!-- size="small"--> |
| | | <!-- @click="editContractInfo(scope.row)"--> |
| | | <!-- >编辑--> |
| | | <!-- </el-button>--> |
| | | |
| | | <span style="color: #a00515;cursor: pointer;" @click="editContractInfo(scope.row)"> |
| | | <i class="el-icon-edit-outline" style="font-size: 1.9vh;margin-right: 5px;" /> |
| | | 编辑 |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | | <el-table-column prop="deptName" label="护卫点" width="180" /> |
| | | <el-table-column prop="jobName" label="岗位" width="180" /> |
| | | <el-table-column prop="empName" label="员工姓名" width="180" /> |
| | | <el-table-column prop="certificateNumb" label="证件号码" width="180" /> |
| | | <el-table-column prop="signingDate" label="合同签订日期" width="180" /> |
| | | <el-table-column prop="endDate" label="合同结束日期" width="180" /> |
| | | <el-table-column prop="contractPeriod" label="合同期限(年)" width="180" /> |
| | | <el-table-column prop="contractStatus" label="合同状态" width="180" /> |
| | | <el-table-column prop="transactor" label="合同办理人" width="180" /> |
| | | <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="100" /> |
| | | <el-table-column prop="empName" label="姓名" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="155" /> |
| | | <el-table-column show-overflow-tooltip prop="signingDate" label="合同签订日期" width="140" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="endDate" label="合同结束日期" width="140" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="contractPeriod" label="合同期限(年)" width="120" /> |
| | | <el-table-column show-overflow-tooltip prop="contractStatus" label="合同状态" :formatter="contractStatusFormat" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="transactor" label="合同办理人" width="100" /> |
| | | </el-table> |
| | | <el-table v-show="showArr[4].show" ref="dimissionAttendTable" :data="dimissionAttendData" style="width: 100%;height: 70%;"> |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <template slot-scope="scope"><el-button type="text" size="small" @click="editDimissionAttend(scope.row)">编辑</el-button></template> |
| | | <el-table |
| | | v-show="showArr[4].show" |
| | | ref="dimissionAttendTable" |
| | | :data="dimissionAttendData" |
| | | :cell-style="{padding:'7px 0','text-align':'center'}" |
| | | :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}" |
| | | stripe |
| | | border |
| | | style="width: 100%;" |
| | | @sort-change="changeSort" |
| | | > |
| | | <el-table-column type="selection" width="50" /> |
| | | <el-table-column label="操作" width="80"> |
| | | <template slot-scope="scope"> |
| | | <!-- <el-button type="text" size="small" @click="editDimissionAttend(scope.row)">编辑</el-button>--> |
| | | |
| | | <span style="color: #a00515;cursor: pointer;" @click="editDimissionAttend(scope.row)"> |
| | | <i class="el-icon-edit-outline" style="font-size: 1.9vh;margin-right: 5px;" /> |
| | | 编辑 |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | | <el-table-column prop="deptName" label="部门名称" width="180" /> |
| | | <el-table-column prop="jobName" label="岗位名称" width="180" /> |
| | | <el-table-column prop="empName" label="员工姓名" width="180" /> |
| | | <el-table-column prop="certificateNumb" label="证件号码" width="180" /> |
| | | <el-table-column prop="attendMonth" label="离职考勤月份" width="180" /> |
| | | <el-table-column prop="attendDays" label="出勤天数" width="180" /> |
| | | <el-table-column prop="overtimeDay" label="加班(天)" width="180" /> |
| | | <el-table-column prop="overtimeHour" label="加班(小时)" width="180" /> |
| | | <el-table-column prop="deduct" label="有无代扣款项" width="180" /> |
| | | <el-table-column prop="leaveDay" label="请假(天)" width="180" /> |
| | | <el-table-column prop="absenteeism" label="旷工(天)" width="180" /> |
| | | <el-table-column prop="remark" label="备注" width="180" /> |
| | | <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="60" /> |
| | | <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="120" /> |
| | | <el-table-column show-overflow-tooltip prop="attendMonth" label="离职考勤月份" width="120" /> |
| | | <el-table-column show-overflow-tooltip prop="attendDays" label="出勤天数" width="100" /> |
| | | <el-table-column show-overflow-tooltip prop="overtimeDay" label="加班(天)" width="100" /> |
| | | <el-table-column show-overflow-tooltip prop="overtimeHour" label="加班(小时)" width="120" /> |
| | | <el-table-column show-overflow-tooltip prop="deduct" label="有无代扣款项" width="120" /> |
| | | <el-table-column show-overflow-tooltip prop="leaveDay" label="请假(天)" width="100" /> |
| | | <el-table-column show-overflow-tooltip prop="absenteeism" label="旷工(天)" width="100" /> |
| | | <el-table-column show-overflow-tooltip prop="remark" label="备注" /> |
| | | </el-table> |
| | | <el-table v-show="showArr[5].show" ref="leaveInfoTable" :data="leaveInfoData" style="width: 100%;height: 70%;"> |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <template slot-scope="scope"><el-button type="text" size="small" @click="editLeaveInfo(scope.row)">编辑</el-button></template> |
| | | <el-table |
| | | v-show="showArr[5].show" |
| | | ref="leaveInfoTable" |
| | | :data="leaveInfoData" |
| | | :cell-style="{padding:'7px 0','text-align':'center'}" |
| | | :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}" |
| | | stripe |
| | | border |
| | | style="width: 100%;" |
| | | @sort-change="changeSort" |
| | | > |
| | | <el-table-column type="selection" width="50" /> |
| | | <el-table-column label="操作" width="80"> |
| | | <template slot-scope="scope"> |
| | | <!-- <el-button type="text" size="small" @click="editLeaveInfo(scope.row)">编辑</el-button>--> |
| | | <span style="color: #a00515;cursor: pointer;" @click="editLeaveInfo(scope.row)"> |
| | | <i class="el-icon-edit-outline" style="font-size: 1.9vh;margin-right: 5px;" /> |
| | | 编辑 |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | | <el-table-column prop="deptName" label="部门名称" width="180" /> |
| | | <el-table-column prop="jobName" label="岗位名称" width="180" /> |
| | | <el-table-column prop="empName" label="员工姓名" width="180" /> |
| | | <el-table-column prop="certificateNumb" label="证件号码" width="180" /> |
| | | <el-table-column prop="beginTime" label="开始时间" width="180" /> |
| | | <el-table-column prop="endTime" label="结束时间" width="180" /> |
| | | <el-table-column prop="leaveDay" label="请假天数" width="180" /> |
| | | <el-table-column prop="leaveType" label="请假类型" width="180" /> |
| | | <el-table-column prop="returnDate" label="到岗时间" width="180" /> |
| | | <el-table-column prop="reporter" label="报备人" width="180" /> |
| | | <el-table-column prop="remark" label="备注" width="180" /> |
| | | <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="80" /> |
| | | <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="120" /> |
| | | <el-table-column show-overflow-tooltip prop="beginTime" label="开始时间" width="140" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="endTime" label="结束时间" width="110" /> |
| | | <el-table-column show-overflow-tooltip prop="leaveDay" label="请假天数" width="80" /> |
| | | <el-table-column show-overflow-tooltip prop="leaveType" label="请假类型" width="80" :formatter="leaveTypeFormat" /> |
| | | <el-table-column show-overflow-tooltip prop="returnDate" label="返岗时间" width="110" /> |
| | | <el-table-column show-overflow-tooltip prop="reporter" label="报备人" width="80" /> |
| | | <el-table-column show-overflow-tooltip prop="remark" label="备注" /> |
| | | </el-table> |
| | | <el-table v-show="showArr[6].show" ref="resignTable" :data="resignData" style="width: 100%;height: 70%;"> |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <template slot-scope="scope"><el-button type="text" size="small" @click="editResign(scope.row)">编辑</el-button></template> |
| | | <el-table |
| | | v-show="showArr[6].show" |
| | | ref="resignTable" |
| | | :data="resignData" |
| | | :cell-style="{padding:'7px 0','text-align':'center'}" |
| | | :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}" |
| | | stripe |
| | | border |
| | | style="width: 100%;" |
| | | @sort-change="changeSort" |
| | | > |
| | | <el-table-column type="selection" width="50" /> |
| | | <el-table-column label="操作" width="80"> |
| | | <template slot-scope="scope"> |
| | | <!-- <el-button type="text" size="small" @click="editResign(scope.row)">编辑</el-button>--> |
| | | <span style="color: #a00515;cursor: pointer;" @click="editResign(scope.row)"> |
| | | <i class="el-icon-edit-outline" style="font-size: 1.9vh;margin-right: 5px;" /> |
| | | 编辑 |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="deptName" label="护卫点" width="180" /> |
| | | <el-table-column prop="jobName" label="岗位名" width="180" /> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | | <el-table-column prop="empName" label="员工姓名" width="180" /> |
| | | <el-table-column prop="certificateNumb" label="证件号码" width="180" /> |
| | | <el-table-column prop="applayDate" label="辞职申请日期" width="180" /> |
| | | <el-table-column prop="reason" label="辞职事由" width="180" /> |
| | | <el-table-column prop="reporter" label="汇报人" width="180" /> |
| | | <el-table-column prop="remark" label="备注" width="180" /> |
| | | <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="100" /> |
| | | <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="160" /> |
| | | <el-table-column show-overflow-tooltip prop="applayDate" label="辞职申请日期" width="150" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="reason" label="辞职事由" width="150" /> |
| | | <el-table-column show-overflow-tooltip prop="reporter" label="汇报人" width="100" /> |
| | | <el-table-column show-overflow-tooltip prop="remark" label="备注" /> |
| | | </el-table> |
| | | <el-table v-show="showArr[7].show" ref="unemploymentTable" :data="unemploymentData" style="width: 100%;height: 70%;"> |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <template slot-scope="scope"><el-button type="text" size="small" @click="editUnemployment(scope.row)">编辑</el-button></template> |
| | | <el-table |
| | | v-show="showArr[7].show" |
| | | ref="unemploymentTable" |
| | | :data="unemploymentData" |
| | | :cell-style="{padding:'7px 0','text-align':'center'}" |
| | | :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}" |
| | | stripe |
| | | border |
| | | style="width: 100%;" |
| | | @sort-change="changeSort" |
| | | > |
| | | <el-table-column type="selection" width="50" /> |
| | | <el-table-column label="操作" width="80"> |
| | | <template slot-scope="scope"> |
| | | <!-- <el-button type="text" size="small" @click="editUnemployment(scope.row)">编辑</el-button>--> |
| | | <span style="color: #a00515;cursor: pointer;" @click="editUnemployment(scope.row)"> |
| | | <i class="el-icon-edit-outline" style="font-size: 1.9vh;margin-right: 5px;" /> |
| | | 编辑 |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | | <el-table-column prop="deptName" label="护卫点" width="180" /> |
| | | <el-table-column prop="jobName" label="岗位名称" width="180" /> |
| | | <el-table-column prop="empName" label="姓名" width="180" /> |
| | | <el-table-column prop="certificateNumb" label="身份证号码" width="180" /> |
| | | <el-table-column prop="applayDate" label="失业金申请日期" width="180" /> |
| | | <el-table-column prop="applayReason" label="申报事由" width="180" /> |
| | | <el-table-column prop="reporter" label="汇报人" width="180" /> |
| | | <el-table-column prop="auditor" label="审核人" width="180" /> |
| | | <el-table-column prop="remark" label="备注" width="180" /> |
| | | <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="100" /> |
| | | <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="150" /> |
| | | <el-table-column show-overflow-tooltip prop="applayDate" label="失业金申请日期" width="150" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="applayReason" label="申报事由" /> |
| | | <el-table-column show-overflow-tooltip prop="reporter" label="汇报人" width="100" /> |
| | | <el-table-column show-overflow-tooltip prop="auditor" label="审核人" width="100" /> |
| | | <el-table-column show-overflow-tooltip prop="remark" label="备注" /> |
| | | </el-table> |
| | | <el-table v-show="showArr[8].show" ref="insuranceTable" :data="insuranceData" style="width: 100%;height: 70%;"> |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <template slot-scope="scope"><el-button type="text" size="small" @click="editInsurance(scope.row)">编辑</el-button></template> |
| | | <el-table |
| | | v-show="showArr[8].show" |
| | | ref="insuranceTable" |
| | | :data="insuranceData" |
| | | :cell-style="{padding:'7px 0','text-align':'center'}" |
| | | :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}" |
| | | stripe |
| | | border |
| | | style="width: 100%;" |
| | | @sort-change="changeSort" |
| | | > |
| | | <el-table-column type="selection" width="50" /> |
| | | <el-table-column label="操作" width="80"> |
| | | <template slot-scope="scope"> |
| | | <!-- <el-button type="text" size="small" @click="editInsurance(scope.row)">编辑</el-button>--> |
| | | <span style="color: #a00515;cursor: pointer;" @click="editInsurance(scope.row)"> |
| | | <i class="el-icon-edit-outline" style="font-size: 1.9vh;margin-right: 5px;" /> |
| | | 编辑 |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | | <el-table-column prop="deptName" label="护卫点" width="180" /> |
| | | <el-table-column prop="jobName" label="岗位名称" width="180" /> |
| | | <el-table-column prop="empName" label="姓名" width="180" /> |
| | | <el-table-column prop="certificateNumb" label="身份证号码" width="180" /> |
| | | <el-table-column prop="applayDate" label="社保申请日期" width="180" /> |
| | | <el-table-column prop="proposer" label="申请人" width="180" /> |
| | | <el-table-column prop="insuranceGaers" label="社保档位" width="180" /> |
| | | <el-table-column prop="reportStatus " label="是否已报告" width="180" /> |
| | | <el-table-column prop="applayStatus" label="状态" width="180" /> |
| | | <el-table-column prop="auditor" label="审核人" width="180" /> |
| | | <el-table-column prop="remark" label="备注" width="280" /> |
| | | <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="100" /> |
| | | <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="120" /> |
| | | <el-table-column show-overflow-tooltip prop="applayDate" label="社保申请日期" width="140" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="proposer" label="申请人" width="80" /> |
| | | <el-table-column show-overflow-tooltip prop="insuranceGaers" label="保险类型" :formatter="insuranceGaersFormat" width="80" /> |
| | | <el-table-column prop="reportStatus " label="是否已报告" width="100" :formatter="reportStatusFormat" /> |
| | | <el-table-column prop="applayStatus" label="状态" width="80" :formatter="applayStatusFormat" /> |
| | | <el-table-column prop="auditor" label="审核人" width="80" /> |
| | | <el-table-column prop="remark" label="备注" width="300" /> |
| | | </el-table> |
| | | <el-table v-show="showArr[9].show" ref="accidentCasesTable" :data="accidentCasesData" style="width: 100%;height: 70%;"> |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <template slot-scope="scope"><el-button type="text" size="small" @click="editAccidentCases(scope.row)">编辑</el-button></template> |
| | | <el-table |
| | | v-show="showArr[9].show" |
| | | ref="accidentCasesTable" |
| | | :data="accidentCasesData" |
| | | :cell-style="{padding:'7px 0','text-align':'center'}" |
| | | :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}" |
| | | stripe |
| | | border |
| | | style="width: 100%;" |
| | | @sort-change="changeSort" |
| | | > |
| | | <el-table-column type="selection" width="50" /> |
| | | <el-table-column label="操作" width="80"> |
| | | <template slot-scope="scope"> |
| | | <!-- <el-button type="text" size="small" @click="editAccidentCases(scope.row)">编辑</el-button>--> |
| | | <span style="color: #a00515;cursor: pointer;" @click="editAccidentCases(scope.row)"> |
| | | <i class="el-icon-edit-outline" style="font-size: 1.9vh;margin-right: 5px;" /> |
| | | 编辑 |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | | <el-table-column prop="deptName" label="护卫点" width="180" /> |
| | | <el-table-column prop="jobName" label="岗位名称" width="180" /> |
| | | <el-table-column prop="empName" label="姓名" width="180" /> |
| | | <el-table-column prop="certificateNumb" label="身份证号码" width="180" /> |
| | | <el-table-column prop="injuredTime" label="受伤日期" width="180" /> |
| | | <el-table-column prop="injuredAddress" label="受伤地点" width="180" /> |
| | | <el-table-column prop="injuredPart" label="受伤部位" width="180" /> |
| | | <el-table-column prop="injuredDescribe" label="受伤经过描述" width="180" /> |
| | | <el-table-column prop="injuredDiacrisis" label="意外险诊断" width="180" /> |
| | | <el-table-column prop="hospitalName" label="就诊医院" width="180" /> |
| | | <el-table-column prop="treatmentName" label="就诊科室" width="180" /> |
| | | <el-table-column prop="hospitalizatioFlag" label="是否住院" width="180" /> |
| | | <el-table-column prop="bedNumb" label="床号" width="180" /> |
| | | <el-table-column prop="reprotTime" label="报案时间" width="180" /> |
| | | <el-table-column prop="submitTime" label="递交资料时间" width="180" /> |
| | | <el-table-column prop="sbumitBy" label="递交人" width="180" /> |
| | | <el-table-column prop="expensesFee" label="医疗总费用" width="180" /> |
| | | <el-table-column prop="innsureFee" label="保险赔付费用" width="180" /> |
| | | <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="90" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="80" /> |
| | | <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="120" /> |
| | | <el-table-column show-overflow-tooltip prop="injuredTime" label="受伤日期" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="injuredAddress" label="受伤地点" width="80" /> |
| | | <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="hospitalName" label="就诊医院" width="80" /> |
| | | <el-table-column show-overflow-tooltip prop="treatmentName" label="就诊科室" width="80" /> |
| | | <el-table-column |
| | | show-overflow-tooltip |
| | | prop="hospitalizatioFlag" |
| | | label="是否住院" |
| | | width="80" |
| | | :formatter="hospitalizatioFlagFormat" |
| | | /> |
| | | <el-table-column show-overflow-tooltip prop="bedNumb" label="床号" width="60" /> |
| | | <el-table-column show-overflow-tooltip prop="reprotTime" label="报案时间" width="80" /> |
| | | <el-table-column show-overflow-tooltip prop="submitTime" label="递交资料时间" width="120" /> |
| | | <el-table-column show-overflow-tooltip prop="sbumitBy" label="递交人" width="80" /> |
| | | <el-table-column show-overflow-tooltip prop="expensesFee" label="医疗总费用" width="100" /> |
| | | <el-table-column show-overflow-tooltip prop="innsureFee" label="保险赔付费用" width="120" /> |
| | | </el-table> |
| | | <el-table v-show="showArr[10].show" ref="occupationalTable" :data="occupationalData" style="width: 100%;height: 70%;"> |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <template slot-scope="scope"><el-button type="text" size="small" @click="editOccupational(scope.row)">编辑</el-button></template> |
| | | <el-table |
| | | v-show="showArr[10].show" |
| | | ref="occupationalTable" |
| | | :data="occupationalData" |
| | | :cell-style="{padding:'7px 0','text-align':'center'}" |
| | | :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}" |
| | | stripe |
| | | border |
| | | style="width: 100%;" |
| | | @sort-change="changeSort" |
| | | > |
| | | <el-table-column type="selection" width="50" /> |
| | | <el-table-column label="操作" width="80"> |
| | | <template slot-scope="scope"> |
| | | <!-- <el-button type="text" size="small" @click="editOccupational(scope.row)">编辑</el-button>--> |
| | | <span style="color: #a00515;cursor: pointer;" @click="editOccupational(scope.row)"> |
| | | <i class="el-icon-edit-outline" style="font-size: 1.9vh;margin-right: 5px;" /> |
| | | 编辑 |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | | <el-table-column prop="deptName" label="护卫点" width="180" /> |
| | | <el-table-column prop="jobName" label="岗位" width="180" /> |
| | | <el-table-column prop="empName" label="姓名" width="180" /> |
| | | <el-table-column prop="certificateNumb" label="身份证号码" width="180" /> |
| | | <el-table-column prop="injuredTime" label="受伤日期" width="180" /> |
| | | <el-table-column prop="injuredAddress" label="受伤地点" width="180" /> |
| | | <el-table-column prop="injuredPart" label="受伤部位" width="180" /> |
| | | <el-table-column prop="injuredDescribe" label="受伤经过描述" width="180" /> |
| | | <el-table-column prop="injuredDiacrisis" label="工伤诊断" width="180" /> |
| | | <el-table-column prop="hospitalName" label="就诊医院" width="180" /> |
| | | <el-table-column prop="treatmentName" label="就诊科室" width="180" /> |
| | | <el-table-column prop="hospitalizatioFlag" label="是否住院" width="180" /> |
| | | <el-table-column prop="bedNumb" label="床号" width="180" /> |
| | | <el-table-column prop="reportTime" label="报案时间" width="180" /> |
| | | <el-table-column prop="submitTime" label="递交资料时间" width="180" /> |
| | | <el-table-column prop="sbumitBy" label="递交人" width="180" /> |
| | | <el-table-column prop="expensesFee" label="医疗总费用" width="180" /> |
| | | <el-table-column prop="compensated" label="已赔付医药费用" width="180" /> |
| | | <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="90" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="60" /> |
| | | <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="120" /> |
| | | <el-table-column show-overflow-tooltip prop="injuredTime" label="受伤日期" width="130" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <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="treatmentName" label="就诊科室" width="100" /> |
| | | <el-table-column |
| | | show-overflow-tooltip |
| | | prop="hospitalizatioFlag" |
| | | label="是否住院" |
| | | width="80" |
| | | :formatter="hospitalizatioFlagFormat" |
| | | /> |
| | | <el-table-column show-overflow-tooltip prop="bedNumb" label="床号" width="60" /> |
| | | <el-table-column show-overflow-tooltip prop="reportTime" label="报案时间" width="100" /> |
| | | <el-table-column show-overflow-tooltip prop="submitTime" label="递交资料时间" width="120" /> |
| | | <el-table-column show-overflow-tooltip prop="sbumitBy" label="递交人" width="80" /> |
| | | <el-table-column show-overflow-tooltip prop="expensesFee" label="医疗总费用" width="100" /> |
| | | <el-table-column show-overflow-tooltip prop="compensated" label="已赔付医药费用" width="120" /> |
| | | <el-table-column show-overflow-tooltip prop="settleStatusName" label="是否结案" width="80" /> |
| | | </el-table> |
| | | <el-table v-show="showArr[11].show" ref="occupationalTable" :data="laborTroubleData" style="width: 100%;height: 70%;"> |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <template slot-scope="scope"><el-button type="text" size="small" @click="editLaborTrouble(scope.row)">编辑</el-button></template> |
| | | <el-table |
| | | v-show="showArr[11].show" |
| | | ref="laborTroubleTable" |
| | | :data="laborTroubleData" |
| | | :cell-style="{padding:'7px 0','text-align':'center'}" |
| | | :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}" |
| | | stripe |
| | | border |
| | | style="width: 100%;" |
| | | @sort-change="changeSort" |
| | | > |
| | | <el-table-column type="selection" width="50" /> |
| | | <el-table-column label="操作" width="80"> |
| | | <template slot-scope="scope"> |
| | | <!-- <el-button type="text" size="small" @click="editLaborTrouble(scope.row)">编辑</el-button>--> |
| | | <span style="color: #a00515;cursor: pointer;" @click="editLaborTrouble(scope.row)"> |
| | | <i class="el-icon-edit-outline" style="font-size: 1.9vh;margin-right: 5px;" /> |
| | | 编辑 |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | | <el-table-column prop="deptName" label="护卫点" width="180" /> |
| | | <el-table-column prop="jobName" label="岗位" width="180" /> |
| | | <el-table-column prop="empName" label="姓名" width="180" /> |
| | | <el-table-column prop="certificateNumb" label="身份证号码" width="180" /> |
| | | <el-table-column prop="arbitrationDate" label="仲裁日期" width="180" /> |
| | | <el-table-column prop="arbitrationDate" label="仲裁日期" width="180" /> |
| | | <el-table-column prop="arbitrationType" label="仲裁类型" width="180" /> |
| | | <el-table-column prop="arbitrationReason" label="仲裁事由" width="180" /> |
| | | <el-table-column prop="reporter" label="报备人" width="180" /> |
| | | <el-table-column prop="remark" label="备注" width="180" /> |
| | | <el-table-column prop="arbitrationPay" label="仲裁赔付(元)" width="180" /> |
| | | <el-table-column prop="arbitrationStatus" label="状态" width="180" /> |
| | | <el-table-column prop="settleDate" label="案结日期" width="180" /> |
| | | <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="280" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="60" /> |
| | | <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="120" /> |
| | | <el-table-column show-overflow-tooltip prop="arbitrationDate" label="仲裁日期" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column |
| | | show-overflow-tooltip |
| | | prop="arbitrationType" |
| | | label="仲裁类型" |
| | | width="100" |
| | | :formatter="arbitrationTypeFormat" |
| | | /> |
| | | <el-table-column show-overflow-tooltip prop="arbitrationReason" label="仲裁事由" min-width="100" /> |
| | | <el-table-column show-overflow-tooltip prop="reporter" label="报备人" width="70" /> |
| | | <el-table-column show-overflow-tooltip prop="remark" label="备注" /> |
| | | <el-table-column show-overflow-tooltip prop="arbitrationPay" label="仲裁赔付(元)" width="120" /> |
| | | <el-table-column |
| | | show-overflow-tooltip |
| | | prop="arbitrationStatus" |
| | | label="状态" |
| | | width="50" |
| | | :formatter="arbitrationStatusFormat" |
| | | /> |
| | | <el-table-column show-overflow-tooltip prop="settleDate" label="案结日期" width="100" /> |
| | | </el-table> |
| | | <el-table |
| | | v-show="showArr[12].show" |
| | | ref="badRecordTable" |
| | | :data="badRecordData" |
| | | style="width: 100%;height: 70%;" |
| | | :cell-style="{padding:'7px 0','text-align':'center'}" |
| | | :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}" |
| | | stripe |
| | | border |
| | | style="width: 100%;" |
| | | @sort-change="changeSort" |
| | | > |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <el-table-column label="操作" width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | @click="editBadRecord(scope.row)" |
| | | >编辑 |
| | | </el-button> |
| | | <!-- <el-button--> |
| | | <!-- type="text"--> |
| | | <!-- size="small"--> |
| | | <!-- @click="editBadRecord(scope.row)"--> |
| | | <!-- >编辑--> |
| | | <!-- </el-button>--> |
| | | <span style="color: #a00515;cursor: pointer;" @click="editBadRecord(scope.row)"> |
| | | <i class="el-icon-edit-outline" style="font-size: 1.9vh;margin-right: 5px;" /> |
| | | 编辑 |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | | <el-table-column prop="deptName" label="护卫点" width="180" /> |
| | | <el-table-column prop="jobName" label="岗位" width="180" /> |
| | | <el-table-column prop="empName" label="姓名" width="180" /> |
| | | <el-table-column prop="certificateNumb" label="身份证号码" width="180" /> |
| | | <el-table-column prop="badDate" label="不良记录日期" width="180" /> |
| | | <el-table-column prop="badContent" label="不良记录描述" width="180" /> |
| | | <el-table-column prop="reporter" label="汇报人" width="180" /> |
| | | <el-table-column prop="remark" label="备注" width="180" /> |
| | | <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="120" /> |
| | | <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" min-width="120" /> |
| | | <el-table-column show-overflow-tooltip prop="badDate" label="不良记录日期" width="150" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="badContent" label="不良记录描述" min-width="120" /> |
| | | <el-table-column show-overflow-tooltip prop="reporter" label="汇报人" width="120" /> |
| | | <el-table-column show-overflow-tooltip prop="remark" label="备注" /> |
| | | </el-table> |
| | | <el-table v-show="showArr[13].show" ref="remarkInfoTable" :data="remarkInfoData" style="width: 100%;height: 70%;"> |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column fixed="left" label="操作" width="100"> |
| | | <template slot-scope="scope"><el-button type="text" size="small" @click="editRemarkInfo(scope.row)">编辑</el-button></template> |
| | | <el-table |
| | | v-show="showArr[13].show" |
| | | ref="remarkInfoTable" |
| | | :data="remarkInfoData" |
| | | :cell-style="{padding:'7px 0','text-align':'center'}" |
| | | :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}" |
| | | stripe |
| | | border |
| | | style="width: 100%;" |
| | | @sort-change="changeSort" |
| | | > |
| | | <el-table-column type="selection" width="50" /> |
| | | <el-table-column label="操作" width="80"> |
| | | <template slot-scope="scope"> |
| | | <!-- <el-button type="text" size="small" @click="editRemarkInfo(scope.row)">编辑</el-button>--> |
| | | <span style="color: #a00515;cursor: pointer;" @click="editRemarkInfo(scope.row)"> |
| | | <i class="el-icon-edit-outline" style="font-size: 1.9vh;margin-right: 5px;" /> |
| | | 编辑 |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="empNumb" label="员工编号" width="180" /> |
| | | <el-table-column prop="deptName" label="护卫点" width="180" /> |
| | | <el-table-column prop="jobName" label="岗位" width="180" /> |
| | | <el-table-column prop="empName" label="姓名" width="180" /> |
| | | <el-table-column prop="certificateNumb" label="身份证号码" width="180" /> |
| | | <el-table-column prop="remarkDate" label="备注日期" width="180" /> |
| | | <el-table-column prop="remarkContent" label="备注信息" width="400" /> |
| | | <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="allDeptName" label="部门(护卫点)" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="120" /> |
| | | <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="180" /> |
| | | <el-table-column show-overflow-tooltip prop="remarkDate" label="备注日期" width="150" sortable="custom" :sort-orders="['ascending', 'descending']" /> |
| | | <el-table-column show-overflow-tooltip prop="remarkContent" label="备注信息" /> |
| | | </el-table> |
| | | <el-col :span="24"> |
| | | <div style="margin: 0px auto; width: 250px;margin-top: 20px;"> |
| | | <el-button class="nomalBtn">取消</el-button> |
| | | <el-button class="nomalBtn">暂存</el-button> |
| | | <el-button class="commonBtn">提交</el-button> |
| | | <pagination |
| | | v-show="total>0" |
| | | :total="total" |
| | | :page.sync="pagination.num" |
| | | :limit.sync="pagination.size" |
| | | @pagination="search" |
| | | /> |
| | | <el-col> |
| | | <div style="width: 250px;margin: 20px auto 0;"> |
| | | <el-button class="nomalBtn" @click="deleteFrom()">取消</el-button> |
| | | <el-button class="commonBtn" @click="submitTo()">提交</el-button> |
| | | </div> |
| | | </el-col> |
| | | </el-main> |
| | | </el-container> |
| | | <el-dialog title="基本信息" :visible.sync="dialogshowArr[0].show" width="50%"> |
| | | <el-form :model="empBaseInfoForm" label-position="right" label-width="120px"> |
| | | <el-dialog title="导入员工信息" :visible.sync="dialogShowDryg" width="50%"> |
| | | <el-form :model="baseicInformationForm" label-position="right" label-width="120px"> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="档案号"> |
| | | <el-input v-model="empBaseInfoForm.archivesNumb" /> |
| | | <el-col span="24"> |
| | | <el-form-item label="员工模板下载" prop="region"> |
| | | <a :href="downloadEmpExcel" target="_blank" style="color: #3A8EE6;">员工信息.xlxs</a> |
| | | <span style="margin-left: 100px;">点击下载</span> |
| | | </el-form-item> |
| | | <el-form-item label="员工编号"> |
| | | <el-input v-model="empBaseInfoForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="region"> |
| | | <el-select v-model="empBaseInfoForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="员工类型" prop="region"> |
| | | <el-select v-model="empBaseInfoForm.empType" placeholder="请选择员工类型"> |
| | | <el-option label="正式工" value="1" /> |
| | | <el-option label="临时工" value="2" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="民族" prop="region"> |
| | | <el-select v-model="empBaseInfoForm.nation" placeholder="请选择民族"> |
| | | <el-option label="汉族" value="01" /> |
| | | <el-option label="蒙古族" value="02" /> |
| | | <el-option label="回族" value="03" /> |
| | | <el-option label="藏族" value="04" /> |
| | | <el-option label="维吾尔族" value="05" /> |
| | | <el-option label="苗族" value="06" /> |
| | | <el-option label="彝族" value="07" /> |
| | | <el-option label="壮族" value="08" /> |
| | | <el-option label="布衣族" value="09" /> |
| | | <el-option label="朝鲜族" value="10" /> |
| | | <el-option label="满族" value="11" /> |
| | | <el-option label="侗族" value="12" /> |
| | | <el-option label="瑶族" value="13" /> |
| | | <el-option label="白族" value="14" /> |
| | | <el-option label="土家族" value="15" /> |
| | | <el-option label="哈尼族" value="16" /> |
| | | <el-option label="哈萨克族" value="17" /> |
| | | <el-option label="傣族" value="18" /> |
| | | <el-option label="黎族" value="19" /> |
| | | <el-option label="傈傈族" value="20" /> |
| | | <el-option label="瓦族" value="21" /> |
| | | <el-option label="畲族" value="22" /> |
| | | <el-option label="高山族" value="23" /> |
| | | <el-option label="拉祜族" value="24" /> |
| | | <el-option label="水族" value="25" /> |
| | | <el-option label="东乡族" value="26" /> |
| | | <el-option label="纳西族" value="27" /> |
| | | <el-option label="景颇族" value="28" /> |
| | | <el-option label="柯尔克孜族" value="29" /> |
| | | <el-option label="土族" value="30" /> |
| | | <el-option label="达斡尔族" value="31" /> |
| | | <el-option label="仫佬族" value="32" /> |
| | | <el-option label="羌族" value="33" /> |
| | | <el-option label="布朗族" value="34" /> |
| | | <el-option label="撒拉族" value="35" /> |
| | | <el-option label="毛难族" value="36" /> |
| | | <el-option label="仡佬族" value="37" /> |
| | | <el-option label="锡伯族" value="38" /> |
| | | <el-option label="阿昌族" value="39" /> |
| | | <el-option label="普米族" value="40" /> |
| | | <el-option label="塔吉克族" value="41" /> |
| | | <el-option label="怒族" value="42" /> |
| | | <el-option label="乌孜别克族" value="43" /> |
| | | <el-option label="俄罗斯族" value="44" /> |
| | | <el-option label="鄂温克族" value="45" /> |
| | | <el-option label="崩龙族" value="46" /> |
| | | <el-option label="保安族" value="47" /> |
| | | <el-option label="裕固族" value="48" /> |
| | | <el-option label="京族" value="49" /> |
| | | <el-option label="塔塔尔族" value="50" /> |
| | | <el-option label="独龙族" value="51" /> |
| | | <el-option label="鄂伦春" value="52" /> |
| | | <el-option label="郝哲族" value="53" /> |
| | | <el-option label="门巴族" value="54" /> |
| | | <el-option label="珞巴族" value="55" /> |
| | | <el-option label="基诺族" value="56" /> |
| | | <el-option label="其他族" value="91" /> |
| | | <el-option label="外国民族" value="98" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="婚姻状态" prop="region"> |
| | | <el-select v-model="empBaseInfoForm.marriage" placeholder="请选择婚姻状态"> |
| | | <el-option label="未婚" value="1" /> |
| | | <el-option label="已婚" value="2" /> |
| | | <el-option label="丧偶" value="3" /> |
| | | <el-option label="离婚" value="4" /> |
| | | <el-option label="再婚" value="5" /> |
| | | <el-option label="其它" value="9" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="身高(cm)"> |
| | | <el-input v-model="empBaseInfoForm.stature" /> |
| | | </el-form-item> |
| | | <el-form-item label="政治面貌" prop="region"> |
| | | <el-select v-model="empBaseInfoForm.politics" placeholder="请选择政治面貌"> |
| | | <el-option label="中共党员" value="01" /> |
| | | <el-option label="预备党员" value="02" /> |
| | | <el-option label="共青团员" value="03" /> |
| | | <el-option label="民革会员" value="04" /> |
| | | <el-option label="民盟盟员" value="05" /> |
| | | <el-option label="民建会员" value="06" /> |
| | | <el-option label="民进会员" value="07" /> |
| | | <el-option label="农工党员" value="08" /> |
| | | <el-option label="致公党员" value="09" /> |
| | | <el-option label="九三社员" value="10" /> |
| | | <el-option label="台盟盟员" value="11" /> |
| | | <el-option label="民主人士" value="12" /> |
| | | <el-option label="群众" value="13" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="最高学历" prop="region"> |
| | | <el-select v-model="empBaseInfoForm.education" placeholder="请选择最高学历"> |
| | | <el-option label="博士" value="10" /> |
| | | <el-option label="硕士" value="11" /> |
| | | <el-option label="大学本科" value="21" /> |
| | | <el-option label="大学专科" value="31" /> |
| | | <el-option label="中专" value="41" /> |
| | | <el-option label="中技" value="42" /> |
| | | <el-option label="高中" value="61" /> |
| | | <el-option label="初中" value="71" /> |
| | | <el-option label="小学" value="81" /> |
| | | <el-option label="无学历" value="91" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="籍贯" prop="region"> |
| | | <el-select v-model="empBaseInfoForm.nativePlace" placeholder="请选择籍贯"> |
| | | <el-option label="北京市" value="110000" /> |
| | | <el-option label="天津市" value="120000" /> |
| | | <el-option label="河北省" value="130000" /> |
| | | <el-option label="山西省" value="140000" /> |
| | | <el-option label="内蒙古自治区" value="150000" /> |
| | | <el-option label="辽宁省" value="210000" /> |
| | | <el-option label="吉林省" value="220000" /> |
| | | <el-option label="黑龙江省" value="230000" /> |
| | | <el-option label="上海市" value="310000" /> |
| | | <el-option label="江苏省" value="320000" /> |
| | | <el-option label="浙江省" value="330000" /> |
| | | <el-option label="安徽省" value="340000" /> |
| | | <el-option label="福建省" value="350000" /> |
| | | <el-option label="江西省" value="360000" /> |
| | | <el-option label="山东省" value="370000" /> |
| | | <el-option label="河南省" value="410000" /> |
| | | <el-option label="湖北省" value="420000" /> |
| | | <el-option label="湖南省" value="430000" /> |
| | | <el-option label="广东省" value="440000" /> |
| | | <el-option label="广西壮族自治区" value="450000" /> |
| | | <el-option label="海南省" value="460000" /> |
| | | <el-option label="重庆市" value="500000" /> |
| | | <el-option label="四川省" value="510000" /> |
| | | <el-option label="贵州省" value="520000" /> |
| | | <el-option label="云南省" value="530000" /> |
| | | <el-option label="西藏自治区" value="540000" /> |
| | | <el-option label="陕西省" value="610000" /> |
| | | <el-option label="甘肃省" value="620000" /> |
| | | <el-option label="青海省" value="630000" /> |
| | | <el-option label="宁夏回族自治区" value="640000" /> |
| | | <el-option label="新疆维吾尔自治区" value="650000" /> |
| | | <el-option label="台湾省" value="710000" /> |
| | | <el-option label="香港特别行政区" value="810000" /> |
| | | <el-option label="澳门特别行政区" value="820000" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="现住址"> |
| | | <el-input v-model="empBaseInfoForm.currentAddress" /> |
| | | </el-form-item> |
| | | <el-form-item label="电话号码"> |
| | | <el-input v-model="empBaseInfoForm.telePhone" /> |
| | | </el-form-item> |
| | | <el-form-item label="招聘介绍人"> |
| | | <el-input v-model="empBaseInfoForm.introducer" /> |
| | | </el-form-item> |
| | | <el-form-item label="银行名称"> |
| | | <el-input v-model="empBaseInfoForm.bankName" /> |
| | | </el-form-item> |
| | | <el-form-item label="保险类型" prop="region"> |
| | | <el-select v-model="empBaseInfoForm.insuranceType" placeholder="请选择保险类型"> |
| | | <el-option label="(深户)五险一档" value="1" /> |
| | | <el-option label="(非深户)五险一档" value="2" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="家庭成员及关系"> |
| | | <el-input v-model="empBaseInfoForm.family" /> |
| | | </el-form-item> |
| | | <el-form-item label="紧急联系电话"> |
| | | <el-input v-model="empBaseInfoForm.urgencyPhone" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <!-- <el-form-item label="护卫点">--> |
| | | <!-- <el-input v-model="empBaseInfoForm.deptName" />--> |
| | | <!-- </el-form-item>--> |
| | | <el-form-item label="护卫点" prop="deptId"> |
| | | <treeselect |
| | | v-model="empBaseInfoForm.deptId" |
| | | :multiple="false" |
| | | :options="depts" |
| | | :clear-value-text="$t('common.clear')" |
| | | placeholder=" " |
| | | style="width:100%" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="姓名"> |
| | | <el-input v-model="empBaseInfoForm.empName" /> |
| | | </el-form-item> |
| | | <el-form-item label="所属岗位"> |
| | | <el-input v-model="empBaseInfoForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码"> |
| | | <el-input v-model="empBaseInfoForm.certificateNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证有效期"> |
| | | <el-input v-model="empBaseInfoForm.certificateValidity" /> |
| | | </el-form-item> |
| | | <el-form-item label="年龄"> |
| | | <el-input v-model="empBaseInfoForm.age" /> |
| | | </el-form-item> |
| | | <el-form-item label="出生日期"> |
| | | <el-date-picker |
| | | v-model="empBaseInfoForm.birthdate" |
| | | type="date" |
| | | value-format="yyyy-MM-dd" |
| | | placeholder="选择日期" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="入职日期"> |
| | | <el-date-picker |
| | | v-model="empBaseInfoForm.entryDate" |
| | | type="date" |
| | | value-format="yyyy-MM-dd" |
| | | placeholder="选择日期" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="入司工龄"> |
| | | <el-input v-model="empBaseInfoForm.seniority" /> |
| | | </el-form-item> |
| | | <el-form-item label="户籍地址"> |
| | | <el-input v-model="empBaseInfoForm.censusAddress" /> |
| | | </el-form-item> |
| | | <el-form-item label="保安员证号"> |
| | | <el-input v-model="empBaseInfoForm.guardNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="保安员回执"> |
| | | <el-input v-model="empBaseInfoForm.returnReceipt" /> |
| | | </el-form-item> |
| | | <el-form-item label="档案情况" prop="region"> |
| | | <el-select v-model="empBaseInfoForm.archivesStatus" placeholder="请选择档案情况"> |
| | | <el-option label="未移交" value="0" /> |
| | | <el-option label="已移交" value="1" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="银行账号"> |
| | | <el-input v-model="empBaseInfoForm.bankNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="社保电脑号"> |
| | | <el-input v-model="empBaseInfoForm.socialNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="员工手册" prop="region"> |
| | | <el-select v-model="empBaseInfoForm.handbookStatus" placeholder="请选择员工手册"> |
| | | <el-option label="未发" value="0" /> |
| | | <el-option label="已发" value="1" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="工作证" prop="region"> |
| | | <el-select v-model="empBaseInfoForm.empCardStatus" placeholder="请选择工作证"> |
| | | <el-option label="未发" value="0" /> |
| | | <el-option label="已发" value="1" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item label="相关证件" prop="region"> |
| | | <el-select v-model="empBaseInfoForm.certificateList" placeholder="请选择相关证件"> |
| | | <el-option label="高中毕业证" value="1" /> |
| | | <el-option label="专科毕业证" value="2" /> |
| | | <el-option label="本科毕业证" value="3" /> |
| | | </el-select> |
| | | <el-form-item label="导入员工"> |
| | | <el-upload |
| | | ref="upload" |
| | | class="upload-demo" |
| | | :action="uploadEmpExcel" |
| | | accept=".xls, .xlsx, .excel" |
| | | :headers="headers()" |
| | | :on-success="importHandleAvatarSuccess" |
| | | :on-error="importHandleAvatarError" |
| | | :auto-upload="false" |
| | | > |
| | | <el-button slot="trigger" size="small" type="primary">选取文件</el-button> |
| | | </el-upload> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putEmpBase()">保 存</el-button> |
| | | <el-button type="primary" @click="putEmpBaseContinue()">保存并继续新增</el-button> |
| | | <el-button @click="showDryg(1)">取 消</el-button> |
| | | <el-button type="primary" @click="showDryg(2)">确 定</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="基本信息" top="8vh" :visible.sync="dialogshowArr[0].show" width="60%" class="baseinfo"> |
| | | <el-container style="height: 70vh;"> |
| | | <el-aside width="200px"> |
| | | <el-upload |
| | | class="avatar-uploader" |
| | | action="#" |
| | | :show-file-list="false" |
| | | :on-change="handlePictureCardPreview" |
| | | :auto-upload="false" |
| | | > |
| | | <div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过4MB</div> |
| | | <img v-if="empBaseInfoImageUrl" :src="empBaseInfoImageUrl" class="avatar"> |
| | | <i v-else class="el-icon-plus avatar-uploader-icon" /> |
| | | </el-upload> |
| | | </el-aside> |
| | | <el-main> |
| | | <el-form |
| | | ref="empBaseInfoForm" |
| | | class="info-input-form" |
| | | :model="empBaseInfoForm" |
| | | :rules="rules" |
| | | label-position="right" |
| | | label-width="120px" |
| | | > |
| | | <el-row> |
| | | <el-col :span="11"> |
| | | <el-form-item label="档案号" prop="archivesNumb"> |
| | | <el-input v-model="empBaseInfoForm.archivesNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="编号" prop="empNumb"> |
| | | <el-input v-model="empBaseInfoForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="empBaseInfoForm.certificateNumb" |
| | | @input="generateUserInfo(0,empBaseInfoForm.certificateNumb)" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="员工类别" prop="empType"> |
| | | <el-select v-model="empBaseInfoForm.empType" placeholder="请选择员工类型"> |
| | | <el-option |
| | | v-for="dict in empTypeOptions" |
| | | :key="dict.dicItemCode" |
| | | :label="dict.dicItemName" |
| | | :value="dict.dicItemCode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="民族" prop="nation"> |
| | | <el-select v-model="empBaseInfoForm.nation" filterable placeholder="请选择民族"> |
| | | <el-option |
| | | v-for="dict in nationOptions" |
| | | :key="dict.dicItemCode" |
| | | :label="dict.dicItemName" |
| | | :value="dict.dicItemCode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="婚姻状态" prop="marriage"> |
| | | <el-select v-model="empBaseInfoForm.marriage" placeholder="请选择婚姻状态"> |
| | | <el-option |
| | | v-for="dict in marriageOptions" |
| | | :key="dict.dicItemCode" |
| | | :label="dict.dicItemName" |
| | | :value="dict.dicItemCode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="身高(cm)" prop="stature"> |
| | | <el-input v-model="empBaseInfoForm.stature" /> |
| | | </el-form-item> |
| | | <el-form-item label="政治面貌" prop="politics"> |
| | | <el-select v-model="empBaseInfoForm.politics" placeholder="请选择政治面貌"> |
| | | <el-option |
| | | v-for="dict in statusOptions" |
| | | :key="dict.dicItemCode" |
| | | :label="dict.dicItemName" |
| | | :value="dict.dicItemCode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="学历" prop="education"> |
| | | <el-select v-model="empBaseInfoForm.education" placeholder="请选择学历"> |
| | | <el-option |
| | | v-for="dict in educationOptions" |
| | | :key="dict.dicItemCode" |
| | | :label="dict.dicItemName" |
| | | :value="dict.dicItemCode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="籍贯" prop="nativePlaceName"> |
| | | <el-autocomplete |
| | | v-model="empBaseInfoForm.nativePlaceName" |
| | | class="inline-input" |
| | | :fetch-suggestions="querySearch" |
| | | placeholder="请输入籍贯" |
| | | @select="placeNameSelect" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="现住址" prop="currentAddress"> |
| | | <el-input v-model="empBaseInfoForm.currentAddress" /> |
| | | </el-form-item> |
| | | <el-form-item label="电话号码" prop="telePhone"> |
| | | <el-input v-model="empBaseInfoForm.telePhone" /> |
| | | </el-form-item> |
| | | <el-form-item label="招聘介绍人" prop="introducer"> |
| | | <el-input v-model="empBaseInfoForm.introducer" /> |
| | | </el-form-item> |
| | | <el-form-item label="银行名称"> |
| | | <el-input v-model="empBaseInfoForm.bankName" /> |
| | | </el-form-item> |
| | | <el-form-item label="保险类型" prop="insuranceType"> |
| | | <el-select v-model="empBaseInfoForm.insuranceType" placeholder="请选择保险类型"> |
| | | <el-option |
| | | v-for="dict in insuranceTypeOptions" |
| | | :key="dict.dicItemCode" |
| | | :label="dict.dicItemName" |
| | | :value="dict.dicItemCode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="家庭成员及关系" prop="family"> |
| | | <el-input v-model="empBaseInfoForm.family" /> |
| | | </el-form-item> |
| | | <el-form-item label="紧急联系电话" prop="urgencyPhone"> |
| | | <el-input v-model="empBaseInfoForm.urgencyPhone" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="2"> |
| | | <p /> |
| | | </el-col> |
| | | <el-col :span="11"> |
| | | <el-form-item label="姓名" prop="empName"> |
| | | <el-input v-model="empBaseInfoForm.empName" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门(护卫点)" required message="请选择部门(护卫点)" prop="allDeptName"> |
| | | <treeselect |
| | | v-model="empBaseInfoForm.deptId" |
| | | :multiple="false" |
| | | :options="depts" |
| | | :clear-value-text="$t('common.clear')" |
| | | placeholder="请选择部门(护卫点)" |
| | | style="width:100%" |
| | | @select="DeptNameSelect" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-autocomplete |
| | | v-model="empBaseInfoForm.jobName" |
| | | class="inline-input" |
| | | :fetch-suggestions="querySearchJob" |
| | | placeholder="请输入岗位" |
| | | @select="jobNameSelect" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-select v-model="empBaseInfoForm.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="certificateValidity"> |
| | | <el-date-picker |
| | | v-model="empBaseInfoForm.certificateValidity" |
| | | type="date" |
| | | value-format="yyyy-MM-dd" |
| | | placeholder="选择日期" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="年龄" prop="age"> |
| | | <el-input v-model="empBaseInfoForm.age" /> |
| | | </el-form-item> |
| | | <el-form-item label="出生日期" prop="birthdate"> |
| | | <el-date-picker |
| | | v-model="empBaseInfoForm.birthdate" |
| | | type="date" |
| | | value-format="yyyy-MM-dd" |
| | | placeholder="选择日期" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="入职日期" prop="entryDate"> |
| | | <el-date-picker |
| | | v-model="empBaseInfoForm.entryDate" |
| | | type="date" |
| | | value-format="yyyy-MM-dd" |
| | | placeholder="选择日期" |
| | | @input="calculateSeniority" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="入司工龄" prop="seniority"> |
| | | <el-input v-model="empBaseInfoForm.seniority" /> |
| | | </el-form-item> |
| | | <el-form-item label="户籍地址" prop="censusAddress"> |
| | | <el-input v-model="empBaseInfoForm.censusAddress" /> |
| | | </el-form-item> |
| | | <el-form-item label="保安员证号" prop="guardNumb"> |
| | | <el-input v-model="empBaseInfoForm.guardNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="保安员回执" prop="returnReceipt"> |
| | | <el-input v-model="empBaseInfoForm.returnReceipt" /> |
| | | </el-form-item> |
| | | <el-form-item label="档案情况" prop="archivesStatus"> |
| | | <el-select v-model="empBaseInfoForm.archivesStatus" placeholder="请选择档案情况"> |
| | | <el-option |
| | | v-for="dict in archivesStatusOptions" |
| | | :key="dict.dicItemCode" |
| | | :label="dict.dicItemName" |
| | | :value="dict.dicItemCode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="银行账号"> |
| | | <el-input v-model="empBaseInfoForm.bankNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="社保电脑号" prop="socialNumb"> |
| | | <el-input v-model="empBaseInfoForm.socialNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="员工手册" prop="handbookStatus"> |
| | | <el-select v-model="empBaseInfoForm.handbookStatus" placeholder="请选择员工手册"> |
| | | <el-option |
| | | v-for="dict in handbookStatusOptions" |
| | | :key="dict.dicItemCode" |
| | | :label="dict.dicItemName" |
| | | :value="dict.dicItemCode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="工作证" prop="empCardStatus"> |
| | | <el-select v-model="empBaseInfoForm.empCardStatus" placeholder="请选择工作证"> |
| | | <el-option |
| | | v-for="dict in empCardStatusOptions" |
| | | :key="dict.dicItemCode" |
| | | :label="dict.dicItemName" |
| | | :value="dict.dicItemCode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col> |
| | | <el-form-item label="相关证件" prop="certificateList"> |
| | | <el-select v-model="empBaseInfoForm.certificateList" multiple placeholder="请选择相关证件"> |
| | | <el-option |
| | | v-for="dict in certificateListOptions" |
| | | :key="dict.dicItemCode" |
| | | :label="dict.dicItemName" |
| | | :value="dict.dicItemCode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | </el-main> |
| | | </el-container> |
| | | |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putEmpBase('empBaseInfoForm')">保 存</el-button> |
| | | <el-button v-if="isAdd" type="primary" @click="putEmpBaseContinue('empBaseInfoForm')">保存并继续新增</el-button> |
| | | <el-button @click="dialogIsShow()">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="工作经历" :visible.sync="dialogshowArr[1].show" width="50%"> |
| | | <el-form :model="workExperienceForm" 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="员工编号"> |
| | | <el-input v-model="workExperienceForm.empNumb" /> |
| | | <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="身份证号码"> |
| | | <el-input v-model="workExperienceForm.certificateNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门名称"> |
| | | <el-input v-model="workExperienceForm.deptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="开始时间"> |
| | | <el-date-picker |
| | | v-model="workExperienceForm.beginDate" |
| | | type="date" |
| | | value-format="yyyy-MM-dd" |
| | | placeholder="选择日期" |
| | | <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="姓名"> |
| | | <el-input v-model="workExperienceForm.empName" /> |
| | | <el-form-item label="编号" prop="empNumb"> |
| | | <el-input v-model="workExperienceForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="region"> |
| | | <el-select v-model="workExperienceForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | <el-form-item label="部门(护卫点)" prop="allDeptName"> |
| | | <el-input v-model="workExperienceForm.allDeptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位名称"> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="workExperienceForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="结束时间"> |
| | | <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 :span="24"> |
| | | <el-form-item label="工作单位"> |
| | | <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="24"> |
| | | <el-form-item label="主要工作内容"> |
| | | <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()">保 存</el-button> |
| | | <el-button type="primary" @click="putWorkExperience('workExperienceForm')">保 存</el-button> |
| | | <el-button |
| | | v-if="isAdd" |
| | | 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" 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="员工编号"> |
| | | <el-input v-model="physicalExamForm.empNumb" /> |
| | | <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="身份证号码"> |
| | | <el-input v-model="physicalExamForm.certificateNumb" /> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="physicalExamForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="部门名称"> |
| | | <el-input v-model="physicalExamForm.deptName" /> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-input v-model="physicalExamForm.sex" /> |
| | | </el-form-item> |
| | | <el-form-item label="体检医院"> |
| | | <el-form-item label="体检医院" prop="hospital"> |
| | | <el-input v-model="physicalExamForm.hospital" /> |
| | | </el-form-item> |
| | | <el-form-item label="体检类型" prop="region"> |
| | | <el-form-item label="体检类型" prop="physicalExamType"> |
| | | <el-select |
| | | v-model="physicalExamForm.physicalExamType" |
| | | placeholder="请选择体检类型" |
| | | > |
| | | <el-option label="普通体检" value="1" /> |
| | | <el-option label="员工体检" value="2" /> |
| | | <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="转氨酶"> |
| | | <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="姓名"> |
| | | <el-input v-model="physicalExamForm.empName" /> |
| | | <el-form-item label="编号" prop="empNumb"> |
| | | <el-input v-model="physicalExamForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="region"> |
| | | <el-select v-model="physicalExamForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | <el-form-item label="部门(护卫点)" prop="allDeptName"> |
| | | <el-input v-model="physicalExamForm.allDeptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="岗位名称"> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="physicalExamForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="体检日期"> |
| | | <el-form-item label="体检日期" prop="physicalExamDate"> |
| | | <el-date-picker |
| | | v-model="physicalExamForm.physicalExamDate" |
| | | value-format="yyyy-MM-dd" |
| | |
| | | placeholder="选择体检日期" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="血压"> |
| | | <el-form-item label="血压" prop="bloodPressure"> |
| | | <el-input v-model="physicalExamForm.bloodPressure" /> |
| | | </el-form-item> |
| | | <el-form-item label="心电图" prop="region"> |
| | | <el-select v-model="physicalExamForm.name" placeholder="ecg"> |
| | | <el-option label="正常" value="1" /> |
| | | <el-option label="异常" value="0" /> |
| | | <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 :span="24"> |
| | | <el-form-item label="体检结论"> |
| | | <el-col> |
| | | <el-form-item label="体检结论" prop="conclusion"> |
| | | <el-input v-model="physicalExamForm.conclusion" /> |
| | | </el-form-item> |
| | | <el-form-item label="复查记录"> |
| | | <el-input v-model="physicalExamForm.reviewRecord" /> |
| | | <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 :span="24"> |
| | | <el-form-item label="备注"> |
| | | <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()">保 存</el-button> |
| | | <el-button type="primary" @click="putPhysicalExam('physicalExamForm')">保 存</el-button> |
| | | <el-button |
| | | v-if="isAdd" |
| | | 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" 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="员工编号"> |
| | | <el-input v-model="contractInfoForm.empNumb" /> |
| | | <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="证件号码"> |
| | | <el-input v-model="contractInfoForm.certificateNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="部门名称"> |
| | | <el-input v-model="contractInfoForm.deptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="合同开始日期"> |
| | | <el-date-picker |
| | | v-model="contractInfoForm.beginDate" |
| | | value-format="yyyy-MM-dd" |
| | | type="date" |
| | | placeholder="选择日期" |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="contractInfoForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="合同状态" prop="region"> |
| | | <el-select |
| | | v-model="contractInfoForm.contractStatus" |
| | | placeholder="请选择合同状态" |
| | | > |
| | | <el-option label="新签" value="1" /> |
| | | <el-option label="老签" value="2" /> |
| | | </el-select> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-input v-model="contractInfoForm.sex" /> |
| | | </el-form-item> |
| | | <el-form-item label="合同办理人"> |
| | | <el-input v-model="contractInfoForm.transactor" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名"> |
| | | <el-input v-model="contractInfoForm.empName" /> |
| | | </el-form-item> |
| | | <el-form-item label="性别" prop="region"> |
| | | <el-select v-model="contractInfoForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="岗位名称"> |
| | | <el-input v-model="contractInfoForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="合同结束日期"> |
| | | <el-date-picker |
| | | v-model="contractInfoForm.endDate" |
| | | value-format="yyyy-MM-dd" |
| | | type="date" |
| | | placeholder="选择日期" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="合同期限(年)"> |
| | | <el-input v-model="contractInfoForm.contractPeriod" /> |
| | | </el-form-item> |
| | | <el-form-item label="合同签订日期"> |
| | | <el-form-item label="合同签订日期" prop="signingDate"> |
| | | <el-date-picker |
| | | v-model="contractInfoForm.signingDate" |
| | | value-format="yyyy-MM-dd" |
| | |
| | | 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 :span="24"> |
| | | <el-form-item label="备注"> |
| | | <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()">保 存</el-button> |
| | | <el-button type="primary" @click="putContractInfo('contractInfoForm')">保 存</el-button> |
| | | <el-button |
| | | v-if="isAdd" |
| | | 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" 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="员工编号"> |
| | | <el-input v-model="dimissionAttendForm.empNumb" /> |
| | | <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="region"> |
| | | <el-select v-model="dimissionAttendForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="dimissionAttendForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="部门名称"><el-input v-model="dimissionAttendForm.deptName" /></el-form-item> |
| | | <el-form-item label="离职考勤月份"> |
| | | <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" |
| | |
| | | placeholder="选择考勤月份" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="加班(天)"> |
| | | <el-form-item label="加班(天)" prop="overtimeDay"> |
| | | <el-input v-model="dimissionAttendForm.overtimeDay" /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="有无代扣款项"> |
| | | <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="姓名"><el-input v-model="dimissionAttendForm.empName" /></el-form-item> |
| | | <el-form-item label="证件号码"><el-input v-model="dimissionAttendForm.certificateNumb" /></el-form-item> |
| | | <el-form-item label="岗位名称"><el-input v-model="dimissionAttendForm.jobName" /></el-form-item> |
| | | <el-form-item label="出勤天数"> |
| | | <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="加班(小时)"> |
| | | <el-form-item label="加班(小时)" prop="overtimeHour"> |
| | | <el-input v-model="dimissionAttendForm.overtimeHour" /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="请假(天)"> |
| | | <el-form-item label="请假(天)" prop="leaveDay"> |
| | | <el-input v-model="dimissionAttendForm.leaveDay" /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="旷工(天)"> |
| | | <el-input v-model="dimissionAttendForm.absenteeism" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item label="备注"> |
| | | <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()">保 存</el-button> |
| | | <el-button type="primary" @click="putDimissionAttendContinue()">保存并继续新增</el-button> |
| | | <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 :model="leaveInfoForm" 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="员工编号"> |
| | | <el-input v-model="leaveInfoForm.empNumb" /> |
| | | <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="region"> |
| | | <el-select v-model="leaveInfoForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="leaveInfoForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="部门名称"><el-input v-model="leaveInfoForm.deptName" /></el-form-item> |
| | | <el-form-item label="请假开始时间"> |
| | | <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" |
| | |
| | | /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="请假类型" prop="region"> |
| | | <el-form-item label="请假类型" prop="leaveType"> |
| | | <el-select v-model="leaveInfoForm.leaveType" placeholder="请选择请假类型"> |
| | | <el-option label="事假" value="1" /> |
| | | <el-option label="病假" value="2" /> |
| | | <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="报备人"> |
| | | <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="姓名"> |
| | | <el-input v-model="leaveInfoForm.empName" /> |
| | | <el-form-item label="编号" prop="empNumb"> |
| | | <el-input v-model="leaveInfoForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="证件号码"><el-input v-model="leaveInfoForm.certificateNumb" /></el-form-item> |
| | | <el-form-item label="岗位名称"><el-input v-model="leaveInfoForm.jobName" /></el-form-item> |
| | | <el-form-item label="请假结束时间"> |
| | | <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" |
| | |
| | | /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="请假天数"> |
| | | <el-form-item label="请假天数" prop="leaveDay"> |
| | | <el-input v-model="leaveInfoForm.leaveDay" /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="到岗时间"> |
| | | <el-form-item label="返岗时间" prop="returnDate"> |
| | | <el-date-picker |
| | | v-model="leaveInfoForm.returnDate" |
| | | value-format="yyyy-MM-dd" |
| | | type="date" |
| | | placeholder="选择到岗时间" |
| | | placeholder="选择返岗时间" |
| | | /> |
| | | </el-form-item> |
| | | |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-col> |
| | | <el-form-item label="备注"> |
| | | <el-input v-model="leaveInfoForm.remark" type="textarea" /> |
| | | </el-form-item> |
| | |
| | | </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 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 :model="resignForm" 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="员工编号"> |
| | | <el-input v-model="resignForm.empNumb" /> |
| | | <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="region"> |
| | | <el-select v-model="resignForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="resignForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="部门名称"><el-input v-model="resignForm.deptName" /></el-form-item> |
| | | <el-form-item label="辞职申请日期"> |
| | | <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" |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名"> |
| | | <el-input v-model="resignForm.empName" /> |
| | | <el-form-item label="编号" prop="empNumb"> |
| | | <el-input v-model="resignForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="证件号码"><el-input v-model="resignForm.certificateNumb" /></el-form-item> |
| | | <el-form-item label="岗位名称"><el-input v-model="resignForm.jobName" /></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 :span="24"> |
| | | <el-form-item label="辞职事由"> |
| | | <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 :span="24"> |
| | | <el-col> |
| | | <el-form-item label="备注"> |
| | | <el-input v-model="resignForm.remark" type="textarea" /> |
| | | </el-form-item> |
| | |
| | | </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 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 :model="unemploymentForm" 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="员工编号🔍" @click.native="showXzyg"> |
| | | <el-input v-model="unemploymentForm.empNumb" /> |
| | | <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="region"> |
| | | <el-select v-model="unemploymentForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="unemploymentForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="部门名称"><el-input v-model="unemploymentForm.deptName" /></el-form-item> |
| | | <el-form-item label="失业金申请日期"> |
| | | <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" |
| | |
| | | placeholder="选择失业金申请日期" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="申报事由"> |
| | | <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="姓名"> |
| | | <el-input v-model="unemploymentForm.empName" /> |
| | | <el-form-item label="编号" prop="empNumb"> |
| | | <el-input v-model="unemploymentForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="证件号码"><el-input v-model="unemploymentForm.certificateNumb" /></el-form-item> |
| | | <el-form-item label="岗位名称"><el-input v-model="unemploymentForm.jobName" /></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-row> |
| | | |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-col> |
| | | <el-form-item label="备注"> |
| | | <el-input v-model="unemploymentForm.remark" type="textarea" /> |
| | | </el-form-item> |
| | |
| | | </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 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 :model="insuranceForm" 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="员工编号"> |
| | | <el-input v-model="insuranceForm.empNumb" /> |
| | | <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="region"> |
| | | <el-select v-model="insuranceForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="insuranceForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="部门名称"><el-input v-model="insuranceForm.deptName" /></el-form-item> |
| | | <el-form-item label="社保申请日期"> |
| | | <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" |
| | |
| | | placeholder="选择社保申请日期" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="社保档位"> |
| | | <el-input v-model="insuranceForm.insuranceGaers" /> |
| | | <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="region"> |
| | | <el-form-item label="状态" prop="applayStatus"> |
| | | <el-select v-model="insuranceForm.applayStatus" placeholder="请选择状态"> |
| | | <el-option label="未申请" value="1" /> |
| | | <el-option label="已申请" value="2" /> |
| | | <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="姓名"> |
| | | <el-input v-model="insuranceForm.empName" /> |
| | | <el-form-item label="编号" prop="empNumb"> |
| | | <el-input v-model="insuranceForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="证件号码"><el-input v-model="insuranceForm.certificateNumb" /></el-form-item> |
| | | <el-form-item label="岗位名称"><el-input v-model="insuranceForm.jobName" /></el-form-item> |
| | | <el-form-item label="申请人"> |
| | | <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="是否已经报告" prop="region"> |
| | | <el-form-item label="是否已经报告"> |
| | | <el-select v-model="insuranceForm.reportStatus" placeholder="是否已经报告"> |
| | | <el-option label="未报告" value="1" /> |
| | | <el-option label="已报告" value="2" /> |
| | | <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-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-col> |
| | | <el-form-item label="备注"> |
| | | <el-input v-model="insuranceForm.remark" type="textarea" /> |
| | | </el-form-item> |
| | |
| | | </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 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 :model="accidentCasesForm" 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="员工编号"> |
| | | <el-input v-model="accidentCasesForm.empNumb" /> |
| | | <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="region"> |
| | | <el-select v-model="accidentCasesForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="accidentCasesForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="部门名称"><el-input v-model="accidentCasesForm.deptName" /></el-form-item> |
| | | <el-form-item label="受伤时间"> |
| | | <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" |
| | |
| | | placeholder="选择受伤时间" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="受伤部位"> |
| | | <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="姓名"> |
| | | <el-input v-model="accidentCasesForm.empName" /> |
| | | <el-form-item label="编号" prop="empNumb"> |
| | | <el-input v-model="accidentCasesForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="证件号码"><el-input v-model="accidentCasesForm.certificateNumb" /></el-form-item> |
| | | <el-form-item label="岗位名称"><el-input v-model="accidentCasesForm.jobName" /></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-row> |
| | | |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item label="受伤经过描述"> |
| | | <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="就诊医院"> |
| | | <el-form-item label="就诊医院" prop="hospitalName"> |
| | | <el-input v-model="accidentCasesForm.hospitalName" /> |
| | | </el-form-item> |
| | | <el-form-item label="是否住院" prop="region"> |
| | | <el-form-item label="是否住院" prop="hospitalizatioFlag"> |
| | | <el-select v-model="accidentCasesForm.hospitalizatioFlag" placeholder="是否住院"> |
| | | <el-option label="未住院" value="0" /> |
| | | <el-option label="已住院" value="1" /> |
| | | <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-form-item label="递交人"> |
| | | <el-input v-model="accidentCasesForm.sbumitBy" /> |
| | | </el-form-item> |
| | | <el-form-item label="保险赔付费用"> |
| | | <el-form-item label="保险赔付费用" prop="innsureFee"> |
| | | <el-input v-model="accidentCasesForm.innsureFee" /> |
| | | </el-form-item> |
| | | <el-form-item label="人事处理时间"> |
| | |
| | | /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="案结时间"> |
| | | <el-form-item label="案结时间" prop="settleDate"> |
| | | <el-date-picker |
| | | v-model="accidentCasesForm.settleDate" |
| | | value-format="yyyy-MM-dd" |
| | |
| | | placeholder="选择递交资料时间" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="医疗总费用"> |
| | | <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="region"> |
| | | <el-form-item label="状态" prop="settleStatus"> |
| | | <el-select v-model="accidentCasesForm.settleStatus" placeholder=""> |
| | | <el-option label="已结案" value="1" /> |
| | | <el-option label="未结案" value="0" /> |
| | | <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-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 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 :model="occupationalForm" 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="员工编号"> |
| | | <el-input v-model="occupationalForm.empNumb" /> |
| | | <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="region"> |
| | | <el-select v-model="occupationalForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="occupationalForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="部门名称"><el-input v-model="occupationalForm.deptName" /></el-form-item> |
| | | <el-form-item label="受伤时间"> |
| | | <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" |
| | |
| | | placeholder="选择受伤时间" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="受伤部位"> |
| | | <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="姓名"> |
| | | <el-input v-model="occupationalForm.empName" /> |
| | | <el-form-item label="编号" prop="empNumb"> |
| | | <el-input v-model="occupationalForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="证件号码"><el-input v-model="occupationalForm.certificateNumb" /></el-form-item> |
| | | <el-form-item label="岗位名称"><el-input v-model="occupationalForm.jobName" /></el-form-item> |
| | | <el-form-item label="受伤地点"> |
| | | <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="工伤诊断"> |
| | | <el-form-item label="工伤诊断" prop="injuredDiacrisis"> |
| | | <el-input v-model="occupationalForm.injuredDiacrisis" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item label="受伤经过描述"> |
| | | <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="就诊医院"> |
| | | <el-form-item label="就诊医院" prop="hospitalName"> |
| | | <el-input v-model="occupationalForm.hospitalName" /> |
| | | </el-form-item> |
| | | <el-form-item label="是否住院" prop="region"> |
| | | <el-form-item label="是否住院" prop="hospitalizatioFlag"> |
| | | <el-select v-model="occupationalForm.hospitalizatioFlag" placeholder="是否住院"> |
| | | <el-option label="未住院" value="0" /> |
| | | <el-option label="已住院" value="1" /> |
| | | <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-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-divider /> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="医疗总费用"> |
| | | <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-divider /> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="已赔付医药费用"> |
| | | <el-form-item label="已赔付医药费用" prop="compensated"> |
| | | <el-input v-model="occupationalForm.compensated" /> |
| | | </el-form-item> |
| | | <el-form-item label="一次性伤残补助金"> |
| | |
| | | <el-form-item label="工伤生活补贴"> |
| | | <el-input v-model="occupationalForm.companyAllowance" /> |
| | | </el-form-item> |
| | | <el-form-item label="公司赔偿总费用"> |
| | | <el-form-item label="公司赔偿总费用" prop="companyCompensation"> |
| | | <el-input v-model="occupationalForm.companyCompensation" /> |
| | | </el-form-item> |
| | | <el-form-item label="是否结案" prop="region"> |
| | | <el-form-item label="是否结案" prop="settleStatus"> |
| | | <el-select v-model="occupationalForm.settleStatus" placeholder=""> |
| | | <el-option label="已结案" value="1" /> |
| | | <el-option label="未结案" value="0" /> |
| | | <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 :span="24"> |
| | | <el-col> |
| | | <el-form-item label="备注"> |
| | | <el-input v-model="occupationalForm.remark" type="textarea" /> |
| | | </el-form-item> |
| | |
| | | </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 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 :model="laborTroubleForm" 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="员工编号"> |
| | | <el-input v-model="laborTroubleForm.empNumb" /> |
| | | <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="region"> |
| | | <el-select v-model="laborTroubleForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="laborTroubleForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="部门名称"><el-input v-model="laborTroubleForm.deptName" /></el-form-item> |
| | | <el-form-item label="仲裁日期"> |
| | | <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" |
| | |
| | | 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="region"> |
| | | <el-form-item label="状态" prop="arbitrationStatus"> |
| | | <el-select v-model="laborTroubleForm.arbitrationStatus" placeholder=""> |
| | | <el-option label="已结案" value="1" /> |
| | | <el-option label="未结案" value="0" /> |
| | | <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="姓名"> |
| | | <el-input v-model="laborTroubleForm.empName" /> |
| | | <el-form-item label="编号" prop="empNumb"> |
| | | <el-input v-model="laborTroubleForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="证件号码"><el-input v-model="laborTroubleForm.certificateNumb" /></el-form-item> |
| | | <el-form-item label="岗位名称"><el-input v-model="laborTroubleForm.jobName" /></el-form-item> |
| | | <el-form-item label="仲裁类型"> |
| | | <el-input v-model="laborTroubleForm.arbitrationType" /> |
| | | <el-form-item label="部门(护卫点)" prop="allDeptName"> |
| | | <el-input v-model="laborTroubleForm.allDeptName" /> |
| | | </el-form-item> |
| | | <el-form-item label="仲裁赔付(元)"> |
| | | <el-input v-model="laborTroubleForm.arbitrationPay" /> |
| | | <el-form-item label="岗位" prop="jobName"> |
| | | <el-input v-model="laborTroubleForm.jobName" /> |
| | | </el-form-item> |
| | | <el-form-item label="案结日期"> |
| | | <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" |
| | |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item label="仲裁事由"> |
| | | <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 :span="24"> |
| | | <el-form-item label="备注"> |
| | | <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()">保 存</el-button> |
| | | <el-button type="primary" @click="putLaborTroubleContinue()">保存并继续新增</el-button> |
| | | <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 :model="badRecordForm" label-position="right" label-width="140px"> |
| | | <el-form |
| | | ref="badRecordForm" |
| | | :model="badRecordForm" |
| | | :rules="badRecordRules" |
| | | label-position="right" |
| | | label-width="140px" |
| | | > |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="员工编号"> |
| | | <el-input v-model="badRecordForm.empNumb" /> |
| | | <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="region"> |
| | | <el-select v-model="badRecordForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="badRecordForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="部门名称"><el-input v-model="badRecordForm.deptName" /></el-form-item> |
| | | <el-form-item label="不良记录日期"> |
| | | <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" |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名"> |
| | | <el-input v-model="badRecordForm.empName" /> |
| | | <el-form-item label="编号" prop="empNumb"> |
| | | <el-input v-model="badRecordForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="证件号码"><el-input v-model="badRecordForm.certificateNumb" /></el-form-item> |
| | | <el-form-item label="岗位名称"><el-input v-model="badRecordForm.jobName" /></el-form-item> |
| | | <el-form-item label="汇报人"> |
| | | <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 :span="24"> |
| | | <el-form-item label="不良记录描述"> |
| | | <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 :span="24"> |
| | | <el-col> |
| | | <el-form-item label="备注"> |
| | | <el-input v-model="badRecordForm.remark" type="textarea" /> |
| | | </el-form-item> |
| | |
| | | </el-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="putBadRecord()">保 存</el-button> |
| | | <el-button type="primary" @click="putBadRecordContinue()">保存并继续新增</el-button> |
| | | <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 :model="remarkInfoForm" label-position="right" label-width="140px"> |
| | | <el-form |
| | | ref="remarkInfoForm" |
| | | :model="remarkInfoForm" |
| | | :rules="remarkInfoRules" |
| | | label-position="right" |
| | | label-width="140px" |
| | | > |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="员工编号"> |
| | | <el-input v-model="remarkInfoForm.empNumb" /> |
| | | <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="region"> |
| | | <el-select v-model="remarkInfoForm.sex" placeholder="请选择性别"> |
| | | <el-option label="男" value="1" /> |
| | | <el-option label="女" value="2" /> |
| | | </el-select> |
| | | <el-form-item label="身份证号码" prop="certificateNumb"> |
| | | <el-input |
| | | v-model="remarkInfoForm.certificateNumb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="部门名称"><el-input v-model="remarkInfoForm.deptName" /></el-form-item> |
| | | |
| | | <el-form-item label="备注日期"> |
| | | <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" |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名"> |
| | | <el-input v-model="remarkInfoForm.empName" /> |
| | | <el-form-item label="编号" prop="empNumb"> |
| | | <el-input v-model="remarkInfoForm.empNumb" /> |
| | | </el-form-item> |
| | | <el-form-item label="证件号码"><el-input v-model="remarkInfoForm.certificateNumb" /></el-form-item> |
| | | <el-form-item label="岗位名称"><el-input v-model="remarkInfoForm.jobName" /></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 :span="24"> |
| | | <el-form-item label="备注"> |
| | | <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()">保 存</el-button> |
| | | <el-button type="primary" @click="putRemarkInfoContinue()">保存并继续新增</el-button> |
| | | <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> |
| | | <el-dialog title="选择员工" :visible.sync="dialogShowXzyg" width="90%"> |
| | | |
| | | <el-dialog title="选择员工" :visible.sync="dialogShowXzyg" width="60%"> |
| | | <Selectuser @selectedUser="selectedUser" @cancleChooseUser="cancleChooseUser" /> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import { calculateSeniority, toCardGetUserInfo, dateDifference } from '@/utils/myUtil' |
| | | import Treeselect from '@riophae/vue-treeselect' |
| | | import '@riophae/vue-treeselect/dist/vue-treeselect.css' |
| | | import Pagination from '@/components/Pagination' |
| | | import { pages } from '@/settings' |
| | | import { getToken } from '@/utils/auth' |
| | | |
| | | export default { |
| | | components: { Treeselect }, |
| | | components: { Treeselect, Pagination }, |
| | | data() { |
| | | return { |
| | | downloadEmpExcel: pages.downloadEmpExcel, |
| | | uploadEmpExcel: pages.uploadEmpExcel, |
| | | defaultImg: require('../../assets/avatar/20180414165936.jpg'), |
| | | baseicInformationForm: {}, |
| | | dialogShowDryg: false, |
| | | empBaseInfoImageUrl: '', |
| | | total: 0, // 总数量 |
| | | queryParams: {}, // 查询参数 |
| | | sort: {}, // 排序 |
| | | pagination: { // 分页参数 |
| | | size: 15, |
| | | num: 1 |
| | | }, |
| | | tableUrl: '', |
| | | tableDataName: '', |
| | | inputForName: '', |
| | | rules: { |
| | | archivesNumb: [{ required: true, message: '请输入档案号', trigger: 'blur' }, { |
| | | max: 20, |
| | | message: this.$t('rules.noMoreThan20'), |
| | | trigger: 'blur' |
| | | }], |
| | | empName: [{ required: true, message: '请输入姓名', trigger: 'blur' }, |
| | | { min: 2, max: 50, message: this.$t('rules.noMoreThan50'), trigger: 'blur' }], |
| | | empNumb: [{ required: true, message: '请输入编号', trigger: 'blur' }, |
| | | { min: 2, max: 20, message: this.$t('rules.noMoreThan20'), trigger: 'blur' }], |
| | | deptName: [ |
| | | { required: true, message: '请选择护卫点', trigger: 'input' } |
| | | ], |
| | | certificateNumb: [{ required: true, message: '请输入身份证号', trigger: 'blur' }], |
| | | jobName: [{ required: true, message: '请选择岗位', trigger: 'change' }], |
| | | nativePlaceName: [{ required: true, message: '请选择籍贯', trigger: 'change' }], |
| | | bankName: [{ required: true, message: '请输入银行名称', trigger: 'blur' }, { |
| | | max: 36, |
| | | message: '长度不超过36个字符', |
| | | trigger: 'blur' |
| | | }], |
| | | insuranceType: [{ required: true, message: '请选择保险类型', trigger: 'change' }], |
| | | entryDate: [{ required: true, message: '请选择入职日期', trigger: 'change' }], |
| | | seniority: [{ required: true, message: '请输入入司工龄', trigger: 'blur' }], |
| | | archivesStatus: [{ required: true, message: '请选择档案情况', trigger: 'change' }], |
| | | bankNumb: [{ required: true, message: '请输入银行账号', trigger: 'blur' }, { |
| | | max: 32, |
| | | message: '长度不超过32个字符', |
| | | trigger: 'blur' |
| | | }], |
| | | empType: [{ required: true, message: '请选择员工类型', trigger: 'change' }], |
| | | censusAddress: [{ max: 128, message: '长度不超过128个字符', trigger: 'blur' }], |
| | | currentAddress: [{ max: 128, message: '长度不超过128个字符', trigger: 'blur' }], |
| | | guardNumb: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }], |
| | | telePhone: [{ max: 30, message: '长度不超过30个字符', trigger: 'blur' }], |
| | | returnReceipt: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }], |
| | | introducer: [{ max: 32, message: '长度不超过32个字符', trigger: 'blur' }], |
| | | socialNumb: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }], |
| | | family: [{ max: 128, message: '长度不超过128个字符', trigger: 'blur' }], |
| | | certificateValidity: [{ required: true, message: '请选择身份证有效期', trigger: 'change' }], |
| | | urgencyPhone: [{ max: 30, message: '长度不超过30个字符', trigger: 'blur' }] |
| | | }, |
| | | workExperienceRules: { |
| | | empName: [{ required: true, message: '请选择员工' }], |
| | | workUnit: [{ required: true, message: '请输入工作单位', trigger: 'blur' }, { |
| | | max: 128, |
| | | message: '长度不超过128个字符', |
| | | trigger: 'blur' |
| | | }], |
| | | beginDate: [{ required: true, trigger: 'blur', validator: this.startDate }], |
| | | endDate: [{ required: true, trigger: 'blur', validator: this.endDate }], |
| | | jobContent: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }] |
| | | }, |
| | | physicalExamRules: { |
| | | empName: [{ required: true, message: '请选择员工' }], |
| | | physicalExamDate: [{ required: true, message: '请选择体检日期' }], |
| | | hospital: [{ required: true, message: '请输入体检医院' }, { |
| | | max: 64, |
| | | message: '长度不超过64个字符' |
| | | }], |
| | | physicalExamType: [{ required: true, message: '请选择体检类型' }], |
| | | bloodPressure: [{ required: true, message: '请输入血压' }, { |
| | | max: 40, |
| | | message: '长度不超过40个字符' |
| | | }], |
| | | transaminase: [{ required: true, message: '请输入转氨酶' }, { |
| | | max: 40, |
| | | message: '长度不超过40个字符' |
| | | }], |
| | | ecg: [{ required: true, message: '请选择心电图' }], |
| | | 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: 'change' }], |
| | | signingDate: [{ required: true, validator: this.startDate }], |
| | | contractStatus: [{ required: true, message: '请选择合同状态', trigger: 'change' }], |
| | | transactor: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }], |
| | | beginDate: [{ required: true, message: '请选择合同开始日期', trigger: 'change' }], |
| | | endDate: [{ required: true, validator: this.endDate }], |
| | | remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }] |
| | | }, |
| | | dimissionAttendRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'change' }], |
| | | attendMonth: [{ required: true, message: '请选择出勤月份', trigger: 'change' }], |
| | | deduct: [{ required: true, message: '请输入代扣填款项', trigger: 'blur' }, { |
| | | max: 100, |
| | | message: '长度不超过100个字符', |
| | | trigger: 'blur' |
| | | }], |
| | | attendDays: [{ required: true, message: '请输入出勤天数', trigger: 'blur' }, { |
| | | pattern: /^\d{1,2}(\.\d{1,1})?$/, |
| | | message: '出勤天数精确到1位小数' |
| | | }], |
| | | overtimeDay: [{ pattern: /^\d{1,2}(\.\d{1,1})?$/, message: '加班(天)精确到1位小数' }], |
| | | overtimeHour: [{ pattern: /^\d{1,2}(\.\d{1,1})?$/, message: '加班(小时)精确到1位小数' }], |
| | | leaveDay: [{ pattern: /^\d{1,2}(\.\d{1,1})?$/, message: '请假(天)精确到1位小数' }], |
| | | absenteeism: [{ pattern: /^\d{1,2}(\.\d{1,1})?$/, message: '旷工(天)精确到1位小数' }], |
| | | remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }] |
| | | }, |
| | | leaveInfoRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'change' }], |
| | | beginTime: [{ required: true, validator: this.startDate }], |
| | | leaveType: [{ required: true, message: '请选择请假类型', trigger: 'change' }], |
| | | endTime: [{ required: true, validator: this.endDate }], |
| | | returnDate: [{ required: true, message: '请选择返岗时间', trigger: 'change' }], |
| | | reporter: [{ required: true, message: '请输入报备人', trigger: 'blur' }], |
| | | remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }] |
| | | }, |
| | | resignRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'change' }], |
| | | applayDate: [{ required: true, message: '请选择申请日期', trigger: 'change' }], |
| | | 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: 'change' }], |
| | | 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: 'change' }], |
| | | applayDate: [{ required: true, message: '请选择申请日期', trigger: 'change' }], |
| | | proposer: [{ required: true, message: '请输入申请人', trigger: 'blur' }, { |
| | | max: 40, |
| | | message: '长度不超过40个字符', |
| | | trigger: 'blur' |
| | | }], |
| | | insuranceGaers: [{ required: true, message: '请选择保险类型', trigger: 'change' }], |
| | | 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: 'change' }], |
| | | injuredTime: [{ 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: 'change' }], |
| | | 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' }], |
| | | expensesFee: [{ required: true, message: '请输入医疗总费用', trigger: 'blur' }], |
| | | settleStatus: [{ required: true, message: '请选择结案状态', trigger: 'change' }], |
| | | injuredAddress: [{ required: true, message: '请输入受伤地点', trigger: 'blur' }], |
| | | compensated: [{ required: true, message: '请输入已赔付医药费用', trigger: 'blur' }], |
| | | companyCompensation: [{ required: true, message: '请输入公司赔偿总费用', trigger: 'blur' }] |
| | | }, |
| | | laborTroubleRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'change' }], |
| | | arbitrationType: [{ required: true, message: '请选择仲裁类型', trigger: 'change' }], |
| | | arbitrationDate: [{ 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: 'change' }], |
| | | badDate: [{ required: true, message: '请选择不良记录日期', trigger: 'change' }], |
| | | badContent: [{ required: true, message: '请输入不良记录描述', trigger: 'blur' }, { |
| | | max: 512, |
| | | message: '长度不超过512个字符', |
| | | trigger: 'blur' |
| | | }], |
| | | reporter: [{ |
| | | max: 50, |
| | | message: '长度不超过50个字符', |
| | | trigger: 'blur' |
| | | }], |
| | | remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }] |
| | | }, |
| | | remarkInfoRules: { |
| | | empName: [{ required: true, message: '请选择员工', trigger: 'change' }], |
| | | remarkDate: [{ required: true, message: '请选择备注日期', trigger: 'change' }], |
| | | remarkContent: [{ required: true, message: '请输入备注内容', trigger: 'blur' }, |
| | | { max: 512, message: this.$t('rules.noMoreThan512'), trigger: 'blur' }] |
| | | }, |
| | | restaurants: [{ value: '北京市', code: '110000' }, |
| | | { value: '天津市', code: '120000' }, |
| | | { value: '河北省', code: '130000' }, |
| | | { value: '山西省', code: '140000' }, |
| | | { value: '内蒙古自治区', code: '150000' }, |
| | | { value: '辽宁省', code: '210000' }, |
| | | { value: '吉林省', code: '220000' }, |
| | | { value: '黑龙江省', code: '230000' }, |
| | | { value: '上海市', code: '310000' }, |
| | | { value: '江苏省', code: '320000' }, |
| | | { value: '浙江省', code: '330000' }, |
| | | { value: '安徽省', code: '340000' }, |
| | | { value: '福建省', code: '350000' }, |
| | | { value: '江西省', code: '360000' }, |
| | | { value: '山东省', code: '370000' }, |
| | | { value: '河南省', code: '410000' }, |
| | | { value: '湖北省', code: '420000' }, |
| | | { value: '湖南省', code: '430000' }, |
| | | { value: '广东省', code: '440000' }, |
| | | { value: '广西壮族自治区', code: '450000' }, |
| | | { value: '海南省', code: '460000' }, |
| | | { value: '重庆市', code: '500000' }, |
| | | { value: '四川省', code: '510000' }, |
| | | { value: '贵州省', code: '520000' }, |
| | | { value: '云南省', code: '530000' }, |
| | | { value: '西藏自治区', code: '540000' }, |
| | | { value: '陕西省', code: '610000' }, |
| | | { value: '甘肃省', code: '620000' }, |
| | | { value: '青海省', code: '630000' }, |
| | | { value: '宁夏回族自治区', code: '640000' }, |
| | | { value: '新疆维吾尔自治区', code: '650000' }, |
| | | { value: '台湾省', code: '710000' }, |
| | | { value: '香港特别行政区', code: '810000' }, |
| | | { value: '澳门特别行政区', code: '820000' }], |
| | | restaurJob: [{ value: '总经理', code: '2942725270000031' }, |
| | | { value: '总秘', code: '2942725270000032' }, |
| | | { value: '总助', code: '2942725270000033' }, |
| | | { value: '经理', code: '2942725270000022' }, |
| | | { value: '副经理', code: '2942725270000015' }, |
| | | { value: '助理', code: '2942725270000030' }, |
| | | { value: '项目经理', code: '2942725270000027' }, |
| | | { value: '大队长', code: '2942725270000006' }, |
| | | { value: '大队长兼内勤', code: '2942725270000007' }, |
| | | { value: '中队长', code: '2942725270000029' }, |
| | | { value: '队长', code: '2942725270000011' }, |
| | | { value: '分队长', code: '2942725270000013' }, |
| | | { value: '副队长', code: '2942725270000014' }, |
| | | { value: '班长', code: '2942725270000002' }, |
| | | { value: '保安员', code: '2942725270000003' }, |
| | | { value: '内勤', code: '2942725270000024' }, |
| | | { value: '保洁', code: '2942725270000004' }, |
| | | { value: '电工', code: '2942725270000010' }, |
| | | { value: '绿化工', code: '2942725270000023' }, |
| | | { value: '出纳', code: '2942725270000005' }, |
| | | { value: '人事专员', code: '2942725270000025' }, |
| | | { value: '司机', code: '2942725270000026' }, |
| | | { value: '购买保险', code: '2942725270000016' }, |
| | | { value: '广州燃气中队长', code: '2942725270000018' }, |
| | | { value: '管理员', code: '2942725270000017' }, |
| | | { value: '监控员', code: '2942725270000021' }, |
| | | { value: '员工', code: '2942725270000028' }], |
| | | formLabelWidth: '120px', |
| | | thisShowIndex: 0, |
| | | dialogShowXzyg: false, |
| | |
| | | occupationalData: [], |
| | | badRecordData: [], |
| | | accidentCasesData: [], |
| | | dimissionAttendData: [], |
| | | remarkInfoForm: { |
| | | remarkId: '', |
| | | empId: '', |
| | | empNumb: '', |
| | | empName: '', |
| | | sex: '', |
| | | sexName: '', |
| | | certificateNumb: '', |
| | | JobId: '', |
| | | deptId: '', |
| | | deptName: '', |
| | | allDeptName: '', |
| | | jobName: '', |
| | | remarkContent: '', |
| | | remarkDate: '', |
| | |
| | | modifyTime: '', |
| | | modifier: '', |
| | | delFlag: '', |
| | | empStatus: 0, |
| | | version: '' |
| | | }, |
| | | laborTroubleForm: { |
| | |
| | | empNumb: '', |
| | | empName: '', |
| | | sex: '', |
| | | sexName: '', |
| | | certificateNumb: '', |
| | | deptId: '', |
| | | deptName: '', |
| | | allDeptName: '', |
| | | JobId: '', |
| | | jobName: '', |
| | | arbitrationDate: '', |
| | |
| | | modifier: '', |
| | | delFlag: '', |
| | | version: '', |
| | | empStatus: 0, |
| | | remark: '' |
| | | }, |
| | | occupationalForm: { |
| | |
| | | empNumb: '', |
| | | empName: '', |
| | | sex: '', |
| | | sexName: '', |
| | | certificateNumb: '', |
| | | deptId: '', |
| | | deptName: '', |
| | | allDeptName: '', |
| | | JobId: '', |
| | | jobName: '', |
| | | injuredTime: '', |
| | |
| | | modifier: '', |
| | | delFlag: '', |
| | | version: '', |
| | | empStatus: 0, |
| | | remark: '' |
| | | }, |
| | | accidentCasesForm: { |
| | |
| | | empNumb: '', |
| | | empName: '', |
| | | sex: '', |
| | | sexName: '', |
| | | certificateNumb: '', |
| | | deptId: '', |
| | | deptName: '', |
| | | allDeptName: '', |
| | | JobId: '', |
| | | jobName: '', |
| | | injuredTime: '', |
| | |
| | | creator: '', |
| | | modifyTime: '', |
| | | modifier: '', |
| | | delFlag: '', |
| | | delFlag: '2', |
| | | empStatus: 0, |
| | | version: '' |
| | | }, |
| | | insuranceForm: { |
| | |
| | | empNumb: '', |
| | | empName: '', |
| | | sex: '', |
| | | sexName: '', |
| | | certificateNumb: '', |
| | | deptId: '', |
| | | deptName: '', |
| | | allDeptName: '', |
| | | JobId: '', |
| | | jobName: '', |
| | | applayDate: '', |
| | |
| | | modifier: '', |
| | | delFlag: '', |
| | | version: '', |
| | | empStatus: 0, |
| | | remark: '' |
| | | }, |
| | | unemploymentForm: { |
| | |
| | | empNumb: '', |
| | | empName: '', |
| | | sex: '', |
| | | sexName: '', |
| | | certificateNumb: '', |
| | | deptId: '', |
| | | deptName: '', |
| | | allDeptName: '', |
| | | JobId: '', |
| | | jobName: '', |
| | | applayDate: '', |
| | |
| | | modifyTime: '', |
| | | modifier: '', |
| | | delFlag: '', |
| | | empStatus: 0, |
| | | version: '' |
| | | }, |
| | | resignForm: { |
| | |
| | | empNumb: '', |
| | | empName: '', |
| | | sex: '', |
| | | sexName: '', |
| | | certificateNumb: '', |
| | | deptId: '', |
| | | deptName: '', |
| | | allDeptName: '', |
| | | JobId: '', |
| | | jobName: '', |
| | | applayDate: '', |
| | |
| | | modifier: '', |
| | | delFlag: '', |
| | | version: '', |
| | | empStatus: 0, |
| | | remark: '' |
| | | }, |
| | | leaveInfoForm: { |
| | |
| | | empNumb: '', |
| | | empName: '', |
| | | sex: '', |
| | | sexName: '', |
| | | certificateNumb: '', |
| | | deptId: '', |
| | | deptName: '', |
| | | allDeptName: '', |
| | | JobId: '', |
| | | jobName: '', |
| | | beginTime: '', |
| | |
| | | modifier: '', |
| | | delFlag: '', |
| | | version: '', |
| | | empStatus: 0, |
| | | remark: '' |
| | | }, |
| | | contractInfoForm: { |
| | |
| | | empName: '', |
| | | certificateNumb: '', |
| | | sex: '', |
| | | sexName: '', |
| | | deptId: '', |
| | | deptName: '', |
| | | allDeptName: '', |
| | | JobId: '', |
| | | jobName: '', |
| | | beginDate: '', |
| | |
| | | modifyTime: '', |
| | | modifier: '', |
| | | delFlag: '', |
| | | empStatus: 0, |
| | | version: '' |
| | | }, |
| | | dimissionAttendForm: { |
| | |
| | | empNumb: '', |
| | | empName: '', |
| | | sex: '', |
| | | sexName: '', |
| | | deptId: '', |
| | | deptName: '', |
| | | allDeptName: '', |
| | | JobId: '', |
| | | jobName: '', |
| | | certificateNumb: '', |
| | |
| | | modifier: '', |
| | | delFlag: '', |
| | | version: '', |
| | | empStatus: 0, |
| | | remark: '' |
| | | }, |
| | | physicalExamForm: { |
| | |
| | | empName: '', |
| | | certificateNumb: '', |
| | | sex: '', |
| | | sexName: '', |
| | | deptId: '', |
| | | deptName: '', |
| | | allDeptName: '', |
| | | JobId: '', |
| | | jobName: '', |
| | | hospital: '', |
| | |
| | | modifyTime: '', |
| | | modifier: '', |
| | | delFlag: '', |
| | | empStatus: 0, |
| | | version: '' |
| | | }, |
| | | workExperienceForm: { |
| | |
| | | empName: '', |
| | | certificateNumb: '', |
| | | sex: '', |
| | | sexName: '', |
| | | deptId: '', |
| | | deptName: '', |
| | | allDeptName: '', |
| | | JobId: '', |
| | | jobName: '', |
| | | workUnit: '', |
| | |
| | | modifyTime: '', |
| | | modifier: '', |
| | | delFlag: '', |
| | | empStatus: 0, |
| | | version: '' |
| | | }, |
| | | empBaseInfoForm: { |
| | | imagePath: '', |
| | | empId: '', |
| | | customerId: '', |
| | | archivesNumb: '', |
| | | deptId: '', |
| | | deptId: null, |
| | | deptName: '', |
| | | allDeptName: '', |
| | | empNumb: '', |
| | | empName: '', |
| | | sex: '', |
| | | sex: '1', |
| | | sexName: '男', |
| | | JobId: '', |
| | | jobName: '', |
| | | empType: '', |
| | | empType: '01', |
| | | certificateType: '', |
| | | certificateNumb: '', |
| | | nation: '', |
| | | nation: '01', |
| | | certificateValidity: '', |
| | | marriage: '', |
| | | marriage: '1', |
| | | age: '', |
| | | stature: '', |
| | | birthdate: '', |
| | | politics: '', |
| | | politics: '13', |
| | | entryDate: '', |
| | | education: '', |
| | | education: '61', |
| | | seniority: '', |
| | | nativePlace: '', |
| | | nativePlaceName: '', |
| | | censusAddress: '', |
| | | currentAddress: '', |
| | | guardNumb: '', |
| | | telePhone: '', |
| | | returnReceipt: '', |
| | | introducer: '', |
| | | archivesStatus: '', |
| | | archivesStatus: '0', |
| | | bankName: '', |
| | | bankNumb: '', |
| | | InsuranceType: '', |
| | | socialNumb: '', |
| | | family: '', |
| | | handbookStatus: '', |
| | | handbookStatus: '0', |
| | | urgencyPhone: '', |
| | | empCardStatus: '', |
| | | empCardStatus: '0', |
| | | certificateList: '', |
| | | createTime: '', |
| | | creator: '', |
| | | modifyTime: '', |
| | | modifier: '', |
| | | delFlag: '', |
| | | empStatus: 0, |
| | | version: '' |
| | | }, |
| | | badRecordForm: { |
| | |
| | | empName: '', |
| | | empNumb: '', |
| | | sex: '', |
| | | sexName: '', |
| | | certificateNumb: '', |
| | | deptId: '', |
| | | deptName: '', |
| | | allDeptName: '', |
| | | JobId: '', |
| | | jobName: '', |
| | | badDate: '', |
| | |
| | | modifier: '', |
| | | delFlag: '', |
| | | version: '', |
| | | empStatus: 0, |
| | | remark: '' |
| | | } |
| | | }, |
| | | statusOptions: [], |
| | | empTypeOptions: [], |
| | | nationOptions: [], |
| | | marriageOptions: [], |
| | | educationOptions: [], |
| | | nativePlaceOptions: [], |
| | | archivesStatusOptions: [], |
| | | insuranceTypeOptions: [], |
| | | empCardStatusOptions: [], |
| | | handbookStatusOptions: [], |
| | | ecgOptions: [], |
| | | certificateListOptions: [], |
| | | physicalExamTypeOptions: [], |
| | | contractStatusOptions: [], |
| | | leaveTypeOptions: [], |
| | | insuranceGaersOptions: [], |
| | | applayStatusOptions: [], |
| | | reportStatusOptions: [], |
| | | hospitalizatioFlagOptions: [], |
| | | settleStatusOptions: [], |
| | | arbitrationTypeOptions: [], |
| | | changeTypeOptions: [], |
| | | dimissionTypeOptions: [], |
| | | sexOptions: [], |
| | | permissions: {} |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.permissions = JSON.parse(localStorage.getItem('PERMISSIONS')) |
| | | this.getDicts('PLITICAL').then(response => { |
| | | this.statusOptions = response.data |
| | | }) |
| | | this.getDicts('sex').then(response => { |
| | | this.sexOptions = response.data |
| | | }) |
| | | this.getDicts('empType').then(response => { |
| | | this.empTypeOptions = response.data |
| | | }) |
| | | this.getDicts('NATION').then(response => { |
| | | this.nationOptions = response.data |
| | | }) |
| | | this.getDicts('MARRIAGE').then(response => { |
| | | this.marriageOptions = response.data |
| | | }) |
| | | this.getDicts('EDUCATION').then(response => { |
| | | this.educationOptions = response.data |
| | | }) |
| | | this.getDicts('NATIVEPLACE').then(response => { |
| | | this.nativePlaceOptions = response.data |
| | | }) |
| | | this.getDicts('archivesStatus').then(response => { |
| | | this.archivesStatusOptions = response.data |
| | | }) |
| | | this.getDicts('INSURANCETYPE').then(response => { |
| | | this.insuranceTypeOptions = response.data |
| | | }) |
| | | this.getDicts('empCardStatus').then(response => { |
| | | this.empCardStatusOptions = response.data |
| | | }) |
| | | this.getDicts('handbookStatus').then(response => { |
| | | this.handbookStatusOptions = response.data |
| | | }) |
| | | this.getDicts('certificateList').then(response => { |
| | | this.certificateListOptions = response.data |
| | | }) |
| | | this.getDicts('PHYSICALEXAMTYPE').then(response => { |
| | | this.physicalExamTypeOptions = response.data |
| | | }) |
| | | this.getDicts('ECG').then(response => { |
| | | this.ecgOptions = response.data |
| | | }) |
| | | this.getDicts('CONTRACTSTATUS').then(response => { |
| | | this.contractStatusOptions = response.data |
| | | }) |
| | | this.getDicts('LEAVETYPE').then(response => { |
| | | this.leaveTypeOptions = response.data |
| | | }) |
| | | this.getDicts('INSURANCETYPE').then(response => { |
| | | this.insuranceGaersOptions = response.data |
| | | }) |
| | | this.getDicts('applayStatus').then(response => { |
| | | this.applayStatusOptions = response.data |
| | | }) |
| | | this.getDicts('reportStatus').then(response => { |
| | | this.reportStatusOptions = response.data |
| | | }) |
| | | this.getDicts('hospitalizatioFlag').then(response => { |
| | | this.hospitalizatioFlagOptions = response.data |
| | | }) |
| | | this.getDicts('settleStatus').then(response => { |
| | | this.settleStatusOptions = response.data |
| | | }) |
| | | this.getDicts('ZCTYPE').then(response => { |
| | | this.arbitrationTypeOptions = response.data |
| | | }) |
| | | this.getDicts('changeType').then(response => { |
| | | this.changeTypeOptions = response.data |
| | | }) |
| | | this.getDicts('LZTYPE').then(response => { |
| | | this.dimissionTypeOptions = response.data |
| | | }) |
| | | this.initDept() |
| | | this.selectBadRecord() |
| | | this.selectEmpBase() |
| | | this.selectWorkExperience() |
| | | this.selectPhysicalExam() |
| | | this.selectContractInfo() |
| | | this.selectDimissionAttend() |
| | | this.selectLeaveInfo() |
| | | this.selectResign() |
| | | this.selectUnemployment() |
| | | this.selectAccidentCases() |
| | | this.selectLaborTrouble() |
| | | this.selectRemarkInfo() |
| | | this.thisShowIndex = 1 |
| | | this.isShow(false, 0) |
| | | this.initJob() |
| | | }, |
| | | methods: { |
| | | dialogIsShow() { |
| | | this.isAdd = true |
| | | timelineShow(name) { |
| | | for (const v of this.permissions) { |
| | | if (v === name) { |
| | | return true |
| | | } |
| | | } |
| | | return false |
| | | }, |
| | | importHandleAvatarError() { |
| | | this.$notify.error({ |
| | | title: '错误', |
| | | message: '导入失败' |
| | | }) |
| | | }, |
| | | importHandleAvatarSuccess(res, file) { |
| | | if (res.data === null || res.data.length === 0) { |
| | | this.$notify({ |
| | | title: '成功', |
| | | message: '导入成功!', |
| | | type: 'success' |
| | | }) |
| | | } else { |
| | | this.$alert(JSON.stringify(res.data), '导入失败原因', { |
| | | confirmButtonText: '确定' |
| | | }) |
| | | } |
| | | }, |
| | | headers() { |
| | | const token = getToken() |
| | | if (token) { |
| | | return { |
| | | Authorization: 'bearer ' + token |
| | | } |
| | | } else { |
| | | return null |
| | | } |
| | | }, |
| | | showDryg(operate) { |
| | | switch (operate) { |
| | | case 0: |
| | | this.dialogShowDryg = true |
| | | break |
| | | case 1: |
| | | this.dialogShowDryg = false |
| | | break |
| | | case 2: |
| | | this.$refs.upload.submit() |
| | | break |
| | | } |
| | | }, |
| | | |
| | | // 获取图片的Blob值 |
| | | getImageBlob(url, cb) { |
| | | var xhr = new XMLHttpRequest() |
| | | xhr.open('get', url, true) |
| | | xhr.responseType = 'blob' |
| | | xhr.onload = function() { |
| | | if (this.status === 200) { |
| | | if (cb) cb(this.response) |
| | | } |
| | | } |
| | | xhr.send() |
| | | }, |
| | | preView(url) { |
| | | var this_ = this |
| | | const reader = new FileReader() |
| | | this.getImageBlob(url, function(blob) { |
| | | reader.readAsDataURL(blob) |
| | | }) |
| | | reader.onload = function(e) { |
| | | // 获取bolb里面数据时,生成预览 |
| | | var img = document.createElement('img') |
| | | img.src = e.target.result |
| | | this_.empBaseInfoForm.imagePath = e.target.result |
| | | } |
| | | }, |
| | | // 图片预览 |
| | | handlePictureCardPreview(file) { |
| | | this.empBaseInfoImageUrl = URL.createObjectURL(file.raw) // 获取URL |
| | | // 判断图片大小 |
| | | if (file.size < 4400000) { |
| | | // 判断图片格式是否为jpg,png,jepg,gif |
| | | var fileName = file.name |
| | | // var suffixIndex=fileName.lastIndexOf(".") |
| | | // var suffix=fileName.substring(suffixIndex+1).toUpperCase() |
| | | var suffix = fileName.substring(fileName.lastIndexOf('.') + 1).toUpperCase() |
| | | if (suffix === 'JPG' || suffix === 'PNG') { |
| | | this.preView(this.empBaseInfoImageUrl) |
| | | } else { |
| | | this.$message.error('只能上传jpg/png文件,且不超过4MB,请重新上传!') |
| | | } |
| | | } else { |
| | | this.$message.error('图片大小超过4M,请重新上传') |
| | | } |
| | | }, |
| | | // 翻页插件翻页方法 |
| | | search() { |
| | | this.fetch({ |
| | | ...this.queryParams, |
| | | ...this.sort |
| | | }) |
| | | }, |
| | | // 公用查询 |
| | | fetch(params = {}) { |
| | | params.pageSize = this.pagination.size |
| | | params.pageNum = this.pagination.num |
| | | this.$get(this.tableUrl, { |
| | | ...params |
| | | }).then((r) => { |
| | | const data = r.data.data |
| | | this.total = data.total |
| | | this[this.tableDataName] = data.rows |
| | | }) |
| | | }, |
| | | dialogIsShow(val) { |
| | | this.isAdd = val === '0' |
| | | switch (this.thisShowIndex) { |
| | | case 0: |
| | | this.cleanEmpBase() |
| | | break |
| | | case 1: |
| | | this.cleanWorkExperience() |
| | | break |
| | | case 2: |
| | | this.cleanPhysicalExam() |
| | | break |
| | | case 3: |
| | | this.cleanContractInfo() |
| | | break |
| | | case 4: |
| | | this.cleanDimissionAttend() |
| | | break |
| | | case 5: |
| | | this.cleanLeaveInfo() |
| | | break |
| | | case 6: |
| | | this.cleanResign() |
| | | break |
| | | case 7: |
| | | this.cleanUnemployment() |
| | | break |
| | | case 8: |
| | | this.cleanInsurance() |
| | | break |
| | | case 9: |
| | | this.cleanAccidentCases() |
| | | break |
| | | case 10: |
| | | this.cleanOccupational() |
| | | break |
| | | case 11: |
| | | this.cleanLaborTrouble() |
| | | break |
| | | case 12: |
| | | this.cleanBadRecord() |
| | | break |
| | | case 13: |
| | | this.cleanRemarkInfo() |
| | | break |
| | | } |
| | | this.dialogshowArr[this.thisShowIndex].show = !this.dialogshowArr[this.thisShowIndex] |
| | | .show |
| | | }, |
| | |
| | | this.showArr[this.thisShowIndex].show = false |
| | | } |
| | | this.thisShowIndex = index |
| | | switch (this.thisShowIndex) { |
| | | case 0: |
| | | this.tableUrl = 'hr/empBaseInfo/list' |
| | | this.tableDataName = 'basicInformationData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | break |
| | | case 1: |
| | | this.tableUrl = 'hr/empWorkExperience/list' |
| | | this.tableDataName = 'workExperienceData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | break |
| | | case 2: |
| | | this.tableUrl = 'hr/empPhysicalExam/list' |
| | | this.tableDataName = 'physicalExamData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | break |
| | | case 3: |
| | | this.tableUrl = 'hr/empContractInfo/list' |
| | | this.tableDataName = 'contractInfoData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | break |
| | | case 4: |
| | | this.tableUrl = 'hr/empDimissionAttend/list' |
| | | this.tableDataName = 'dimissionAttendData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | break |
| | | case 5: |
| | | this.tableUrl = 'hr/empLeaveInfo/list' |
| | | this.tableDataName = 'leaveInfoData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | break |
| | | case 6: |
| | | this.tableUrl = 'hr/empResign/list' |
| | | this.tableDataName = 'resignData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | break |
| | | case 7: |
| | | this.tableUrl = 'hr/empUnemployment/list' |
| | | this.tableDataName = 'unemploymentData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | break |
| | | case 8: |
| | | this.tableUrl = 'hr/empInsurance/list' |
| | | this.tableDataName = 'insuranceData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | break |
| | | case 9: |
| | | this.tableUrl = 'hr/empAccidentCases/list' |
| | | this.tableDataName = 'accidentCasesData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | break |
| | | case 10: |
| | | this.tableUrl = 'hr/empOccupational/list' |
| | | this.tableDataName = 'occupationalData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | break |
| | | case 11: |
| | | this.tableUrl = 'hr/empLaborTrouble/list' |
| | | this.tableDataName = 'laborTroubleData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | break |
| | | case 12: |
| | | this.tableUrl = 'hr/empBadRecord/list' |
| | | this.tableDataName = 'badRecordData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | break |
| | | case 13: |
| | | this.tableUrl = 'hr/empRemarkInfo/list' |
| | | this.tableDataName = 'remarkInfoData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | break |
| | | } |
| | | }, |
| | | initDept() { |
| | | this.$get('system/dept').then((r) => { |
| | |
| | | resetDeptTree() { |
| | | this.$refs.deptTree.setCheckedKeys([]) |
| | | }, |
| | | initJob() { |
| | | this.$get('system/position/dicJob').then((r) => { |
| | | this.restaurJob = r.data.data |
| | | }) |
| | | }, |
| | | butDelete() { |
| | | let selected |
| | | switch (this.thisShowIndex) { |
| | | case 0: |
| | | var selected = this.$refs.empBaseInfoTable.selection |
| | | selected = this.$refs.empBaseInfoTable.selection |
| | | if (selected.length > 0) { |
| | | const delIds = [] |
| | | selected.forEach((j) => { |
| | |
| | | }) |
| | | this.selectEmpBase() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要删除的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 1: |
| | | // eslint-disable-next-line no-redeclare |
| | | var selected = this.$refs.workExperienceTable.selection |
| | | selected = this.$refs.workExperienceTable.selection |
| | | if (selected.length > 0) { |
| | | const delIds = [] |
| | | selected.forEach((j) => { |
| | |
| | | }) |
| | | this.selectWorkExperience() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要删除的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 2: |
| | | // eslint-disable-next-line no-redeclare |
| | | var selected = this.$refs.physicalExamTable.selection |
| | | selected = this.$refs.physicalExamTable.selection |
| | | if (selected.length > 0) { |
| | | const delIds = [] |
| | | selected.forEach((j) => { |
| | |
| | | }) |
| | | this.selectPhysicalExam() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要删除的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 3: |
| | | // eslint-disable-next-line no-redeclare |
| | | var selected = this.$refs.contractInfoTable.selection |
| | | selected = this.$refs.contractInfoTable.selection |
| | | if (selected.length > 0) { |
| | | const delIds = [] |
| | | selected.forEach((j) => { |
| | |
| | | }) |
| | | this.selectContractInfo() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要删除的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 4: |
| | | // eslint-disable-next-line no-redeclare |
| | | var selected = this.$refs.dimissionAttendTable.selection |
| | | selected = this.$refs.dimissionAttendTable.selection |
| | | if (selected.length > 0) { |
| | | const delIds = [] |
| | | selected.forEach((j) => { |
| | |
| | | } |
| | | break |
| | | case 5: |
| | | // eslint-disable-next-line no-redeclare |
| | | var selected = this.$refs.leaveInfoTable.selection |
| | | selected = this.$refs.leaveInfoTable.selection |
| | | if (selected.length > 0) { |
| | | const delIds = [] |
| | | selected.forEach((j) => { |
| | |
| | | }) |
| | | this.selectLeaveInfo() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要删除的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 6: |
| | | // eslint-disable-next-line no-redeclare |
| | | var selected = this.$refs.resignTable.selection |
| | | selected = this.$refs.resignTable.selection |
| | | if (selected.length > 0) { |
| | | const delIds = [] |
| | | selected.forEach((j) => { |
| | |
| | | }) |
| | | this.selectResign() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要删除的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 7: |
| | | // eslint-disable-next-line no-redeclare |
| | | var selected = this.$refs.unemploymentTable.selection |
| | | selected = this.$refs.unemploymentTable.selection |
| | | if (selected.length > 0) { |
| | | const delIds = [] |
| | | selected.forEach((j) => { |
| | |
| | | }) |
| | | this.selectUnemployment() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要删除的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 8: |
| | | // eslint-disable-next-line no-redeclare |
| | | var selected = this.$refs.insuranceTable.selection |
| | | selected = this.$refs.insuranceTable.selection |
| | | if (selected.length > 0) { |
| | | const delIds = [] |
| | | selected.forEach((j) => { |
| | |
| | | }) |
| | | this.selectInsurance() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要删除的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 9: |
| | | // eslint-disable-next-line no-redeclare |
| | | var selected = this.$refs.accidentCasesTable.selection |
| | | selected = this.$refs.accidentCasesTable.selection |
| | | if (selected.length > 0) { |
| | | const delIds = [] |
| | | selected.forEach((j) => { |
| | |
| | | }) |
| | | this.selectAccidentCases() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要删除的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 10: |
| | | // eslint-disable-next-line no-redeclare |
| | | var selected = this.$refs.occupationalTable.selection |
| | | selected = this.$refs.occupationalTable.selection |
| | | if (selected.length > 0) { |
| | | const delIds = [] |
| | | selected.forEach((j) => { |
| | |
| | | }) |
| | | this.selectOccupational() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要删除的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 11: |
| | | // eslint-disable-next-line no-redeclare |
| | | var selected = this.$refs.occupationalTable.selection |
| | | selected = this.$refs.laborTroubleTable.selection |
| | | if (selected.length > 0) { |
| | | const delIds = [] |
| | | selected.forEach((j) => { |
| | |
| | | }) |
| | | this.selectLaborTrouble() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要删除的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 12: |
| | | // eslint-disable-next-line no-redeclare |
| | | var selected = this.$refs.badRecordTable.selection |
| | | selected = this.$refs.badRecordTable.selection |
| | | if (selected.length > 0) { |
| | | const badIds = [] |
| | | selected.forEach((j) => { |
| | |
| | | }) |
| | | this.selectBadRecord() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要删除的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 13: |
| | | // eslint-disable-next-line no-redeclare |
| | | var selected = this.$refs.remarkInfoTable.selection |
| | | selected = this.$refs.remarkInfoTable.selection |
| | | if (selected.length > 0) { |
| | | const badIds = [] |
| | | selected.forEach((j) => { |
| | |
| | | }) |
| | | this.selectBadRecord() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要删除的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | } |
| | | }, |
| | | typeFormat(row, column) { |
| | | return this.selectDictLabel(this.physicalExamTypeOptions, row.physicalExamType) |
| | | }, |
| | | empTypeFormat(row, column) { |
| | | return this.selectDictLabel(this.empTypeOptions, row.empType) |
| | | }, |
| | | sexFormat(row, column) { |
| | | return this.selectDictLabel(this.sexOptions, row.sex) |
| | | }, |
| | | nationFormat(row, column) { |
| | | return this.selectDictLabel(this.nationOptions, row.nation) |
| | | }, |
| | | marriageFormat(row, column) { |
| | | return this.selectDictLabel(this.marriageOptions, row.marriage) |
| | | }, |
| | | politicsFormat(row, column) { |
| | | return this.selectDictLabel(this.statusOptions, row.politics) |
| | | }, |
| | | educationFormat(row, column) { |
| | | return this.selectDictLabel(this.educationOptions, row.education) |
| | | }, |
| | | insuranceTypeFormat(row, column) { |
| | | return this.selectDictLabel(this.insuranceTypeOptions, row.insuranceType) |
| | | }, |
| | | ecgNameFormat(row, column) { |
| | | return this.selectDictLabel(this.ecgOptions, row.ecg) |
| | | }, |
| | | contractStatusFormat(row, column) { |
| | | return this.selectDictLabel(this.contractStatusOptions, row.contractStatus) |
| | | }, |
| | | changeTypeFormat(row, column) { |
| | | return this.selectDictLabel(this.changeTypeOptions, row.changeType) |
| | | }, |
| | | leaveTypeFormat(row, column) { |
| | | return this.selectDictLabel(this.leaveTypeOptions, row.leaveType) |
| | | }, |
| | | dimissionTypeFormat(row, column) { |
| | | return this.selectDictLabel(this.dimissionTypeOptions, row.dimissionType) |
| | | }, |
| | | insuranceGaersFormat(row, column) { |
| | | return this.selectDictLabel(this.insuranceGaersOptions, row.insuranceGaers) |
| | | }, |
| | | reportStatusFormat(row, column) { |
| | | return this.selectDictLabel(this.reportStatusOptions, row.reportStatus) |
| | | }, |
| | | applayStatusFormat(row, column) { |
| | | return this.selectDictLabel(this.applayStatusOptions, row.applayStatus) |
| | | }, |
| | | hospitalizatioFlagFormat(row, column) { |
| | | return this.selectDictLabel(this.hospitalizatioFlagOptions, row.hospitalizatioFlag) |
| | | }, |
| | | arbitrationTypeFormat(row, column) { |
| | | return this.selectDictLabel(this.arbitrationTypeOptions, row.arbitrationType) |
| | | }, |
| | | arbitrationStatusFormat(row, column) { |
| | | return this.selectDictLabel(this.settleStatusOptions, row.arbitrationStatus) |
| | | }, |
| | | startDate(rule, value, callback) { |
| | | if (!value) { |
| | | callback(new Error('开始日期不能为空!')) |
| | | } else { |
| | | switch (this.thisShowIndex) { |
| | | case 1: |
| | | // 如果结束日期没选,cb |
| | | if (!this.workExperienceForm.endDate) { |
| | | callback() |
| | | } else { |
| | | // 结束日期有,进行判断 |
| | | if (this.compareDate(value, this.workExperienceForm.endDate)) { |
| | | // 如果起始在结束之前 |
| | | callback() |
| | | } else { |
| | | callback(new Error('开始日期不能在结束日期之后,请重新选择')) |
| | | } |
| | | } |
| | | break |
| | | case 3: |
| | | // 如果结束日期没选,cb |
| | | if (!this.contractInfoForm.endDate) { |
| | | callback() |
| | | } else { |
| | | // 结束日期有,进行判断 |
| | | if (this.compareDate(value, this.contractInfoForm.endDate)) { |
| | | // 如果起始在结束之前 |
| | | callback() |
| | | } else { |
| | | callback(new Error('开始日期不能在结束日期之后,请重新选择')) |
| | | } |
| | | } |
| | | break |
| | | case 5: |
| | | // 如果结束日期没选,cb |
| | | if (!this.leaveInfoForm.endTime) { |
| | | callback() |
| | | } else { |
| | | // 结束日期有,进行判断 |
| | | if (this.compareDate(value, this.leaveInfoForm.endTime)) { |
| | | // 如果起始在结束之前 |
| | | callback() |
| | | } else { |
| | | callback(new Error('开始时间不能在结束时间之后,请重新选择')) |
| | | } |
| | | } |
| | | break |
| | | } |
| | | } |
| | | }, |
| | | endDate(rule, value, callback) { |
| | | if (!value) { |
| | | callback(new Error('结束日期不能为空!')) |
| | | } else { |
| | | switch (this.thisShowIndex) { |
| | | case 1: |
| | | // 如果起始日期没选,cb |
| | | if (!this.workExperienceForm.beginDate) { |
| | | callback() |
| | | } else { |
| | | // 起始日期有,进行判断 |
| | | if (this.compareDate(this.workExperienceForm.beginDate, value)) { |
| | | // 如果起始在结束之前 |
| | | this.leaveInfoForm.leaveDay = dateDifference(this.leaveInfoForm.beginTime, this.leaveInfoForm.endTime, 'd') |
| | | callback() |
| | | } else { |
| | | callback(new Error('结束日期不能在开始始日期之前,请重新选择')) |
| | | } |
| | | } |
| | | break |
| | | case 3: |
| | | // 如果起始日期没选,cb |
| | | if (!this.contractInfoForm.signingDate) { |
| | | callback() |
| | | } else { |
| | | // 起始日期有,进行判断 |
| | | if (this.compareDate(this.contractInfoForm.signingDate, value)) { |
| | | // 如果起始在结束之前 |
| | | this.contractInfoForm.contractPeriod = dateDifference(this.contractInfoForm.signingDate, this.contractInfoForm.endDate, 'y') |
| | | callback() |
| | | } else { |
| | | callback(new Error('结束日期不能在开始始日期之前,请重新选择')) |
| | | } |
| | | } |
| | | break |
| | | case 5: |
| | | // 如果起始日期没选,cb |
| | | if (!this.leaveInfoForm.beginTime) { |
| | | callback() |
| | | } else { |
| | | // 起始日期有,进行判断 |
| | | if (this.compareDate(this.leaveInfoForm.beginTime, value)) { |
| | | // 如果起始在结束之前 |
| | | this.leaveInfoForm.leaveDay = dateDifference(this.leaveInfoForm.beginTime, this.leaveInfoForm.endTime, 'd') |
| | | callback() |
| | | } else { |
| | | callback(new Error('结束日期不能在开始始日期之前,请重新选择')) |
| | | } |
| | | } |
| | | break |
| | | } |
| | | } |
| | | }, |
| | | compareDate(start, end) { |
| | | return new Date(end).getTime() > new Date(start).getTime() |
| | | }, |
| | | deleteFrom() { |
| | | this.butDelete() |
| | | }, |
| | | submitTo() { |
| | | let selected |
| | | switch (this.thisShowIndex) { |
| | | case 0: |
| | | selected = this.$refs.empBaseInfoTable.selection |
| | | if (selected.length > 0) { |
| | | const delIds = [] |
| | | selected.forEach((j) => { |
| | | delIds.push(j.empId) |
| | | }) |
| | | this.$delete(`hr/empBaseInfo/toNormal/` + delIds).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.submitSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.tableUrl = 'hr/empBaseInfo/list' |
| | | this.tableDataName = 'basicInformationData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 1: |
| | | selected = this.$refs.workExperienceTable.selection |
| | | if (selected.length > 0) { |
| | | const delIds = [] |
| | | selected.forEach((j) => { |
| | | delIds.push(j.workExperienceId) |
| | | }) |
| | | this.$delete(`hr/empWorkExperience/toNormal/` + delIds).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.submitSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.tableUrl = 'hr/empWorkExperience/list' |
| | | this.tableDataName = 'workExperienceData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 2: |
| | | selected = this.$refs.physicalExamTable.selection |
| | | if (selected.length > 0) { |
| | | const delIds = [] |
| | | selected.forEach((j) => { |
| | | delIds.push(j.physicalExamId) |
| | | }) |
| | | this.$delete(`hr/empPhysicalExam/toNormal/` + delIds).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.submitSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.tableUrl = 'hr/empPhysicalExam/list' |
| | | this.tableDataName = 'physicalExamData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 3: |
| | | selected = this.$refs.contractInfoTable.selection |
| | | if (selected.length > 0) { |
| | | const delIds = [] |
| | | selected.forEach((j) => { |
| | | delIds.push(j.contractId) |
| | | }) |
| | | this.$delete(`hr/empContractInfo/toNormal/` + delIds).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.submitSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.tableUrl = 'hr/empContractInfo/list' |
| | | this.tableDataName = 'contractInfoData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 4: |
| | | selected = this.$refs.dimissionAttendTable.selection |
| | | if (selected.length > 0) { |
| | | const delIds = [] |
| | | selected.forEach((j) => { |
| | | delIds.push(j.dimissionAttendId) |
| | | }) |
| | | this.$delete(`hr/empDimissionAttend/toNormal/` + delIds).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.submitSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.tableUrl = 'hr/empDimissionAttend/list' |
| | | this.tableDataName = 'dimissionAttendData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 5: |
| | | selected = this.$refs.leaveInfoTable.selection |
| | | if (selected.length > 0) { |
| | | const delIds = [] |
| | | selected.forEach((j) => { |
| | | delIds.push(j.leaveId) |
| | | }) |
| | | this.$delete(`hr/empLeaveInfo/toNormal/` + delIds).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.submitSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.tableUrl = 'hr/empLeaveInfo/list' |
| | | this.tableDataName = 'leaveInfoData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 6: |
| | | selected = this.$refs.resignTable.selection |
| | | if (selected.length > 0) { |
| | | const delIds = [] |
| | | selected.forEach((j) => { |
| | | delIds.push(j.resignId) |
| | | }) |
| | | this.$delete(`hr/empResign/toNormal/` + delIds).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.submitSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.tableUrl = 'hr/empResign/list' |
| | | this.tableDataName = 'resignData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 7: |
| | | selected = this.$refs.unemploymentTable.selection |
| | | if (selected.length > 0) { |
| | | const delIds = [] |
| | | selected.forEach((j) => { |
| | | delIds.push(j.unemploymentId) |
| | | }) |
| | | this.$delete(`hr/empUnemployment/toNormal/` + delIds).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.submitSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.tableUrl = 'hr/empUnemployment/list' |
| | | this.tableDataName = 'unemploymentData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 8: |
| | | selected = this.$refs.insuranceTable.selection |
| | | if (selected.length > 0) { |
| | | const delIds = [] |
| | | selected.forEach((j) => { |
| | | delIds.push(j.insuranceId) |
| | | }) |
| | | this.$delete(`hr/empInsurance/toNormal/` + delIds).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.submitSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.tableUrl = 'hr/empInsurance/list' |
| | | this.tableDataName = 'insuranceData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 9: |
| | | selected = this.$refs.accidentCasesTable.selection |
| | | if (selected.length > 0) { |
| | | const delIds = [] |
| | | selected.forEach((j) => { |
| | | delIds.push(j.accidentId) |
| | | }) |
| | | this.$delete(`hr/empAccidentCases/toNormal/` + delIds).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.submitSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.tableUrl = 'hr/empAccidentCases/list' |
| | | this.tableDataName = 'accidentCasesData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 10: |
| | | selected = this.$refs.occupationalTable.selection |
| | | if (selected.length > 0) { |
| | | const delIds = [] |
| | | selected.forEach((j) => { |
| | | delIds.push(j.occupationalId) |
| | | }) |
| | | this.$delete(`hr/empOccupational/toNormal/` + delIds).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.submitSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.tableUrl = 'hr/empOccupational/list' |
| | | this.tableDataName = 'occupationalData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 11: |
| | | selected = this.$refs.laborTroubleTable.selection |
| | | if (selected.length > 0) { |
| | | const delIds = [] |
| | | selected.forEach((j) => { |
| | | delIds.push(j.arbitrationId) |
| | | }) |
| | | this.$delete(`hr/empLaborTrouble/toNormal/` + delIds).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.submitSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.tableUrl = 'hr/empLaborTrouble/list' |
| | | this.tableDataName = 'laborTroubleData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 12: |
| | | selected = this.$refs.badRecordTable.selection |
| | | if (selected.length > 0) { |
| | | const badIds = [] |
| | | selected.forEach((j) => { |
| | | badIds.push(j.badId) |
| | | }) |
| | | this.$delete(`hr/empBadRecord/toNormal/` + badIds).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.submitSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.tableUrl = 'hr/empBadRecord/list' |
| | | this.tableDataName = 'badRecordData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | case 13: |
| | | selected = this.$refs.remarkInfoTable.selection |
| | | if (selected.length > 0) { |
| | | const badIds = [] |
| | | selected.forEach((j) => { |
| | | badIds.push(j.remarkId) |
| | | }) |
| | | this.$delete(`hr/empRemarkInfo/toNormal/` + badIds).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.submitSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.tableUrl = 'hr/empRemarkInfo/list' |
| | | this.tableDataName = 'remarkInfoData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | | message: '请先选中需要提交的记录', |
| | | type: 'error' |
| | | }) |
| | | } |
| | | break |
| | | } |
| | | }, |
| | | selectEmpBase() { |
| | | this.$get('hr/empBaseInfo/list') |
| | | .then((r) => { |
| | | this.basicInformationData = r.data.data.rows |
| | | }) |
| | | .catch((error) => { |
| | | console.error(error) |
| | | this.$message({ |
| | | message: this.$t('tips.getDataFail'), |
| | | type: 'error' |
| | | }) |
| | | }) |
| | | this.tableUrl = 'hr/empBaseInfo/list' |
| | | this.tableDataName = 'basicInformationData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | cleanEmpBase() { |
| | | this.empBaseInfoForm.empId = '' |
| | | this.empBaseInfoForm.customerId = '' |
| | | this.empBaseInfoForm.archivesNumb = '' |
| | | this.empBaseInfoForm.deptId = '' |
| | | this.empBaseInfoForm.deptId = null |
| | | this.empBaseInfoForm.deptName = '' |
| | | this.empBaseInfoForm.allDeptName = '' |
| | | this.empBaseInfoForm.empNumb = '' |
| | | this.empBaseInfoForm.empName = '' |
| | | this.empBaseInfoForm.sex = '' |
| | |
| | | this.empBaseInfoForm.education = '' |
| | | this.empBaseInfoForm.seniority = '' |
| | | this.empBaseInfoForm.nativePlace = '' |
| | | this.empBaseInfoForm.nativePlaceName = '' |
| | | this.empBaseInfoForm.censusAddress = '' |
| | | this.empBaseInfoForm.currentAddress = '' |
| | | this.empBaseInfoForm.guardNumb = '' |
| | |
| | | this.empBaseInfoForm.modifier = '' |
| | | this.empBaseInfoForm.delFlag = '' |
| | | this.empBaseInfoForm.version = '' |
| | | this.empBaseInfoForm.imagePath = '' |
| | | this.empBaseInfoImageUrl = '' |
| | | }, |
| | | editEmpBase(row) { |
| | | this.isAdd = false |
| | | let certificateList = [] |
| | | if (row.certificateList && typeof row.certificateList === 'string') { |
| | | certificateList = row.certificateList.split(',') |
| | | row.certificateList = certificateList |
| | | } |
| | | this.empBaseInfoForm.empId = row.empId |
| | | this.empBaseInfoForm.customerId = row.customerId |
| | | this.empBaseInfoForm.archivesNumb = row.archivesNumb |
| | | this.empBaseInfoForm.deptId = row.deptId |
| | | this.empBaseInfoForm.deptName = row.deptName |
| | | this.empBaseInfoForm.allDeptName = row.allDeptName |
| | | this.empBaseInfoForm.empNumb = row.empNumb |
| | | this.empBaseInfoForm.empName = row.empName |
| | | this.empBaseInfoForm.sex = row.sex |
| | |
| | | this.empBaseInfoForm.education = row.education |
| | | this.empBaseInfoForm.seniority = row.seniority |
| | | this.empBaseInfoForm.nativePlace = row.nativePlace |
| | | this.empBaseInfoForm.nativePlaceName = row.nativePlaceName |
| | | this.empBaseInfoForm.censusAddress = row.censusAddress |
| | | this.empBaseInfoForm.currentAddress = row.currentAddress |
| | | this.empBaseInfoForm.guardNumb = row.guardNumb |
| | |
| | | this.empBaseInfoForm.delFlag = row.delFlag |
| | | this.empBaseInfoForm.version = row.version |
| | | this.dialogshowArr[0].show = true |
| | | this.empBaseInfoImageUrl = pages.getEmpBaseInfoImage + row.empId |
| | | this.empBaseInfoForm.insuranceType = row.insuranceType |
| | | }, |
| | | putEmpBase() { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empBaseInfo', { ...this.empBaseInfoForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanEmpBase() |
| | | this.selectEmpBase() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empBaseInfo', { ...this.empBaseInfoForm }).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.updateSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanEmpBase() |
| | | this.selectEmpBase() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | putEmpBase(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empBaseInfo', { ...this.empBaseInfoForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanEmpBase() |
| | | this.selectEmpBase() |
| | | }) |
| | | } else { |
| | | this.$put('hr/empBaseInfo', { ...this.empBaseInfoForm }).then(() => { |
| | | this.$message({ |
| | | message: this.$t('tips.updateSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.$emit('success') |
| | | this.cleanEmpBase() |
| | | this.selectEmpBase() |
| | | }) |
| | | } |
| | | this.dialogIsShow() |
| | | } |
| | | }) |
| | | }, |
| | | putEmpBaseContinue() { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empBaseInfo', { ...this.empBaseInfoForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanEmpBase() |
| | | this.selectEmpBase() |
| | | }) |
| | | } |
| | | putEmpBaseContinue(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empBaseInfo', { ...this.empBaseInfoForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanEmpBase() |
| | | this.selectEmpBase() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | setTimeout(() => { |
| | | this.$refs[formName].clearValidate() |
| | | }, 1500) |
| | | }, |
| | | selectWorkExperience() { |
| | | this.$get('hr/empWorkExperience/list') |
| | | .then((r) => { |
| | | this.workExperienceData = r.data.data.rows |
| | | }) |
| | | .catch((error) => { |
| | | console.error(error) |
| | | this.$message({ |
| | | message: this.$t('tips.getDataFail'), |
| | | type: 'error' |
| | | }) |
| | | }) |
| | | this.tableUrl = 'hr/empWorkExperience/list' |
| | | this.tableDataName = 'workExperienceData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | putWorkExperience() { |
| | | if (this.isAdd) { |
| | | 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() |
| | | 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() |
| | | } |
| | | }) |
| | | }, |
| | | putWorkExperienceContinue() { |
| | | if (this.isAdd) { |
| | | this.$post('hr/empWorkExperience', { ...this.workExperienceForm }).then(() => { |
| | | this.buttonLoading = false |
| | | this.$message({ |
| | | message: this.$t('tips.createSuccess'), |
| | | type: 'success' |
| | | }) |
| | | this.cleanWorkExperience() |
| | | this.selectWorkExperience() |
| | | }) |
| | | } |
| | | 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.empNumb = row.empNumb |
| | | this.workExperienceForm.empName = row.empName |
| | | this.workExperienceForm.certificateNumb = row.certificateNumb |
| | | this.workExperienceForm.sex = row.sex |
| | | 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.dialogshowArr[1].show = true |
| | | }, |
| | | selectPhysicalExam() { |
| | | this.$get('hr/empPhysicalExam/list') |
| | | .then((r) => { |
| | | this.physicalExamData = r.data.data.rows |
| | | }) |
| | | .catch((error) => { |
| | | console.error(error) |
| | | this.$message({ |
| | | message: this.$t('tips.getDataFail'), |
| | | type: 'error' |
| | | }) |
| | | }) |
| | | this.tableUrl = 'hr/empPhysicalExam/list' |
| | | this.tableDataName = 'physicalExamData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | putPhysicalExam() { |
| | | 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() |
| | | 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() |
| | | } |
| | | }) |
| | | }, |
| | | putPhysicalExamContinue() { |
| | | 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() |
| | | }) |
| | | } |
| | | 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.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.dialogshowArr[2].show = true |
| | | }, |
| | | selectContractInfo() { |
| | | this.$get('hr/empContractInfo/list') |
| | | .then((r) => { |
| | | this.contractInfoData = r.data.data.rows |
| | | }) |
| | | .catch((error) => { |
| | | console.error(error) |
| | | this.$message({ |
| | | message: this.$t('tips.getDataFail'), |
| | | type: 'error' |
| | | }) |
| | | }) |
| | | this.tableUrl = 'hr/empContractInfo/list' |
| | | this.tableDataName = 'contractInfoData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | putContractInfo() { |
| | | 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() |
| | | 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() |
| | | } |
| | | }) |
| | | }, |
| | | putContractInfoContinue() { |
| | | 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() |
| | | }) |
| | | } |
| | | 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.contractId = '' |
| | | this.contractInfoForm.empId = '' |
| | | this.contractInfoForm.empNumb = '' |
| | | this.contractInfoForm.empName = '' |
| | | this.contractInfoForm.certificateNumb = '' |
| | | this.contractInfoForm.sex = '' |
| | | 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.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.dialogshowArr[3].show = true |
| | | }, |
| | | selectDimissionAttend() { |
| | | this.$get('hr/empDimissionAttend/list').then((r) => { |
| | | this.dimissionAttendData = r.data.data.rows |
| | | }).catch((error) => { |
| | | console.error(error) |
| | | this.$message({ |
| | | message: this.$t('tips.getDataFail'), |
| | | type: 'error' |
| | | }) |
| | | this.tableUrl = 'hr/empDimissionAttend/list' |
| | | this.tableDataName = 'dimissionAttendData' |
| | | 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() |
| | | } |
| | | }) |
| | | }, |
| | | putDimissionAttend() { |
| | | 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() |
| | | }, |
| | | putDimissionAttendContinue() { |
| | | 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() |
| | | }) |
| | | } |
| | | 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.dimissionAttendId = '' |
| | | 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.certificateNumb = '' |
| | | this.dimissionAttendForm.deptId = '' |
| | | this.dimissionAttendForm.deptName = '' |
| | | this.dimissionAttendForm.JobId = '' |
| | | this.dimissionAttendForm.jobName = '' |
| | | this.dimissionAttendForm.certificateNumb = '' |
| | | this.dimissionAttendForm.dimissionAttendId = '' |
| | | this.dimissionAttendForm.attendMonth = '' |
| | | this.dimissionAttendForm.overtimeHour = '' |
| | | this.dimissionAttendForm.overtimeDay = '' |
| | |
| | | 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.dialogshowArr[4].show = true |
| | | }, |
| | | selectLeaveInfo() { |
| | | this.$get('hr/empLeaveInfo/list').then((r) => { |
| | | this.leaveInfoData = r.data.data.rows |
| | | }).catch((error) => { |
| | | console.error(error) |
| | | this.$message({ |
| | | message: this.$t('tips.getDataFail'), |
| | | type: 'error' |
| | | }) |
| | | this.tableUrl = 'hr/empLeaveInfo/list' |
| | | this.tableDataName = 'leaveInfoData' |
| | | 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() |
| | | } |
| | | }) |
| | | }, |
| | | putLeaveInfo() { |
| | | 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() |
| | | }, |
| | | putLeaveInfoContinue() { |
| | | 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() |
| | | }) |
| | | } |
| | | 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.leaveId = '' |
| | | 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.certificateNumb = '' |
| | | this.leaveInfoForm.deptId = '' |
| | | this.leaveInfoForm.deptName = '' |
| | | this.leaveInfoForm.JobId = '' |
| | | this.leaveInfoForm.jobName = '' |
| | | this.leaveInfoForm.certificateNumb = '' |
| | | this.leaveInfoForm.leaveId = '' |
| | | this.leaveInfoForm.beginTime = '' |
| | | this.leaveInfoForm.endTime = '' |
| | | this.leaveInfoForm.leaveType = '' |
| | |
| | | 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.dialogshowArr[5].show = true |
| | | }, |
| | | selectResign() { |
| | | this.$get('hr/empResign/list').then((r) => { |
| | | this.resignData = r.data.data.rows |
| | | }).catch((error) => { |
| | | console.error(error) |
| | | this.$message({ |
| | | message: this.$t('tips.getDataFail'), |
| | | type: 'error' |
| | | }) |
| | | this.tableUrl = 'hr/empResign/list' |
| | | this.tableDataName = 'resignData' |
| | | 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() |
| | | } |
| | | }) |
| | | }, |
| | | putResign() { |
| | | 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() |
| | | }, |
| | | putResignContinue() { |
| | | 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() |
| | | }) |
| | | } |
| | | 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.resignId = '' |
| | | 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.certificateNumb = '' |
| | | this.resignForm.deptId = '' |
| | | this.resignForm.deptName = '' |
| | | this.resignForm.JobId = '' |
| | | this.resignForm.jobName = '' |
| | | this.resignForm.certificateNumb = '' |
| | | this.resignForm.resignId = '' |
| | | this.resignForm.applayDate = '' |
| | | this.resignForm.reporter = '' |
| | | this.resignForm.reason = '' |
| | |
| | | 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.dialogshowArr[6].show = true |
| | | }, |
| | | selectUnemployment() { |
| | | this.$get('hr/empUnemployment/list').then((r) => { |
| | | this.unemploymentData = r.data.data.rows |
| | | }).catch((error) => { |
| | | console.error(error) |
| | | this.$message({ |
| | | message: this.$t('tips.getDataFail'), |
| | | type: 'error' |
| | | }) |
| | | this.tableUrl = 'hr/empUnemployment/list' |
| | | this.tableDataName = 'unemploymentData' |
| | | 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() |
| | | } |
| | | }) |
| | | }, |
| | | putUnemployment() { |
| | | 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() |
| | | }, |
| | | putUnemploymentContinue() { |
| | | 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() |
| | | }) |
| | | } |
| | | 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.unemploymentId = '' |
| | | 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.certificateNumb = '' |
| | | this.unemploymentForm.deptId = '' |
| | | this.unemploymentForm.deptName = '' |
| | | this.unemploymentForm.JobId = '' |
| | | this.unemploymentForm.jobName = '' |
| | | this.unemploymentForm.certificateNumb = '' |
| | | this.unemploymentForm.unemploymentId = '' |
| | | this.unemploymentForm.applayDate = '' |
| | | this.unemploymentForm.applayReason = '' |
| | | this.unemploymentForm.reporter = '' |
| | |
| | | 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.dialogshowArr[7].show = true |
| | | }, |
| | | selectInsurance() { |
| | | this.$get('hr/empInsurance/list').then((r) => { |
| | | this.insuranceData = r.data.data.rows |
| | | }).catch((error) => { |
| | | console.error(error) |
| | | this.$message({ |
| | | message: this.$t('tips.getDataFail'), |
| | | type: 'error' |
| | | }) |
| | | this.tableUrl = 'hr/empInsurance/list' |
| | | this.tableDataName = 'insuranceData' |
| | | 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() |
| | | } |
| | | }) |
| | | }, |
| | | putInsurance() { |
| | | 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() |
| | | }, |
| | | putInsuranceContinue() { |
| | | 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() |
| | | }) |
| | | } |
| | | 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.insuranceId = '' |
| | | 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.certificateNumb = '' |
| | | this.insuranceForm.deptId = '' |
| | | this.insuranceForm.deptName = '' |
| | | this.insuranceForm.JobId = '' |
| | | this.insuranceForm.jobName = '' |
| | | this.insuranceForm.certificateNumb = '' |
| | | this.insuranceForm.insuranceId = '' |
| | | this.insuranceForm.applayDate = '' |
| | | this.insuranceForm.proposer = '' |
| | | this.insuranceForm.insuranceGaers = '' |
| | |
| | | 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.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.delFlag = row.delFlag |
| | | this.insuranceForm.version = row.version |
| | | this.insuranceForm.remark = row.remark |
| | | |
| | | this.dialogshowArr[8].show = true |
| | | }, |
| | | selectAccidentCases() { |
| | | this.$get('hr/empAccidentCases/list').then((r) => { |
| | | this.accidentCasesData = r.data.data.rows |
| | | }).catch((error) => { |
| | | console.error(error) |
| | | this.$message({ |
| | | message: this.$t('tips.getDataFail'), |
| | | type: 'error' |
| | | }) |
| | | this.tableUrl = 'hr/empAccidentCases/list' |
| | | this.tableDataName = 'accidentCasesData' |
| | | 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() |
| | | } |
| | | }) |
| | | }, |
| | | putAccidentCases() { |
| | | 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() |
| | | }, |
| | | putAccidentCasesContinue() { |
| | | 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() |
| | | }) |
| | | } |
| | | 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.accidentId = '' |
| | | 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.certificateNumb = '' |
| | | this.accidentCasesForm.deptId = '' |
| | | this.accidentCasesForm.deptName = '' |
| | | this.accidentCasesForm.JobId = '' |
| | | this.accidentCasesForm.jobName = '' |
| | | this.accidentCasesForm.certificateNumb = '' |
| | | this.accidentCasesForm.accidentId = '' |
| | | this.accidentCasesForm.injuredTime = '' |
| | | this.accidentCasesForm.injuredAddress = '' |
| | | this.accidentCasesForm.injuredPart = '' |
| | |
| | | this.accidentCasesForm.creator = '' |
| | | this.accidentCasesForm.modifyTime = '' |
| | | this.accidentCasesForm.modifier = '' |
| | | this.accidentCasesForm.delFlag = '' |
| | | this.accidentCasesForm.delFlag = '2' |
| | | this.accidentCasesForm.version = '' |
| | | }, |
| | | editAccidentCases(row) { |
| | |
| | | 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.injuredDescribe = row.injuredDescribe |
| | | this.accidentCasesForm.hospitalName = row.hospitalName |
| | | this.accidentCasesForm.treatmentName = row.treatmentName |
| | | this.accidentCasesForm.hospitalizatioFlag = row.hospitalizatioFlag |
| | | this.accidentCasesForm.hospitalizatioFlag = row.hospitalizatioFlag + '' |
| | | this.accidentCasesForm.bedNumb = row.bedNumb |
| | | this.accidentCasesForm.reprotTime = row.reprotTime |
| | | this.accidentCasesForm.submitTime = row.submitTime |
| | |
| | | this.accidentCasesForm.innsureFee = row.innsureFee |
| | | this.accidentCasesForm.hrDoDate = row.hrDoDate |
| | | this.accidentCasesForm.settleDate = row.settleDate |
| | | this.accidentCasesForm.settleStatus = row.settleStatus |
| | | this.accidentCasesForm.settleStatus = row.settleStatus + '' |
| | | this.accidentCasesForm.remark = row.remark |
| | | this.accidentCasesForm.createTime = row.createTime |
| | | this.accidentCasesForm.creator = row.creator |
| | |
| | | this.dialogshowArr[9].show = true |
| | | }, |
| | | selectOccupational() { |
| | | this.$get('hr/empOccupational/list').then((r) => { |
| | | this.occupationalData = r.data.data.rows |
| | | }).catch((error) => { |
| | | console.error(error) |
| | | this.$message({ |
| | | message: this.$t('tips.getDataFail'), |
| | | type: 'error' |
| | | }) |
| | | this.tableUrl = 'hr/empOccupational/list' |
| | | this.tableDataName = 'occupationalData' |
| | | 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() |
| | | } |
| | | }) |
| | | }, |
| | | putOccupational() { |
| | | 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() |
| | | }, |
| | | putOccupationalContinue() { |
| | | 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() |
| | | }) |
| | | } |
| | | 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.occupationalId = '' |
| | | 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.certificateNumb = '' |
| | | this.occupationalForm.deptId = '' |
| | | this.occupationalForm.deptName = '' |
| | | this.occupationalForm.JobId = '' |
| | | this.occupationalForm.jobName = '' |
| | | this.occupationalForm.certificateNumb = '' |
| | | this.occupationalForm.occupationalId = '' |
| | | this.occupationalForm.injuredTime = '' |
| | | this.occupationalForm.injuredAddress = '' |
| | | this.occupationalForm.injuredPart = '' |
| | |
| | | this.occupationalForm.creator = '' |
| | | this.occupationalForm.modifyTime = '' |
| | | this.occupationalForm.modifier = '' |
| | | this.occupationalForm.delFlag = '' |
| | | this.occupationalForm.delFlag = '2' |
| | | this.occupationalForm.version = '' |
| | | this.occupationalForm.remark = '' |
| | | }, |
| | |
| | | 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.injuredDescribe = row.injuredDescribe |
| | | this.occupationalForm.hospitalName = row.hospitalName |
| | | this.occupationalForm.treatmentName = row.treatmentName |
| | | this.occupationalForm.hospitalizatioFlag = row.hospitalizatioFlag |
| | | this.occupationalForm.hospitalizatioFlag = row.hospitalizatioFlag + '' |
| | | this.occupationalForm.bedNumb = row.bedNumb |
| | | this.occupationalForm.reportTime = row.reportTime |
| | | this.occupationalForm.submitTime = row.submitTime |
| | |
| | | this.occupationalForm.companySubsidy = row.companySubsidy |
| | | this.occupationalForm.companyCompensation = row.companyCompensation |
| | | this.occupationalForm.jobSubsidy = row.jobSubsidy |
| | | this.occupationalForm.settleStatus = row.settleStatus |
| | | this.occupationalForm.settleStatus = row.settleStatus + '' |
| | | this.occupationalForm.createTime = row.createTime |
| | | this.occupationalForm.creator = row.creator |
| | | this.occupationalForm.modifyTime = row.modifyTime |
| | |
| | | this.occupationalForm.delFlag = row.delFlag |
| | | this.occupationalForm.version = row.version |
| | | this.occupationalForm.remark = row.remark |
| | | |
| | | this.dialogshowArr[10].show = true |
| | | }, |
| | | selectLaborTrouble() { |
| | | this.$get('hr/empLaborTrouble/list').then((r) => { |
| | | this.laborTroubleData = r.data.data.rows |
| | | }).catch((error) => { |
| | | console.error(error) |
| | | this.$message({ |
| | | message: this.$t('tips.getDataFail'), |
| | | type: 'error' |
| | | }) |
| | | this.tableUrl = 'hr/empLaborTrouble/list' |
| | | this.tableDataName = 'laborTroubleData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | 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.$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() |
| | | } |
| | | }) |
| | | }, |
| | | putLaborTrouble() { |
| | | 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() { |
| | | 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() |
| | | }) |
| | | } |
| | | 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.arbitrationId = '' |
| | | 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.certificateNumb = '' |
| | | this.laborTroubleForm.deptId = '' |
| | | this.laborTroubleForm.deptName = '' |
| | | this.laborTroubleForm.JobId = '' |
| | | this.laborTroubleForm.jobName = '' |
| | | this.laborTroubleForm.certificateNumb = '' |
| | | this.laborTroubleForm.arbitrationId = '' |
| | | this.laborTroubleForm.arbitrationDate = '' |
| | | this.laborTroubleForm.arbitrationType = '' |
| | | this.laborTroubleForm.arbitrationReason = '' |
| | |
| | | this.laborTroubleForm.creator = '' |
| | | this.laborTroubleForm.modifyTime = '' |
| | | this.laborTroubleForm.modifier = '' |
| | | this.laborTroubleForm.delFlag = '' |
| | | this.laborTroubleForm.delFlag = '2' |
| | | this.laborTroubleForm.version = '' |
| | | this.laborTroubleForm.remark = '' |
| | | }, |
| | | editLaborTrouble(row) { |
| | | this.isAdd = false |
| | | |
| | | this.laborTroubleForm.arbitrationId = row.arbitrationId |
| | | this.laborTroubleForm.empId = row.empId |
| | | this.laborTroubleForm.empNumb = row.empNumb |
| | |
| | | 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.arbitrationReason = row.arbitrationReason |
| | | this.laborTroubleForm.reporter = row.reporter |
| | | this.laborTroubleForm.arbitrationPay = row.arbitrationPay |
| | | this.laborTroubleForm.arbitrationStatus = row.arbitrationStatus |
| | | this.laborTroubleForm.arbitrationStatus = row.arbitrationStatus + '' |
| | | this.laborTroubleForm.settleDate = row.settleDate |
| | | this.laborTroubleForm.createTime = row.createTime |
| | | this.laborTroubleForm.creator = row.creator |
| | |
| | | this.dialogshowArr[11].show = true |
| | | }, |
| | | selectBadRecord() { |
| | | this.$get('hr/empBadRecord/list') |
| | | .then((r) => { |
| | | this.badRecordData = r.data.data.rows |
| | | }) |
| | | .catch((error) => { |
| | | console.error(error) |
| | | this.$message({ |
| | | message: this.$t('tips.getDataFail'), |
| | | type: 'error' |
| | | }) |
| | | }) |
| | | this.tableUrl = 'hr/empBadRecord/list' |
| | | this.tableDataName = 'badRecordData' |
| | | this.queryParams.delFlag = 2 |
| | | this.search() |
| | | }, |
| | | cleanBadRecord() { |
| | | this.badRecordForm.badId = '' |
| | | this.badRecordForm.empId = '' |
| | | this.badRecordForm.empName = '' |
| | | this.badRecordForm.empNumb = '' |
| | | this.badRecordForm.sex = '' |
| | | this.badRecordForm.certificateNumb = '' |
| | | 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.creator = '' |
| | | this.badRecordForm.modifyTime = '' |
| | | this.badRecordForm.modifier = '' |
| | | this.badRecordForm.delFlag = '' |
| | | this.badRecordForm.delFlag = '2' |
| | | this.badRecordForm.version = '' |
| | | this.badRecordForm.remark = '' |
| | | }, |
| | | putBadRecord() { |
| | | 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() |
| | | 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() { |
| | | 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() |
| | | }) |
| | | } |
| | | 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) |
| | | }, |
| | | editBadRecord(row) { |
| | | this.isAdd = false |
| | |
| | | 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.dialogshowArr[12].show = true |
| | | }, |
| | | selectRemarkInfo() { |
| | | this.$get('hr/empRemarkInfo/list').then((r) => { |
| | | this.remarkInfoData = r.data.data.rows |
| | | }).catch((error) => { |
| | | console.error(error) |
| | | this.$message({ |
| | | message: this.$t('tips.getDataFail'), |
| | | type: 'error' |
| | | }) |
| | | this.tableUrl = 'hr/empRemarkInfo/list' |
| | | this.tableDataName = 'remarkInfoData' |
| | | 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() |
| | | } |
| | | }) |
| | | }, |
| | | putRemarkInfo() { |
| | | 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() |
| | | }, |
| | | putRemarkInfoContinue() { |
| | | 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() |
| | | }) |
| | | } |
| | | 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.remarkId = '' |
| | | 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.certificateNumb = '' |
| | | this.remarkInfoForm.JobId = '' |
| | | this.remarkInfoForm.deptId = '' |
| | | this.remarkInfoForm.deptName = '' |
| | | 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 = '' |
| | | this.remarkInfoForm.delFlag = '2' |
| | | this.remarkInfoForm.version = '' |
| | | }, |
| | | editRemarkInfo(row) { |
| | | this.isAdd = false |
| | | |
| | | this.remarkInfoForm.remarkId = row.remarkId |
| | | this.remarkInfoForm.empId = row.empId |
| | | this.remarkInfoForm.empNumb = row.empNumb |
| | |
| | | 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 |
| | |
| | | selectedUser(users) { |
| | | for (var i = 0; i < users.length; i++) { |
| | | var data = users[i] |
| | | this.unemploymentForm.empNumb = data.username |
| | | this.unemploymentForm.sex = data.sex |
| | | switch (this.thisShowIndex) { |
| | | case 1: |
| | | this.inputForName = 'workExperienceForm' |
| | | break |
| | | case 2: |
| | | this.inputForName = 'physicalExamForm' |
| | | break |
| | | case 3: |
| | | this.inputForName = 'contractInfoForm' |
| | | break |
| | | case 4: |
| | | this.inputForName = 'dimissionAttendForm' |
| | | break |
| | | case 5: |
| | | this.inputForName = 'leaveInfoForm' |
| | | break |
| | | case 6: |
| | | this.inputForName = 'resignForm' |
| | | break |
| | | case 7: |
| | | this.inputForName = 'unemploymentForm' |
| | | break |
| | | case 8: |
| | | this.inputForName = 'insuranceForm' |
| | | break |
| | | case 9: |
| | | this.inputForName = 'accidentCasesForm' |
| | | break |
| | | case 10: |
| | | this.inputForName = 'occupationalForm' |
| | | break |
| | | case 11: |
| | | this.inputForName = 'laborTroubleForm' |
| | | break |
| | | case 12: |
| | | this.inputForName = 'badRecordForm' |
| | | break |
| | | case 13: |
| | | this.inputForName = 'remarkInfoForm' |
| | | 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' ? '男' : '女' |
| | | } |
| | | this.dialogShowXzyg = false |
| | | }, |
| | | querySearch(queryString, cb) { |
| | | var restaurants = this.restaurants |
| | | var results = queryString ? restaurants.filter(this.createFilter(queryString)) : restaurants |
| | | // 调用 callback 返回建议列表的数据 |
| | | cb(results) |
| | | }, |
| | | createFilter(queryString) { |
| | | return (restaurant) => { |
| | | return (restaurant.value.toLowerCase().indexOf(queryString.toLowerCase()) === 0) |
| | | } |
| | | }, placeNameSelect(item) { |
| | | this.empBaseInfoForm.nativePlaceName = item.value |
| | | this.empBaseInfoForm.nativePlace = item.code |
| | | }, querySearchJob(queryString, cb) { |
| | | const restaurants = this.restaurJob |
| | | const results = queryString ? restaurants.filter(this.createFilter(queryString)) : restaurants |
| | | // 调用 callback 返回建议列表的数据 |
| | | cb(results) |
| | | }, jobNameSelect(item) { |
| | | this.empBaseInfoForm.jobName = item.value |
| | | this.empBaseInfoForm.JobId = item.code |
| | | }, DeptNameSelect(val) { |
| | | this.empBaseInfoForm.deptId = val.deptId |
| | | this.empBaseInfoForm.deptName = val.label |
| | | this.empBaseInfoForm.allDeptName = val.allDeptName |
| | | }, |
| | | generateUserInfo(index, val) { |
| | | var userinfo = toCardGetUserInfo(val) |
| | | if (userinfo === null) { |
| | | return |
| | | } |
| | | switch (index) { |
| | | case 0: |
| | | this.empBaseInfoForm.age = userinfo.age |
| | | this.empBaseInfoForm.birthdate = userinfo.birth |
| | | this.empBaseInfoForm.sex = userinfo.sex |
| | | break |
| | | } |
| | | }, |
| | | calculateSeniority(val) { |
| | | this.empBaseInfoForm.seniority = calculateSeniority(val) |
| | | }, |
| | | transinsuranceGaers(val) { |
| | | switch (val) { |
| | | case '1': |
| | | return '(深户)五险一档' |
| | | case '2': |
| | | return '(非深户)五险一档' |
| | | case '3': |
| | | return '(非深户)五险二档' |
| | | case '4': |
| | | return '(非深户)五险三档' |
| | | case '5': |
| | | return '(非深户)四险一档' |
| | | } |
| | | }, |
| | | changeSort(val) { |
| | | this.sort.field = val.prop |
| | | this.sort.order = val.order |
| | | this.search() |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | <style lang="scss"> |
| | | .el-container { |
| | | height: 770px; |
| | | |
| | | <style lang="scss" scoped> |
| | | .baseinfo .el-container { |
| | | .el-aside { |
| | | background-color: #e9eef3; |
| | | color: #333; |
| | | text-align: center; |
| | | height: 100%; |
| | | background-color: #fff; |
| | | } |
| | | |
| | | .el-main { |
| | | background-color: #e9eef3; |
| | | background-color: #fff; |
| | | } |
| | | |
| | | } |
| | | |
| | | .el-container { |
| | | height: 86.7vh; |
| | | background-color: #fff; |
| | | |
| | | .el-aside { |
| | | color: #333; |
| | | text-align: center; |
| | | height: 100%; |
| | | background-color: #fff; |
| | | } |
| | | |
| | | .el-main { |
| | | color: #333; |
| | | height: 100%; |
| | | |
| | | .el-table { |
| | | margin-top: 10px; |
| | | } |
| | | } |
| | | |
| | | .el-timeline-item { |
| | | padding-bottom: 5px; |
| | | } |
| | | } |
| | | |
| | | .button-from { |
| | | text-align: center; |
| | | margin-top: 2%; |
| | | } |
| | | |
| | | .el-select { |
| | | width: 100%; |
| | | } |
| | | |
| | | .commonBtn { |
| | |
| | | color: rgb(163, 44, 48); |
| | | } |
| | | |
| | | .el-date-editor.el-input, |
| | | .el-date-editor.el-input__inner { |
| | | width: 100%; |
| | | } |
| | | |
| | | .info-card { |
| | | margin-top: 20px; |
| | | } |
| | | |
| | | .el-header, |
| | | .el-footer { |
| | | .el-select { |
| | | width: 100%; |
| | | } |
| | | |
| | | .el-autocomplete { |
| | | width: 100%; |
| | | } |
| | | |
| | | .el-header, .el-footer { |
| | | background-color: #e9eef3; |
| | | color: #333; |
| | | text-align: center; |
| | | line-height: 60px; |
| | | |
| | | } |
| | | |
| | | .el-date-editor.el-input, |
| | | .el-date-editor.el-input__inner { |
| | | width: 100%; |
| | | } |
| | | </style> |
| | | |
| | | <style lang="scss"> |
| | | .info-input { |
| | | .el-timeline-item__wrapper { |
| | | |
| | | color: #a00515; |
| | | cursor: pointer; |
| | | top: -5px; |
| | | |
| | | .el-timeline-item__content { |
| | | &:hover { |
| | | color: #a00515; |
| | | } |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | </style> |