1 line
4.3 KiB
JavaScript
1 line
4.3 KiB
JavaScript
|
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesA/crm/customerManagement/waterCustomerManagement"],{"3cde":function(t,e,n){},"5ee2":function(t,e,n){"use strict";(function(t,e){var i=n("4ea4");n("8886");i(n("66fd"));var o=i(n("9947"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(o.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},"6cd3":function(t,e,n){"use strict";n.r(e);var i=n("99df"),o=n.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(s);e["default"]=o.a},9947:function(t,e,n){"use strict";n.r(e);var i=n("acfe"),o=n("6cd3");for(var s in o)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(s);n("f45b");var c=n("f0c5"),a=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=a.exports},"99df":function(t,e,n){"use strict";(function(t){var i=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("9523")),s=n("9a6f"),c=n("0c59"),a=n("fef2"),r=n("76dd");function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}var l={mixins:[a.customerPageJumps],data:function(){return{sort:!1,screen:!1,date:"",show:!1,sortData:s.customerSortDatas,screenData:[],taskShow:!1,telShow:!1,taskActions:[{name:"普通任务",color:"#03aa96"},{name:"跟进任务",color:"#03aa96"}],telActions:[],queryObj:{},page:1,totalPage:1,limit:10,list:[],de_type:null,de_starttime:"",de_endtime:"",de_flag:!1,BASE_IMG_URL:c.BASE_IMG_URL,count:5,value:2}},components:{selectTemp:function(){n.e("components/content/selectTemp/selectTemp").then(function(){return resolve(n("8d60"))}.bind(null,n)).catch(n.oe)}},onLoad:function(t){console.log(t),t.type&&(this.de_type=t.type,this.de_starttime=t.startTime,this.de_endtime=t.endTime),this.de_flag=!0,this.list=[],this.page=1,this.totalPage=1,this.getList()},onShow:function(){},onReachBottom:function(){this.page>=this.totalPage||(this.page++,this.getList())},methods:{queryData:function(t){this.queryObj=t,this.list=[],this.page=1,this.getList()},getList:function(){var t=this,e=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){(0,o.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({is_seas:1,page:this.page,limit:this.limit},this.queryObj);(0,r.netKehuList)(e).then((function(e){e=e.data,t.list=t.list.concat(e.data),t.page=e.current_page,t.totalPage=e.last_page}))},sortClick:function(t){this.sort=t,this.screen=!1},screenClick:function(t){this.screen=t,this.sort=!1},switchover:function(t){this.screenData=t},taskClick:function(){this.taskShow=!0},telClick:function(e){e?(this.telShow=!0,this.telActions[0]={text:e.name+e.mobile,color:"#03aa96",mobile:e.mobile}):(t.showToast({title:"暂无联系方式",icon:"none"}),this.telActions=[])},selectPhone:function(e){t.makePhoneCall({phoneNumber:this.telActions[0].mobile})},onCancel:function(){this.taskShow=!1,this.telShow=!1},toGroupCompany:function(e){var n=this;t.showModal({title:"是否确定领取公池客户",content:"领取后长时间未跟进,客户将自动转为公共客户",success:function(i){i.confirm&&(0,r.netReceiveKehu)({customer_id:e.id}).then((function(e){t.showToast({title:e.msg,icon:"none"}),setTimeout((function(){n.list=[],n.page=1,n.getList()}),2e3)}))}})}}};e.default=l}).call(this,n("543d")["default"])},acfe:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return i}));var i={uRate:function(){return n.e("uview-ui/components/u-rate/u-rate").then(n.bind(null,"71b2"))},uEmpty:function(){return n.e("uview-ui/components/u-empty/u-empty").then(n.bind(null,"38b8"))},uActionSheet:function(){return
|