12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a706994e"],{"004a":function(e,t,n){},"0216":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"signup_mannage"},[e._m(0),n("div",{staticClass:"content"},[n("div",{staticClass:"filter"},[n("el-form",{attrs:{size:"small","label-width":"70px",inline:!0,"label-position":"left"}},[n("el-form-item",{attrs:{label:""}},[n("el-input",{attrs:{clearable:"",placeholder:"请输入姓名"},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1),n("el-form-item",{attrs:{label:""}},[n("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 n("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),n("el-form-item",{attrs:{label:""}},[n("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 n("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:e.getData}},[e._v("搜索")])],1),n("el-form-item",{staticStyle:{float:"right"}},[n("el-button",{attrs:{plain:"",icon:"el-icon-download",type:"primary"},on:{click:e.download}},[e._v("导出Excel")])],1)],1)],1),n("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"}},[n("el-tab-pane",{attrs:{name:"-2",label:"全部"}}),n("el-tab-pane",{attrs:{name:"0",label:"待上传凭证"}}),n("el-tab-pane",{attrs:{name:"1",label:"待审核"}}),n("el-tab-pane",{attrs:{name:"2",label:"待选酒店"}}),n("el-tab-pane",{attrs:{name:"3",label:"待核销"}}),n("el-tab-pane",{attrs:{name:"4",label:"已核销"}}),n("el-tab-pane",{attrs:{name:"-1",label:"已驳回"}})],1),n("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"}},[n("el-table-column",{attrs:{width:"200",prop:"conference_name",label:"会议名称"}}),n("el-table-column",{attrs:{prop:"name",label:"真实姓名"}}),n("el-table-column",{attrs:{prop:"",width:"130",label:"状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.signup_status?n("span",[n("el-tag",{attrs:{type:"danger"}},[e._v("待上传凭证")])],1):e._e(),1==t.row.signup_status?n("span",[n("el-tag",{attrs:{type:"warning"}},[e._v("待审核")])],1):e._e(),2==t.row.signup_status?n("span",[n("el-tag",[e._v("待选酒店")])],1):e._e(),3==t.row.signup_status?n("span",[n("el-tag",[e._v("待核销")])],1):e._e(),4==t.row.signup_status?n("span",[n("el-tag",{attrs:{type:"success"}},[e._v("已核销")])],1):e._e(),-1==t.row.signup_status?n("span",[n("el-tag",{attrs:{type:"info"}},[e._v("已驳回")])],1):e._e()]}}])}),n("el-table-column",{attrs:{prop:"username",label:"昵称"}}),n("el-table-column",{attrs:{prop:"username",label:"头像"}}),n("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 ")]}}])}),n("el-table-column",{attrs:{prop:"phone",width:"120",label:"手机号"}}),n("el-table-column",{attrs:{prop:"email",width:"120",label:"邮箱"}}),n("el-table-column",{attrs:{width:"250",prop:"organizer_unit",label:"单位"}}),n("el-table-column",{attrs:{prop:"hotel_id",label:"已选酒店"}}),n("el-table-column",{attrs:{prop:"room_id",label:"已选房型"}}),n("el-table-column",{attrs:{prop:"",label:"入住天数"}}),n("el-table-column",{attrs:{prop:"room_stime",width:"120",label:"入住时间"}}),n("el-table-column",{attrs:{prop:"room_etime",width:"120",label:"离开时间"}}),n("el-table-column",{attrs:{prop:"zip",width:"260",fixed:"right",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{staticClass:"edit",attrs:{type:"text"},on:{click:function(n){e.invoice=t.row,e.dialogVisible2=!0,e.invoice.reject_reason=""}}},[e._v("审核")]),n("el-button",{attrs:{type:"text"},on:{click:function(n){e.invoice=t.row,e.dialogVisible=!0}}},[e._v("发票详情")]),n("el-button",{attrs:{type:"text"},on:{click:function(n){e.proof_img=t.row.proof_img,e.dialogVisible3=!0}}},[e._v("入住凭证")]),n("el-button",{attrs:{type:"text"},on:{click:function(n){e.dialogVisible1=!0,e.getReason(t.row)}}},[e._v("驳回原因")])]}}])})],1),n("Page",{ref:"pageButton",attrs:{current:e.form.page,page_size:e.form.page_size,total:e.total},on:{pageChange:e.gopage}})],1),n("el-dialog",{staticClass:"hotel",attrs:{title:"发票详情","close-on-click-modal":!1,visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t}}},[n("el-form",[n("el-form-item",{attrs:{label:"用户姓名:"}},[e._v("\n "+e._s(e.invoice.name)+"\n ")]),n("el-form-item",{attrs:{label:"手机号:"}},[e._v("\n "+e._s(e.invoice.billphone)+"\n ")]),n("el-form-item",{attrs:{label:"支付方式:"}},[e._v("\n "+e._s(1==e.invoice.paytype?"汇款":"支票")+"\n ")]),n("el-form-item",{attrs:{label:"发票种类:"}},[e._v("\n "+e._s(1==e.invoice.billtype?"增值税普通发票":"增值税专用发票")+"\n ")]),n("el-form-item",{attrs:{label:"纳税人识别号:"}},[e._v("\n "+e._s(e.invoice.billno)+"\n ")]),n("el-form-item",{attrs:{label:"注册地址"}},[e._v("\n "+e._s(e.invoice.billaddress)+"\n ")]),n("el-form-item",{attrs:{label:"注册电话:"}},[e._v("\n "+e._s(e.invoice.billphone)+"\n ")]),n("el-form-item",{attrs:{label:"开户行:"}},[e._v("\n "+e._s(e.invoice.billbank)+"\n ")]),n("el-form-item",{attrs:{label:"银行帐号:"}},[e._v("\n "+e._s(e.invoice.billbankno)+"\n ")])],1)],1),n("el-dialog",{attrs:{width:"70%",title:"驳回原因","close-on-click-modal":!1,visible:e.dialogVisible1},on:{"update:visible":function(t){e.dialogVisible1=t}}},[n("div",{staticClass:"bh"},[n("label",[e._v("会议名称")]),e._v("\n "+e._s(e.reason.conference_name)+"\n "),n("br"),n("label",[e._v("用户姓名")]),e._v(e._s(e.reason.name)+"\n ")]),n("el-table",{staticClass:"table",staticStyle:{width:"100%"},attrs:{data:e.reason.reject_reason,"default-expand-all":"",height:"300"}},[n("el-table-column",{attrs:{prop:"ctime",label:"驳回时间"}}),n("el-table-column",{attrs:{prop:"cname",label:"驳回人"}}),n("el-table-column",{attrs:{prop:"reason",label:"驳回原因"}})],1)],1),n("el-dialog",{staticClass:"hotel",attrs:{title:"审核","close-on-click-modal":!1,visible:e.dialogVisible2},on:{"update:visible":function(t){e.dialogVisible2=t}}},[n("el-form",{attrs:{"label-width":"80px",size:"small"}},[n("el-form-item",{attrs:{label:"会议名称"}},[e._v("\n "+e._s(e.invoice.conference_name)+"\n ")]),n("el-form-item",{attrs:{label:"用户姓名"}},[e._v("\n "+e._s(e.invoice.name)+"\n ")]),n("el-form-item",{attrs:{label:"手机号"}},[e._v("\n "+e._s(e.invoice.phone)+"\n ")]),n("el-form-item",{attrs:{label:"所在城市"}}),n("el-form-item",{attrs:{label:"所属单位"}},[e._v("\n "+e._s(e.invoice.organizer_unit)+"\n ")]),n("el-form-item",{attrs:{label:"入住天数"}}),n("el-form-item",{attrs:{label:"入住时间"}},[e._v("\n "+e._s(e.invoice.room_stime)+"\n ")]),n("el-form-item",{attrs:{label:"离开时间"}},[e._v("\n "+e._s(e.invoice.room_etime)+"\n ")]),n("el-form-item",{attrs:{label:"报名时间"}},[e._v("\n "+e._s(e.invoice.ctime)+"\n ")]),n("el-form-item",{attrs:{label:"入住凭证"}}),n("el-form-item",{attrs:{label:"驳回原因"}},[n("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),n("el-form-item",{attrs:{label:""}},[n("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.check(2)}}},[e._v("通过")]),n("el-button",{attrs:{type:"danger"},on:{click:function(t){return e.check(-1)}}},[e._v("驳回")])],1)],1)],1),n("el-dialog",{staticClass:"hotel",attrs:{title:"入住凭证","close-on-click-modal":!1,visible:e.dialogVisible3},on:{"update:visible":function(t){e.dialogVisible3=t}}},[n("img",{attrs:{width:"100%",src:e.proof_img,alt:""}})])],1)},i=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("p",[n("span",[e._v("会议管理>")]),e._v("报名管理")])}],l=(n("ac67"),n("1bc78"),n("32ea"),n("28f8")),r=(n("fc02"),n("9973"));function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){Object(l["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c={components:{Page:r["a"]},data:function(){return{form:{order_status:"-2"},conferenceList:[],hotelList:[],list:[{}],reason:{},invoice:{},total:0,loading:!1,dialogVisible:!1,dialogVisible1:!1,dialogVisible2:!1,dialogVisible3:!1,proof_img:""}},methods:{download:function(){this.$api.getSignupData().then((function(e){var t=document.createElement("a"),n=new Blob([e.data],{type:"application/vnd.ms-excel,charset=UTF-8"}),a=URL.createObjectURL(n),i=decodeURIComponent(e.headers["content-disposition"].split("=")[1]);console.log(i),t.download=i,t.style.display="none",t.href=a,document.body.appendChild(t),t.click(),document.body.removeChild(t)}))},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=s({},this.form);-2==t.order_status&&(t.order_status=""),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()}},u=c,f=(n("ee5f"),n("5d22")),p=Object(f["a"])(u,a,i,!1,null,null,null);t["default"]=p.exports},"0353":function(e,t,n){"use strict";var a=n("6bf8"),i=RegExp.prototype.exec,l=String.prototype.replace,r=i,o="lastIndex",s=function(){var e=/a/,t=/b*/g;return i.call(e,"a"),i.call(t,"a"),0!==e[o]||0!==t[o]}(),c=void 0!==/()??/.exec("")[1],u=s||c;u&&(r=function(e){var t,n,r,u,f=this;return c&&(n=new RegExp("^"+f.source+"$(?!\\s)",a.call(f))),s&&(t=f[o]),r=i.call(f,e),s&&r&&(f[o]=f.global?r.index+r[0].length:t),c&&r&&r.length>1&&l.call(r[0],n,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(r[u]=void 0)})),r}),e.exports=r},"129d":function(e,t,n){"use strict";n("a210")},1374:function(e,t,n){"use strict";var a=n("bb8b"),i=n("5edc");e.exports=function(e,t,n){t in e?a.f(e,t,i(0,n)):e[t]=n}},1663:function(e,t,n){var a=n("212e"),i=n("3ab0");e.exports=function(e){return function(t,n){var l,r,o=String(i(t)),s=a(n),c=o.length;return s<0||s>=c?e?"":void 0:(l=o.charCodeAt(s),l<55296||l>56319||s+1===c||(r=o.charCodeAt(s+1))<56320||r>57343?e?o.charAt(s):l:e?o.slice(s,s+2):r-56320+(l-55296<<10)+65536)}}},"1bc78":function(e,t,n){for(var a=n("25ba"),i=n("93ca"),l=n("84e8"),r=n("0b34"),o=n("065d"),s=n("953d"),c=n("839a"),u=c("iterator"),f=c("toStringTag"),p=s.Array,b={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=i(b),m=0;m<d.length;m++){var g,v=d[m],h=b[v],_=r[v],y=_&&_.prototype;if(y&&(y[u]||o(y,u,p),y[f]||o(y,f,v),s[v]=p,h))for(g in a)y[g]||l(y,g,a[g],!0)}},"21d9":function(e,t,n){var a=n("3a4c"),i=n("065e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return a(e,i)}},"285b":function(e,t,n){var a=n("35d4"),i=n("5edc"),l=n("3471"),r=n("5d10"),o=n("4fd4"),s=n("83d3"),c=Object.getOwnPropertyDescriptor;t.f=n("26df")?c:function(e,t){if(e=l(e),t=r(t,!0),s)try{return c(e,t)}catch(n){}if(o(e,t))return i(!a.f.call(e,t),e[t])}},"28f8":function(e,t,n){"use strict";function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return a}))},"32ea":function(e,t,n){var a=n("8078"),i=n("93ca");n("b2be")("keys",(function(){return function(e){return i(a(e))}}))},"43ec":function(e,t,n){"use strict";var a=n("1663")(!0);e.exports=function(e,t,n){return t+(n?a(e,t).length:1)}},"6bf8":function(e,t,n){"use strict";var a=n("a86f");e.exports=function(){var e=a(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"804d":function(e,t,n){var a=n("9cff"),i=n("cea2"),l=n("839a")("match");e.exports=function(e){var t;return a(e)&&(void 0!==(t=e[l])?!!t:"RegExp"==i(e))}},9973:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("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=[],l={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(){}},r=l,o=(n("129d"),n("5d22")),s=Object(o["a"])(r,a,i,!1,null,null,null);t["a"]=s.exports},a210:function(e,t,n){},ac67:function(e,t,n){var a=n("e99b"),i=n("e7c8"),l=n("3471"),r=n("285b"),o=n("1374");a(a.S,"Object",{getOwnPropertyDescriptors:function(e){var t,n,a=l(e),s=r.f,c=i(a),u={},f=0;while(c.length>f)n=s(a,t=c[f++]),void 0!==n&&o(u,t,n);return u}})},b2be:function(e,t,n){var a=n("e99b"),i=n("76e3"),l=n("0926");e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],r={};r[e]=t(n),a(a.S+a.F*l((function(){n(1)})),"Object",r)}},bf73:function(e,t,n){"use strict";var a=n("0353");n("e99b")({target:"RegExp",proto:!0,forced:a!==/./.exec},{exec:a})},c46f:function(e,t,n){"use strict";n("bf73");var a=n("84e8"),i=n("065d"),l=n("0926"),r=n("3ab0"),o=n("839a"),s=n("0353"),c=o("species"),u=!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),f=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var p=o(e),b=!l((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),d=b?!l((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[c]=function(){return n}),n[p](""),!t})):void 0;if(!b||!d||"replace"===e&&!u||"split"===e&&!f){var m=/./[p],g=n(r,p,""[e],(function(e,t,n,a,i){return t.exec===s?b&&!i?{done:!0,value:m.call(t,n,a)}:{done:!0,value:e.call(n,t,a)}:{done:!1}})),v=g[0],h=g[1];a(String.prototype,e,v),i(RegExp.prototype,p,2==t?function(e,t){return h.call(e,this,t)}:function(e){return h.call(e,this)})}}},e7c8:function(e,t,n){var a=n("21d9"),i=n("0c29"),l=n("a86f"),r=n("0b34").Reflect;e.exports=r&&r.ownKeys||function(e){var t=a.f(l(e)),n=i.f;return n?t.concat(n(e)):t}},ee5f:function(e,t,n){"use strict";n("004a")},f417:function(e,t,n){"use strict";var a=n("d445"),i=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var l=n.call(e,t);if("object"!==typeof l)throw new TypeError("RegExp exec method returned something other than an Object or null");return l}if("RegExp"!==a(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},fc02:function(e,t,n){"use strict";var a=n("804d"),i=n("a86f"),l=n("1b0b"),r=n("43ec"),o=n("201c"),s=n("f417"),c=n("0353"),u=n("0926"),f=Math.min,p=[].push,b="split",d="length",m="lastIndex",g=4294967295,v=!u((function(){RegExp(g,"y")}));n("c46f")("split",2,(function(e,t,n,u){var h;return h="c"=="abbc"[b](/(b)*/)[1]||4!="test"[b](/(?:)/,-1)[d]||2!="ab"[b](/(?:ab)*/)[d]||4!="."[b](/(.?)(.?)/)[d]||"."[b](/()()/)[d]>1||""[b](/.?/)[d]?function(e,t){var i=String(this);if(void 0===e&&0===t)return[];if(!a(e))return n.call(i,e,t);var l,r,o,s=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,b=void 0===t?g:t>>>0,v=new RegExp(e.source,u+"g");while(l=c.call(v,i)){if(r=v[m],r>f&&(s.push(i.slice(f,l.index)),l[d]>1&&l.index<i[d]&&p.apply(s,l.slice(1)),o=l[0][d],f=r,s[d]>=b))break;v[m]===l.index&&v[m]++}return f===i[d]?!o&&v.test("")||s.push(""):s.push(i.slice(f)),s[d]>b?s.slice(0,b):s}:"0"[b](void 0,0)[d]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,a){var i=e(this),l=void 0==n?void 0:n[t];return void 0!==l?l.call(n,i,a):h.call(String(i),n,a)},function(e,t){var a=u(h,e,this,t,h!==n);if(a.done)return a.value;var c=i(e),p=String(this),b=l(c,RegExp),d=c.unicode,m=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(v?"y":"g"),_=new b(v?c:"^(?:"+c.source+")",m),y=void 0===t?g:t>>>0;if(0===y)return[];if(0===p.length)return null===s(_,p)?[p]:[];var x=0,w=0,k=[];while(w<p.length){_.lastIndex=v?w:0;var S,L=s(_,v?p:p.slice(w));if(null===L||(S=f(o(_.lastIndex+(v?0:w)),p.length))===x)w=r(p,w,d);else{if(k.push(p.slice(x,w)),k.length===y)return k;for(var O=1;O<=L.length-1;O++)if(k.push(L[O]),k.length===y)return k;w=x=S}}return k.push(p.slice(x)),k}]}))}}]);
- //# sourceMappingURL=chunk-a706994e.1b4c1038.js.map
|