You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
3.5 KiB
1 line
3.5 KiB
2 years ago
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/index"],{"18b4":function(e,i,n){"use strict";(function(e){n("6e43");t(n("66fd"));var i=t(n("1bb9"));function t(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("543d")["createPage"])},"1bb9":function(e,i,n){"use strict";n.r(i);var t=n("46c4"),o=n("abcb");for(var r in o)"default"!==r&&function(e){n.d(i,e,(function(){return o[e]}))}(r);n("f0d6");var a,u=n("f0c5"),c=Object(u["a"])(o["default"],t["b"],t["c"],!1,null,null,null,!1,t["a"],a);i["default"]=c.exports},"2c32":function(e,i,n){"use strict";(function(e){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var t=o(n("7b6d"));function o(e){return e&&e.__esModule?e:{default:e}}var r={data:function(){return{title:"Hello",shikHeig:"",user:{authList:[]}}},onShow:function(){this.user=e.getStorageSync("user")},onLoad:function(){try{var i=this,n=e.getMenuButtonBoundingClientRect(),t=e.createSelectorQuery().in(this);t.select(".index_top_car").boundingClientRect((function(e){var t=Number(n.height)+Number(n.top)+Number(e.height)/2;i.shikHeig=t+"px",console.log("得到布局位置信息"+JSON.stringify(e)),console.log("节点离页面顶部的距离为"+e.top,t)})).exec()}catch(o){console.log("失败")}this.upDate()},methods:{upDate:function(){console.log("检查更新中----");var e=wx.getUpdateManager();e.onCheckForUpdate((function(e){console.log(e.hasUpdate,"版本信息")})),e.onUpdateReady((function(){wx.showModal({title:"更新提示",content:"新版本已经准备好,是否重启应用?",success:function(i){console.log(i,"****"),i.confirm&&e.applyUpdate()}})}))},jurisdiction:function(e){return this.user.authList.includes(e)},jump:function(i){switch(i){case 0:e.navigateTo({url:"/driverManagement/index/index",fail:function(e){console.log(e,"--")}});break;case 1:e.navigateTo({url:"/oilDistribution/index/index"});break;case 2:e.navigateTo({url:"/driverManagement/addDiver/addDiver"});break;case 3:e.navigateTo({url:"/oilDistribution/distribute/distribute"});break;case 4:e.navigateTo({url:"/orderList/index/index"});break;case 5:e.navigateTo({url:"/priceAdjustment/page/index/index"});break;case 6:e.navigateTo({url:"/salesRanking/page/index/index"});break;case 7:e.navigateTo({url:"/priceAdjustmentTask/page/index"});break;case 8:e.navigateTo({url:"/salesRanking/page/index/enterpriseIndex"});break}},close:function(){t.default.logoutAuthSystem().then((function(i){e.redirectTo({url:"../login/login?type=1"})}))}}};i.default=r}).call(this,n("543d")["default"])},"46c4":function(e,i,n){"use strict";var t;n.d(i,"b",(function(){return o})),n.d(i,"c",(function(){return r})),n.d(i,"a",(function(){return t}));var o=function(){var e=this,i=e.$createElement,n=(e._self._c,e.jurisdiction("driver:info:list")),t=e.jurisdiction("driver:info:add"),o=e.jurisdiction("distributeReverse:info:list"),r=e.jurisdiction("distributeReverse:info:add"),a=e.jurisdiction("oilOrder:info:list"),u=e.jurisdiction("ranking:info:list"),c=e.jurisdiction("ranking:info:list"),s=e.jurisdiction("priceAdjust:info:list"),d=e.jurisdiction("priceTask:info:list");e.$mp.data=Object.assign({},{$root:{m0:n,m1:t,m2:o,m3:r,m4:a,m5:u,m6:c,m7:s,m8:d}})},r=[]},"9aeb":function(e,i,n){},abcb:function(e,i,n){"use strict";n.r(i);var t=n("2c32"),o=n.n(t);for(var r in t)"default"!==r&&function(e){n.d(i,e,(function(){return t[e]}))}(r);i["default"]=o.a},f0d6:function(e,i,n){"use strict";var t=n("9aeb"),o=n.n(t);o.a}},[["18b4","common/runtime","common/vendor"]]]);
|