12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8372d988"],{"129d":function(t,e,a){"use strict";a("a210")},3900:function(t,e,a){},9973:function(t,e,a){"use strict";var l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-pagination",{attrs:{background:"","page-size":t.page_size?t.page_size:20,"current-page":t.current,"page-sizes":[10,20,30,40,50,60,70,80,90,100],layout:"total,sizes,prev, pager, next",total:t.total},on:{"current-change":t.getData,"size-change":t.handleSizeChange}})},i=[],o={data:function(){return{page:1}},props:{total:"",page_size:"",current:""},methods:{getData:function(t){this.page=t,this.$emit("pageChange")},handleSizeChange:function(t){this.$emit("pageChange",t)}},created:function(){}},s=o,n=(a("129d"),a("5d22")),r=Object(n["a"])(s,l,i,!1,null,null,null);e["a"]=r.exports},"9be7":function(t,e,a){"use strict";a.r(e);var l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"checker"},[t._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:t.form.id,callback:function(e){t.$set(t.form,"id",e)},expression:"form.id"}})],1),a("el-form-item",{attrs:{label:""}},[a("el-select",{attrs:{clearable:"",placeholder:"请选择核销员"},model:{value:t.form.id,callback:function(e){t.$set(t.form,"id",e)},expression:"form.id"}})],1),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:t.getData}},[t._v("搜索")])],1),a("el-form-item",{staticStyle:{float:"right"}},[a("el-button",{attrs:{icon:"el-icon-plud",type:"primary"},on:{click:function(e){t.dialogVisible=!0}}},[t._v("添加核销员")]),a("el-button",{attrs:{plain:"",icon:"el-icon-download",type:"primary"}},[t._v("导出Excel")])],1)],1)],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"table",staticStyle:{width:"100%"},attrs:{data:t.list,height:"59vh",border:"","default-expand-all":"","row-key":"id"}},[a("el-table-column",{attrs:{prop:"name",label:"核销员头像"},scopedSlots:t._u([{key:"default",fn:function(t){return[a("img",{attrs:{width:"100",src:t.row.avatar,alt:""}})]}}])}),a("el-table-column",{attrs:{prop:"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:"操作"}},[[a("el-button",{staticClass:"edit",attrs:{type:"text"},on:{click:function(e){return t.del(t.scope.row.id)}}},[t._v("解除核销员")])]],2)],1),a("Page",{ref:"pageButton",attrs:{current:t.form.page,page_size:t.form.page_size,total:t.total},on:{pageChange:t.gopage}})],1),a("el-dialog",{attrs:{width:"70%",title:"添加核销员","close-on-click-modal":!1,visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("el-button",{attrs:{size:"small",type:"primary"}},[t._v("点击获取会议列表")]),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{size:"small",type:"primary"}},[t._v("确 定")])],1)],1),a("el-dialog",{attrs:{width:"70%",title:"会议列表","close-on-click-modal":!1,visible:t.dialogVisible1},on:{"update:visible":function(e){t.dialogVisible1=e}}},[a("el-table",{staticClass:"table",staticStyle:{width:"100%"},attrs:{data:t.list,"default-expand-all":""}},[a("el-table-column",{attrs:{prop:"name",label:"会议名称"}}),a("el-table-column",{attrs:{prop:"name",label:"会议头像"}}),a("el-table-column",{attrs:{prop:"name",label:"创建时间"}})],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{size:"small",type:"primary"}},[t._v("确 定")])],1)],1)],1)},i=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",[a("span",[t._v("会议管理>")]),t._v("核销员管理")])}],o=a("9973"),s={components:{Page:o["a"]},data:function(){return{form:{},list:[{}],dialogVisible:!1,dialogVisible1:!1,loading:!1,total:0}},methods:{gopage:function(t){t&&(this.form.page_size=t),this.form.page=this.$refs.pageButton.page,this.getData()},del:function(t){var e=this;this.$confirm("确定删除吗","提示",{type:"warning"}).then((function(){e.$api.delUser({id:t}).then((function(t){0==t.data.code?(e.$message({message:"删除成功",type:"success"}),e.getData()):e.$message.error(t.data.message)}))}))},getData:function(){var t=this,e=this.form;this.loading=!0,this.$api.getVerifierList(e).then((function(e){t.list=e.data.data.list,t.total=e.data.data.total,t.loading=!1}))}},created:function(){this.getData()}},n=s,r=(a("b6a7"),a("5d22")),c=Object(r["a"])(n,l,i,!1,null,null,null);e["default"]=c.exports},a210:function(t,e,a){},b6a7:function(t,e,a){"use strict";a("3900")}}]);
- //# sourceMappingURL=chunk-8372d988.2ef39f68.js.map
|