yxk_pc_mdh/gyhl/static/js/411.62942823bc693f369285.js

1 line
16 KiB
JavaScript
Raw Normal View History

2025-08-28 15:26:35 +08:00
webpackJsonp([411],{TKdw:function(e,t){},fd1B:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("d7EF"),i=a.n(o),s=a("//Fk"),l=a.n(s),n=a("BO1k"),r=a.n(n),c=a("mvHQ"),m=a.n(c),d=a("Dd8w"),p=a.n(d),h=a("bOdI"),u=a.n(h),f=a("NYxO"),b=(a("t4zo"),a("bzuE")),g={data:function(){var e;return e={total:0,pageSizes:[10,20,50],search_data:{pageno:1,pagesize:10},showItem:!1,value:"",selectDeptId1:"",accountNumberList:[],settlementTypeList:[],tableData:[],rowIds:[],prDate:"",dialogTitle:"",auditSignList:[],businessTypeList:[],companyList:[],createByList:[],depOptions:[],formData:{},ruleForm:{examinationContents:[{required:!0,message:"请填写考核内容描述",trigger:"change"}],examinationResults:[{required:!0,message:"请选择试用考核结果",trigger:"change"}],examinationOpinion:[{required:!0,message:"请选择考核意见",trigger:"change"}]}},u()(e,"dialogTitle",""),u()(e,"examinationResultsOptions",[]),u()(e,"examinationOpinionOptions",[]),u()(e,"selectDeptId",""),u()(e,"config",b.a),u()(e,"btnDelDisabled",!0),u()(e,"btnOtherDisabled",!0),u()(e,"chooseClientrVisible",!1),u()(e,"dialogLoading",!1),u()(e,"chooseUserVisible",!1),u()(e,"chooseMaterielVisible",!1),u()(e,"columnSetDialogVisible",!1),u()(e,"advanceQueryDialogVisible",!1),u()(e,"chooseSupplierVisible",!1),u()(e,"columnSetDialogTitle","设置显示字段列表"),u()(e,"tableId","try_records_table"),u()(e,"pictLoading",!1),u()(e,"showTableColumnsDefault",[{title:"工号",prop_:"employeeCode",select:!0},{title:"姓名",prop_:"employeeName",select:!0},{title:"任职部门",prop_:"deptName",select:!0},{title:"岗位",prop_:"employeePost",select:!0},{title:"考核内容",prop_:"examinationContents",select:!0},{title:"考核结果",prop_:"examinationResultsName",select:!0},{title:"考核意见",prop_:"examinationOpinionName",select:!0},{title:"延长试用期至",prop_:"extendReachTime",select:!0}]),u()(e,"showTableColumns",[{title:"工号",prop_:"employeeCode",select:!0},{title:"姓名",prop_:"employeeName",select:!0},{title:"任职部门",prop_:"deptName",select:!0},{title:"岗位",prop_:"employeePost",select:!0},{title:"考核内容",prop_:"examinationContents",select:!0},{title:"考核结果",prop_:"examinationResultsName",select:!0},{title:"考核意见",prop_:"examinationOpinionName",select:!0},{title:"延长试用期至",prop_:"extendReachTime",select:!0}]),u()(e,"showTableColumnsTemp",[]),u()(e,"formTableData",[]),u()(e,"totalTransferAmount",0),e},computed:p()({},Object(f.c)({userInfo:"user/getUserInfo"})),mounted:function(){var e=this;this.showTableColumns=JSON.parse(m()(this.showTableColumns)),this.showTableColumnsTemp=JSON.parse(m()(this.showTableColumns)),this.initData(),this.getList(),this.getShowColumns(),this.search_data.employeeCode=this.$route.query.employeeCode,this.search_data.employeeName=this.$route.query.employeeName,this.search_data.deptId=this.$route.query.deptId,this.selectDeptId=this.$route.query.deptId,this.$nextTick(function(){e.setDefaultDept()})},watch:{formData:{handler:function(e){502==e.examinationOpinion?this.showItem=!0:this.showItem=!1},deep:!0}},methods:p()({},Object(f.d)({removeTagNav:"tagNav/removeTagNav"}),{save:function(e){var t=this;this.$refs[e].validate(function(e){e&&t.$api.jobbingAPI.recordSave(t.formData).then(function(e){0===e.code?(t.$message({message:e.msg,type:"success"}),t.advanceQueryDialogVisible=!1,t.getList()):t.$message({message:e.msg,type:"error"})})})},search:function(){this.search_data.pageno=1,this.getList()},getList:function(){var e=this;this.pictLoading=!0,this.$api.jobbingAPI.recordPageList(this.search_data).then(function(t){e.pictLoading=!1,t.data?(e.total=t.data.totalRows,e.tableData=t.data.datas?t.data.datas:[],e.tableData.forEach(function(e){e.extendReachTime=/\d{4}-\d{1,2}-\d{1,2}/g.exec(e.extendReachTime)})):(e.total=0,e.tableData=[])}).catch(function(e){console.log(e)})},gotoDetail:function(e){this.advanceQueryDialogVisible=!0,this.dialogTitle="编辑岗位"},goAdd:function(){this.formData.deptId=this.rowIds[0].deptId,this.formData.deptName=this.rowIds[0].deptName