1 line
7.1 KiB
JavaScript
1 line
7.1 KiB
JavaScript
webpackJsonp([259],{FtRZ:function(e,a){},vmqQ:function(e,a){},zb2C:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var l=t("woOf"),o=t.n(l),r=t("Dd8w"),i=t.n(r),n=t("NYxO"),s=t("bzuE"),m=t("Dod7"),c={components:{},data:function(){return{formData:{id:"",advertiseCode:"",advertiseId:"",deptName:"",deptId:"",matchPositionName:"",matchPosition:""},ftpPrefix:m.a.ftpPrefix,childList:[],tableData:[],config:s.a,itemIds:[],typeList:[],from:"",chooseId:"",loading:!1,loading1:!1,loading2:!1,salesBillId:"",ruleForm:{}}},mounted:function(){this.$route.query.id&&(this.formData.id=this.$route.query.id,this.chooseId=this.$route.query.id,this.from=this.$route.query.from?this.$route.query.from:"",this.getDetail())},watch:{},methods:i()({},Object(n.d)({removeTagNav:"tagNav/removeTagNav"}),{preview:function(){if(this.formData.resumeFile.length>0){var e=this.formData.resumeFile[0].filePath,a=e.substring(e.indexOf(".")+1,e.length),t=e.replace(a,"pdf");window.open(this.ftpPrefix+t)}else this.$message({message:"还未上传简历",type:"warning"})},getDetail:function(){var e=this;this.loading=!0,this.formData={},this.$api.candidateInfoAPI.detail(this.chooseId).then(function(a){e.loading=!1,a.data?(console.log(a),e.formData=o()({},e.formData,a.data),e.tableData=a.data.followList?a.data.followList:[],e.childList=a.data.interviewRecordList?a.data.interviewRecordList:[]):e.$alert("获取简历失败","提示",{type:"warning"})}).catch(function(e){console.log(e)})},back:function(){"hireList"==this.from?this.$router.push({path:"/hireList/hireList_index",query:{t:Date.now()}}):"resume"==this.from?this.$router.push({path:"/resume/resume_index",query:{t:Date.now()}}):this.$router.push({path:"/advertiseManagement/candidateInfo",query:{t:Date.now()}})}})},d={render:function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"sys-box plan-box"},[t("div",{staticClass:"sys-operate"},[t("el-button",{attrs:{type:"primary"},on:{click:function(a){return e.back()}}},[e._v(e._s(e.config.cancelText))])],1),e._v(" "),t("div",{staticClass:"sys-form"},[t("el-form",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"form",attrs:{"label-width":"120px","inline-message":!0,model:e.formData,rules:e.ruleForm}},[t("div",{staticClass:"flex"},[t("el-form-item",{staticClass:"form-inline",attrs:{label:"应聘部门"}},[t("el-input",{attrs:{readonly:""},model:{value:e.formData.deptName,callback:function(a){e.$set(e.formData,"deptName",a)},expression:"formData.deptName"}})],1),e._v(" "),t("el-form-item",{staticClass:"form-inline",attrs:{label:"应聘岗位"}},[t("el-input",{attrs:{readonly:""},model:{value:e.formData.matchPositionName,callback:function(a){e.$set(e.formData,"matchPositionName",a)},expression:"formData.matchPositionName"}})],1),e._v(" "),t("el-form-item",{staticClass:"form-inline",attrs:{label:"姓名"}},[t("el-input",{attrs:{readonly:""},model:{value:e.formData.candidateName,callback:function(a){e.$set(e.formData,"candidateName",a)},expression:"formData.candidateName"}})],1),e._v(" "),t("el-form-item",{staticClass:"form-inline",attrs:{label:"性别"}},[t("el-input",{attrs:{readonly:""},model:{value:e.formData.genderName,callback:function(a){e.$set(e.formData,"genderName",a)},expression:"formData.genderName"}})],1),e._v(" "),t("el-form-item",{staticClass:"form-inline",attrs:{label:"年龄"}},[t("el-input",{attrs:{readonly:""},model:{value:e.formData.age,callback:function(a){e.$set(e.formData,"age",a)},expression:"formData.age"}})],1),e._v(" "),t("el-form-item",{staticClass:"form-inline",attrs:{label:"身份证号"}},[t("el-input",{attrs:{readonly:""},model:{value:e.formData.idNumber,callback:function(a){e.$set(e.formData,"idNumber",a)},expression:"formData.idNumber"}})],1),e._v(" "),t("el-form-item",{staticClass:"form-inline",attrs:{label:"手机号"}},[t("el-input",{attrs:{readonly:""},model:{value:e.formData.mobilePhone,callback:function(a){e.$set(e.formData,"mobilePhone",a)},expression:"formData.mobilePhone"}})],1),e._v(" "),t("el-form-item",{staticClass:"form-inline",attrs:{label:"邮箱"}},[t("el-input",{attrs:{readonly:""},model:{value:e.formData.email,callback:function(a){e.$set(e.formData,"email",a)},expression:"formData.email"}})],1),e._v(" "),t("el-form-item",{staticClass:"form-inline",attrs:{label:"最高学历"}},[t("el-input",{attrs:{readonly:""},model:{value:e.formData.highestEducationName,callback:function(a){e.$set(e.formData,"highestEducationName",a)},expression:"formData.highestEducationName"}})],1),e._v(" "),t("el-form-item",{staticClass:"form-inline",attrs:{label:"所学专业"}},[t("el-input",{attrs:{readonly:""},model:{value:e.formData.major,callback:function(a){e.$set(e.formData,"major",a)},expression:"formData.major"}})],1)],1),e._v(" "),t("el-form-item",{attrs:{label:"毕业学校"}},[t("el-input",{attrs:{clearable:""},model:{value:e.formData.graduateSchool,callback:function(a){e.$set(e.formData,"graduateSchool",a)},expression:"formData.graduateSchool"}})],1),e._v(" "),t("el-form-item",{attrs:{label:"家庭住址"}},[t("el-input",{attrs:{clearable:""},model:{value:e.formData.address,callback:function(a){e.$set(e.formData,"address",a)},expression:"formData.address"}})],1),e._v(" "),t("el-form-item",{attrs:{label:"备注信息"}},[t("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",autosize:{minRows:4},clearable:""},model:{value:e.formData.remarks,callback:function(a){e.$set(e.formData,"remarks",a)},expression:"formData.remarks"}})],1),e._v(" "),t("el-form-item",{staticClass:"dialog-form-inline",attrs:{label:"简历附件"}},[t("el-button",{attrs:{type:"primary"},on:{click:e.preview}},[e._v("简历预览")])],1)],1)],1),e._v(" "),t("el-divider",{attrs:{"content-position":"left"}},[e._v("面试记录")]),e._v(" "),t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading1,expression:"loading1"}],attrs:{data:e.childList,"header-cell-style":{fontWeight:"normal",textAlign:"center",backgroundColor:"#eceff4",color:"#222"},border:""}},[t("el-table-column",{attrs:{prop:"interviewStage",align:"center",label:"面试阶段"}}),e._v(" "),t("el-table-column",{attrs:{prop:"interviewerName",align:"center",label:"面试官"}}),e._v(" "),t("el-table-column",{attrs:{prop:"interviewDate",align:"center",label:"面试时间"}}),e._v(" "),t("el-table-column",{attrs:{prop:"interviewResultsName",align:"center",label:"面试结果"}}),e._v(" "),t("el-table-column",{attrs:{prop:"interviewOpinion",align:"center",label:"面试意见"}})],1),e._v(" "),t("el-divider",{attrs:{"content-position":"left"}},[e._v("跟进记录")]),e._v(" "),t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading2,expression:"loading2"}],attrs:{data:e.tableData,"header-cell-style":{fontWeight:"normal",textAlign:"center",backgroundColor:"#eceff4",color:"#222"},border:""}},[t("el-table-column",{attrs:{prop:"followTime",align:"center",label:"跟进时间"}}),e._v(" "),t("el-table-column",{attrs:{prop:"followUserName",align:"center",label:"跟进人"}}),e._v(" "),t("el-table-column",{attrs:{prop:"followContent",align:"center",label:"跟进内容"}})],1)],1)},staticRenderFns:[]};var f=t("VU/8")(c,d,!1,function(e){t("vmqQ"),t("FtRZ")},"data-v-08162769",null);a.default=f.exports}}); |