chunk-ae58d4c4.6e9f0109.js 18 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ae58d4c4","chunk-b7b74f52","chunk-4aaf9a2f","chunk-b7b74f52","chunk-f6657b32","chunk-2d0ac361","chunk-2d0cc0e0","chunk-2d216ba7","chunk-2d0a4474","chunk-2d0c5139","chunk-2d0c5139"],{"0680":function(t,e,a){"use strict";a.r(e),a.d(e,"getDict",(function(){return s}));var n=a("1da1"),r=(a("96cf"),a("4360")),s=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,r["store"].dispatch("dictionary/getDictionary",e);case 2:return t.abrupt("return",r["store"].getters["dictionary/getDictionary"][e]);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},1925:function(t,e,a){"use strict";a.r(e),a.d(e,"searchApi",(function(){return r}));var n=a("b775"),r=function(t){return Object(n["default"])({url:"/admin/search",method:"post",data:t})}},"3e0a":function(t,e){t.exports="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAZABkAAD/2wBDAAQDAwQDAwQEBAQFBQQFBwsHBwYGBw4KCggLEA4RERAOEA8SFBoWEhMYEw8QFh8XGBsbHR0dERYgIh8cIhocHRz/2wBDAQUFBQcGBw0HBw0cEhASHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBz/wAARCAClAHEDASIAAhEBAxEB/8QAGwABAAMBAQEBAAAAAAAAAAAAAAECAwQFBgj/xAA6EAABAwIBBwsDAwMFAAAAAAABAAIDBBESBRMUIVJxsSIjMTIzQVFikqHRYYHBBkJyFTRTQ5Gi4fH/xAAUAQEAAAAAAAAAAAAAAAAAAAAA/8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8A/dNPTxyxY34i4k3OI+J+q00OHZd6z8qtJ2I3u4ldKDDQ4dl3rd8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ueOf)},"4bfb":function(t,e,a){"use strict";a.r(e),a.d(e,"getUserList",(function(){return r})),a.d(e,"getUserCourseList",(function(){return s})),a.d(e,"finishDownload",(function(){return i})),a.d(e,"getUserFinishList",(function(){return o})),a.d(e,"getIdentifyList",(function(){return c})),a.d(e,"getUnRegisterList",(function(){return u})),a.d(e,"resetUserPass",(function(){return l})),a.d(e,"updateUserInfo",(function(){return d})),a.d(e,"getCertificateList",(function(){return f})),a.d(e,"getWxpaylogList",(function(){return p})),a.d(e,"buyCourseList",(function(){return h})),a.d(e,"postData",(function(){return m}));var n=a("b775"),r=function(t){return Object(n["default"])({url:"/admin/getUserList",method:"post",data:t})},s=function(t){return Object(n["default"])({url:"/admin/getUserCourseList",method:"post",data:t})},i=function(t){return Object(n["default"])({url:"/admin/finishDownload",method:"post",data:t})},o=function(t){return Object(n["default"])({url:"/admin/getUserFinishList",method:"post",data:t})},c=function(t){return Object(n["default"])({url:"/admin/getIdentifyList",method:"post",data:t})},u=function(t){return Object(n["default"])({url:"/admin/getUnRegisterList",method:"post",data:t})},l=function(t){return Object(n["default"])({url:"/admin/resetUserPass",method:"post",data:t})},d=function(t){return Object(n["default"])({url:"/admin/updateUserInfo",method:"post",data:t})},f=function(t){return Object(n["default"])({url:"/admin/getCertificateList",method:"post",data:t})},p=function(t){return Object(n["default"])({url:"/admin/getWxpaylogList",method:"post",data:t})},h=function(t){return Object(n["default"])({url:"/admin/buyCourseList",method:"post",data:t})},m=function(t,e){return Object(n["default"])({url:"/admin/".concat(t),method:"post",data:e})}},5899:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(t,e,a){var n=a("e330"),r=a("1d80"),s=a("577e"),i=a("5899"),o=n("".replace),c="["+i+"]",u=RegExp("^"+c+c+"*"),l=RegExp(c+c+"*$"),d=function(t){return function(e){var a=s(r(e));return 1&t&&(a=o(a,u,"")),2&t&&(a=o(a,l,"")),a}};t.exports={start:d(1),end:d(2),trim:d(3)}},"5c3d":function(t,e,a){"use strict";a("8996")},8996:function(t,e,a){},a4a2:function(t,e,a){"use strict";a.r(e);var n=a("5530"),r=a("1da1"),s=(a("96cf"),a("4de4"),a("d3b7"),a("159b"),a("d81d"),a("0680"));a("c466"),a("ed08");e["default"]={data:function(){return{page:1,total:10,size:10,tableData:[],searchInfo:{isFinish:0}}},watch:{},methods:{filterDict:function(t,e){var a=this[e+"Options"]&&this[e+"Options"].filter((function(e){return e.value==t}));return a&&a[0]&&a[0].label},getDict:function(t){var e=this;return Object(r["a"])(regeneratorRuntime.mark((function a(){var n;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Object(s["getDict"])(t);case 2:return n=a.sent,e[t+"Options"]=n,a.abrupt("return",n);case 5:case"end":return a.stop()}}),a)})))()},handleSizeChange:function(t){this.size=t,this.getTableData()},handleCurrentChange:function(t){this.page=t,this.getTableData()},handleSelectAll:function(t){console.log("handleSelectAll",t),this[t].forEach((function(t){t._selected=!0}))},handleSelectNull:function(t){console.log("handleSelectNull",t),this[t].forEach((function(t){t._selected=!1}))},handleChangeItem:function(t,e,a){this[t][e]=a(this[t][e])},getAllTableData:function(t){var e=Object(n["a"])({size:1e4,from:0},this.searchInfo);this.listApi(e).then((function(e){t(e)}))},getTableData:function(){var t=arguments,e=this;return Object(r["a"])(regeneratorRuntime.mark((function a(){var r,s,i,o,c;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return r=t.length>0&&void 0!==t[0]?t[0]:e.page,s=t.length>1&&void 0!==t[1]?t[1]:e.size,i=(r-1)*s,o=Object(n["a"])({size:s,from:i},e.searchInfo),a.next=6,e.listApi(o);case 6:c=a.sent,200==c.code&&(e.tableData=c.data.list.map((function(t){return t.edit=!1,t._selected=!1,t})),e.total=c.data.total);case 8:case"end":return a.stop()}}),a)})))()}}}},a9e3:function(t,e,a){"use strict";var n=a("83ab"),r=a("da84"),s=a("e330"),i=a("94ca"),o=a("6eeb"),c=a("1a2d"),u=a("7156"),l=a("3a9b"),d=a("d9b5"),f=a("c04e"),p=a("d039"),h=a("241c").f,m=a("06cf").f,g=a("9bf2").f,b=a("408a"),A=a("58a8").trim,y="Number",w=r[y],D=w.prototype,I=r.TypeError,v=s("".slice),x=s("".charCodeAt),k=function(t){var e=f(t,"number");return"bigint"==typeof e?e:E(e)},E=function(t){var e,a,n,r,s,i,o,c,u=f(t,"number");if(d(u))throw I("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=A(u),e=x(u,0),43===e||45===e){if(a=x(u,2),88===a||120===a)return NaN}else if(48===e){switch(x(u,1)){case 66:case 98:n=2,r=49;break;case 79:case 111:n=8,r=55;break;default:return+u}for(s=v(u,2),i=s.length,o=0;o<i;o++)if(c=x(s,o),c<48||c>r)return NaN;return parseInt(s,n)}return+u};if(i(y,!w(" 0o1")||!w("0b1")||w("+0x1"))){for(var S,B=function(t){var e=arguments.length<1?0:w(k(t)),a=this;return l(D,a)&&p((function(){b(a)}))?u(Object(e),a,B):e},R=n?h(w):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),O=0;R.length>O;O++)c(w,S=R[O])&&!c(B,S)&&g(B,S,m(w,S));B.prototype=D,D.constructor=B,o(r,y,B)}},c466:function(t,e,a){"use strict";a.r(e),a.d(e,"curDate",(function(){return n})),a.d(e,"formatTimeToStr",(function(){return r})),a.d(e,"toDatetime",(function(){return s})),a.d(e,"toDate",(function(){return i})),a.d(e,"toDateShow",(function(){return o})),a.d(e,"getDate",(function(){return c}));a("ac1f"),a("00b4"),a("5319"),a("4d63"),a("c607"),a("2c3e"),a("25f0");function n(){var t=(new Date).Format("yyyy-MM-dd");return t.toLocaleString()}function r(t,e){var a=new Date(t).Format("yyyy-MM-dd hh:mm:ss");return e&&(a=new Date(t).Format(e)),a.toLocaleString()}function s(t){if(!t)return"2020-01-01 00:00:00";var e=new Date(t).Format("yyyy-MM-dd hh:mm:ss");return e.toLocaleString()}function i(t){if(!t)return"2020-01-01";var e=new Date(t).Format("yyyy-MM-dd");return e.toLocaleString()}function o(t){if(!t)return"---";var e=new Date(t).Format("yyyy-MM-dd");return e.toLocaleString()}function c(t){var e=new Date;return e.setDate(e.getDate()+t),i(e)}Date.prototype.Format=function(t){var e={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};for(var a in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length))),e)new RegExp("("+a+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?e[a]:("00"+e[a]).substr((""+e[a]).length)));return t}},de6f:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"search-term"},[a("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:t.searchInfo,"label-width":"100"}},[a("el-form-item",{attrs:{label:"时间段",prop:"daterange"}},[a("el-date-picker",{staticStyle:{"line-height":"50px",margin:"5px",width:"260px"},attrs:{type:"daterange",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",clearable:"",placeholder:"结束时间"},model:{value:t.searchInfo.dateRange,callback:function(e){t.$set(t.searchInfo,"dateRange",e)},expression:"searchInfo.dateRange"}})],1),a("el-form-item",{attrs:{label:"学员姓名",prop:"nickname","label-width":"100"}},[a("el-input",{staticStyle:{width:"210px"},attrs:{placeholder:"输入姓名",type:"text",clearable:""},model:{value:t.searchInfo.nickname,callback:function(e){t.$set(t.searchInfo,"nickname",e)},expression:"searchInfo.nickname"}})],1),a("el-form-item",{attrs:{label:"身份证",prop:"cardId"}},[a("el-input",{staticStyle:{width:"270px"},attrs:{placeholder:"请输入身份证",type:"text",clearable:""},model:{value:t.searchInfo.cardId,callback:function(e){t.$set(t.searchInfo,"cardId",e)},expression:"searchInfo.cardId"}})],1),a("el-form-item",{attrs:{label:"课程分类",prop:"type"}},[a("drop-search",{staticClass:"user-form-item",attrs:{info:t.searchInfo.type,type:"type"},on:{select:t.okSearchType}})],1),a("el-form-item",{attrs:{label:"状态",prop:"type"}},[a("el-select",{staticStyle:{width:"120px"},attrs:{placeholder:"更多"},model:{value:t.searchInfo.isPay,callback:function(e){t.$set(t.searchInfo,"isPay",e)},expression:"searchInfo.isPay"}},[a("el-option",{attrs:{label:"等待审核",value:0}}),a("el-option",{attrs:{label:"审核通过",value:1}}),a("el-option",{attrs:{label:"拒绝中",value:2}})],1)],1),a("el-form-item",[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:t.doSearch}},[t._v(" 刷新 ")]),a("el-button",{attrs:{type:"primary",size:"small"},on:{click:t.doExport}},[t._v(" 导出全部 ")])],1)],1)],1),a("el-table",{attrs:{data:t.tableData,border:"",stripe:""}},[a("el-table-column",{attrs:{label:"ID",prop:"id",width:"80",align:"center"}}),a("el-table-column",{attrs:{label:"姓名",prop:"nickname",width:"80",align:"center"}}),a("el-table-column",{attrs:{label:"身份证",prop:"cardId",width:"170"}}),a("el-table-column",{attrs:{label:"报考岗位",prop:"courseName",width:"160"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[a("p",[t._v(t._s(n.rzCode)+" ")]),a("p",[t._v(t._s(n.courseName)+" ")])]}}])}),a("el-table-column",{attrs:{label:"学历",prop:"education",width:"120"}}),a("el-table-column",{attrs:{label:"联系方式",prop:"phone",width:"120"}}),a("el-table-column",{attrs:{label:"工作单位",prop:"company"}}),a("el-table-column",{attrs:{label:"备注",prop:"marks","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[a("p",[t._v(" "+t._s(n.certificateStatus||"有效")+": "+t._s(n.startTime)+" 到 "+t._s(n.endTime||"--")+" ")]),a("p",[t._v(" "+t._s(n.marks)+" ")])]}}])}),a("el-table-column",{attrs:{label:"支付凭证",prop:"head_img",width:"90",align:"center"},scopedSlots:t._u([{key:"default",fn:function(t){var e=t.row;return[a("show-img",{attrs:{src:e.buyImg}})]}}])}),a("el-table-column",{attrs:{label:"提交时间",prop:"createAt",width:"95",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[a("p",[t._v(t._s(n.createAt)+" ")])]}}])}),a("el-table-column",{attrs:{align:"center",width:"160",label:"操作","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row,r=e.$index;return[a("el-popover",{attrs:{placement:"top",width:"140"},model:{value:n._pass,callback:function(e){t.$set(n,"_pass",e)},expression:"row._pass"}},[a("p",[t._v("你确定收到钱了么?本操作不可逆,您是否继续操作")]),a("div",{staticStyle:{"text-align":"right",margin:"0"}},[a("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(t){n._pass=!1}}},[t._v("取消")]),a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.buyCoursePass(n)}}},[t._v("确定")])],1),a("el-button",{attrs:{slot:"reference",type:"text",icon:"el-icon-reset",size:"small"},slot:"reference"},[t._v("通过")])],1),a("el-button",{attrs:{type:"text",icon:"el-icon-reset",size:"small"},on:{click:function(e){return t.unpassRow(n,r)}}},[t._v("拒绝")])]}}])})],1),a("el-dialog",{attrs:{title:"拒绝通过",center:"",visible:t.unpassDialog},on:{"update:visible":function(e){t.unpassDialog=e}}},[a("el-form",{ref:"elForm",attrs:{model:t.unpassData,"label-width":"120px",rules:t.rules}},[a("el-form-item",{attrs:{prop:"marks"}},[a("el-input",{attrs:{type:"textarea",placeholder:"拒绝理由",clearable:""},model:{value:t.unpassData.marks,callback:function(e){t.$set(t.unpassData,"marks",e)},expression:"unpassData.marks"}})],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.unpassDialog=!1}}},[t._v("取 消")]),a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.buyCourseUnPass()}}},[t._v("确 定")])],1)],1),a("el-pagination",{style:{float:"right",padding:"20px"},attrs:{"current-page":t.page,"page-size":t.pageSize,"page-sizes":[10,30,50,100,1e3],total:t.total,layout:"total, sizes, prev, pager, next, jumper"},on:{"current-change":t.handleCurrentChange,"size-change":t.handleSizeChange}})],1)},r=[],s=(a("b0c0"),a("d3b7"),a("3ca3"),a("ddb0"),a("d81d"),a("99af"),a("4bfb")),i=a("c466"),o=a("a4a2"),c=(a("ed08"),a("5f17")),u=a("ceea"),l={name:"Api",data:function(){return{listApi:s["buyCourseList"],unpassDialog:!1,page:1,total:10,pageSize:10,searchInfo:{isPay:0},unpassData:{marks:"",temp:{}},tableData:[],rules:{marks:[{required:!0,message:"请留下拒绝原因",min:1}]}}},components:{ShowImg:u["default"],DropSearch:c["default"]},watch:{searchInfo:{handler:function(t,e){this.page=1,this.getTableData()},deep:!0}},mixins:[o["default"]],methods:{unpassRow:function(t,e){this.unpassData.temp=t,this.unpassData.marks="",this.unpassData.index=e,this.unpassDialog=!0},okSearchType:function(t){this.searchInfo.type=t.name,this.page=1,this.getTableData()},doSearch:function(){this.page=1,this.getTableData()},initEdit:function(t){t._payNo=t.payNo,t.edit=!0},confirmEdit:function(t){var e=this;if(t.payNo!=t._payNo){var a={userId:t.userId,courseId:t.courseId,payNo:t.payNo};Object(s["postData"])("editBuyCourse",a).then((function(a){200==a.code&&(e.$message.successMsg("编辑完成",1),t.edit=!1)}))}else t.edit=!1},buyCoursePass:function(t){var e=this,a={userId:t.userId,courseId:t.courseId};Object(s["postData"])("buyCoursePass",a).then((function(a){200==a.code&&(e.$message.successMsg("审核完成",1),e.getTableData(),t._pass=!1,t.isPay=1)}))},doExport:function(){var t=this,e=this.handleSearchParam(1e5);Object(s["buyCourseList"])(e).then((function(e){200==e.code&&(t.$message.successMsg("下载完成,生成Excel中",1),Promise.all([a.e("chunk-0b34d52f"),a.e("chunk-53ec1ae2"),a.e("chunk-5164a781"),a.e("chunk-2cf91894")]).then(a.bind(null,"4bf8")).then((function(a){var n=["名字","身份证号码","企业名称","岗位名称","证书编号","联系电话","报名时间","邮箱地址","证书","订单编号","凭证地址"],r=["nickname","cardId","company","courseName","rzCode","phone","createAt","email","cert","payNo","buyImg"],s=t.formatJson(r,e.data.list);a.export_json_to_excel({header:n,data:s,filename:"开通记录"+Date.now(),autoWidth:!0,bookType:"xlsx"})})))}))},formatJson:function(t,e){return e.map((function(e){return t.map((function(t){return"cert"==t?"".concat(e.certificateStatus||"未知",":").concat(e.startTime||"--"," 到 ").concat(e.endTime||"--"):e[t]}))}))},buyCourseUnPass:function(t){var e=this;this.$refs["elForm"].validate((function(t){if(t){var a=e.unpassData.temp,n=a.userId,r=a.courseId,i=e.unpassData.marks,o={userId:n,courseId:r,marks:i};Object(s["postData"])("buyCourseUnPass",o).then((function(t){200==t.code&&(e.$message.successMsg("拒绝完成",1),e.getTableData(),e.unpassDialog=!1)}))}}))}},filters:{toDatetime:i["toDatetime"],toDate:i["toDate"]},created:function(){this.getTableData()}},d=l,f=(a("5c3d"),a("2877")),p=Object(f["a"])(d,n,r,!1,null,"d4d3ff94",null);e["default"]=p.exports}}]);