(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-354d3e22"],{"0353":function(e,t,a){"use strict";var n=a("6bf8"),i=RegExp.prototype.exec,l=String.prototype.replace,r=i,o="lastIndex",c=function(){var e=/a/,t=/b*/g;return i.call(e,"a"),i.call(t,"a"),0!==e[o]||0!==t[o]}(),s=void 0!==/()??/.exec("")[1],u=c||s;u&&(r=function(e){var t,a,r,u,d=this;return s&&(a=new RegExp("^"+d.source+"$(?!\\s)",n.call(d))),c&&(t=d[o]),r=i.call(d,e),c&&r&&(d[o]=d.global?r.index+r[0].length:t),s&&r&&r.length>1&&l.call(r[0],a,(function(){for(u=1;u=s?e?"":void 0:(l=o.charCodeAt(c),l<55296||l>56319||c+1===s||(r=o.charCodeAt(c+1))<56320||r>57343?e?o.charAt(c):l:e?o.slice(c,c+2):r-56320+(l-55296<<10)+65536)}}},3900:function(e,t,a){},"43ec":function(e,t,a){"use strict";var n=a("1663")(!0);e.exports=function(e,t,a){return t+(a?n(e,t).length:1)}},"6bf8":function(e,t,a){"use strict";var n=a("a86f");e.exports=function(){var e=n(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,a){var n=a("9cff"),i=a("cea2"),l=a("839a")("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[l])?!!t:"RegExp"==i(e))}},9973:function(e,t,a){"use strict";var n=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=[],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=(a("129d"),a("5d22")),c=Object(o["a"])(r,n,i,!1,null,null,null);t["a"]=c.exports},"9be7":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:"checker"},[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-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.conference_list,(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-input",{attrs:{clearable:"",placeholder:"请输入姓名"},model:{value:e.form.user_name,callback:function(t){e.$set(e.form,"user_name",t)},expression:"form.user_name"}})],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:{icon:"el-icon-plud",type:"primary"},on:{click:function(t){e.dialogVisible=!0}}},[e._v("添加核销员")]),a("el-button",{attrs:{plain:"",icon:"el-icon-download",type:"primary"},on:{click:e.download}},[e._v("导出Excel")])],1)],1)],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:"59vh",border:"","default-expand-all":"","row-key":"id"}},[a("el-table-column",{attrs:{prop:"name",label:"核销员头像"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("img",{attrs:{width:"100",src:e.row.user_avatar,alt:""}})]}}])}),a("el-table-column",{attrs:{prop:"user_name",label:"核销员昵称"}}),a("el-table-column",{attrs:{prop:"conference_name",label:"所属会议"}}),a("el-table-column",{attrs:{prop:"ctime",label:"加入时间"}}),a("el-table-column",{attrs:{prop:"",label:"核销详细"}}),a("el-table-column",{attrs:{prop:"zip",width:"100",fixed:"right",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{staticClass:"edit",attrs:{type:"text"},on:{click:function(a){return e.del(t.row.id)}}},[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",{attrs:{width:"70%",title:"添加核销员","close-on-click-modal":!1,visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("el-table",{staticClass:"table",staticStyle:{width:"100%"},attrs:{data:e.conference_list,"default-expand-all":""}},[a("el-table-column",{attrs:{width:"55"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-radio",{attrs:{label:t.row.id},model:{value:e.check,callback:function(t){e.check=t},expression:"check"}},[e._v(" ")])]}}])}),a("el-table-column",{attrs:{prop:"name",label:"会议名称"}}),a("el-table-column",{attrs:{prop:"name",label:"会议头像"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("img",{attrs:{width:"100",src:e.row.img,alt:""}})]}}])}),a("el-table-column",{attrs:{prop:"ctime",label:"创建时间"}})],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.sure}},[e._v("确 定")])],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("el-input",{attrs:{clearable:"",placeholder:"请输入姓名"},on:{change:e.getUser},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}},[a("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.getUser},slot:"append"})],1),a("el-table",{staticClass:"table",staticStyle:{width:"100%","margin-top":"10px"},attrs:{data:e.user_list,height:"400","default-expand-all":""}},[a("el-table-column",{attrs:{width:"55"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-radio",{attrs:{label:t.row.id},model:{value:e.check1,callback:function(t){e.check1=t},expression:"check1"}},[e._v(" ")])]}}])}),a("el-table-column",{attrs:{prop:"nickname",label:"用户昵称"}}),a("el-table-column",{attrs:{prop:"",label:"用户头像"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("img",{attrs:{width:"100",src:e.row.avatar,alt:""}})]}}])})],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{size:"small"},on:{click:function(t){e.dialogVisible1=!1}}},[e._v("返回")]),a("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.add}},[e._v("确认选择")])],1)],1)],1)},i=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",[a("span",[e._v("会议管理>")]),e._v("核销员管理")])}],l=(a("a450"),a("fc02"),a("9973")),r={components:{Page:l["a"]},data:function(){return{form:{},list:[{}],dialogVisible:!1,dialogVisible1:!1,conference_list:[],user_list:[],loading:!1,total:0,check:"",check1:"",name:""}},methods:{download:function(){this.$api.getVerifierData().then((function(e){var t=document.createElement("a"),a=new Blob([e.data],{type:"application/vnd.ms-excel,charset=UTF-8"}),n=URL.createObjectURL(a),i=decodeURIComponent(e.headers["content-disposition"].split("=")[1]);console.log(i),t.download=i,t.style.display="none",t.href=n,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()},add:function(){var e=this;this.$api.addVerifier({conference_id:this.check,user_id:this.check1}).then((function(t){0==t.data.code?(e.$message({message:"添加成功",type:"success"}),e.dialogVisible=!1,e.dialogVisible1=!1,e.getData()):e.$message({message:t.data.message,type:"error"})}))},del:function(e){var t=this;this.$confirm("确定解除","提示",{type:"warning"}).then((function(){t.$api.deleteVerifier({id:e}).then((function(e){0==e.data.code?(t.$message({message:"解除成功",type:"success"}),t.getData()):t.$message.error(e.data.message)}))}))},getData:function(){var e=this,t=this.form;this.loading=!0,this.$api.getVerifierList(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.conference_list=t.data.data.list}))},getUser:function(){var e=this;this.$api.getUserinfoList({name:this.name}).then((function(t){e.user_list=t.data.data.list}))},sure:function(){this.check?this.dialogVisible1=!0:this.$message({message:"请选择会议",type:"error"})}},created:function(){this.getData(),this.getUser()}},o=r,c=(a("b6a7"),a("5d22")),s=Object(c["a"])(o,n,i,!1,null,null,null);t["default"]=s.exports},a210:function(e,t,a){},a450:function(e,t,a){var n=a("bb8b").f,i=Function.prototype,l=/^\s*function ([^ (]*)/,r="name";r in i||a("26df")&&n(i,r,{configurable:!0,get:function(){try{return(""+this).match(l)[1]}catch(e){return""}}})},b6a7:function(e,t,a){"use strict";a("3900")},bf73:function(e,t,a){"use strict";var n=a("0353");a("e99b")({target:"RegExp",proto:!0,forced:n!==/./.exec},{exec:n})},c46f:function(e,t,a){"use strict";a("bf73");var n=a("84e8"),i=a("065d"),l=a("0926"),r=a("3ab0"),o=a("839a"),c=a("0353"),s=o("species"),u=!l((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 f=o(e),p=!l((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),g=p?!l((function(){var t=!1,a=/a/;return a.exec=function(){return t=!0,null},"split"===e&&(a.constructor={},a.constructor[s]=function(){return a}),a[f](""),!t})):void 0;if(!p||!g||"replace"===e&&!u||"split"===e&&!d){var h=/./[f],m=a(r,f,""[e],(function(e,t,a,n,i){return t.exec===c?p&&!i?{done:!0,value:h.call(t,a,n)}:{done:!0,value:e.call(a,t,n)}:{done:!1}})),b=m[0],v=m[1];n(String.prototype,e,b),i(RegExp.prototype,f,2==t?function(e,t){return v.call(e,this,t)}:function(e){return v.call(e,this)})}}},f417:function(e,t,a){"use strict";var n=a("d445"),i=RegExp.prototype.exec;e.exports=function(e,t){var a=e.exec;if("function"===typeof a){var l=a.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"!==n(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},fc02:function(e,t,a){"use strict";var n=a("804d"),i=a("a86f"),l=a("1b0b"),r=a("43ec"),o=a("201c"),c=a("f417"),s=a("0353"),u=a("0926"),d=Math.min,f=[].push,p="split",g="length",h="lastIndex",m=4294967295,b=!u((function(){RegExp(m,"y")}));a("c46f")("split",2,(function(e,t,a,u){var v;return v="c"=="abbc"[p](/(b)*/)[1]||4!="test"[p](/(?:)/,-1)[g]||2!="ab"[p](/(?:ab)*/)[g]||4!="."[p](/(.?)(.?)/)[g]||"."[p](/()()/)[g]>1||""[p](/.?/)[g]?function(e,t){var i=String(this);if(void 0===e&&0===t)return[];if(!n(e))return a.call(i,e,t);var l,r,o,c=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,p=void 0===t?m:t>>>0,b=new RegExp(e.source,u+"g");while(l=s.call(b,i)){if(r=b[h],r>d&&(c.push(i.slice(d,l.index)),l[g]>1&&l.index=p))break;b[h]===l.index&&b[h]++}return d===i[g]?!o&&b.test("")||c.push(""):c.push(i.slice(d)),c[g]>p?c.slice(0,p):c}:"0"[p](void 0,0)[g]?function(e,t){return void 0===e&&0===t?[]:a.call(this,e,t)}:a,[function(a,n){var i=e(this),l=void 0==a?void 0:a[t];return void 0!==l?l.call(a,i,n):v.call(String(i),a,n)},function(e,t){var n=u(v,e,this,t,v!==a);if(n.done)return n.value;var s=i(e),f=String(this),p=l(s,RegExp),g=s.unicode,h=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(b?"y":"g"),x=new p(b?s:"^(?:"+s.source+")",h),y=void 0===t?m:t>>>0;if(0===y)return[];if(0===f.length)return null===c(x,f)?[f]:[];var _=0,k=0,w=[];while(k