diff --git a/config/index.js b/config/index.js index 358b560..ab8f4e5 100644 --- a/config/index.js +++ b/config/index.js @@ -19,7 +19,7 @@ } }, // Various Dev Server settings - // host: '0.0.0.0', // can be overwritten by process.env.HOST + host: '0.0.0.0', // can be overwritten by process.env.HOST port: 8081, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/config/index.js b/config/index.js index 358b560..ab8f4e5 100644 --- a/config/index.js +++ b/config/index.js @@ -19,7 +19,7 @@ } }, // Various Dev Server settings - // host: '0.0.0.0', // can be overwritten by process.env.HOST + host: '0.0.0.0', // can be overwritten by process.env.HOST port: 8081, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/index.html b/index.html index 82a7058..bd3a89f 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,7 @@ + 管理者驾驶舱 diff --git a/config/index.js b/config/index.js index 358b560..ab8f4e5 100644 --- a/config/index.js +++ b/config/index.js @@ -19,7 +19,7 @@ } }, // Various Dev Server settings - // host: '0.0.0.0', // can be overwritten by process.env.HOST + host: '0.0.0.0', // can be overwritten by process.env.HOST port: 8081, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/index.html b/index.html index 82a7058..bd3a89f 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,7 @@ + 管理者驾驶舱 diff --git a/src/api/hca.js b/src/api/hca.js index 3ff004a..9439c1c 100644 --- a/src/api/hca.js +++ b/src/api/hca.js @@ -8,7 +8,7 @@ export function getHighConsequence() { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_03,WD02_04,WD58_03,DES01,DES02,DES03,DES04,DES04,DES05,DES06,DES07,DES08,DES09,DES10,DES11,DES12,DL01', diff --git a/config/index.js b/config/index.js index 358b560..ab8f4e5 100644 --- a/config/index.js +++ b/config/index.js @@ -19,7 +19,7 @@ } }, // Various Dev Server settings - // host: '0.0.0.0', // can be overwritten by process.env.HOST + host: '0.0.0.0', // can be overwritten by process.env.HOST port: 8081, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/index.html b/index.html index 82a7058..bd3a89f 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,7 @@ + 管理者驾驶舱 diff --git a/src/api/hca.js b/src/api/hca.js index 3ff004a..9439c1c 100644 --- a/src/api/hca.js +++ b/src/api/hca.js @@ -8,7 +8,7 @@ export function getHighConsequence() { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_03,WD02_04,WD58_03,DES01,DES02,DES03,DES04,DES04,DES05,DES06,DES07,DES08,DES09,DES10,DES11,DES12,DL01', diff --git a/src/api/needSupply.js b/src/api/needSupply.js index cca1e27..9770a42 100644 --- a/src/api/needSupply.js +++ b/src/api/needSupply.js @@ -15,7 +15,7 @@ export function getAreaSupply(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_01,WD09_05,DL01,DL02,DL03', @@ -71,7 +71,7 @@ export function getUserSupply(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_01,WD_01_03,WD02_01,WD02_03,WD02_04,WD02_05,WD_06,DL02,DL03', diff --git a/config/index.js b/config/index.js index 358b560..ab8f4e5 100644 --- a/config/index.js +++ b/config/index.js @@ -19,7 +19,7 @@ } }, // Various Dev Server settings - // host: '0.0.0.0', // can be overwritten by process.env.HOST + host: '0.0.0.0', // can be overwritten by process.env.HOST port: 8081, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/index.html b/index.html index 82a7058..bd3a89f 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,7 @@ + 管理者驾驶舱 diff --git a/src/api/hca.js b/src/api/hca.js index 3ff004a..9439c1c 100644 --- a/src/api/hca.js +++ b/src/api/hca.js @@ -8,7 +8,7 @@ export function getHighConsequence() { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_03,WD02_04,WD58_03,DES01,DES02,DES03,DES04,DES04,DES05,DES06,DES07,DES08,DES09,DES10,DES11,DES12,DL01', diff --git a/src/api/needSupply.js b/src/api/needSupply.js index cca1e27..9770a42 100644 --- a/src/api/needSupply.js +++ b/src/api/needSupply.js @@ -15,7 +15,7 @@ export function getAreaSupply(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_01,WD09_05,DL01,DL02,DL03', @@ -71,7 +71,7 @@ export function getUserSupply(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_01,WD_01_03,WD02_01,WD02_03,WD02_04,WD02_05,WD_06,DL02,DL03', diff --git a/src/api/pipe.js b/src/api/pipe.js index 5d0b3d2..a5662f8 100644 --- a/src/api/pipe.js +++ b/src/api/pipe.js @@ -7,7 +7,7 @@ export function getEarthquakeList(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD53_09,WD53_05,WD53_06,WD53_07,WD53_08,WD53_04', @@ -35,7 +35,7 @@ export function getRoutesData(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD60_03,WD60_04,WD60_05,WD60_06,WD60_08,WD60_09,WD60_10,WD60_11,WD60_12,WD60_13', diff --git a/config/index.js b/config/index.js index 358b560..ab8f4e5 100644 --- a/config/index.js +++ b/config/index.js @@ -19,7 +19,7 @@ } }, // Various Dev Server settings - // host: '0.0.0.0', // can be overwritten by process.env.HOST + host: '0.0.0.0', // can be overwritten by process.env.HOST port: 8081, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/index.html b/index.html index 82a7058..bd3a89f 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,7 @@ + 管理者驾驶舱 diff --git a/src/api/hca.js b/src/api/hca.js index 3ff004a..9439c1c 100644 --- a/src/api/hca.js +++ b/src/api/hca.js @@ -8,7 +8,7 @@ export function getHighConsequence() { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_03,WD02_04,WD58_03,DES01,DES02,DES03,DES04,DES04,DES05,DES06,DES07,DES08,DES09,DES10,DES11,DES12,DL01', diff --git a/src/api/needSupply.js b/src/api/needSupply.js index cca1e27..9770a42 100644 --- a/src/api/needSupply.js +++ b/src/api/needSupply.js @@ -15,7 +15,7 @@ export function getAreaSupply(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_01,WD09_05,DL01,DL02,DL03', @@ -71,7 +71,7 @@ export function getUserSupply(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_01,WD_01_03,WD02_01,WD02_03,WD02_04,WD02_05,WD_06,DL02,DL03', diff --git a/src/api/pipe.js b/src/api/pipe.js index 5d0b3d2..a5662f8 100644 --- a/src/api/pipe.js +++ b/src/api/pipe.js @@ -7,7 +7,7 @@ export function getEarthquakeList(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD53_09,WD53_05,WD53_06,WD53_07,WD53_08,WD53_04', @@ -35,7 +35,7 @@ export function getRoutesData(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD60_03,WD60_04,WD60_05,WD60_06,WD60_08,WD60_09,WD60_10,WD60_11,WD60_12,WD60_13', diff --git a/src/api/threat.js b/src/api/threat.js index bebd145..51a6f27 100644 --- a/src/api/threat.js +++ b/src/api/threat.js @@ -8,7 +8,7 @@ export function getWaterThreat() { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_03,WD54_03,WD56_03,DES01,DES02,DES03,DES04,DES04,DES05,DES06,DES07,DES08,DES09,DES10', diff --git a/config/index.js b/config/index.js index 358b560..ab8f4e5 100644 --- a/config/index.js +++ b/config/index.js @@ -19,7 +19,7 @@ } }, // Various Dev Server settings - // host: '0.0.0.0', // can be overwritten by process.env.HOST + host: '0.0.0.0', // can be overwritten by process.env.HOST port: 8081, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/index.html b/index.html index 82a7058..bd3a89f 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,7 @@ + 管理者驾驶舱 diff --git a/src/api/hca.js b/src/api/hca.js index 3ff004a..9439c1c 100644 --- a/src/api/hca.js +++ b/src/api/hca.js @@ -8,7 +8,7 @@ export function getHighConsequence() { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_03,WD02_04,WD58_03,DES01,DES02,DES03,DES04,DES04,DES05,DES06,DES07,DES08,DES09,DES10,DES11,DES12,DL01', diff --git a/src/api/needSupply.js b/src/api/needSupply.js index cca1e27..9770a42 100644 --- a/src/api/needSupply.js +++ b/src/api/needSupply.js @@ -15,7 +15,7 @@ export function getAreaSupply(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_01,WD09_05,DL01,DL02,DL03', @@ -71,7 +71,7 @@ export function getUserSupply(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_01,WD_01_03,WD02_01,WD02_03,WD02_04,WD02_05,WD_06,DL02,DL03', diff --git a/src/api/pipe.js b/src/api/pipe.js index 5d0b3d2..a5662f8 100644 --- a/src/api/pipe.js +++ b/src/api/pipe.js @@ -7,7 +7,7 @@ export function getEarthquakeList(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD53_09,WD53_05,WD53_06,WD53_07,WD53_08,WD53_04', @@ -35,7 +35,7 @@ export function getRoutesData(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD60_03,WD60_04,WD60_05,WD60_06,WD60_08,WD60_09,WD60_10,WD60_11,WD60_12,WD60_13', diff --git a/src/api/threat.js b/src/api/threat.js index bebd145..51a6f27 100644 --- a/src/api/threat.js +++ b/src/api/threat.js @@ -8,7 +8,7 @@ export function getWaterThreat() { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_03,WD54_03,WD56_03,DES01,DES02,DES03,DES04,DES04,DES05,DES06,DES07,DES08,DES09,DES10', diff --git a/src/api/weather.js b/src/api/weather.js index 0beebbb..9f84011 100644 --- a/src/api/weather.js +++ b/src/api/weather.js @@ -7,7 +7,7 @@ export function getWeatherList(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD51_20,WD51_21,WD51_22,WD51_08,WD51_10,WD51_12,WD51_14,WD51_15', @@ -41,7 +41,7 @@ export function getDisasterList(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD52_03,WD52_05,WD52_06,WD52_07,WD52_08,WD52_09,WD52_10,WD52_12,WD52_13', diff --git a/config/index.js b/config/index.js index 358b560..ab8f4e5 100644 --- a/config/index.js +++ b/config/index.js @@ -19,7 +19,7 @@ } }, // Various Dev Server settings - // host: '0.0.0.0', // can be overwritten by process.env.HOST + host: '0.0.0.0', // can be overwritten by process.env.HOST port: 8081, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/index.html b/index.html index 82a7058..bd3a89f 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,7 @@ + 管理者驾驶舱 diff --git a/src/api/hca.js b/src/api/hca.js index 3ff004a..9439c1c 100644 --- a/src/api/hca.js +++ b/src/api/hca.js @@ -8,7 +8,7 @@ export function getHighConsequence() { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_03,WD02_04,WD58_03,DES01,DES02,DES03,DES04,DES04,DES05,DES06,DES07,DES08,DES09,DES10,DES11,DES12,DL01', diff --git a/src/api/needSupply.js b/src/api/needSupply.js index cca1e27..9770a42 100644 --- a/src/api/needSupply.js +++ b/src/api/needSupply.js @@ -15,7 +15,7 @@ export function getAreaSupply(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_01,WD09_05,DL01,DL02,DL03', @@ -71,7 +71,7 @@ export function getUserSupply(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_01,WD_01_03,WD02_01,WD02_03,WD02_04,WD02_05,WD_06,DL02,DL03', diff --git a/src/api/pipe.js b/src/api/pipe.js index 5d0b3d2..a5662f8 100644 --- a/src/api/pipe.js +++ b/src/api/pipe.js @@ -7,7 +7,7 @@ export function getEarthquakeList(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD53_09,WD53_05,WD53_06,WD53_07,WD53_08,WD53_04', @@ -35,7 +35,7 @@ export function getRoutesData(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD60_03,WD60_04,WD60_05,WD60_06,WD60_08,WD60_09,WD60_10,WD60_11,WD60_12,WD60_13', diff --git a/src/api/threat.js b/src/api/threat.js index bebd145..51a6f27 100644 --- a/src/api/threat.js +++ b/src/api/threat.js @@ -8,7 +8,7 @@ export function getWaterThreat() { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_03,WD54_03,WD56_03,DES01,DES02,DES03,DES04,DES04,DES05,DES06,DES07,DES08,DES09,DES10', diff --git a/src/api/weather.js b/src/api/weather.js index 0beebbb..9f84011 100644 --- a/src/api/weather.js +++ b/src/api/weather.js @@ -7,7 +7,7 @@ export function getWeatherList(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD51_20,WD51_21,WD51_22,WD51_08,WD51_10,WD51_12,WD51_14,WD51_15', @@ -41,7 +41,7 @@ export function getDisasterList(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD52_03,WD52_05,WD52_06,WD52_07,WD52_08,WD52_09,WD52_10,WD52_12,WD52_13', diff --git a/src/assets/login_images/app-login-back.png b/src/assets/login_images/app-login-back.png new file mode 100644 index 0000000..6a4f010 --- /dev/null +++ b/src/assets/login_images/app-login-back.png Binary files differ diff --git a/config/index.js b/config/index.js index 358b560..ab8f4e5 100644 --- a/config/index.js +++ b/config/index.js @@ -19,7 +19,7 @@ } }, // Various Dev Server settings - // host: '0.0.0.0', // can be overwritten by process.env.HOST + host: '0.0.0.0', // can be overwritten by process.env.HOST port: 8081, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/index.html b/index.html index 82a7058..bd3a89f 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,7 @@ + 管理者驾驶舱 diff --git a/src/api/hca.js b/src/api/hca.js index 3ff004a..9439c1c 100644 --- a/src/api/hca.js +++ b/src/api/hca.js @@ -8,7 +8,7 @@ export function getHighConsequence() { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_03,WD02_04,WD58_03,DES01,DES02,DES03,DES04,DES04,DES05,DES06,DES07,DES08,DES09,DES10,DES11,DES12,DL01', diff --git a/src/api/needSupply.js b/src/api/needSupply.js index cca1e27..9770a42 100644 --- a/src/api/needSupply.js +++ b/src/api/needSupply.js @@ -15,7 +15,7 @@ export function getAreaSupply(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_01,WD09_05,DL01,DL02,DL03', @@ -71,7 +71,7 @@ export function getUserSupply(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_01,WD_01_03,WD02_01,WD02_03,WD02_04,WD02_05,WD_06,DL02,DL03', diff --git a/src/api/pipe.js b/src/api/pipe.js index 5d0b3d2..a5662f8 100644 --- a/src/api/pipe.js +++ b/src/api/pipe.js @@ -7,7 +7,7 @@ export function getEarthquakeList(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD53_09,WD53_05,WD53_06,WD53_07,WD53_08,WD53_04', @@ -35,7 +35,7 @@ export function getRoutesData(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD60_03,WD60_04,WD60_05,WD60_06,WD60_08,WD60_09,WD60_10,WD60_11,WD60_12,WD60_13', diff --git a/src/api/threat.js b/src/api/threat.js index bebd145..51a6f27 100644 --- a/src/api/threat.js +++ b/src/api/threat.js @@ -8,7 +8,7 @@ export function getWaterThreat() { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_03,WD54_03,WD56_03,DES01,DES02,DES03,DES04,DES04,DES05,DES06,DES07,DES08,DES09,DES10', diff --git a/src/api/weather.js b/src/api/weather.js index 0beebbb..9f84011 100644 --- a/src/api/weather.js +++ b/src/api/weather.js @@ -7,7 +7,7 @@ export function getWeatherList(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD51_20,WD51_21,WD51_22,WD51_08,WD51_10,WD51_12,WD51_14,WD51_15', @@ -41,7 +41,7 @@ export function getDisasterList(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD52_03,WD52_05,WD52_06,WD52_07,WD52_08,WD52_09,WD52_10,WD52_12,WD52_13', diff --git a/src/assets/login_images/app-login-back.png b/src/assets/login_images/app-login-back.png new file mode 100644 index 0000000..6a4f010 --- /dev/null +++ b/src/assets/login_images/app-login-back.png Binary files differ diff --git a/src/assets/login_images/logo-simple.png b/src/assets/login_images/logo-simple.png new file mode 100644 index 0000000..63ab65b --- /dev/null +++ b/src/assets/login_images/logo-simple.png Binary files differ diff --git a/config/index.js b/config/index.js index 358b560..ab8f4e5 100644 --- a/config/index.js +++ b/config/index.js @@ -19,7 +19,7 @@ } }, // Various Dev Server settings - // host: '0.0.0.0', // can be overwritten by process.env.HOST + host: '0.0.0.0', // can be overwritten by process.env.HOST port: 8081, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/index.html b/index.html index 82a7058..bd3a89f 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,7 @@ + 管理者驾驶舱 diff --git a/src/api/hca.js b/src/api/hca.js index 3ff004a..9439c1c 100644 --- a/src/api/hca.js +++ b/src/api/hca.js @@ -8,7 +8,7 @@ export function getHighConsequence() { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_03,WD02_04,WD58_03,DES01,DES02,DES03,DES04,DES04,DES05,DES06,DES07,DES08,DES09,DES10,DES11,DES12,DL01', diff --git a/src/api/needSupply.js b/src/api/needSupply.js index cca1e27..9770a42 100644 --- a/src/api/needSupply.js +++ b/src/api/needSupply.js @@ -15,7 +15,7 @@ export function getAreaSupply(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_01,WD09_05,DL01,DL02,DL03', @@ -71,7 +71,7 @@ export function getUserSupply(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_01,WD_01_03,WD02_01,WD02_03,WD02_04,WD02_05,WD_06,DL02,DL03', diff --git a/src/api/pipe.js b/src/api/pipe.js index 5d0b3d2..a5662f8 100644 --- a/src/api/pipe.js +++ b/src/api/pipe.js @@ -7,7 +7,7 @@ export function getEarthquakeList(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD53_09,WD53_05,WD53_06,WD53_07,WD53_08,WD53_04', @@ -35,7 +35,7 @@ export function getRoutesData(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD60_03,WD60_04,WD60_05,WD60_06,WD60_08,WD60_09,WD60_10,WD60_11,WD60_12,WD60_13', diff --git a/src/api/threat.js b/src/api/threat.js index bebd145..51a6f27 100644 --- a/src/api/threat.js +++ b/src/api/threat.js @@ -8,7 +8,7 @@ export function getWaterThreat() { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD01_03,WD54_03,WD56_03,DES01,DES02,DES03,DES04,DES04,DES05,DES06,DES07,DES08,DES09,DES10', diff --git a/src/api/weather.js b/src/api/weather.js index 0beebbb..9f84011 100644 --- a/src/api/weather.js +++ b/src/api/weather.js @@ -7,7 +7,7 @@ export function getWeatherList(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD51_20,WD51_21,WD51_22,WD51_08,WD51_10,WD51_12,WD51_14,WD51_15', @@ -41,7 +41,7 @@ export function getDisasterList(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ - url: 'http://172.26.2.128:9001/factdata/index/getData', + url: 'http://10.100.252.13:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD52_03,WD52_05,WD52_06,WD52_07,WD52_08,WD52_09,WD52_10,WD52_12,WD52_13', diff --git a/src/assets/login_images/app-login-back.png b/src/assets/login_images/app-login-back.png new file mode 100644 index 0000000..6a4f010 --- /dev/null +++ b/src/assets/login_images/app-login-back.png Binary files differ diff --git a/src/assets/login_images/logo-simple.png b/src/assets/login_images/logo-simple.png new file mode 100644 index 0000000..63ab65b --- /dev/null +++ b/src/assets/login_images/logo-simple.png Binary files differ diff --git a/src/layout/LayoutApp.vue b/src/layout/LayoutApp.vue new file mode 100644 index 0000000..37f4449 --- /dev/null +++ b/src/layout/LayoutApp.vue @@ -0,0 +1,77 @@ +