buycheck.js 6.5 KB

1
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/agent/report/buycheck"],{"269d":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.__map(e.customerList,(function(t,n){var r=e.__get_orig(t),o=t.isImgShow?e.__map(t.more?JSON.parse(t.more):[],(function(n,r){var o=e.__get_orig(n),u=t.estate_report_conf?t.estate_report_conf.split(","):null;return{$orig:o,g1:u}})):null;return{$orig:r,l0:o}})),o=e.customerList.length;e._isMounted||(e.e0=function(t,n,r){var o=arguments[arguments.length-1].currentTarget.dataset,u=o.eventParams||o["event-params"];n=u.item,r=u.moreI;e.previewImgHandle("more",JSON.parse(n.more),r)},e.e1=function(t){e.searchPopupShow=!0},e.e2=function(t){e.searchPopupShow=!1},e.e3=function(t){e.isReferrerShow=!1}),e.$mp.data=Object.assign({},{$root:{g0:n,l1:r,g2:o}})},u=[]},"28cb":function(e,t,n){},"2a35":function(e,t,n){"use strict";n.r(t);var r=n("4b56"),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},"4b56":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")),a=n("66f6"),i=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 l={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,a.arrToObj)(n.auth_state),this.groupTypeObj=(0,a.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(){},dial:function(t){e.makePhoneCall({phoneNumber:t})},previewImgHandle:function(t,n,r){"more"===t?e.previewImage({current:n[r],urls:[n[r]]}):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,i.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.estate.apireportsubscrlist(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 a=t.getMinutes();a=a>9?a:"0"+a;var i=t.getSeconds();return i=i>9?i:"0"+i,"".concat(n,"-").concat(r,"-").concat(o," ").concat(u,":").concat(a,":").concat(i)}}};t.default=l}).call(this,n("543d")["default"])},"663f":function(e,t,n){"use strict";var r=n("28cb"),o=n.n(r);o.a},"8a5f":function(e,t,n){"use strict";(function(e,t){var r=n("4ea4");n("2ab2");r(n("66fd"));var o=r(n("fc78"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(o.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},fc78:function(e,t,n){"use strict";n.r(t);var r=n("269d"),o=n("2a35");for(var u in o)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(u);n("663f");var a=n("f0c5"),i=Object(a["a"])(o["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);t["default"]=i.exports}},[["8a5f","common/runtime","common/vendor"]]]);