(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5a5b9b54"],{"004a":function(e,t,a){},"0216":function(e,t,a){"use strict";a.r(t);var l=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"signup_mannage"},[e._m(0),a("div",{staticClass:"content"},[a("div",{staticClass:"filter"},[a("el-form",{attrs:{size:"small","label-width":"70px",inline:!0,"label-position":"left"}},[a("el-form-item",{attrs:{label:""}},[a("el-input",{attrs:{clearable:"",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-select",{attrs:{clearable:"",placeholder:"请选择会议"},model:{value:e.form.conference_id,callback:function(t){e.$set(e.form,"conference_id",t)},expression:"form.conference_id"}},e._l(e.conferenceList,(function(e,t){return a("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),a("el-form-item",{attrs:{label:""}},[a("el-select",{attrs:{clearable:"",placeholder:"请选择酒店"},model:{value:e.form.hotel_id,callback:function(t){e.$set(e.form,"hotel_id",t)},expression:"form.hotel_id"}},e._l(e.hotelList,(function(e,t){return a("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.getData}},[e._v("搜索")])],1),a("el-form-item",{staticStyle:{float:"right"}},[a("el-button",{attrs:{plain:"",icon:"el-icon-download",type:"primary"}},[e._v("导出Excel")])],1)],1)],1),a("el-tabs",{on:{"tab-click":e.tabClick},model:{value:e.form.order_status,callback:function(t){e.$set(e.form,"order_status",t)},expression:"form.order_status"}},[a("el-tab-pane",{attrs:{name:"0",label:"待上传凭证"}}),a("el-tab-pane",{attrs:{name:"1",label:"待审核"}}),a("el-tab-pane",{attrs:{name:"2",label:"待选酒店"}}),a("el-tab-pane",{attrs:{name:"3",label:"待核销"}}),a("el-tab-pane",{attrs:{name:"4",label:"已核销"}}),a("el-tab-pane",{attrs:{name:"-1",label:"已驳回"}})],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"table",staticStyle:{width:"100%"},attrs:{data:e.list,height:"52vh",border:"","default-expand-all":"","row-key":"id"}},[a("el-table-column",{attrs:{width:"200",prop:"conference_name",label:"会议名称"}}),a("el-table-column",{attrs:{prop:"name",label:"真实姓名"}}),a("el-table-column",{attrs:{prop:"",label:"状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.signup_status?a("span",[e._v("待上传凭证")]):e._e(),1==t.row.signup_status?a("span",[e._v("待审核")]):e._e(),2==t.row.signup_status?a("span",[e._v("待选酒店")]):e._e(),3==t.row.signup_status?a("span",[e._v("待核销")]):e._e(),4==t.row.signup_status?a("span",[e._v("已核销")]):e._e(),-1==t.row.signup_status?a("span",[e._v("已驳回")]):e._e()]}}])}),a("el-table-column",{attrs:{prop:"username",label:"昵称"}}),a("el-table-column",{attrs:{prop:"username",label:"头像"}}),a("el-table-column",{attrs:{prop:"",label:"性别"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(0==t.row.sex?"男":"女")+"\n ")]}}])}),a("el-table-column",{attrs:{prop:"phone",width:"120",label:"手机号"}}),a("el-table-column",{attrs:{prop:"email",width:"120",label:"邮箱"}}),a("el-table-column",{attrs:{width:"200",prop:"organizer_unit",label:"单位"}}),a("el-table-column",{attrs:{prop:"hotel_id",label:"已选酒店"}}),a("el-table-column",{attrs:{prop:"room_id",label:"已选房型"}}),a("el-table-column",{attrs:{prop:"",label:"入住天数"}}),a("el-table-column",{attrs:{prop:"room_stime",label:"入住时间"}}),a("el-table-column",{attrs:{prop:"room_etime",label:"离开时间"}}),a("el-table-column",{attrs:{prop:"zip",width:"260",fixed:"right",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{staticClass:"edit",attrs:{type:"text"},on:{click:function(a){e.invoice=t.row,e.dialogVisible2=!0}}},[e._v("审核")]),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.invoice=t.row,e.dialogVisible=!0}}},[e._v("发票详情")]),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.proof_img=t.row.proof_img,e.dialogVisible3=!0}}},[e._v("入住凭证")]),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.dialogVisible1=!0,e.getReason(t.row)}}},[e._v("驳回原因")])]}}])})],1),a("Page",{ref:"pageButton",attrs:{current:e.form.page,page_size:e.form.page_size,total:e.total},on:{pageChange:e.gopage}})],1),a("el-dialog",{staticClass:"hotel",attrs:{title:"发票详情","close-on-click-modal":!1,visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("el-form",[a("el-form-item",{attrs:{label:"用户姓名:"}},[e._v("\n "+e._s(e.invoice.name)+"\n ")]),a("el-form-item",{attrs:{label:"手机号:"}},[e._v("\n "+e._s(e.invoice.billphone)+"\n ")]),a("el-form-item",{attrs:{label:"支付方式:"}},[e._v("\n "+e._s(1==e.invoice.paytype?"汇款":"支票")+"\n ")]),a("el-form-item",{attrs:{label:"发票种类:"}},[e._v("\n "+e._s(1==e.invoice.billtype?"增值税普通发票":"增值税专用发票")+"\n ")]),a("el-form-item",{attrs:{label:"纳税人识别号:"}},[e._v("\n "+e._s(e.invoice.billno)+"\n ")]),a("el-form-item",{attrs:{label:"注册地址"}},[e._v("\n "+e._s(e.invoice.billaddress)+"\n ")]),a("el-form-item",{attrs:{label:"注册电话:"}},[e._v("\n "+e._s(e.invoice.billphone)+"\n ")]),a("el-form-item",{attrs:{label:"开户行:"}},[e._v("\n "+e._s(e.invoice.billbank)+"\n ")]),a("el-form-item",{attrs:{label:"银行帐号:"}},[e._v("\n "+e._s(e.invoice.billbankno)+"\n ")])],1)],1),a("el-dialog",{attrs:{width:"70%",title:"驳回原因","close-on-click-modal":!1,visible:e.dialogVisible1},on:{"update:visible":function(t){e.dialogVisible1=t}}},[a("div",{staticClass:"bh"},[a("label",[e._v("会议名称")]),e._v("\n "+e._s(e.reason.conference_name)+"\n "),a("br"),a("label",[e._v("用户姓名")]),e._v(e._s(e.reason.name)+"\n ")]),a("el-table",{staticClass:"table",staticStyle:{width:"100%"},attrs:{data:e.reason.reject_reason,"default-expand-all":"",height:"300"}},[a("el-table-column",{attrs:{prop:"ctime",label:"驳回时间"}}),a("el-table-column",{attrs:{prop:"cname",label:"驳回人"}}),a("el-table-column",{attrs:{prop:"reason",label:"驳回原因"}})],1)],1),a("el-dialog",{staticClass:"hotel",attrs:{title:"审核","close-on-click-modal":!1,visible:e.dialogVisible2},on:{"update:visible":function(t){e.dialogVisible2=t}}},[a("el-form",{attrs:{"label-width":"80px",size:"small"}},[a("el-form-item",{attrs:{label:"会议名称"}},[e._v("\n "+e._s(e.invoice.conference_name)+"\n ")]),a("el-form-item",{attrs:{label:"用户姓名"}},[e._v("\n "+e._s(e.invoice.name)+"\n ")]),a("el-form-item",{attrs:{label:"手机号"}},[e._v("\n "+e._s(e.invoice.phone)+"\n ")]),a("el-form-item",{attrs:{label:"所在城市"}}),a("el-form-item",{attrs:{label:"所属单位"}},[e._v("\n "+e._s(e.invoice.organizer_unit)+"\n ")]),a("el-form-item",{attrs:{label:"入住天数"}}),a("el-form-item",{attrs:{label:"入住时间"}},[e._v("\n "+e._s(e.invoice.room_stime)+"\n ")]),a("el-form-item",{attrs:{label:"离开时间"}},[e._v("\n "+e._s(e.invoice.room_etime)+"\n ")]),a("el-form-item",{attrs:{label:"报名时间"}},[e._v("\n "+e._s(e.invoice.ctime)+"\n ")]),a("el-form-item",{attrs:{label:"入住凭证"}}),a("el-form-item",{attrs:{label:"驳回原因"}},[a("el-input",{attrs:{type:"textarea"},model:{value:e.invoice.reject_reason,callback:function(t){e.$set(e.invoice,"reject_reason",t)},expression:"invoice.reject_reason"}})],1),a("el-form-item",{attrs:{label:""}},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.check(1)}}},[e._v("通过")]),a("el-button",{attrs:{type:"danger"},on:{click:function(t){return e.check(-1)}}},[e._v("驳回")])],1)],1)],1),a("el-dialog",{staticClass:"hotel",attrs:{title:"入住凭证","close-on-click-modal":!1,visible:e.dialogVisible3},on:{"update:visible":function(t){e.dialogVisible3=t}}},[a("img",{attrs:{width:"100%",src:e.proof_img,alt:""}})])],1)},i=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",[a("span",[e._v("会议管理>")]),e._v("报名管理")])}],n=a("9973"),o={components:{Page:n["a"]},data:function(){return{form:{order_status:0},conferenceList:[],hotelList:[],list:[{}],reason:{},invoice:{},total:0,loading:!1,dialogVisible:!1,dialogVisible1:!1,dialogVisible2:!1,dialogVisible3:!1,proof_img:""}},methods:{gopage:function(e){e&&(this.form.page_size=e),this.form.page=this.$refs.pageButton.page,this.getData()},tabClick:function(){this.getData()},getReason:function(e){e.reject_reason?e.reject_reason=JSON.parse(e.reject_reason):e.reject_reason=[],this.reason=e},getData:function(){var e=this,t=this.form;this.loading=!0,this.$api.getSignupList(t).then((function(t){e.list=t.data.data.list,e.total=t.data.data.total,e.loading=!1})),this.$api.getConferenceList().then((function(t){e.conferenceList=t.data.data.list})),this.$api.getHotelList().then((function(t){e.hotelList=t.data.data.list}))},check:function(e){var t=this;this.$api.putSignup({signup_status:e,reject_reason:this.invoice.reject_reason,id:this.invoice.id}).then((function(e){t.$message({message:"操作成功",type:"success"}),t.dialogVisible2=!1,t.getData()}))}},created:function(){this.getData()}},s=o,r=(a("ee5f"),a("5d22")),c=Object(r["a"])(s,l,i,!1,null,null,null);t["default"]=c.exports},"129d":function(e,t,a){"use strict";a("a210")},9973:function(e,t,a){"use strict";var l=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-pagination",{attrs:{background:"","page-size":e.page_size?e.page_size:20,"current-page":e.current,"page-sizes":[10,20,30,40,50,60,70,80,90,100],layout:"total,sizes,prev, pager, next",total:e.total},on:{"current-change":e.getData,"size-change":e.handleSizeChange}})},i=[],n={data:function(){return{page:1}},props:{total:"",page_size:"",current:""},methods:{getData:function(e){this.page=e,this.$emit("pageChange")},handleSizeChange:function(e){this.$emit("pageChange",e)}},created:function(){}},o=n,s=(a("129d"),a("5d22")),r=Object(s["a"])(o,l,i,!1,null,null,null);t["a"]=r.exports},a210:function(e,t,a){},ee5f:function(e,t,a){"use strict";a("004a")}}]); //# sourceMappingURL=chunk-5a5b9b54.2ad6caec.js.map