1 line
16 KiB
JavaScript
1 line
16 KiB
JavaScript
|
webpackJsonp([379],{"6Jji":function(e,t){},AR8U:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("BO1k"),i=a.n(s),n=a("mvHQ"),o=a.n(n),l=a("Dd8w"),r=a.n(l),c=a("NYxO"),d=(a("t4zo"),a("bzuE")),u={components:{},data:function(){return{total:0,pageSizes:[10,20,50],search_data:{pageno:1,pagesize:10},options:[],interviewResultsOptions:[{value:422,label:"通过"},{value:423,label:"不通过"}],value:"",tableData:[],rowIds:[],depOptions:[],chooseId:"",selectDeptId:"",config:d.a,btnDelDisabled:!0,btnOtherDisabled:!0,dialogLoading:!1,columnSetDialogVisible:!1,columnSetDialogTitle:"设置显示字段列表",tableId:"interviewManagement_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}],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}],showTableColumnsTemp:[],formTableData:[],totalTransferAmount:0}},computed:r()({},Object(c.c)({userInfo:"user/getUserInfo"})),mounted:function(){this.showTableColumns=JSON.parse(o()(this.showTableColumns)),this.showTableColumnsTemp=JSON.parse(o()(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.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.tableData.forEach(function(e){e.createTime=e.createTime.substr(0,10)})):(e.total=0,e.tableData=[])}).catch(function(e){console.log(e)})},goRecord:function(){var e=this.rowIds[0].candidateId,t=this.rowIds[0].id;this.$router.push({path:"/interviewManagement/interviewManagement_addRecord",query:{id:e,interviewId:t,t:Date.now()}})},goAdd:function(){this.$router.push({path:"/interviewManagement/interviewManagement_schedule",query:{t:Date.now()}})},viewDetail:function(e){var t=e.candidateId,a=e.id;this.$router.push({path:"/interviewManagement/interviewManagement_addSchedule",query:{id:t,interviewId:a,from:"interviewManagement",t:Date.now()}})},setDefaultDept:function(){if(this.depOptions.length>0&&this.search_data.deptId){var e=o()(this.search_data.deptId),t=this.treeFindPath(this.depOptions,function(t){return t.id===e});this.selectDeptId=JSON.parse(o()(t))}},handleChange:function(e){this.search_data.deptId=e[e.length-1],this.selectDeptId=e},initData:function(){var e=this;this.$api.dictAPI.getDictsByType("education_background").then(function(t){e.educationOptions=t.datas}),this.$api.commonAPI.getDeptsTree().then(function(t){0===t.c
|