1 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/saler/check"],{"02c5":function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return r}));var r={wmWatermark:function(){return n.e("components/wm-watermark/wm-watermark").then(n.bind(null,"e144"))},uEmpty:function(){return n.e("uni_modules/vk-uview-ui/components/u-empty/u-empty").then(n.bind(null,"078a"))},uIcon:function(){return n.e("uni_modules/vk-uview-ui/components/u-icon/u-icon").then(n.bind(null,"ccaa"))},uTag:function(){return n.e("uni_modules/vk-uview-ui/components/u-tag/u-tag").then(n.bind(null,"e7ff"))},uPopup:function(){return n.e("uni_modules/vk-uview-ui/components/u-popup/u-popup").then(n.bind(null,"7401"))},uInput:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/vk-uview-ui/components/u-input/u-input")]).then(n.bind(null,"830c"))},uDivider:function(){return n.e("uni_modules/vk-uview-ui/components/u-divider/u-divider").then(n.bind(null,"9569"))},uButton:function(){return n.e("uni_modules/vk-uview-ui/components/u-button/u-button").then(n.bind(null,"51b1b"))},uLoadmore:function(){return n.e("uni_modules/vk-uview-ui/components/u-loadmore/u-loadmore").then(n.bind(null,"8b52"))}},o=function(){var e=this,t=e.$createElement,n=(e._self._c,e.customerList.length),r=e.customerList.length;e._isMounted||(e.e0=function(t){e.searchPopupShow=!0},e.e1=function(t){e.searchPopupShow=!1},e.e2=function(t){e.isReferrerShow=!1}),e.$mp.data=Object.assign({},{$root:{g0:n,g1:r}})},u=[]},"42e4":function(e,t,n){},"7fdd":function(e,t,n){"use strict";n.r(t);var r=n("e3e4"),o=n.n(r);for(var u in r)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(u);t["default"]=o.a},b73e:function(e,t,n){"use strict";var r=n("42e4"),o=n.n(r);o.a},d8b1:function(e,t,n){"use strict";n.r(t);var r=n("02c5"),o=n("7fdd");for(var u in o)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(u);n("b73e");var i=n("f0c5"),a=Object(i["a"])(o["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);t["default"]=a.exports},e3e4:function(e,t,n){"use strict";(function(e){var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("448a")),u=r(n("9523")),i=n("66f6"),a=r(n("1bf8"));function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,u.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f={components:{wmWatermark:function(){n.e("components/wm-watermark/wm-watermark").then(function(){return resolve(n("e144"))}.bind(null,n)).catch(n.oe)}},data:function(){return{isReferrerShow:!1,curReferrer:"",curObj:{},searchKeyword:null,searchPopupShow:!1,searchFormData:{name:"",phone:""},orderMethod:0,filterDropdownValue:{},customerList:[],stepList:["审核中","未到访","已到访","已认购","已签约","已结佣"],loadmore:{status:"loadmore",loadingText:"努力加载中",defaultText:"轻轻上拉 查看更多",nomoreText:"实在没有了",currnetPage:1},curRoles:"",userInfo2:{},authStateObj:{},groupTypeObj:{}}},onLoad:function(t){this.getDataList(),this.userInfo2=e.getStorageSync("MD_userInfo2"),this.curRoles=e.getStorageSync("MD_userInfo2")?e.getStorageSync("MD_userInfo2").roles:"";var n=e.getStorageSync("MD_dict");this.authStateObj=(0,i.arrToObj)(n.auth_state),this.groupTypeObj=(0,i.arrToObj)(n.group_type)},onReachBottom:function(){"nomore"!=this.loadmore.status&&(this.loadmore.currnetPage++,this.getDataList())},onPullDownRefresh:function(){},methods:{openReferrerPopup:function(e){this.curReferrer=e.referrer,this.curObj=e||{},this.isReferrerShow=!0},closeReferrerPopup:function(){var t=this;e.api.base.apiuserreferreredit({id:this.curObj.id,referrer:this.curReferrer}).then((function(n){e.$msg("修改成功"),t.isReferrerShow=!1,t.getDataList()}))},dial:function(t){e.makePhoneCall({phoneNumber:t})},previewImgHandle:function(t,n){e.previewImage({current:t,urls:n})},itemImgShowHandle:function(e){var t=this.customerList||[];t[e].isImgShow=!t[e].isImgShow,this.customerList=JSON.parse(JSON.stringify(t))},copyTextHandle:function(t){(0,a.default)({content:"".concat(t.name,"-").concat("male"==t.sex?"男":"女","-").concat(t.phone),success:function(t){e.showToast({title:t,icon:"none"})},error:function(t){e.showToast({title:t,icon:"none",duration:3e3})}})},getDataList:function(t){var n=this,r=s({},this.searchFormData);n.orderMethod>0&&(1===n.orderMethod&&(r.order_by=JSON.stringify([{field:"create_at",sort:"desc"}])),2===n.orderMethod&&(r.order_by=JSON.stringify([{field:"create_at",sort:"asc"}]))),e.api.base.apiuserauthlist(s({page:n.loadmore.currnetPage},r)).then((function(r){var u=r.list||[];u.map((function(e){e.isImgShow=!1})),u.length<10&&(n.loadmore.status="nomore"),1===r.current_page?(0===u.length&&e.$msg("暂无待审核人员","none"),n.customerList=(0,o.default)(u)):n.customerList=n.customerList.concat(u),t&&t()}))},customBack:function(){e.navigateBack()},pageTo:function(t,n){e.navigateTo({url:t,events:{update:function(e){}},success:function(e){e.eventChannel.emit("data",n)}})},searchHandle:function(){var e=this;this.loadmore.currnetPage=1,this.getDataList((function(){e.searchPopupShow=!1}))},getTime:function(e){var t=e?new Date(e):new Date,n=t.getFullYear(),r=t.getMonth()+1;r=r>9?r:"0"+r;var o=t.getDate();o=o>9?o:"0"+o;var u=t.getHours();u=u>9?u:"0"+u;var i=t.getMinutes();i=i>9?i:"0"+i;var a=t.getSeconds();return a=a>9?a:"0"+a,"".concat(n,"-").concat(r,"-").concat(o," ").concat(u,":").concat(i,":").concat(a)}}};t.default=f}).call(this,n("543d")["default"])},fe97:function(e,t,n){"use strict";(function(e,t){var r=n("4ea4");n("2ab2");r(n("66fd"));var o=r(n("d8b1"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(o.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])}},[["fe97","common/runtime","common/vendor"]]]);
|