1 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/saler/check"],{6603:function(e,t,n){"use strict";n.r(t);var o=n("8e6b"),r=n.n(o);for(var u in o)"default"!==u&&function(e){n.d(t,e,(function(){return o[e]}))}(u);t["default"]=r.a},8287:function(e,t,n){"use strict";(function(e){n("3690");o(n("66fd"));var t=o(n("dde5"));function o(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=n,e(t.default)}).call(this,n("543d")["createPage"])},8834:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return o}));var o={wmWatermark:function(){return n.e("components/wm-watermark/wm-watermark").then(n.bind(null,"1800"))},uEmpty:function(){return n.e("uni_modules/vk-uview-ui/components/u-empty/u-empty").then(n.bind(null,"2654"))},uIcon:function(){return n.e("uni_modules/vk-uview-ui/components/u-icon/u-icon").then(n.bind(null,"ba35"))},uTag:function(){return n.e("uni_modules/vk-uview-ui/components/u-tag/u-tag").then(n.bind(null,"8002"))},uPopup:function(){return n.e("uni_modules/vk-uview-ui/components/u-popup/u-popup").then(n.bind(null,"c565"))},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,"6943"))},uDivider:function(){return n.e("uni_modules/vk-uview-ui/components/u-divider/u-divider").then(n.bind(null,"d07e"))},uButton:function(){return n.e("uni_modules/vk-uview-ui/components/u-button/u-button").then(n.bind(null,"ce9e"))},uLoadmore:function(){return n.e("uni_modules/vk-uview-ui/components/u-loadmore/u-loadmore").then(n.bind(null,"3582"))}},r=function(){var e=this,t=e.$createElement;e._self._c;e._isMounted||(e.e0=function(t){e.searchPopupShow=!0},e.e1=function(t){e.searchPopupShow=!1})},u=[]},"8e6b":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n("d0e4"),r=u(n("89b9"));function u(e){return e&&e.__esModule?e:{default:e}}function a(e){return l(e)||s(e)||c(e)||i()}function i(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(e,t){if(e){if("string"===typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}function s(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function l(e){if(Array.isArray(e))return f(e)}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=function(){n.e("components/wm-watermark/wm-watermark").then(function(){return resolve(n("1800"))}.bind(null,n)).catch(n.oe)},b={components:{wmWatermark:h},data:function(){return{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,o.arrToObj)(n.auth_state),this.groupTypeObj=(0,o.arrToObj)(n.group_type)},onReachBottom:function(){"nomore"!=this.loadmore.status&&(this.loadmore.currnetPage++,this.getDataList())},onPullDownRefresh:function(){},methods:{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,r.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,o=m({},this.searchFormData);n.orderMethod>0&&(1===n.orderMethod&&(o.order_by=JSON.stringify([{field:"create_at",sort:"desc"}])),2===n.orderMethod&&(o.order_by=JSON.stringify([{field:"create_at",sort:"asc"}]))),e.api.base.apiuserauthlist(m({page:n.loadmore.currnetPage},o)).then((function(o){var r=o.list||[];r.map((function(e){e.isImgShow=!1})),r.length<10&&(n.loadmore.status="nomore"),1===o.current_page?(0===r.length&&e.$msg("暂无待审核人员","none"),n.customerList=a(r)):n.customerList=n.customerList.concat(r),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(),o=t.getMonth()+1;o=o>9?o:"0"+o;var r=t.getDate();r=r>9?r:"0"+r;var u=t.getHours();u=u>9?u:"0"+u;var a=t.getMinutes();a=a>9?a:"0"+a;var i=t.getSeconds();return i=i>9?i:"0"+i,"".concat(n,"-").concat(o,"-").concat(r," ").concat(u,":").concat(a,":").concat(i)}}};t.default=b}).call(this,n("543d")["default"])},a20b:function(e,t,n){"use strict";var o=n("d464"),r=n.n(o);r.a},d464:function(e,t,n){},dde5:function(e,t,n){"use strict";n.r(t);var o=n("8834"),r=n("6603");for(var u in r)"default"!==u&&function(e){n.d(t,e,(function(){return r[e]}))}(u);n("a20b");var a,i=n("f0c5"),c=Object(i["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],a);t["default"]=c.exports}},[["8287","common/runtime","common/vendor"]]]);
|