yxk_pc_mdh/gyhl/static/js/434.64c3ecbfd8a94dd6d79d.js

1 line
18 KiB
JavaScript
Raw Normal View History

2025-08-28 15:26:35 +08:00
webpackJsonp([434],{"3bRI":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("BO1k"),o=a.n(s),i=a("d7EF"),l=a.n(i),n=a("//Fk"),r=a.n(n),c=a("mvHQ"),m=a.n(c),p=a("Dd8w"),d=a.n(p),h=a("bOdI"),u=a.n(h),f=a("NYxO"),g=(a("t4zo"),a("bzuE")),b={data:function(){var e;return e={total:0,pageSizes:[10,20,50],search_data:{pageno:1,pagesize:10,employmentState:330},value:"",selectDeptId1:"",accountNumberList:[],settlementTypeList:[],tableData:[],rowIds:[],prDate:"",dialogTitle:"",auditSignList:[],businessTypeList:[],companyList:[],createByList:[],depOptions:[],formData:{},showItem:!1,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",g.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","staffManagement_try_table"),u()(e,"pictLoading",!1),u()(e,"showTableColumnsDefault",[{title:"工号",prop_:"employeeCode",select:!0},{title:"姓名",prop_:"employeeName",select:!0},{title:"职级",prop_:"employeeLevel",select:!0},{title:"任职部门",prop_:"deptName",select:!0},{title:"岗位",prop_:"employeePostName",select:!0},{title:"入职时间",prop_:"entryDate",select:!0},{title:"联系电话",prop_:"mobilePhone",select:!0},{title:"用工状态",prop_:"employmentStateName",select:!0}]),u()(e,"showTableColumns",[{title:"工号",prop_:"employeeCode",select:!0},{title:"姓名",prop_:"employeeName",select:!0},{title:"职级",prop_:"employeeLevel",select:!0},{title:"任职部门",prop_:"deptName",select:!0},{title:"岗位",prop_:"employeePostName",select:!0},{title:"入职时间",prop_:"entryDate",select:!0},{title:"联系电话",prop_:"mobilePhone",select:!0},{title:"用工状态",prop_:"employmentStateName",select:!0}]),u()(e,"showTableColumnsTemp",[]),u()(e,"formTableData",[]),u()(e,"totalTransferAmount",0),e},computed:d()({},Object(f.c)({userInfo:"user/getUserInfo"})),mounted:function(){this.showTableColumns=JSON.parse(m()(this.showTableColumns)),this.showTableColumnsTemp=JSON.parse(m()(this.showTableColumns)),this.initData(),this.getList(),this.getShowColumns()},watch:{formData:{handler:function(e){502==e.examinationOpinion?this.showItem=!0:this.showItem=!1},deep:!0}},methods:d()({},Object(f.d)({removeTagNav:"tagNav/removeTagNav"}),{viewDetail:function(e){var t=e.id,a=e.employeeName,s=e.employeeCode,o=e.deptName;this.$router.push({path:"/staffManagement/jobbing_add",query:{id:t,name:a,code:s,deptName:o,from:"try",t:Date.now()}})},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.$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.pageList(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.total=0,e.tableData=[])}).catch(function(e){console.log(e)})},goRecords:function(){var e="",t="",a="";1==this.rowIds.length&&(e=this.rowIds[0].deptId,t=this.rowIds[0].employeeName,a=this.rowIds[0].employeeCode),this.removeTagNav({path:this.$route.path,title:this.$route.meta.name}),this.$router.push({path:"/staffManagement/try_records",query:{deptId:e,employeeCode:a,employeeName:t,t:Date.now()}})},goAdd:function(){this.formData.deptId=this.rowIds[0].deptId,this.formData.deptName=this.rowIds[0].deptName,