1 line
3.7 KiB
JavaScript
1 line
3.7 KiB
JavaScript
require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesA/business/index"],{"1a45":function(t,e,n){"use strict";(function(t){var i=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=i(n("9523")),r=n("0c59"),u=n("dc92");function o(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 a={components:{screenPop:function(){n.e("pagesA/business/screen").then(function(){return resolve(n("9958"))}.bind(null,n)).catch(n.oe)}},data:function(){return{BASE_IMG_URL:r.BASE_IMG_URL,list:[],type:0,page:1,totalPage:1,queryParams:{},timeArr:[],busStatus:null,moneyInfo:{}}},onLoad:function(t){t.type&&(this.type=t.type,this.timeArr=[t.stime,t.etime]),t.busStatus&&(this.busStatus=t.busStatus,this.timeArr=[t.stime,t.etime])},onShow:function(){this.init()},onReachBottom:function(){this.page<this.totalPage&&(this.page++,this.getList())},methods:{lookTotal:function(){this.$refs.popup.open()},removeTotal:function(){this.$refs.popup.close()},init:function(){this.page=1,this.list=[],this.getList()},changeFirTab:function(t){this.type=t,this.init()},toQuery:function(){var t={timeArr:this.timeArr,busStatus:this.busStatus};this.$refs.screenChild.init(t)},sureParams:function(t){this.queryParams=t,this.init()},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?o(Object(n),!0).forEach((function(e){(0,s.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({page:this.page,type:this.type,contract_status:this.busStatus,createtime:this.timeArr.length>0?this.timeArr[0]+","+this.timeArr[1]:""},this.queryParams);(0,u.netBusinessList)(e).then((function(e){t.list=e.data.data,t.totalPage=e.data.last_page,t.moneyInfo=e.data.moneyinfo}))},addBusiness:function(){t.navigateTo({url:"/pagesA/business/addBusiness"})},toDetail:function(e){t.navigateTo({url:"/pagesA/business/detail?id="+e.id})},toAddfollow:function(e){t.navigateTo({url:"/pagesA/crm/customerManagement/newFllow/newFllow?id="+e.id+"&type=5"})},toTrans:function(e){t.navigateTo({url:"/pagesA/business/trans?id="+e.id})}}};e.default=a}).call(this,n("543d")["default"])},"3f4f":function(t,e,n){"use strict";var i=n("dcd8"),s=n.n(i);s.a},"529f":function(t,e,n){"use strict";n.r(e);var i=n("1a45"),s=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=s.a},"8301f":function(t,e,n){"use strict";n.r(e);var i=n("d749"),s=n("529f");for(var r in s)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return s[t]}))}(r);n("3f4f");var u=n("f0c5"),o=Object(u["a"])(s["default"],i["b"],i["c"],!1,null,"4e67aeee",null,!1,i["a"],void 0);e["default"]=o.exports},d749:function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return i}));var i={uEmpty:function(){return n.e("uview-ui/components/u-empty/u-empty").then(n.bind(null,"38b8"))},uniPopup:function(){return n.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(n.bind(null,"6f9d"))}},s=function(){var t=this.$createElement,e=(this._self._c,this.list.length);this.$mp.data=Object.assign({},{$root:{g0:e}})},r=[]},dcd8:function(t,e,n){},f4f2:function(t,e,n){"use strict";(function(t,e){var i=n("4ea4");n("8886");i(n("66fd"));var s=i(n("8301f"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(s.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])}},[["f4f2","common/runtime","common/vendor"]]]); |