(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-690981ae"],{"0330":function(e,t,a){"use strict";a("c18b")},"129d":function(e,t,a){"use strict";a("a210")},"34bf":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",[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",[a("el-button",{attrs:{type:"primary"}},[e._v("搜索")])],1),a("el-form-item",{staticStyle:{float:"right"}},[a("el-button",{attrs:{type:"primary"},on:{click:e.addConference}},[e._v("新增会议")])],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:"50vh",border:"","default-expand-all":"","row-key":"id"}},[a("el-table-column",{attrs:{prop:"name",label:"会议名称"}}),a("el-table-column",{attrs:{prop:"username",label:"会议海报"}}),a("el-table-column",{attrs:{prop:"username",label:"主办方"}}),a("el-table-column",{attrs:{prop:"username",label:"主讲人"}}),a("el-table-column",{attrs:{prop:"",label:"会议时间"}}),a("el-table-column",{attrs:{prop:"",label:"会议简介"}}),a("el-table-column",{attrs:{prop:"",label:"酒店信息"}}),a("el-table-column",{attrs:{prop:"",label:"状态"}}),a("el-table-column",{attrs:{prop:"zip",width:"150",label:"操作"}},[[a("el-button",{staticClass:"edit",attrs:{type:"text"},on:{click:function(t){e.dialogVisible=!0,e.edit=0}}},[e._v("编辑")]),a("el-button",{staticClass:"del",attrs:{type:"text"},on:{click:e.del}},[e._v("删除")])]],2)],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:{title:e.dialogTitle,"close-on-click-modal":!1,visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("el-form",{staticClass:"preview",attrs:{size:"small",inline:!1,"label-width":"80px"}},[a("el-form-item",{attrs:{label:"角色名称"}},[a("el-input",{model:{value:e.form1.name,callback:function(t){e.$set(e.form1,"name",t)},expression:"form1.name"}})],1),a("el-form-item",{attrs:{label:"角色权限"}},[a("el-tree",{attrs:{data:e.data,"show-checkbox":"","node-key":"id","default-expand-all":"",props:e.defaultProps}})],1),a("el-form-item",{attrs:{label:"角色描述"}},[a("el-input",{model:{value:e.form1.desc,callback:function(t){e.$set(e.form1,"desc",t)},expression:"form1.desc"}})],1)],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(t){e.dialogVisible=!1}}},[e._v("确 定")])],1)],1)],1)},n=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",[a("span",[e._v("会议系统>")]),e._v("会议管理")])}],i=a("9973"),o={components:{Page:i["a"]},data:function(){return{edit:0,form:{name:"",page:1,page_size:20},form1:{},total:1,list:[{name:"2333"}],loading:!1,input:"",dialogVisible:!1,dialogTitle:"",defaultProps:{},data:[]}},methods:{addConference:function(){this.$router.push({path:"/conference/conference/add"})},gopage:function(e){e&&(this.form.page_size=e),this.form.page=this.$refs.pageButton.page,this.getData()},getPermissions:function(){var e=this;this.$api.getUserPermissions().then((function(t){e.data=t.data.data}))},getData:function(){var e=this,t=this.form;this.loading=!0,this.$api.getEnterpriseList(t).then((function(t){e.list=t.data.data.list,e.total=t.data.data.total,e.loading=!1}))},del:function(e){var t=this;this.$confirm("确定删除吗","提示",{type:"warning"}).then((function(){t.$api.deleteEnterprise({id:e}).then((function(e){t.$message({message:"删除成功",type:"success"}),t.getData()}))}))}},created:function(){}},s=o,r=(a("0330"),a("5d22")),c=Object(r["a"])(s,l,n,!1,null,null,null);t["default"]=c.exports},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}})},n=[],i={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=i,s=(a("129d"),a("5d22")),r=Object(s["a"])(o,l,n,!1,null,null,null);t["a"]=r.exports},a210:function(e,t,a){},c18b:function(e,t,a){}}]); //# sourceMappingURL=chunk-690981ae.9e4017ec.js.map