1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-95a52b74","chunk-2d0cc0e0","chunk-2d0c5139","chunk-2d0c5139"],{3549:function(t,e,s){},"3e0a":function(t,e){t.exports="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAZABkAAD/2wBDAAQDAwQDAwQEBAQFBQQFBwsHBwYGBw4KCggLEA4RERAOEA8SFBoWEhMYEw8QFh8XGBsbHR0dERYgIh8cIhocHRz/2wBDAQUFBQcGBw0HBw0cEhASHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBz/wAARCAClAHEDASIAAhEBAxEB/8QAGwABAAMBAQEBAAAAAAAAAAAAAAECAwQFBgj/xAA6EAABAwIBBwsDAwMFAAAAAAABAAIDBBESBRMUIVJxsSIjMTIzQVFikqHRYYHBBkJyFTRTQ5Gi4fH/xAAUAQEAAAAAAAAAAAAAAAAAAAAA/8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8A/dNPTxyxY34i4k3OI+J+q00OHZd6z8qtJ2I3u4ldKDDQ4dl3rd8pocOy71u+VuiDDQ4dl3rd8pocOy71u+VuiDDQ4dl3rd8pocOy71u+Vuougx0OHZd63fKaHDsu9Z+VuiDDQ4dl3rd8pocOy71u+VtdSgw0OHZd6z8qktNEyJ7g11wCRyj4b103WdR/by/wPBBx43bTkVEQdlL2Dd54lbLnpuxG88StsSCyKqILIqogsiriRBN1KriTEgsiqmJBN1nUdhL/AAPBXxLOfsJf4Hgg40REHTTdi3eeJWl1jTnmvueJWl0FrqVS6XQXUXWU0rYmXP2HiVjgc8Y6g4WbAdYDeUHQ+oiZ15IxvcEFRE/qyxnc4LASsZqhgcQO8NsFV87HapqdwHiWg8EHZdLrjAMYzlM/E3YLrj7FbwytlZcfceBQbKLqt0ugtdUnPMS/wPBTdUmPNS/wPBBzoiINoOz+54lXusYDzf3PErS6C+JRdVul0GLSJZXyv6kdw38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VU2dAnYDaR5cbHX3leg/qu3IOhERBz31u3nimJVLtZ3nioug8SryPUVGVKipDoBE5jWtx4ydXT0OCzGQ6iOto5sUBZDJidgxg2t9XFe/dLoInMuafmc3nbcjHfDf62XnUGSnxSSVVXNnq2VmEuGprG7IC9K6XQeFHkStZRw0Qr2tp4yDeNha+wN+tiXo5VgqqqjdDSStikcQHPxEENvrtbvXZdLoPOkoKl1TU2qXGmlhDGAuJLJBqDgsafJ9bFJk6QzRl8LCyoGI4XjuI1dZevdLoPNy3QT5Thp6eMtFOZAZru1lo12C7K+J1RQVMMfXkic1o6BctIC2ul0HNkyB9Lk+mhk7SOMNdbxAXWTqcq3R3Qg60REHI7rneVW6P6795VboLXS6jEiCbpdVupxIJul1GJRdBdRdVupQTdLqt0ugtdRiTEqoPQREQcMnaP3lVSTrv3lEBERBF1KIgKbqEQRdSiICIiAiIg9BERBjJSc4/l9/h/wBqmief2REDRPP7Jonn9kRA0Tz+yaJ5/ZEQNE8/smief2REDRPP7Jonn9kRA0Tz+yaJ5/ZEQNE8/smief2REHoZjzeyIiD/2Q=="},"456f":function(t,e,s){"use strict";s("3549")},"4bfb":function(t,e,s){"use strict";s.r(e),s.d(e,"getUserList",(function(){return i})),s.d(e,"getUserCourseList",(function(){return n})),s.d(e,"finishDownload",(function(){return l})),s.d(e,"getUserFinishList",(function(){return o})),s.d(e,"getIdentifyList",(function(){return r})),s.d(e,"getUnRegisterList",(function(){return c})),s.d(e,"resetUserPass",(function(){return d})),s.d(e,"updateUserInfo",(function(){return u})),s.d(e,"getCertificateList",(function(){return m})),s.d(e,"getWxpaylogList",(function(){return f})),s.d(e,"buyCourseList",(function(){return p})),s.d(e,"postData",(function(){return g}));var a=s("b775"),i=function(t){return Object(a["default"])({url:"/admin/getUserList",method:"post",data:t})},n=function(t){return Object(a["default"])({url:"/admin/getUserCourseList",method:"post",data:t})},l=function(t){return Object(a["default"])({url:"/admin/finishDownload",method:"post",data:t})},o=function(t){return Object(a["default"])({url:"/admin/getUserFinishList",method:"post",data:t})},r=function(t){return Object(a["default"])({url:"/admin/getIdentifyList",method:"post",data:t})},c=function(t){return Object(a["default"])({url:"/admin/getUnRegisterList",method:"post",data:t})},d=function(t){return Object(a["default"])({url:"/admin/resetUserPass",method:"post",data:t})},u=function(t){return Object(a["default"])({url:"/admin/updateUserInfo",method:"post",data:t})},m=function(t){return Object(a["default"])({url:"/admin/getCertificateList",method:"post",data:t})},f=function(t){return Object(a["default"])({url:"/admin/getWxpaylogList",method:"post",data:t})},p=function(t){return Object(a["default"])({url:"/admin/buyCourseList",method:"post",data:t})},g=function(t,e){return Object(a["default"])({url:"/admin/".concat(t),method:"post",data:e})}},9111:function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("el-row",{staticStyle:{"min-width":"1300px"}},[s("el-col",{staticClass:"p10",attrs:{lg:12}},[s("el-card",{staticStyle:{"min-width":"650px",height:"640px"}},[s("div",{attrs:{slot:"header",align:"center"},slot:"header"},[s("span",{staticStyle:{color:"#1890FF"}},[t._v("基本信息")])]),s("div",{staticStyle:{"min-width":"660px"}},[s("el-form",{staticClass:"grid-table",attrs:{inline:!0,"label-width":"90px","label-position":"center"}},[s("el-row",[s("el-col",{staticClass:"ml-1",attrs:{span:12}},[s("el-form-item",{attrs:{label:"姓名"}},[s("el-input",{attrs:{disabled:""},model:{value:t.info.nickname,callback:function(e){t.$set(t.info,"nickname",e)},expression:"info.nickname"}})],1)],1),s("el-col",{staticClass:"ml-1",attrs:{span:12}},[s("el-form-item",{attrs:{label:"性别"}},[s("el-select",{staticStyle:{width:"200px"},attrs:{disabled:""},model:{value:t.info.gender,callback:function(e){t.$set(t.info,"gender",e)},expression:"info.gender"}},[s("el-option",{attrs:{label:"男",value:"男"}}),s("el-option",{attrs:{label:"女",value:"女"}})],1)],1)],1),s("el-col",{staticClass:"ml-1",attrs:{span:12}},[s("el-form-item",{attrs:{label:"身份证"}},[s("el-input",{attrs:{disabled:""},model:{value:t.info.cardId,callback:function(e){t.$set(t.info,"cardId",e)},expression:"info.cardId"}})],1)],1),s("el-col",{staticClass:"ml-1",attrs:{span:12}},[s("el-form-item",{attrs:{label:"出生年月"}},[s("el-date-picker",{staticStyle:{width:"200px"},attrs:{"value-format":"yyyy-MM-dd",type:"date",align:"left",disabled:""},model:{value:t.info.birthday,callback:function(e){t.$set(t.info,"birthday",e)},expression:"info.birthday"}})],1)],1),s("el-col",{staticClass:"ml-1",attrs:{span:12}},[s("el-form-item",{attrs:{label:"学历"}},[s("el-input",{attrs:{disabled:""},model:{value:t.info.education,callback:function(e){t.$set(t.info,"education",e)},expression:"info.education"}})],1)],1),s("el-col",{staticClass:"ml-1",attrs:{span:12}},[s("el-form-item",{attrs:{label:"专业"}},[s("el-input",{staticStyle:{width:"200px"},attrs:{disabled:""},model:{value:t.info.major,callback:function(e){t.$set(t.info,"major",e)},expression:"info.major"}})],1)],1),s("el-col",{staticClass:"ml-1",attrs:{span:12}},[s("el-form-item",{attrs:{label:"毕业院校"}},[s("el-input",{attrs:{disabled:""},model:{value:t.info.school,callback:function(e){t.$set(t.info,"school",e)},expression:"info.school"}})],1)],1),s("el-col",{staticClass:"ml-1",attrs:{span:12}},[s("el-form-item",{attrs:{label:"学制"}},[s("el-input",{attrs:{disabled:""},model:{value:t.info.schoolingLen,callback:function(e){t.$set(t.info,"schoolingLen",e)},expression:"info.schoolingLen"}})],1)],1),s("el-col",{staticClass:"ml-1",attrs:{span:24}},[s("el-form-item",{attrs:{label:"毕业证书号"}},[s("el-input",{attrs:{disabled:""},model:{value:t.info.degreeId,callback:function(e){t.$set(t.info,"degreeId",e)},expression:"info.degreeId"}})],1)],1),s("el-col",{staticClass:"ml-1",attrs:{span:12}},[s("el-form-item",{attrs:{label:"学位"}},[s("el-input",{attrs:{disabled:""},model:{value:t.info.degree,callback:function(e){t.$set(t.info,"degree",e)},expression:"info.degree"}})],1)],1),s("el-col",{staticClass:"ml-1",attrs:{span:12}},[s("el-form-item",{attrs:{label:"手机(本人)"}},[s("el-input",{attrs:{disabled:""},model:{value:t.info.phone,callback:function(e){t.$set(t.info,"phone",e)},expression:"info.phone"}})],1)],1),s("el-col",{staticClass:"ml-1",attrs:{span:24}},[s("el-form-item",{attrs:{label:"现场施工 (年限)"}},[s("el-input",{staticStyle:{"margin-top":"20px"},attrs:{disabled:""},model:{value:t.info.years,callback:function(e){t.$set(t.info,"years",e)},expression:"info.years"}})],1)],1),s("el-col",{staticClass:"ml-1",attrs:{span:24}},[s("el-form-item",{attrs:{label:"工作单位"}},[s("el-input",{staticStyle:{width:"500px"},attrs:{disabled:""},model:{value:t.info.company,callback:function(e){t.$set(t.info,"company",e)},expression:"info.company"}})],1)],1),s("el-col",{staticClass:"ml-1",attrs:{span:24}},[s("el-form-item",{attrs:{label:"联系地址"}},[s("el-input",{staticStyle:{width:"500px"},attrs:{disabled:""},model:{value:t.info.address,callback:function(e){t.$set(t.info,"address",e)},expression:"info.address"}})],1)],1),s("el-col",{staticClass:"ml-1",attrs:{span:24}},[s("el-form-item",{attrs:{label:"报考岗位"}},[s("el-input",{staticStyle:{width:"200px"},attrs:{disabled:""},model:{value:t.info.courseName,callback:function(e){t.$set(t.info,"courseName",e)},expression:"info.courseName"}})],1)],1),s("el-col",{staticClass:"ml-1",attrs:{span:24}},[s("el-form-item",{attrs:{label:"审核信息"}},[s("el-input",{staticStyle:{width:"500px"},attrs:{type:"text",placeholder:"审核信息[最小4个字]"},model:{value:t.info.marks,callback:function(e){t.$set(t.info,"marks",e)},expression:"info.marks"}})],1),s("div",{staticStyle:{"margin-bottom":"20px",padding:"0px"},attrs:{align:"center"}},[s("el-button",{staticClass:"button",attrs:{type:"success"},on:{click:t.passConfirmBase}},[t._v("审核通过")]),s("el-button",{staticClass:"button",attrs:{type:"danger"},on:{click:t.unPassConfirmBase}},[t._v("拒绝通过")])],1)],1)],1)],1)],1)])],1),s("el-col",{staticClass:"p10",attrs:{lg:12}},[s("el-card",{staticStyle:{"min-width":"550px",height:"640px"}},[s("div",{attrs:{slot:"header",align:"center"},slot:"header"},[s("div",{staticClass:"fr"},[s("el-button",{attrs:{type:"warning"},on:{click:t.unsubmitUserApply}},[t._v("退回修改")]),s("el-button",{attrs:{type:"success"},on:{click:t.confirmUserApply}},[t._v("审核通过")])],1),s("span",{staticStyle:{color:"#1890FF"},on:{click:function(e){return t.$viewer.show()}}},[t._v(t._s(t.types[t.imgType]))])]),s("div",{staticClass:"confirm-img"},[s("div",{staticClass:"confirm-img-nav"},[s("el-button",{attrs:{type:"text"}},[t._v(" 选择附件")]),t._l(t.types,(function(e,a){return s("el-button",{key:a,staticClass:"confirm-img-nav-btn",class:{"confirm-select":t.imgType==a},attrs:{type:"primary"},on:{click:function(e){t.imgType=a}}},[t._v(t._s(e))])}))],2),s("div",{staticClass:"confirm-img-body",staticStyle:{"text-align":"center"}},[s("vue-viewer",{staticClass:"preview",staticStyle:{margin:"0 auto"},attrs:{width:"300",height:"370",thumb:t.imgUrl,full:t.imgUrl}})],1)]),"proveImg"!=t.imgType?s("el-form",[s("el-form-item",{attrs:{label:"审核信息"}},[s("el-input",{attrs:{type:"textarea",placeholder:"审核信息"},model:{value:t.content,callback:function(e){t.content=e},expression:"content"}})],1),s("div",{staticClass:"bottom clearfix mt20",attrs:{align:"center"}},[s("el-button",{staticClass:"button",attrs:{type:"success"},on:{click:t.passConfirm}},[t._v("审核通过")]),s("el-button",{staticClass:"button",attrs:{type:"danger"},on:{click:t.unPassConfirm}},[t._v("拒绝通过")])],1)],1):t._e()],1)],1)],1),s("el-table",{staticClass:"mt10",attrs:{data:t.logs}},[s("el-table-column",{attrs:{label:"序号"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.$index;return[s("span",[t._v(t._s(a+1))])]}}])}),s("el-table-column",{attrs:{label:"审核环节"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[s("span",[t._v(t._s(t.logTyps[a.type]))])]}}])}),s("el-table-column",{attrs:{label:"审核人",prop:"adminName"}}),s("el-table-column",{attrs:{label:"审核意见",prop:"content"}}),s("el-table-column",{attrs:{label:"审核时间",prop:"createAt"}})],1)],1)},i=[],n=s("4bfb"),l={name:"Api",data:function(){return{dialogFormVisible:!1,imgUrl:"",imgType:"",content:"",errorImg:'this.src="'+s("3e0a")+'"',types:{headImg:"个人形象照",cardImg:"身份证正面",cardBackImg:"身份证背面",proveImg:"学信网证明",graduateImg:"毕业证图片",yearsImg:"工作年限证明"},logTyps:{all:"审核通过",base:"基本信息",rollback:"退回修改",headImg:"个人形象照",cardImg:"身份证正面",cardBackImg:"身份证背面",proveImg:"学信网证明",graduateImg:"毕业证图片",yearsImg:"工作年限证明"},info:{},logs:[]}},watch:{imgType:function(){this.imgUrl=this.info[this.imgType],this.imgUrl&&(this.imgUrl+="?x-oss-process=image/resize,w_1024,m_lfit"),this.content=this.info[this.imgType+"Confirm"]||""}},methods:{inited:function(t){this.$viewer=t},unPassConfirmBase:function(){this.info.marks.length<4?this.$message.errorMsg("请输入拒绝原因",1):this.doConfirmBase()},passConfirmBase:function(){this.info.marks="通过",this.doConfirmBase()},doConfirmBase:function(){var t=this,e={applyId:this.info.applyId,marks:this.info.marks};Object(n["postData"])("confirmUserApplyBase",e).then((function(e){200==e.code&&(t.$message.successMsg("操作成功",2),t.reloadLogs())}))},unPassConfirm:function(){var t=this,e=this.content,s=this.imgType,a=s+"Confirm";if(e.length<3)this.$message.errorMsg("拒绝需要理由");else{var i=this.info,l=i.applyId,o=i.userId,r={content:e,applyId:l,userId:o,type:s};Object(n["postData"])("ConfirmUserApplyImg",r).then((function(s){200==s.code&&(t.$message.successMsg("拒绝通过成功",2),t.info[a]=e,t.content=e,t.reloadLogs())}))}},confirmUserApply:function(){var t=this,e={applyId:this.info.applyId,userId:this.info.userId};Object(n["postData"])("ConfirmUserApply",e).then((function(e){200==e.code&&(t.$message.successMsg("通过成功",2),t.reloadLogs())}))},unsubmitUserApply:function(){var t=this,e={applyId:this.info.applyId,userId:this.info.userId};Object(n["postData"])("unSubmitUserApply",e).then((function(e){200==e.code&&(t.$message.successMsg("回退成功",2),t.info.isSubmit=0,t.reloadLogs())}))},passConfirm:function(){var t=this,e=this.imgType,s="通过",a=e+"Confirm",i=this.info,l=i.applyId,o=i.userId,r={content:s,applyId:l,userId:o,type:e};Object(n["postData"])("ConfirmUserApplyImg",r).then((function(e){200==e.code&&(t.$message.successMsg("审核通过",2),t.info[a]=s,t.content=s,t.reloadLogs())}))},reloadLogs:function(){var t=this,e=this.info.applyId,s={applyId:e};Object(n["postData"])("GetUserApplyConfirmLogs",s).then((function(e){200==e.code&&(t.logs=e.data||[])}))}},beforeMount:function(){var t=this,e=+this.$route.query.applyId;this.applyId=e,Object(n["postData"])("getUserApplyInfo",{applyId:e}).then((function(e){200==e.code&&(t.info=e.data.info,t.logs=e.data.logs,t.imgType="headImg")}))}},o=l,r=(s("456f"),s("2877")),c=Object(r["a"])(o,a,i,!1,null,"707a207c",null);e["default"]=c.exports}}]);
|