diff --git a/src/api/needSupply.js b/src/api/needSupply.js
index d6a608d..7355698 100644
--- a/src/api/needSupply.js
+++ b/src/api/needSupply.js
@@ -14,6 +14,26 @@
})
}
// 各地区供给
+export function getAreaSupplyNew() {
+ const baseConfig = Vue.prototype.baseConfig
+ const { sign, username, timestamp } = getSignTimeStamp()
+ return request({
+ url: baseConfig.biUrl + '/factdata/index/getData',
+ method: 'post',
+ data: {
+ 'showField': 'WD01_03,WD03_04,DL01',
+ 'indexId': 'BA6C123F48EE41F4AFDBC43BF4E19403',
+ 'distinct': true,
+ 'type': 0,
+ 'pageNo': null,
+ 'pageSize': null,
+ 'sign': sign,
+ 'name': username,
+ 'time': timestamp
+ }
+ })
+}
+// 各地区供给
export function getAreaSupply() {
const baseConfig = Vue.prototype.baseConfig
const { sign, username, timestamp } = getSignTimeStamp()
diff --git a/src/api/needSupply.js b/src/api/needSupply.js
index d6a608d..7355698 100644
--- a/src/api/needSupply.js
+++ b/src/api/needSupply.js
@@ -14,6 +14,26 @@
})
}
// 各地区供给
+export function getAreaSupplyNew() {
+ const baseConfig = Vue.prototype.baseConfig
+ const { sign, username, timestamp } = getSignTimeStamp()
+ return request({
+ url: baseConfig.biUrl + '/factdata/index/getData',
+ method: 'post',
+ data: {
+ 'showField': 'WD01_03,WD03_04,DL01',
+ 'indexId': 'BA6C123F48EE41F4AFDBC43BF4E19403',
+ 'distinct': true,
+ 'type': 0,
+ 'pageNo': null,
+ 'pageSize': null,
+ 'sign': sign,
+ 'name': username,
+ 'time': timestamp
+ }
+ })
+}
+// 各地区供给
export function getAreaSupply() {
const baseConfig = Vue.prototype.baseConfig
const { sign, username, timestamp } = getSignTimeStamp()
diff --git a/src/components/Map/components/supplyLayerNew.vue b/src/components/Map/components/supplyLayerNew.vue
new file mode 100644
index 0000000..a83d4d6
--- /dev/null
+++ b/src/components/Map/components/supplyLayerNew.vue
@@ -0,0 +1,189 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/api/needSupply.js b/src/api/needSupply.js
index d6a608d..7355698 100644
--- a/src/api/needSupply.js
+++ b/src/api/needSupply.js
@@ -14,6 +14,26 @@
})
}
// 各地区供给
+export function getAreaSupplyNew() {
+ const baseConfig = Vue.prototype.baseConfig
+ const { sign, username, timestamp } = getSignTimeStamp()
+ return request({
+ url: baseConfig.biUrl + '/factdata/index/getData',
+ method: 'post',
+ data: {
+ 'showField': 'WD01_03,WD03_04,DL01',
+ 'indexId': 'BA6C123F48EE41F4AFDBC43BF4E19403',
+ 'distinct': true,
+ 'type': 0,
+ 'pageNo': null,
+ 'pageSize': null,
+ 'sign': sign,
+ 'name': username,
+ 'time': timestamp
+ }
+ })
+}
+// 各地区供给
export function getAreaSupply() {
const baseConfig = Vue.prototype.baseConfig
const { sign, username, timestamp } = getSignTimeStamp()
diff --git a/src/components/Map/components/supplyLayerNew.vue b/src/components/Map/components/supplyLayerNew.vue
new file mode 100644
index 0000000..a83d4d6
--- /dev/null
+++ b/src/components/Map/components/supplyLayerNew.vue
@@ -0,0 +1,189 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/permission.js b/src/permission.js
index c4f95f2..ac5b682 100644
--- a/src/permission.js
+++ b/src/permission.js
@@ -5,11 +5,12 @@
import { Message } from 'element-ui'
import { getToken } from '@/utils/auth' // getToken from cookie
import { getCurrentSys } from './utils/auth'
+// import { Base64 } from 'js-base64'
import Vue from 'vue'
NProgress.configure({ showSpinner: false })// NProgress configuration
-const whiteList = ['/login', '/applogin', '/appSubject', '/appFaceLogin', '/404', 'config/baseconfig', '/full/storageTopic', '/full/waterThreat', '/full/highConsequence', '/full/constructionThreat', '/full/routeTopic', '/full/waterThreat', '/full/sinkThreat', '/full/vip', '/full/weather', '/full/needTopic', '/full/supplyTopic', '/full/pipeOverview', '/full/overview', '/full/overview_no_button', '/full/overview_new'] // 不重定向白名单
+const whiteList = ['/login', '/applogin', '/appSubject', '/appFaceLogin', '/404', 'config/baseconfig', '/full/storageTopic', '/full/waterThreat', '/full/highConsequence', '/full/constructionThreat', '/full/routeTopic', '/full/waterThreat', '/full/sinkThreat', '/full/vip', '/full/weather', '/full/needTopic', '/full/supplyTopic', '/full/pipeOverview', '/full/overview', '/full/overview_no_button', '/full/overview_new', '/full/overview_new2'] // 不重定向白名单
// 全局钩子
router.beforeEach((to, from, next) => {
NProgress.start() // 加载进度条
@@ -87,7 +88,14 @@
const token = to.query.token
console.log('token' + to.query.token)
if (token) {
- // 调用自动登录接口,否则跳转到登录页
+ // debugger
+ // 2. Base64解码用户名和密码, 去登录
+ // const tokenString = Base64.decode(token)
+ // const tokenArray = tokenString.split(';')
+ // const account = tokenArray[0]
+ // const password = tokenArray[1]
+
+ // 1. 调用自动登录接口,否则跳转到登录页
store.dispatch('AppLogin', token).then(() => {
console.log('自动登录成功')
console.log(to.path)
diff --git a/src/api/needSupply.js b/src/api/needSupply.js
index d6a608d..7355698 100644
--- a/src/api/needSupply.js
+++ b/src/api/needSupply.js
@@ -14,6 +14,26 @@
})
}
// 各地区供给
+export function getAreaSupplyNew() {
+ const baseConfig = Vue.prototype.baseConfig
+ const { sign, username, timestamp } = getSignTimeStamp()
+ return request({
+ url: baseConfig.biUrl + '/factdata/index/getData',
+ method: 'post',
+ data: {
+ 'showField': 'WD01_03,WD03_04,DL01',
+ 'indexId': 'BA6C123F48EE41F4AFDBC43BF4E19403',
+ 'distinct': true,
+ 'type': 0,
+ 'pageNo': null,
+ 'pageSize': null,
+ 'sign': sign,
+ 'name': username,
+ 'time': timestamp
+ }
+ })
+}
+// 各地区供给
export function getAreaSupply() {
const baseConfig = Vue.prototype.baseConfig
const { sign, username, timestamp } = getSignTimeStamp()
diff --git a/src/components/Map/components/supplyLayerNew.vue b/src/components/Map/components/supplyLayerNew.vue
new file mode 100644
index 0000000..a83d4d6
--- /dev/null
+++ b/src/components/Map/components/supplyLayerNew.vue
@@ -0,0 +1,189 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/permission.js b/src/permission.js
index c4f95f2..ac5b682 100644
--- a/src/permission.js
+++ b/src/permission.js
@@ -5,11 +5,12 @@
import { Message } from 'element-ui'
import { getToken } from '@/utils/auth' // getToken from cookie
import { getCurrentSys } from './utils/auth'
+// import { Base64 } from 'js-base64'
import Vue from 'vue'
NProgress.configure({ showSpinner: false })// NProgress configuration
-const whiteList = ['/login', '/applogin', '/appSubject', '/appFaceLogin', '/404', 'config/baseconfig', '/full/storageTopic', '/full/waterThreat', '/full/highConsequence', '/full/constructionThreat', '/full/routeTopic', '/full/waterThreat', '/full/sinkThreat', '/full/vip', '/full/weather', '/full/needTopic', '/full/supplyTopic', '/full/pipeOverview', '/full/overview', '/full/overview_no_button', '/full/overview_new'] // 不重定向白名单
+const whiteList = ['/login', '/applogin', '/appSubject', '/appFaceLogin', '/404', 'config/baseconfig', '/full/storageTopic', '/full/waterThreat', '/full/highConsequence', '/full/constructionThreat', '/full/routeTopic', '/full/waterThreat', '/full/sinkThreat', '/full/vip', '/full/weather', '/full/needTopic', '/full/supplyTopic', '/full/pipeOverview', '/full/overview', '/full/overview_no_button', '/full/overview_new', '/full/overview_new2'] // 不重定向白名单
// 全局钩子
router.beforeEach((to, from, next) => {
NProgress.start() // 加载进度条
@@ -87,7 +88,14 @@
const token = to.query.token
console.log('token' + to.query.token)
if (token) {
- // 调用自动登录接口,否则跳转到登录页
+ // debugger
+ // 2. Base64解码用户名和密码, 去登录
+ // const tokenString = Base64.decode(token)
+ // const tokenArray = tokenString.split(';')
+ // const account = tokenArray[0]
+ // const password = tokenArray[1]
+
+ // 1. 调用自动登录接口,否则跳转到登录页
store.dispatch('AppLogin', token).then(() => {
console.log('自动登录成功')
console.log(to.path)
diff --git a/src/router/index.js b/src/router/index.js
index d08eda3..e56ca28 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -140,6 +140,12 @@
component: () => import('@/views/maps/mapOverview2'),
meta: { title: '综合业务', icon: '' }
},
+ {
+ path: '/full/overview_new2',
+ name: 'FullOverviewNew2',
+ component: () => import('@/views/maps/mapOverview3'),
+ meta: { title: '综合业务', icon: '' }
+ },
// 九宫格
{ path: '/dashboard', component: () => import('@/views/dashboard/index2'), hidden: true }
]
diff --git a/src/api/needSupply.js b/src/api/needSupply.js
index d6a608d..7355698 100644
--- a/src/api/needSupply.js
+++ b/src/api/needSupply.js
@@ -14,6 +14,26 @@
})
}
// 各地区供给
+export function getAreaSupplyNew() {
+ const baseConfig = Vue.prototype.baseConfig
+ const { sign, username, timestamp } = getSignTimeStamp()
+ return request({
+ url: baseConfig.biUrl + '/factdata/index/getData',
+ method: 'post',
+ data: {
+ 'showField': 'WD01_03,WD03_04,DL01',
+ 'indexId': 'BA6C123F48EE41F4AFDBC43BF4E19403',
+ 'distinct': true,
+ 'type': 0,
+ 'pageNo': null,
+ 'pageSize': null,
+ 'sign': sign,
+ 'name': username,
+ 'time': timestamp
+ }
+ })
+}
+// 各地区供给
export function getAreaSupply() {
const baseConfig = Vue.prototype.baseConfig
const { sign, username, timestamp } = getSignTimeStamp()
diff --git a/src/components/Map/components/supplyLayerNew.vue b/src/components/Map/components/supplyLayerNew.vue
new file mode 100644
index 0000000..a83d4d6
--- /dev/null
+++ b/src/components/Map/components/supplyLayerNew.vue
@@ -0,0 +1,189 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/permission.js b/src/permission.js
index c4f95f2..ac5b682 100644
--- a/src/permission.js
+++ b/src/permission.js
@@ -5,11 +5,12 @@
import { Message } from 'element-ui'
import { getToken } from '@/utils/auth' // getToken from cookie
import { getCurrentSys } from './utils/auth'
+// import { Base64 } from 'js-base64'
import Vue from 'vue'
NProgress.configure({ showSpinner: false })// NProgress configuration
-const whiteList = ['/login', '/applogin', '/appSubject', '/appFaceLogin', '/404', 'config/baseconfig', '/full/storageTopic', '/full/waterThreat', '/full/highConsequence', '/full/constructionThreat', '/full/routeTopic', '/full/waterThreat', '/full/sinkThreat', '/full/vip', '/full/weather', '/full/needTopic', '/full/supplyTopic', '/full/pipeOverview', '/full/overview', '/full/overview_no_button', '/full/overview_new'] // 不重定向白名单
+const whiteList = ['/login', '/applogin', '/appSubject', '/appFaceLogin', '/404', 'config/baseconfig', '/full/storageTopic', '/full/waterThreat', '/full/highConsequence', '/full/constructionThreat', '/full/routeTopic', '/full/waterThreat', '/full/sinkThreat', '/full/vip', '/full/weather', '/full/needTopic', '/full/supplyTopic', '/full/pipeOverview', '/full/overview', '/full/overview_no_button', '/full/overview_new', '/full/overview_new2'] // 不重定向白名单
// 全局钩子
router.beforeEach((to, from, next) => {
NProgress.start() // 加载进度条
@@ -87,7 +88,14 @@
const token = to.query.token
console.log('token' + to.query.token)
if (token) {
- // 调用自动登录接口,否则跳转到登录页
+ // debugger
+ // 2. Base64解码用户名和密码, 去登录
+ // const tokenString = Base64.decode(token)
+ // const tokenArray = tokenString.split(';')
+ // const account = tokenArray[0]
+ // const password = tokenArray[1]
+
+ // 1. 调用自动登录接口,否则跳转到登录页
store.dispatch('AppLogin', token).then(() => {
console.log('自动登录成功')
console.log(to.path)
diff --git a/src/router/index.js b/src/router/index.js
index d08eda3..e56ca28 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -140,6 +140,12 @@
component: () => import('@/views/maps/mapOverview2'),
meta: { title: '综合业务', icon: '' }
},
+ {
+ path: '/full/overview_new2',
+ name: 'FullOverviewNew2',
+ component: () => import('@/views/maps/mapOverview3'),
+ meta: { title: '综合业务', icon: '' }
+ },
// 九宫格
{ path: '/dashboard', component: () => import('@/views/dashboard/index2'), hidden: true }
]
diff --git a/src/views/maps/mapOverview3.vue b/src/views/maps/mapOverview3.vue
new file mode 100644
index 0000000..13f7e83
--- /dev/null
+++ b/src/views/maps/mapOverview3.vue
@@ -0,0 +1,339 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+