|
|
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["salesRanking/page/contribution/contribution"],{1640:function(t,e,a){},"545b":function(t,e,a){"use strict";var n=a("1640"),i=a.n(n);i.a},"7ff7":function(t,e,a){"use strict";a.r(e);var n=a("f9e3"),i=a("e648");for(var r in i)"default"!==r&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("545b");var o,s=a("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"bfacf184",null,!1,n["a"],o);e["default"]=u.exports},d6d3:function(t,e,a){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(a("3747")),i=r(a("cc49"));function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var s={data:function(){return{list:[],dedata:null,getData:{pageSize:10,currentPage:1,params:{siteId:"",endTime:"",startTime:""}}}},onLoad:function(t){console.log(t),t.jsData&&(this.dedata=JSON.parse(t.jsData),this.getData.params.siteId=this.dedata.id,this.getData.params.endTime=this.dedata.endTime.split(" ")[0],this.getData.params.startTime=this.dedata.startTime.split(" ")[0],this.getlist())},filters:{price:function(t){return i.default.convertW(t)}},methods:{getlist:function(){var e,a=this;n.default[this.dedata.routerIndex?"inquireAboutCorporateContributions":"queryTheRevenueContributionOfGasStations"]({pageSize:this.getData.pageSize,currentPage:this.getData.currentPage,params:(e={},o(e,this.dedata.routerIndex?"siteId":"companyId",this.getData.params.siteId),o(e,"endTime",this.getData.params.endTime),o(e,"startTime",this.getData.params.startTime),e)}).then((function(e){2e4===e.code&&(0==e.data.list.length&&t.showToast({title:"没有数据了哦",icon:"none"}),1===a.getData.currentPage?a.list=e.data.list:a.list=a.list.concat(e.data.list))}))},scrolltolower:function(){this.getData.currentPage+=1,this.getlist()}}};e.default=s}).call(this,a("543d")["default"])},e648:function(t,e,a){"use strict";a.r(e);var n=a("d6d3"),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},f5e8:function(t,e,a){"use strict";(function(t){a("84da");n(a("66fd"));var e=n(a("7ff7"));function n(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=a,t(e.default)}).call(this,a("543d")["createPage"])},f9e3:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return n}));var n={uniIcons:function(){return Promise.all([a.e("common/vendor"),a.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(a.bind(null,"65b9"))}},i=function(){var t=this,e=t.$createElement,a=(t._self._c,t.dedata.liters.toFixed(2)),n=t._f("price")(t.dedata.enterpriseContributionAmount),i=t.dedata.startTime.split(" "),r=t.dedata.endTime.split(" "),o=t.__map(t.list,(function(e,a){var n=t.__get_orig(e),i=e.volume.toFixed(2),r=t._f("price")(e.realPrice);return{$orig:n,g3:i,f1:r}}));t.$mp.data=Object.assign({},{$root:{g0:a,f0:n,g1:i,g2:r,l0:o}})},r=[]}},[["f5e8","common/runtime","common/vendor"]]]);
|