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 lines
22 KiB
1 lines
22 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/lenovo/Desktop/new_git/wx_oms/pages/index/index.vue?aa8c","webpack:///C:/Users/lenovo/Desktop/new_git/wx_oms/pages/index/index.vue?3dcc","webpack:///C:/Users/lenovo/Desktop/new_git/wx_oms/pages/index/index.vue?2561","webpack:///C:/Users/lenovo/Desktop/new_git/wx_oms/pages/index/index.vue?b870","uni-app:///pages/index/index.vue","webpack:///C:/Users/lenovo/Desktop/new_git/wx_oms/pages/index/index.vue?e4ec","webpack:///C:/Users/lenovo/Desktop/new_git/wx_oms/pages/index/index.vue?06e5"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,6F,6FAFmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC;AAGnBC,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACa;;;AAGjE;AACgN;AAChN,gBAAgB,wNAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAszB,CAAgB,s0BAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkI10B,6F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AADA;eAEA,EACA;AACA;AACA;AACA,MAJA,kBAIA,CACA,SACA,cADA,EAEA,YAFA,EAGA,QACA,YADA,EAHA,GAOA,CAZA,EAaA,MAbA,oBAaA,CACA,uCAEA,CAhBA,EAiBA,MAjBA,oBAiBA,CACA,KACA,gBACA,kDACA,+CACA,mEACA,kFACA,gCACA,+CACA,gDACA,CALA,EAKA,IALA,GAMA,CAVA,CAUA,aACA,kBACA,CACA,cACA,CAhCA,EAiCA,WACA,MADA,oBACA,CACA,yBACA,0CACA,+CACA;AACA,2CACA,CAHA,EAHA,CAOA;AACA;AACA;AACA;AACA,+CACA,eACA,aADA,EAEA,2BAFA,EAGA,gCACA,yBACA,kBACA;AACA,0CACA,CACA,CATA,IAWA,CAZA,EAaA,CAzBA,EA0BA,YA1BA,wBA0BA,CA1BA,EA0BA,CACA;AACA;AACA,4CACA,CA9BA,EA+BA,IA/BA,gBA+BA,CA/BA,EA+BA,CACA,YACA,OACA,iBACA,oCADA,EAEA,IAFA,gBAEA,CAFA,EAEA,CACA,qBACA,CAJA,IAMA,MACA,OACA,iBACA,mCADA,IAGA,MACA,OACA,iBACA,0CADA,IAGA,MACA,OACA,iBACA,6CADA,IAIA,MACA,OACA,iBACA,6BADA,IAGA,MACA,OACA,iBACA,wCADA,IAGA,MACA,OACA,iBACA,qCADA,IAGA,MACA,OACA,iBACA,sCADA,IAGA,MACA,OACA,iBACA,+CADA,IAGA,MAjDA,CAmDA,CAnFA,EAoFA,KApFA,mBAoFA,CACA,6DACA,iBACA,4BADA,IAGA,CAJA,EAKA,CA1FA,EAjCA,E;;;;;;;;;;;;;ACnIA;AAAA;AAAA;AAAA;AAA8pC,CAAgB,ipCAAG,EAAC,C;;;;;;;;;;;ACAlrC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/index/index.js","sourcesContent":["import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=57280228&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/index.vue\"\nexport default component.exports","export * from \"-!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=template&id=57280228&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var m0 = _vm.jurisdiction(\"driver:info:list\")\n var m1 = _vm.jurisdiction(\"driver:info:add\")\n var m2 = _vm.jurisdiction(\"distributeReverse:info:list\")\n var m3 = _vm.jurisdiction(\"distributeReverse:info:add\")\n var m4 = _vm.jurisdiction(\"oilOrder:info:list\")\n var m5 = _vm.jurisdiction(\"ranking:info:list\")\n var m6 = _vm.jurisdiction(\"ranking:info:list\")\n var m7 = _vm.jurisdiction(\"priceAdjust:info:list\")\n var m8 = _vm.jurisdiction(\"priceTask:info:list\")\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0,\n m1: m1,\n m2: m2,\n m3: m3,\n m4: m4,\n m5: m5,\n m6: m6,\n m7: m7,\n m8: m8\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<!-- <view class=\"home_page_body\">\r\n\t\t\t\t<view @tap=\"jump(0)\" class=\"home_page_body_flex\">\r\n\t\t\t\t\t司机管理\r\n\t\t\t\t</view>\r\n\t\t\t\t<view @tap=\"jump(1)\" class=\"home_page_body_flex\">\r\n\t\t\t\t\t油品分发\r\n\t\t\t\t</view>\r\n\t\t\t\t<view @tap=\"close()\" class=\"home_page_body_flex\">\r\n\t\t\t\t\t退出\r\n\t\t\t\t</view>\r\n\t\t\t</view> -->\r\n\t\t<topBar height=\"267rpx\" leftIcon='' title=\" \">\r\n\t\t\t<view slot=\"coment\">\r\n\t\t\t\t<view class=\"index_topbody\">\r\n\t\t\t\t\t<view :style=\"{marginTop:'calc(267rpx - ' + shikHeig + ')'}\" class=\"index_top_car\">\r\n\t\t\t\t\t\t<view class=\"index_top_car_header_photo\">\r\n\t\t\t\t\t\t\t<image style=\"width: 140rpx; height:140rpx;border-radius: 50%;\" :src=\" user.headPhoto || '/static/tx.png' \"></image>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view style=\"padding-top: 70rpx;\">\r\n\t\t\t\t\t\t\t<view class=\"bgtext\" style=\"\">{{user.name?user.name:'暂未设置'}}</view>\r\n\t\t\t\t\t\t\t<view class=\"samlltext\">({{user.roles[0].roleName}})</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"carfooter\" style=\"\">\r\n\t\t\t\t\t\t\t<view>{{user.userPhone?user.userPhone:'暂未设置'}}</view>\r\n\t\t\t\t\t\t\t<view @tap=\"close()\" class=\"samlltext\" style=\"position: absolute;top: 0;right: 0;\">退出登录\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t</topBar>\r\n\t\t<view class=\"index_list\">\r\n\t\t\t<view class=\"index_list_item\">\r\n\t\t\t\t<view class=\"index_list_item_left\">\r\n\t\t\t\t\t<image style=\"width: 80rpx; height: 104rpx;margin-bottom: 15rpx;\" src=\"@/static/sjgl.png\"></image>\r\n\t\t\t\t\t<view class=\"left_text\">司机管理</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"index_list_item_right\">\r\n\t\t\t\t\t<view v-if=\"jurisdiction('driver:info:list')\" @tap=\"jump(0)\" class=\"index_list_item_right_item\">\r\n\t\t\t\t\t\t<image style=\"width: 43rpx; height: 43rpx;margin-right: 15rpx;\" src=\"@/static/dirverList.png\">\r\n\t\t\t\t\t\t</image>\r\n\t\t\t\t\t\t<view class=\"listtext\">司机列表</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view v-if=\"jurisdiction('driver:info:add')\" @tap=\"jump(2)\" class=\"index_list_item_right_item\">\r\n\t\t\t\t\t\t<image style=\"width: 43rpx; height: 43rpx;margin-right: 15rpx;\" src=\"@/static/dirverIndex.png\">\r\n\t\t\t\t\t\t</image>\r\n\t\t\t\t\t\t<view class=\"listtext\">新增司机</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"index_list_item\">\r\n\t\t\t\t<view style=\"background: linear-gradient(-49deg, #FD885A 0%, #FAAB8C 100%);\"\r\n\t\t\t\t\tclass=\"index_list_item_left\">\r\n\t\t\t\t\t<image style=\"width: 120rpx; height: 75rpx; margin-bottom: 15rpx;\" src=\"@/static/ykff.png\"></image>\r\n\t\t\t\t\t<view class=\"left_text\">油品分发</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"index_list_item_right\">\r\n\t\t\t\t\t<view v-if=\"jurisdiction('distributeReverse:info:list')\" @tap=\"jump(1)\" class=\"index_list_item_right_item\">\r\n\t\t\t\t\t\t<image style=\"width: 43rpx; height: 43rpx;margin-right: 15rpx;\" src=\"@/static/oliList.png\">\r\n\t\t\t\t\t\t</image>\r\n\t\t\t\t\t\t<view class=\"listtext\">分发列表</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view v-if=\"jurisdiction('distributeReverse:info:add')\" @tap=\"jump(3)\" class=\"index_list_item_right_item\">\r\n\t\t\t\t\t\t<image style=\"width: 43rpx; height: 43rpx;margin-right: 15rpx;\" src=\"@/static/addoli.png\">\r\n\t\t\t\t\t\t</image>\r\n\t\t\t\t\t\t<view class=\"listtext\">新增分发</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"index_list_item\">\r\n\t\t\t\t<view style=\"background: linear-gradient(122deg, #EEBA5F 0%, #FBAF2B 100%);\"class=\"index_list_item_left\">\r\n\t\t\t\t\t<image style=\"width: 107rpx; height: 103rpx; margin-bottom: 15rpx;\" src=\"@/static/order.png\"></image>\r\n\t\t\t\t\t<view class=\"left_text\">订单管理</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"index_list_item_right\">\r\n\t\t\t\t\t<view v-if=\"jurisdiction('oilOrder:info:list')\" @tap=\"jump(4)\" class=\"index_list_item_right_item\">\r\n\t\t\t\t\t\t<image style=\"width: 43rpx; height: 43rpx;margin-right: 15rpx;\" src=\"@/static/orderList.png\">\r\n\t\t\t\t\t\t</image>\r\n\t\t\t\t\t\t<view class=\"listtext\">订单列表</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"index_list_item\">\r\n\t\t\t\t<view style=\"background: linear-gradient(122deg, #EEBA5F 0%, #FBAF2B 100%);\"\r\n\t\t\t\t\tclass=\"index_list_item_left\">\r\n\t\t\t\t\t<image style=\"width: 107rpx; height: 103rpx; margin-bottom: 15rpx;\" src=\"@/static/order.png\"></image>\r\n\t\t\t\t\t<view class=\"left_text\">动销排名</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"index_list_item_right\">\r\n\t\t\t\t\t<view v-if=\"jurisdiction('ranking:info:list')\" @tap=\"jump(6)\" class=\"index_list_item_right_item\">\r\n\t\t\t\t\t\t<image style=\"width: 43rpx; height: 43rpx;margin-right: 15rpx;\" src=\"@/static/orderList.png\">\r\n\t\t\t\t\t\t</image>\r\n\t\t\t\t\t\t<view class=\"listtext\"> 油站动销</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view v-if=\"jurisdiction('ranking:info:list')\" @tap=\"jump(8)\" class=\"index_list_item_right_item\">\r\n\t\t\t\t\t\t<image style=\"width: 43rpx; height: 43rpx;margin-right: 15rpx;\" src=\"@/static/orderList.png\">\r\n\t\t\t\t\t\t</image>\r\n\t\t\t\t\t\t<view class=\"listtext\"> 企业动销 </view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"index_list_item\">\r\n\t\t\t\t<view style=\"background: linear-gradient(122deg, #EEBA5F 0%, #FBAF2B 100%);\"\r\n\t\t\t\t\tclass=\"index_list_item_left\">\r\n\t\t\t\t\t<image style=\"width: 107rpx; height: 103rpx; margin-bottom: 15rpx;\" src=\"@/static/order.png\"></image>\r\n\t\t\t\t\t<view class=\"left_text\">调价管理</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"index_list_item_right\">\r\n\t\t\t\t\t<view v-if=\"jurisdiction('priceAdjust:info:list')\" @tap=\"jump(5)\" class=\"index_list_item_right_item\">\r\n\t\t\t\t\t\t<image style=\"width: 43rpx; height: 43rpx;margin-right: 15rpx;\" src=\"@/static/orderList.png\">\r\n\t\t\t\t\t\t</image>\r\n\t\t\t\t\t\t<view class=\"listtext\">调价申请</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view v-if=\"jurisdiction('priceTask:info:list')\" @tap=\"jump(7)\" class=\"index_list_item_right_item\">\r\n\t\t\t\t\t\t<image style=\"width: 43rpx; height: 43rpx;margin-right: 15rpx;\" src=\"@/static/orderList.png\">\r\n\t\t\t\t\t\t</image>\r\n\t\t\t\t\t\t<view class=\"listtext\">调价任务</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\t// import topBar from '@/components/topbar'\r\n\timport oilIdentityApi from '@/api/oil-identity'\r\n\texport default {\r\n\t\t// components: {\r\n\t\t// \ttopBar,\r\n\t\t// },\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\ttitle: 'Hello',\r\n\t\t\t\tshikHeig: '',\r\n\t\t\t\tuser: {\r\n\t\t\t\t\tauthList:[]\r\n\t\t\t\t},\r\n\t\t\t}\r\n\t\t},\r\n\t\tonShow() {\r\n\t\t\tthis.user = uni.getStorageSync('user')\r\n\t\t\t\r\n\t\t},\r\n\t\tonLoad() {\r\n\t\t\ttry {\r\n\t\t\t\tlet that = this\r\n\t\t\t\tlet style = uni.getMenuButtonBoundingClientRect()\r\n\t\t\t\tconst query = uni.createSelectorQuery().in(this);\r\n\t\t\t\tquery.select('.index_top_car').boundingClientRect(data => {\r\n\t\t\t\t\tlet shikHeig = Number(style.height) + Number(style.top) + (Number(data.height) / 2)\r\n\t\t\t\t\tthat.shikHeig = shikHeig + 'px'\r\n\t\t\t\t\tconsole.log(\"得到布局位置信息\" + JSON.stringify(data));\r\n\t\t\t\t\tconsole.log(\"节点离页面顶部的距离为\" + data.top, shikHeig);\r\n\t\t\t\t}).exec();\r\n\t\t\t} catch (err) {\r\n\t\t\t\tconsole.log('失败')\r\n\t\t\t}\r\n\t\t\tthis.upDate()\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tupDate(){\r\n\t\t\t\tconsole.log('检查更新中----');\r\n\t\t\t\tconst updateManager = wx.getUpdateManager();\r\n\t\t\t\tupdateManager.onCheckForUpdate(function (res) {\r\n\t\t\t\t // 请求完新版本信息的回调\r\n\t\t\t\t console.log(res.hasUpdate,'版本信息')\r\n\t\t\t\t})\r\n\t\t\t\t// updateManager.onUpdateFailed(function () {\r\n\t\t\t\t// \tconsole.log('安装包下载失败')\r\n\t\t\t\t// // 新版本下载失败\r\n\t\t\t\t// });\r\n\t\t\t\tupdateManager.onUpdateReady(function () {\r\n\t\t\t\t wx.showModal({\r\n\t\t\t\t title: '更新提示',\r\n\t\t\t\t content: '新版本已经准备好,是否重启应用?',\r\n\t\t\t\t success: function (res) {\r\n\t\t\t\t\t\tconsole.log(res,'****')\r\n\t\t\t\t if (res.confirm) {\r\n\t\t\t\t // 新的版本已经下载好,调用 applyUpdate 应用新版本并重启\r\n\t\t\t\t updateManager.applyUpdate()\r\n\t\t\t\t }\r\n\t\t\t\t }\r\n\t\t\t\t })\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tjurisdiction(e){\r\n\t\t\t\t// console.log(`%c 当前校验项:${e},校验结果:${this.user.authList.includes(e)},返回权限数据↓`,'color:red;font-size:50px;');\r\n\t\t\t\t// console.log(this.user.authList)\r\n\t\t\t\treturn this.user.authList.includes(e)\r\n\t\t\t},\r\n\t\t\tjump(e) {\r\n\t\t\t\tswitch (e) {\r\n\t\t\t\t\tcase 0:\r\n\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\turl: \"/driverManagement/index/index\",\r\n\t\t\t\t\t\t\tfail(e) {\r\n\t\t\t\t\t\t\t\tconsole.log(e, '--')\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase 1:\r\n\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\turl: \"/oilDistribution/index/index\",\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase 2:\r\n\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\turl:'/driverManagement/addDiver/addDiver'\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\tbreak\r\n\t\t\t\t\t\tcase 3:\r\n\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\turl:'/oilDistribution/distribute/distribute'\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tbreak\r\n\t\t\t\t\t\tcase 4:\r\n\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\turl:'/orderList/index/index'\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\tbreak\r\n\t\t\t\t\t\tcase 5:\r\n\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\turl:'/priceAdjustment/page/index/index'\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\tbreak\r\n\t\t\t\t\t\tcase 6:\r\n\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\turl:'/salesRanking/page/index/index' \r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\tbreak\r\n\t\t\t\t\t\tcase 7:\r\n\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\turl:'/priceAdjustmentTask/page/index'\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\tbreak\r\n\t\t\t\t\t\tcase 8:\r\n\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\turl:'/salesRanking/page/index/enterpriseIndex'\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\tbreak\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tclose() {\r\n\t\t\t\toilIdentityApi.logoutAuthSystem().then(res => {\r\n\t\t\t\t\tuni.redirectTo({\r\n\t\t\t\t\t\turl: '../login/login?type=1'\r\n\t\t\t\t\t})\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\t@import url(\"./home_page.css\");\r\n\r\n\tpage {\r\n\t\tposition: relative;\r\n\t}\r\n</style>\r\n","import mod from \"-!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1672122377294\n var cssReload = require(\"D:/hbuliderx/HBuilderX.3.3.11.20220209.full/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |