| 1 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["admin/custom/selectCustom"],{a99c:function(t,n,e){"use strict";var i;e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return c})),e.d(n,"a",(function(){return i}));var o=function(){var t=this,n=t.$createElement,e=(t._self._c,t.$util.isEmpty(t.list.data)),i=e?t.$util.isEmpty(t.list.data):null;t.$mp.data=Object.assign({},{$root:{g0:e,g1:i}})},c=[]},c2a8:function(t,n,e){"use strict";(function(t){e("6cdc");i(e("4a15"));var n=i(e("fecf"));function i(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("f3be")["createPage"])},c2c4:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=e("1b62"),o=e("5315"),c=function(){e.e("components/plugin/list-cell").then(function(){return resolve(e("1861"))}.bind(null,e)).catch(e.oe)},u=function(){e.e("components/plugin/badge").then(function(){return resolve(e("ec84"))}.bind(null,e)).catch(e.oe)},s=function(){e.e("components/app-wrapper-empty").then(function(){return resolve(e("c078"))}.bind(null,e)).catch(e.oe)},a=function(){e.e("components/module/app-vip").then(function(){return resolve(e("d9e5"))}.bind(null,e)).catch(e.oe)},l=function(){e.e("components/module/app-tag").then(function(){return resolve(e("1a62"))}.bind(null,e)).catch(e.oe)},r=function(){e.e("components/module/app-search").then(function(){return resolve(e("80f2"))}.bind(null,e)).catch(e.oe)},f={name:"selectCustom",components:{TuiListCell:c,BadgeModule:u,AppWrapperEmpty:s,appVipModule:a,AppTag:l,AppSearchModule:r},mixins:[i.list],data:function(){return{tabIndex:0}},onPullDownRefresh:function(){this.resetList(),this._list().then((function(n){t.stopPullDownRefresh()}))},onReachBottom:function(){this.list.finished?t.stopPullDownRefresh():this._list().then((function(n){t.stopPullDownRefresh()}))},onLoad:function(t){},onShow:function(){t.removeStorageSync("newClient")},methods:{selectCurrent:function(n){var e=this.option.style?this.option.style:1;if(1==e)this.$util.pageTo({url:"/admin/billing/index",type:2,query:{customId:n.id,customName:n.name}});else if(2==e){var i=getCurrentPages(),o=i[i.length-2];o.$vm.form.customId=n.id,o.$vm.form.customName=n.name,t.navigateBack({})}},init:function(){this.AUTHORITY_SHOW||this._list()},searchFn:function(t){this.resetList(),this.seekVal=t,this._list()},_list:function(){var t=this;return(0,o.getList)({search:"",type:this.tabIndex,page:this.list.page,name:this.seekVal}).then((function(n){if(t.completes(n),t.$util.isEmpty(n.data))return!1}))},change:function(t){if(this.tabIndex==t.index)return!1;this.tabIndex=t.index,this.resetList(),this._list()}}};n.default=f}).call(this,e("f3be")["default"])},c446:function(t,n,e){"use strict";var i=e("f1d8"),o=e.n(i);o.a},e1c5:function(t,n,e){"use strict";e.r(n);var i=e("c2c4"),o=e.n(i);for(var c in i)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(c);n["default"]=o.a},f1d8:function(t,n,e){},fecf:function(t,n,e){"use strict";e.r(n);var i=e("a99c"),o=e("e1c5");for(var c in o)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(c);e("c446");var u,s=e("0095"),a=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,"4d4f3010",null,!1,i["a"],u);n["default"]=a.exports}},[["c2a8","common/runtime","common/vendor"]]]);
|