企微助手 ,仓库名 短剧

89.2c8ae0658bba4e503dd6.js 2.7KB

1
  1. webpackJsonp([89],{Dovo:function(e,t){},Vrht:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("Xxa5"),o=a.n(n),r=a("exGp"),i=a.n(r),s={components:{selfInput:a("McOJ").a},data:function(){return{heigth:"",loading:!1,page:1,pages:0,total:0,page_size:40,keyword:"",list:[]}},created:function(){this.height=document.documentElement.clientHeight-220>400?document.documentElement.clientHeight-220:400,this.handleGetList()},methods:{handleCurrentChange:function(e){this.page=e,this.handleGetList(e)},handleGetList:function(){var e=this;return i()(o.a.mark(function t(){var a,n,r,i;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e.loading=!0,a=""+e.URL.BASEURL+e.URL.dataBoardHS_adqAccountList,n={is_select:0,page:e.page,page_size:e.page_size,keyword:e.keyword},t.next=6,e.$axios.get(a,{params:n});case 6:r=t.sent,(i=r.data)&&0==i.errno?(e.list=i.rst.data,e.total=i.rst.pageInfo.total,e.pages=i.rst.pageInfo.pages):4002!=i.errno&&e.$message.warning(i.err),t.next=14;break;case 11:t.prev=11,t.t0=t.catch(0),console.log("error => ",t.t0);case 14:return t.prev=14,e.loading=!1,t.finish(14);case 17:case"end":return t.stop()}},t,e,[[0,11,14,17]])}))()},onInputKeyword:function(e){this.keyword=e||"",this.page=1,this.handleGetList()}}},l={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}]},[a("div",{staticClass:"screenBox"},[a("div",{staticClass:"totalCustom"},[e._v("已授权"),a("span",[e._v(e._s(e.total))]),e._v("个ADQ账号")]),e._v(" "),a("selfInput",{attrs:{label_name:"ADQ账号",labelWidth:""},on:{inputChange:e.onInputKeyword}})],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{height:e.height,data:e.list,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"account_id","min-width":"200",label:"ADQ投放账号ID","show-overflow-tooltip":"",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{prop:"create_time","min-width":"200",label:"授权时间","show-overflow-tooltip":"",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{prop:"bind_account_list","min-width":"200",label:"公众号","show-overflow-tooltip":"",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[a("span",[e._v(e._s(n.bind_account_list||"-"))])]}}])})],1),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],staticClass:"pagination"},[a("el-pagination",{attrs:{background:"","current-page":e.page,layout:"prev, pager, next","page-count":Number(e.pages)},on:{"current-change":e.handleCurrentChange}})],1)],1)},staticRenderFns:[]};var c=a("VU/8")(s,l,!1,function(e){a("Dovo")},"data-v-4609a5d0",null);t.default=c.exports}});