公司小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
5.2 KiB

3 years ago
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/KeHu/KeHu"],{259:function(e,t,n){"use strict";n.r(t);var u=n(463),o=n(305);for(var a in o)"default"!==a&&function(e){n.d(t,e,(function(){return o[e]}))}(a);n(422);var s,r=n(1),i=Object(r["a"])(o["default"],u["b"],u["c"],!1,null,"49775238",null,!1,u["a"],s);i.options.__file="components/KeHu/KeHu.vue",t["default"]=i.exports},305:function(e,t,n){"use strict";n.r(t);var u=n(306),o=n.n(u);for(var a in u)"default"!==a&&function(e){n.d(t,e,(function(){return u[e]}))}(a);t["default"]=o.a},306:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=o(n(260));function o(e){return e&&e.__esModule?e:{default:e}}var a=u.default.tabs,s=0,r=u.default.infoTitles,i=u.default.statusDefines,c=getApp().globalData.customermanager,l=getApp().globalData.Define,m=getApp().globalData.mainPageData,d={name:"KeHu",created:function(){var e=this;console.log("KeHu Created!!!!!"),m.keHuToppic.get(),this.onChangeTabIndex({index:0});var t=l.FireKeys.AddNewCustomerSuccess;this.$fire.on(t,(function(t){e.customermanager.allCustom.clear(),e.customermanager.waitCustom.clear(),e.customermanager.allCustom.getNextPage(),e.customermanager.waitCustom.getNextPage()}));var n=l.FireKeys.WeChatLoginSuccess;this.$fire.on(n,(function(t){e.customermanager.allCustom.clear(),e.customermanager.waitCustom.clear(),e.customermanager.allCustom.getNextPage(),e.customermanager.waitCustom.getNextPage()}))},destroyed:function(){var e=l.FireKeys.AddNewCustomerSuccess;this.$fire.off(e),this.$fire.off(l.FireKeys.WeChatLoginSuccess)},data:function(){return{customermanager:c,tabs:a,currentTabIndex:s,infoTitles:r,statusDefines:i,mainPageData:m}},methods:{getListKey:function(){var e=this.currentTabIndex;return e+"_"+this.specialKey},onClickAddNew:function(){var t=m.partnerstatus,n="";0==t?n="请先申请成为官方合作人员":1==t?n="您的申请已收到,请等待工作人员审核":2==t||(n="您的申请已被拒绝,请重新申请"),""==n?e.navigateTo({url:"/pages/AddNewCustomer/AddNewCustomer"}):e.$u.toast(n)},getCustomerToShow:function(){var e=this.currentTabIndex,t=this.customermanager.getTargetGroupByIndex(e);return t.customerinfo},onChangeTabIndex:function(e){var t=e.index;this.currentTabIndex=t;var n=this.customermanager.getTargetGroupByIndex(t);0==n.allCount&&n.getNextPage()},getStatusName:function(e){var t=this.statusDefines.length;return e>=t||e<0?{str:"错误",color:"#ff0000"}:this.statusDefines[e]},listScrollToBottom:function(){console.log("end of the custom list");var e=this.customermanager.getTargetGroupByIndex(this.currentTabIndex);e.getNextPage()},onTouchOneItem:function(t){var n=this.getCustomerToShow(),u=n[t],o=u.status;console.log("customer status => ",o),1==o&&(getApp().globalData.editingCustomer=u,e.navigateTo({url:"/pages/AddNewCustomer/AddNewCustomer"}))}}};t.default=d}).call(this,n(0)["default"])},307:function(e,t,n){},422:function(e,t,n){"use strict";var u=n(307),o=n.n(u);o.a},463:function(e,t,n){"use strict";var u;n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return u}));try{u={uGap:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-gap/u-gap")]).then(n.bind(null,509))},uTabs:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-tabs/u-tabs")]).then(n.bind(null,519))},uLine:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-line/u-line")]).then(n.bind(null,506))},uList:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-list/u-list")]).then(n.bind(null,513))},uListItem:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-list-item/u-list-item")]).then(n.bind(null,514))}}}catch(s){if(-1===s.message.indexOf("Cannot find module")||-1===s.message.indexOf(".vue"))throw s;console.error(s.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easy
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/KeHu/KeHu.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/KeHu/KeHu-create-component',
{
'components/KeHu/KeHu-create-component':(function(module, exports, __webpack_require__){
3 years ago
__webpack_require__('0')['createComponent'](__webpack_require__(259))
})
},
[['components/KeHu/KeHu-create-component']]
]);