From e52cf1d6ae8e7291752fe363ebd567b90ddc0934 Mon Sep 17 00:00:00 2001
From: liuqimichale <123456lq>
Date: Tue, 18 Jun 2019 11:04:31 +0800
Subject: [PATCH] 添加丹阳
---
dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map | 2 +-
src/api/api.js | 42 ++++++++++++++++++++++--------------------
src/api/httpRequest.js | 2 +-
src/components/berth/index.vue | 27 ++++++++++++++++++++++++++-
src/components/chinaMap/index.vue | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
src/components/device/index.vue | 41 ++++++++++++++++++++++++++---------------
src/components/incomeOverview/index.vue | 49 +++++++++++++++++++++++++++++++++++++------------
src/components/memberNum/index.vue | 365 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
src/components/orderMessage/index.vue | 40 ++++++++++++++++++++++++++++++----------
src/components/tollman/index.vue | 41 ++++++++++++++++++++++++++++++-----------
src/components/weekAndDay/uDay.vue | 352 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------------------------------------------------------------------------------------
src/components/weekAndDay/uWeek.vue | 30 +++++++++++++++++-------------
src/main.js | 2 ++
13 files changed, 636 insertions(+), 431 deletions(-)
diff --git a/dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map b/dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map
index 9493112..746fa0c 100644
--- a/dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map
+++ b/dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map
@@ -1 +1 @@
-{"version":3,"sources":["webpack:///webpack/bootstrap 3252dcfca6d866f8d6bd"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","2","exports","module","l","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","p","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,EAAAE,IAIA,IADAL,KAAAE,EAAAC,EAAAC,GACAK,EAAAC,QACAD,EAAAS,OAAAT,GAEA,GAAAL,EACA,IAAAI,EAAA,EAAYA,EAAAJ,EAAAM,OAA2BF,IACvCD,EAAAY,IAAAC,EAAAhB,EAAAI,IAGA,OAAAD,GAIA,IAAAc,KAGAV,GACAW,EAAA,GAIA,SAAAH,EAAAd,GAGA,GAAAgB,EAAAhB,GACA,OAAAgB,EAAAhB,GAAAkB,QAGA,IAAAC,EAAAH,EAAAhB,IACAG,EAAAH,EACAoB,GAAA,EACAF,YAUA,OANAN,EAAAZ,GAAAW,KAAAQ,EAAAD,QAAAC,IAAAD,QAAAJ,GAGAK,EAAAC,GAAA,EAGAD,EAAAD,QAKAJ,EAAAO,EAAAT,EAGAE,EAAAQ,EAAAN,EAGAF,EAAAS,EAAA,SAAAL,EAAAM,EAAAC,GACAX,EAAAY,EAAAR,EAAAM,IACAhB,OAAAmB,eAAAT,EAAAM,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMAX,EAAAiB,EAAA,SAAAZ,GACA,IAAAM,EAAAN,KAAAa,WACA,WAA2B,OAAAb,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAAS,EAAAE,EAAA,IAAAA,GACAA,GAIAX,EAAAY,EAAA,SAAAO,EAAAC,GAAsD,OAAA1B,OAAAC,UAAAC,eAAAC,KAAAsB,EAAAC,IAGtDpB,EAAAqB,EAAA,KAGArB,EAAAsB,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.3ad1d5771e9b13dbdad2.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t2: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"./\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 3252dcfca6d866f8d6bd"],"sourceRoot":""}
\ No newline at end of file
+{"version":3,"sources":["webpack:///webpack/bootstrap 5610c80c2badb037245d"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","2","exports","module","l","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","p","oe","err","console","error"],"mappings":"aACA,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AAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.3ad1d5771e9b13dbdad2.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t2: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"./\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 5610c80c2badb037245d"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/api/api.js b/src/api/api.js
index e48e8b0..fee723c 100644
--- a/src/api/api.js
+++ b/src/api/api.js
@@ -1,31 +1,33 @@
import { get, post} from './httpRequest'
-
+const baseWX = 'http://bcp.service.renniting.cn/' //无锡
+const baseDY = 'http://test.renniting.cn/bcp/' //丹阳
//....用户数
-export const memberAddress = p => post('urban/intelligence/appuser/queryUserPersonStatistic',p)
-
+export const memberAddress = p => post(baseWX+'urban/intelligence/appuser/queryUserPersonStatistic',p)
+export const memberAddressDY = p => post(baseDY+'urban/intelligence/appuser/queryUserPersonStatistic',p)
//....收费员
-export const tollmanAddress = p => post('urban/intelligence/employee/queryEmployeeStaByOrgIds',p)
-
+export const tollmanAddress = p => post(baseWX+'urban/intelligence/employee/queryEmployeeStaByOrgIds',p)
+export const tollmanAddressDY = p => post(baseDY+'urban/intelligence/employee/queryEmployeeStaByOrgIds',p)
//....收入
-export const incomeAddress = p => post('urban/intelligence/income/queryIncomeStaByOrgIds',p)
-
+export const incomeAddress = p => post(baseWX+'urban/intelligence/income/queryIncomeStaByOrgIds',p)
+export const incomeAddressDY = p => post(baseDY+'urban/intelligence/income/queryIncomeStaByOrgIds',p)
//....泊位
-export const berthAddress = p => post('urban/intelligence/berth/queryBerthStatisticByOrgIds',p)
-
+export const berthAddress = p => post(baseWX+'urban/intelligence/berth/queryBerthStatisticByOrgIds',p)
+export const berthAddressDY = p => post(baseDY+'urban/intelligence/berth/queryBerthStatisticByOrgIds',p)
//....设备
-export const deviceAddress = p => post('urban/intelligence/device/queryDeviceStatistic',p)
-
+export const deviceAddress = p => post(baseWX+'urban/intelligence/device/queryDeviceStatistic',p)
+export const deviceAddressDY = p => post(baseDY+'urban/intelligence/device/queryDeviceStatistic',p)
//....消息
-export const msgAddress = p => post('urban/intelligence/orderPark/queryLastOrderPark',p)
-
+export const msgAddress = p => post(baseWX+'urban/intelligence/orderPark/queryLastOrderPark',p)
+export const msgAddressDY = p => post(baseDY+'urban/intelligence/orderPark/queryLastOrderPark',p)
//....今日车流量
-export const dayAddress = p => post('urban/intelligence/orderPark/queryOrderParkNumForToday',p)
-
+export const dayAddress = p => post(baseWX+'urban/intelligence/orderPark/queryOrderParkNumForToday',p)
+export const dayAddressDY = p => post(baseDY+'urban/intelligence/orderPark/queryOrderParkNumForToday',p)
//....周出场
-export const weekAddress = p => post('urban/intelligence/orderPark/queryOrderParkNumForLastWeek',p)
-
+export const weekAddress = p => post(baseWX+'urban/intelligence/orderPark/queryOrderParkNumForLastWeek',p)
+export const weekAddressDY = p => post(baseDY+'urban/intelligence/orderPark/queryOrderParkNumForLastWeek',p)
//....停车场总数
-export const parkAddress = p => post('urban/intelligence/park/queryParkNumStatisticByOrgIds',p)
-
+export const parkAddress = p => post(baseWX+'urban/intelligence/park/queryParkNumStatisticByOrgIds',p)
+export const parkAddressDY = p => post(baseDY+'urban/intelligence/park/queryParkNumStatisticByOrgIds',p)
//....地图
-export const baiduMapAddress = p => post('urban/intelligence/berth/queryBerthStatisticForOrgId',p)
+export const baiduMapAddress = p => post(baseWX+'urban/intelligence/berth/queryBerthStatisticForOrgId',p)
+export const baiduMapAddressDY = p => post(baseDY+'urban/intelligence/berth/queryBerthStatisticForOrgId',p)
diff --git a/src/api/httpRequest.js b/src/api/httpRequest.js
index 0648918..3715829 100644
--- a/src/api/httpRequest.js
+++ b/src/api/httpRequest.js
@@ -73,7 +73,7 @@ axios.interceptors.response.use(response => {
})
//基础url前缀
//axios.defaults.baseURL = '/api'
-axios.defaults.baseURL = 'http://bcp.service.renniting.cn/';
+// axios.defaults.baseURL = 'http://bcp.service.renniting.cn/';
//设置默认请求头
// axios.defaults.withCredentials=true;//让ajax携带cookie
diff --git a/src/components/berth/index.vue b/src/components/berth/index.vue
index c40976a..3b013d4 100644
--- a/src/components/berth/index.vue
+++ b/src/components/berth/index.vue
@@ -24,7 +24,7 @@
+ /*
+ * 格式化会员总数
+ // * */
+ // formatNumToStr:function(){
+ // return common.formatNumToStr(this.$options.data().demo);
+ // },
-
diff --git a/src/components/orderMessage/index.vue b/src/components/orderMessage/index.vue
index 175786d..9694fdb 100644
--- a/src/components/orderMessage/index.vue
+++ b/src/components/orderMessage/index.vue
@@ -24,7 +24,7 @@
-
diff --git a/src/components/weekAndDay/uWeek.vue b/src/components/weekAndDay/uWeek.vue
index 52929fc..932c049 100644
--- a/src/components/weekAndDay/uWeek.vue
+++ b/src/components/weekAndDay/uWeek.vue
@@ -14,7 +14,7 @@