(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7970593a"],{"049d":function(e,t,a){"use strict";var n=a("d2be"),i=a.n(n);i.a},"0aed":function(e,t,a){"use strict";a("aaba");var n=a("bf16"),i=a("86d4"),r=a("238a"),s=a("f6b4"),l=a("cb3d"),o=a("8714"),c=l("species"),u=!r((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")})),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var a="ab".split(e);return 2===a.length&&"a"===a[0]&&"b"===a[1]}();e.exports=function(e,t,a){var p=l(e),m=!r((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),h=m?!r((function(){var t=!1,a=/a/;return a.exec=function(){return t=!0,null},"split"===e&&(a.constructor={},a.constructor[c]=function(){return a}),a[p](""),!t})):void 0;if(!m||!h||"replace"===e&&!u||"split"===e&&!d){var f=/./[p],v=a(s,p,""[e],(function(e,t,a,n,i){return t.exec===o?m&&!i?{done:!0,value:f.call(t,a,n)}:{done:!0,value:e.call(a,t,n)}:{done:!1}})),g=v[0],_=v[1];n(String.prototype,e,g),i(RegExp.prototype,p,2==t?function(e,t){return _.call(e,this,t)}:function(e){return _.call(e,this)})}}},"129d":function(e,t,a){"use strict";var n=a("46fc"),i=a.n(n);i.a},2070:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"apply"},[a("p",[e._v("报名列表 > "+e._s(e.subject_item)+" > 复审")]),a("div",{staticClass:"filter"},[a("el-form",{attrs:{"label-width":"75px",inline:!0,size:"small"}},[a("el-form-item",{attrs:{label:"培训项目"}},[e.subject_id?a("Subject",{key:e.key,attrs:{subject_id:e.subject_id},on:{subChange:e.subChange}}):e._e()],1),a("el-form-item",{attrs:{label:"姓名","label-width":"40px"}},[a("el-input",{attrs:{placeholder:"姓名"},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1),a("el-form-item",{attrs:{label:"联系电话"}},[a("el-input",{attrs:{placeholder:"联系电话"},model:{value:e.form.phone,callback:function(t){e.$set(e.form,"phone",t)},expression:"form.phone"}})],1),a("el-form-item",{attrs:{label:"报名时间"}},[a("el-date-picker",{attrs:{clearable:"",type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:e.form.signup_time,callback:function(t){e.$set(e.form,"signup_time",t)},expression:"form.signup_time"}})],1),a("el-form-item",{attrs:{label:"发票类型"}},[a("el-select",{attrs:{placeholder:"请选择",clearable:""},model:{value:e.form.bill_type,callback:function(t){e.$set(e.form,"bill_type",t)},expression:"form.bill_type"}},[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",{attrs:{label:"领证方式",clearable:""}},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.form.receive_card,callback:function(t){e.$set(e.form,"receive_card",t)},expression:"form.receive_card"}},[a("el-option",{attrs:{label:"邮寄",value:1}}),a("el-option",{attrs:{label:"自取",value:0}})],1)],1),a("el-form-item",{attrs:{label:"考试设置"}},[a("el-select",{attrs:{placeholder:"请选择",clearable:""},model:{value:e.form.set_exam_time,callback:function(t){e.$set(e.form,"set_exam_time",t)},expression:"form.set_exam_time"}},[a("el-option",{attrs:{label:"已设置考试时间",value:1}}),a("el-option",{attrs:{label:"未设置考试时间",value:0}})],1)],1),a("el-form-item",{attrs:{label:"考试时间"}},[a("el-date-picker",{attrs:{clearable:"","value-format":"yyyy-MM-dd",type:"date",placeholder:"选择日期"},model:{value:e.form.exam_time,callback:function(t){e.$set(e.form,"exam_time",t)},expression:"form.exam_time"}})],1),a("el-form-item",{attrs:{label:"培训班级"}},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.form.class_id,callback:function(t){e.$set(e.form,"class_id",t)},expression:"form.class_id"}},e._l(e.class_list,(function(e,t){return a("el-option",{key:t,attrs:{label:e.name,value:e.cid}})})),1)],1),a("el-form-item",{attrs:{label:"公司名称"}},[a("el-input",{attrs:{placeholder:"公司名称"},model:{value:e.form.company,callback:function(t){e.$set(e.form,"company",t)},expression:"form.company"}})],1),a("el-form-item",{attrs:{label:"培训时间"}},[a("el-date-picker",{attrs:{clearable:"",type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.form.train_time1,callback:function(t){e.$set(e.form,"train_time1",t)},expression:"form.train_time1"}})],1),a("el-form-item",[a("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:function(t){e.list=[],e.getData()}}},[e._v("搜索")])],1),a("el-divider")],1),a("el-tabs",{on:{"tab-click":e.tabClick},model:{value:e.order_status,callback:function(t){e.order_status=t},expression:"order_status"}},[a("el-tab-pane",{attrs:{name:"-3",label:"报名列表"}}),a("el-tab-pane",{attrs:{name:"-1",label:"待上传资料"}}),a("el-tab-pane",{attrs:{name:"0",label:"审核中"}}),a("el-tab-pane",{attrs:{name:"-2",label:"审核未通过"}}),a("el-tab-pane",{attrs:{name:"1",label:"待付款"}}),a("el-tab-pane",{attrs:{name:"2",label:"已付款,待培训"}}),a("el-tab-pane",{attrs:{name:"7",label:"已培训,待考试"}}),a("el-tab-pane",{attrs:{name:"3",label:"考试完成"}}),a("el-tab-pane",{attrs:{name:"9",label:"已取消"}})],1)],1),a("div",{staticClass:"divider"},[a("el-button",{attrs:{size:"small",type:"success"},on:{click:function(t){return e.setStatus(1,"审核通过")}}},[e._v("通过审核")]),a("el-button",{attrs:{size:"small",type:"info"},on:{click:function(t){return e.setStatus(-2,"审核不通过")}}},[e._v("审核不通过")]),a("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(t){return e.setStatus(2,"已付款")}}},[e._v("已付款")]),a("el-button",{attrs:{size:"small",type:"warning"},on:{click:function(t){return e.setStatus(3,"已培训,待考试")}}},[e._v("已培训,待考试")]),a("el-button",{attrs:{size:"small",type:"success"},on:{click:function(t){return e.setStatus(7,"考试完成")}}},[e._v("考试完成")]),a("el-button",{attrs:{size:"small",type:"danger"},on:{click:function(t){return e.setStatus(9,"已取消")}}},[e._v("已取消")]),a("el-divider",{attrs:{direction:"vertical"}}),e._v("\n \n \n \n \n "),a("el-button",{staticStyle:{float:"right"},attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-printer"},on:{click:e.print}}),e._v("\n \n "),a("el-dropdown",{staticStyle:{float:"right","margin-right":"5px"},attrs:{trigger:"click"}},[a("el-button",{attrs:{type:"primary",size:"mini",plain:"",icon:"el-icon-finished"}}),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("div",{staticClass:"checkList"},e._l(e.itemList,(function(t,n){return a("p",{key:n},[a("el-checkbox",{attrs:{label:t.name},model:{value:t.checked,callback:function(a){e.$set(t,"checked",a)},expression:"item.checked"}})],1)})),0)])],1),e._v("\n \n "),a("el-button",{staticStyle:{float:"right","margin-right":"5px"},attrs:{size:"small",type:"info"},on:{click:function(t){return e.download("apply")}}},[e._v("导出学员申报资料")]),e._v("\n \n "),a("el-button",{staticStyle:{float:"right","margin-right":"5px"},attrs:{size:"small",type:"success"},on:{click:function(t){return e.download("exam")}}},[e._v("导出考勤表与申报考试表")]),a("el-button",{staticStyle:{float:"right","margin-right":"5px"},attrs:{size:"small",type:"primary"},on:{click:function(t){return e.setTime(1)}}},[e._v("设置培训时间")]),a("el-button",{staticStyle:{float:"right","margin-right":"5px"},attrs:{size:"small",type:"primary"},on:{click:function(t){return e.setTime(2)}}},[e._v("设置考试时间")]),a("el-button",{staticStyle:{float:"right","margin-right":"5px"},attrs:{size:"small",type:"primary"},on:{click:function(t){return e.setTime(3)}}},[e._v("生成学时证明")])],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"table",staticStyle:{width:"100%"},attrs:{fit:!0,data:e.list,border:""},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",fixed:"left",width:"40"}}),e._l(e.itemList,(function(t,n){return[t.checked&&"学时证明"==t.name?a("el-table-column",{key:n,attrs:{width:t.width,prop:t.value,label:t.name,"class-name":t.value},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.classhour_cert_url?a("a",{attrs:{target:"_blank",href:t.row.classhour_cert_url}},[e._v("已生成")]):e._e()]}}],null,!0)}):e._e(),t.checked&&"状态"==t.name?a("el-table-column",{key:n,attrs:{width:t.width,prop:t.value,label:t.name,"class-name":t.value},scopedSlots:e._u([{key:"default",fn:function(t){return[-2==t.row.order_status?a("el-button",{attrs:{size:"mini",type:"warning"}},[e._v(e._s(t.row.order_status_1))]):e._e(),-1==t.row.order_status?a("el-button",{attrs:{size:"mini",type:"warning"}},[e._v(e._s(t.row.order_status_1))]):e._e(),0==t.row.order_status?a("el-button",{attrs:{size:"mini",type:"warning"}},[e._v(e._s(t.row.order_status_1))]):e._e(),1==t.row.order_status?a("el-button",{attrs:{size:"mini",type:"danger"}},[e._v(e._s(t.row.order_status_1))]):e._e(),2==t.row.order_status?a("el-button",{attrs:{size:"mini",type:"primary"}},[e._v(e._s(t.row.order_status_1))]):e._e(),7==t.row.order_status?a("el-button",{attrs:{size:"mini",type:"success"}},[e._v(e._s(t.row.order_status_1))]):e._e(),3==t.row.order_status?a("el-button",{attrs:{size:"mini",type:"warning"}},[e._v(e._s(t.row.order_status_1))]):e._e(),9==t.row.order_status?a("el-button",{attrs:{size:"mini",type:"danger"}},[e._v(e._s(t.row.order_status_1))]):e._e()]}}],null,!0)}):e._e(),t.checked&&"状态"!=t.name&&"学时证明"!=t.name?a("el-table-column",{key:n,attrs:{width:t.width,prop:t.value,label:t.name}}):e._e()]})),a("el-table-column",{attrs:{prop:"zip",width:"220",fixed:"right",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(a){return e.$router.push({path:"/sign/detail",query:{id:t.row.id}})}}},[e._v("详情")]),a("el-button",{attrs:{size:"mini",type:"warning"},on:{click:function(a){return e.$router.push({path:"/sign/edit",query:{id:t.row.id}})}}},[e._v("编辑")]),a("el-button",{attrs:{size:"mini",type:"primary"},on:{click:function(a){return e.mark(t.row.id,t.row.remark)}}},[e._v("备注")]),a("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(a){return e.del(t.row.id)}}},[e._v("删除")])]}}])})],2),a("Page",{ref:"pageButton",attrs:{total:e.total},on:{pageChange:e.gopage}}),a("el-dialog",{attrs:{title:e.text,visible:e.dialogVisible,width:"30%"},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("el-date-picker",{directives:[{name:"show",rawName:"v-show",value:1==e.date_type,expression:"date_type == 1"}],attrs:{type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.time1,callback:function(t){e.time1=t},expression:"time1"}}),a("el-date-picker",{directives:[{name:"show",rawName:"v-show",value:2==e.date_type,expression:"date_type == 2"}],attrs:{type:"date","value-format":"yyyy-MM-dd"},model:{value:e.time2,callback:function(t){e.time2=t},expression:"time2"}}),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.dialogVisible=!1}}},[e._v("取 消")]),a("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("确 定")])],1)],1)],1)},i=[],r=(a("9a33"),a("cc57"),a("9973")),s=a("fa7e"),l={components:{Page:r["a"],Subject:s["a"]},data:function(){return{key:1,checkList:[],class_list:[],itemList:[{name:"姓名",value:"name",checked:!0},{name:"联系电话",value:"phone",checked:!0,width:"120px"},{name:"状态",value:"order_status_1",checked:!0,width:"200px"},{name:"支付状态",value:"pay_status_1",checked:!0},{name:"支付金额",value:"price",checked:!0},{name:"管理员备注",value:"remark",checked:!0,width:"150px"},{name:"报名类型",value:"subject_item0",checked:!0,width:"120px"},{name:"作业类别",value:"subject_item1",checked:!0,width:"150px"},{name:"准操项目",value:"subject_item2",checked:!0,width:"200px"},{name:"培训类型",value:"train_type",checked:!0},{name:"学时证明",value:"classhour_cert_url",checked:!0,width:"150px"},{name:"培训时间",value:"train_time",checked:!0,width:"200px"},{name:"考试时间",value:"exam_time",checked:!0,width:"150px"},{name:"报名时间",value:"signup_time",checked:!0,width:"150px"},{name:"公司名称",value:"company",checked:!0,width:"200px"},{name:"更新时间",value:"ctime",checked:!1,width:"170px"},{name:"发票类型",value:"bill_type_1",checked:!1,width:"120px"},{name:"领证方式",value:"receive_card",checked:!1},{name:"实名认证",value:"verify_1",checked:!0},{name:"ID",value:"id",checked:!1}],text:"批量设置培训时间",date_type:1,time1:null,time2:"",form:{train_type:"复审",subject_item:"",order_status:"",page:1,page_size:20},activeName:"1",total:1,list:[],order_status:"-3",ids:[],dialogVisible:!1,url:"",loading:!1,subject_id:"",subject_item:"",download_loading:!1}},methods:{gopage:function(e){e&&(this.form.page_size=e),this.form.page=this.$refs.pageButton.page,this.getData()},getData:function(){var e=this,t=this.form;t.train_time1&&(t.train_time=t.train_time1.join(",")),this.loading=!0,"-3"!=this.order_status?t.order_status=this.order_status:t.order_status="",this.$api.getSignList(t).then((function(t){for(var a=t.data.data.list,n=0;n0?this.$confirm("确定修改状态为"+t,"提示",{type:"warning"}).then((function(){a.$api.updateSignStu({id:s,order_status:e}).then((function(e){e.data.code?a.$message.error(e.data.message):(a.$message({message:"修改成功",type:"success"}),a.getData())}))})):this.$message.error("请选择数据")},setTime:function(e){for(var t=[],a=this.ids,n=0;n0?(this.date_type=e,1==e?(this.dialogVisible=!0,this.text="批量设置培训时间"):2==e?(this.dialogVisible=!0,this.text="批量设置考试时间"):this.save()):this.$message.error("请选择数据")},save:function(){var e=this,t={id:this.select_ids};console.log(this.time),1==this.date_type?t.train_time=this.time1.join(","):2==this.date_type?t.exam_time=this.time2:t.classhour_cert_status=1,this.$api.updateSign(t).then((function(t){0==t.data.code?(e.$message({message:"操作成功",type:"success"}),e.dialogVisible=!1,e.getData()):e.$message.error(t.data.message)}))},print:function(){for(var e=window.open("",""),t="",a="",n=0;n".concat(i.name,"\n ")}for(var r=0;r".concat(s[c.value]||" ","\n ")}t+="".concat(l,"
")}var u="\n \n \n \n ".concat(a,"\n \n ").concat(t,"\n
\n ");console.log(u),e.document.write(u),e.window.print()},download:function(e){for(var t=this,a=[],n=this.ids,i=0;i0?(this.download_loading=!0,this.$api.downloadzip(s).then((function(e){var a=document.createElement("a"),n=new Blob([e.data],{type:"application/zip"}),i=URL.createObjectURL(n),r=e.headers["content-disposition"].split("=")[1];a.download=r,a.style.display="none",a.href=i,document.body.appendChild(a),a.click(),document.body.removeChild(a),t.download_loading=!1}))):this.$message.error("请选择数据")}},watch:{$route:function(e){var t=this;this.subject_id=!1,this.$nextTick((function(){t.subject_id=e.path.split("/")[2]})),this.$api.getSubList().then((function(e){for(var a=e.data.data,n=0;n1&&r.call(s[0],a,(function(){for(u=1;u1||""[m](/.?/)[h]?function(e,t){var i=String(this);if(void 0===e&&0===t)return[];if(!n(e))return a.call(i,e,t);var r,s,l,o=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,m=void 0===t?v:t>>>0,g=new RegExp(e.source,u+"g");while(r=c.call(g,i)){if(s=g[f],s>d&&(o.push(i.slice(d,r.index)),r[h]>1&&r.index=m))break;g[f]===r.index&&g[f]++}return d===i[h]?!l&&g.test("")||o.push(""):o.push(i.slice(d)),o[h]>m?o.slice(0,m):o}:"0"[m](void 0,0)[h]?function(e,t){return void 0===e&&0===t?[]:a.call(this,e,t)}:a,[function(a,n){var i=e(this),r=void 0==a?void 0:a[t];return void 0!==r?r.call(a,i,n):_.call(String(i),a,n)},function(e,t){var n=u(_,e,this,t,_!==a);if(n.done)return n.value;var c=i(e),p=String(this),m=r(c,RegExp),h=c.unicode,f=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(g?"y":"g"),b=new m(g?c:"^(?:"+c.source+")",f),y=void 0===t?v:t>>>0;if(0===y)return[];if(0===p.length)return null===o(b,p)?[p]:[];var x=0,k=0,w=[];while(k=3&&isNaN(e[0])){var n=this.data.filter((function(t){return t.name==e[0]})),i=n[0].children.filter((function(t){return t.name==e[1]})),r=i[0].children.filter((function(t){return t.name==e[2]}));t=r[0].id}setTimeout((function(){var n=document.querySelector(".el-input__inner").value,i=n.split(" / ");console.log(n),a.$emit("subChange",i,t,e)}),100)}},created:function(){this.getData(),this.value&&(this.value1=this.value),this.subvalue&&(this.value1=this.subvalue.split("|"))}}),s=r,l=(a("049d"),a("4023")),o=Object(l["a"])(s,n,i,!1,null,null,null);t["a"]=o.exports},fc81:function(e,t,a){var n=a("ee21"),i=a("f6b4");e.exports=function(e){return function(t,a){var r,s,l=String(i(t)),o=n(a),c=l.length;return o<0||o>=c?e?"":void 0:(r=l.charCodeAt(o),r<55296||r>56319||o+1===c||(s=l.charCodeAt(o+1))<56320||s>57343?e?l.charAt(o):r:e?l.slice(o,o+2):s-56320+(r-55296<<10)+65536)}}}}]);
//# sourceMappingURL=chunk-7970593a.86c1b9e6.js.map