yxk_pc_mdh/gyhl/static/js/320.6e9e4ada7d8dc982bfe4.js

1 line
14 KiB
JavaScript
Raw Normal View History

2025-08-28 15:26:35 +08:00
webpackJsonp([320],{G59g:function(e,t){},PioT:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("BO1k"),i=a.n(s),o=a("mvHQ"),l=a.n(o),n=a("Dd8w"),r=a.n(n),c=a("NYxO"),d=a("veZ4"),p=(a("t4zo"),a("ysqt")),h=a("bzuE"),u={components:{btnInput:p.a,upload:d.a},data:function(){return{total:0,pageSizes:[10,20,50],search_data:{pageno:1,pagesize:10},options:[],formData:{},rulesForm:{updateType:[{required:!0,message:"请选择取消录用人员简历分类",trigger:"change"}]},value:"",tableData:[],dialogTitle:"",rowIds:[],depOptions:[],sexoptions:[{value:1,label:"转入重点人才库"},{value:2,label:"转入黑名单"},{value:6,label:"其他"}],chooseId:"",selectDeptId:"",config:h.a,btnDelDisabled:!0,btnOtherDisabled:!0,dialogLoading:!1,dialogVisible:!1,columnSetDialogVisible:!1,columnSetDialogTitle:"设置显示字段列表",tableId:"hireList_index_table",pictLoading:!1,showTableColumnsDefault:[{title:"姓名",prop_:"candidateName",select:!0},{title:"性别",prop_:"genderName",select:!0},{title:"年龄",prop_:"age",select:!0},{title:"联系电话",prop_:"mobilePhone",select:!0},{title:"应聘部门",prop_:"deptName",select:!0},{title:"应聘职位",prop_:"matchPositionName",select:!0},{title:"最高学历",prop_:"highestEducationName",select:!0},{title:"所学专业",prop_:"major",select:!0},{title:"毕业学校",prop_:"graduateSchool",select:!0},{title:"简历下载",prop_:"download",select:!0},{title:"应聘日期",prop_:"createTime",select:!0},{title:"面试结果",prop_:"interviewResultsName",select:!0},{title:"录用状态",prop_:"interviewStateName",select:!0}],showTableColumns:[{title:"姓名",prop_:"candidateName",select:!0},{title:"性别",prop_:"genderName",select:!0},{title:"年龄",prop_:"age",select:!0},{title:"联系电话",prop_:"mobilePhone",select:!0},{title:"应聘部门",prop_:"deptName",select:!0},{title:"应聘职位",prop_:"matchPositionName",select:!0},{title:"最高学历",prop_:"highestEducationName",select:!0},{title:"所学专业",prop_:"major",select:!0},{title:"毕业学校",prop_:"graduateSchool",select:!0},{title:"简历下载",prop_:"download",select:!0},{title:"应聘日期",prop_:"createTime",select:!0},{title:"面试结果",prop_:"interviewResultsName",select:!0},{title:"录用状态",prop_:"interviewStateName",select:!0}],showTableColumnsTemp:[],formTableData:[]}},computed:r()({},Object(c.c)({userInfo:"user/getUserInfo"})),mounted:function(){this.showTableColumns=JSON.parse(l()(this.showTableColumns)),this.showTableColumnsTemp=JSON.parse(l()(this.showTableColumns)),this.initData(),this.getList(),this.getShowColumns()},methods:{download:function(e){var t=this;console.log(e);var a={id:e.id,assocType:"RESUME_FILE",fileName:e.candidateName};console.log(a),this.$api.salesAPI.downloadByCusName(a).then(function(e){console.log(e),200==e.status?(window.open(e.request.responseURL),t.$message({message:"下载成功",type:"success"})):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.interviewManagementAPI.hireList(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.createTime=e.createTime.substr(0,10)})):(e.total=0,e.tableData=[])}).catch(function(e){console.log(e)})},setDefaultDept:function(){if(this.depOptions.length>0&&this.search_data.deptId){var e=l()(this.search_data.deptId),t=this.treeFindPath(this.depOptions,function(t){return t.id===e});this.selectDeptId=JSON.parse(l()(t))}},handleChange:function(e){this.search_data.deptId=e[e.length-1],this.selectDeptId=e},initData:function(){var e=this;this.$api.commonAPI.getDeptsTree().then(function(t){0===t.code&&(e.depOptions=t.data.children,e.setDefaultDept(),e.setDeptList(e.depOptions))}).catch(function(e){console.log(e)})},setDeptList:function(e){var t=!0,a=!1,s=void 0;try{for(var o,l=i()(e);!(t=(o=l.next()).done);t=!0){var n=o.value;n.hasChildren?this.setDeptList(n.children):n.children=void 0}}catch