大屏、储能首页及换肤
@ -4,7 +4,7 @@ ENV = 'development'
|
|||||||
# base api //http://192.168.1.181:8000/api 192.168.1.199:8000/api // http://124.71.192.230:8000/api // http://127.0.0.1:4523/m1/1450402-0-default
|
# base api //http://192.168.1.181:8000/api 192.168.1.199:8000/api // http://124.71.192.230:8000/api // http://127.0.0.1:4523/m1/1450402-0-default
|
||||||
|
|
||||||
|
|
||||||
VUE_APP_BASE_API = 'https://zetatech.zzkj-cloud.com/api'
|
VUE_APP_BASE_API = 'https://zzkj-cloud.com/api'
|
||||||
VUE_APP_VISUALE_API = http://192.168.0.82:9527
|
VUE_APP_VISUALE_API = http://192.168.0.82:9527
|
||||||
VUE_APP_ZUTAI_API = http://192.168.100.83:8001
|
VUE_APP_ZUTAI_API = http://192.168.100.83:8001
|
||||||
|
|
||||||
|
|||||||
@ -2,5 +2,5 @@
|
|||||||
ENV = 'production'
|
ENV = 'production'
|
||||||
|
|
||||||
# base api
|
# base api
|
||||||
VUE_APP_BASE_API = 'https://zetatech.zzkj-cloud.com/api'
|
VUE_APP_BASE_API = 'https://zzkj-cloud.com/api'
|
||||||
|
|
||||||
|
|||||||
632
package-lock.json
generated
@ -3450,7 +3450,7 @@ function getDi(element) {
|
|||||||
|
|
||||||
function getSemantic(element) {
|
function getSemantic(element) {
|
||||||
return element.businessObject;
|
return element.businessObject;
|
||||||
} // color access //////////////////////
|
} //////////////////////
|
||||||
|
|
||||||
|
|
||||||
function getFillColor(element, defaultColor) {
|
function getFillColor(element, defaultColor) {
|
||||||
|
|||||||
12
src/App.vue
@ -60,7 +60,10 @@ export default {
|
|||||||
</style>
|
</style>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
::v-deep .item-top-new {
|
::v-deep .item-top-new {
|
||||||
background-image: var(--item-header-bg) !important;
|
background-image: var(--item-header-bg-new-2x) !important;
|
||||||
|
.top-title{
|
||||||
|
padding: 0 10px 0 15px !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep #chart{
|
::v-deep #chart{
|
||||||
@ -81,12 +84,17 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .stationData-content-box{
|
::v-deep .stationData-content-box{
|
||||||
background: url(./assets/station-data/item-bg.png) no-repeat !important;
|
// background: url(./assets/station-data/item-bg.png) no-repeat !important;
|
||||||
background-size: 100% 100%!important;
|
background-size: 100% 100%!important;
|
||||||
|
padding: 0 20px!important;
|
||||||
|
margin-bottom: 7px!important;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .price-con-item {
|
::v-deep .price-con-item {
|
||||||
background: url(./assets/images/price-bg.png) no-repeat !important;
|
background: url(./assets/images/price-bg.png) no-repeat !important;
|
||||||
background-size: 100% 100%!important;
|
background-size: 100% 100%!important;
|
||||||
}
|
}
|
||||||
|
::v-deep .item-con{
|
||||||
|
background: rgba(0, 0, 0, 0.3) !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 798 B |
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 5.9 KiB |
|
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 6.0 KiB |
BIN
src/assets/images/air-bg-new.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 290 KiB After Width: | Height: | Size: 292 KiB |
|
Before Width: | Height: | Size: 631 KiB After Width: | Height: | Size: 635 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 304 KiB After Width: | Height: | Size: 318 KiB |
|
Before Width: | Height: | Size: 442 KiB After Width: | Height: | Size: 444 KiB |
|
Before Width: | Height: | Size: 536 KiB After Width: | Height: | Size: 537 KiB |
|
Before Width: | Height: | Size: 636 KiB After Width: | Height: | Size: 642 KiB |
|
Before Width: | Height: | Size: 103 KiB After Width: | Height: | Size: 102 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 454 KiB After Width: | Height: | Size: 458 KiB |
|
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 96 KiB |
BIN
src/assets/images/home-item-header-new-2x.png
Normal file
|
After Width: | Height: | Size: 165 KiB |
BIN
src/assets/images/home-item-header-new.png
Normal file
|
After Width: | Height: | Size: 85 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 405 KiB After Width: | Height: | Size: 434 KiB |
|
Before Width: | Height: | Size: 682 KiB After Width: | Height: | Size: 709 KiB |
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 5.6 KiB |
BIN
src/assets/images/main-menu-line1.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 95 KiB |
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.2 KiB |
|
Before Width: | Height: | Size: 600 B After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 740 B After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 746 B After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 647 B After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 656 B After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 407 B After Width: | Height: | Size: 1.6 KiB |
BIN
src/assets/images/triangle-left.png
Normal file
|
After Width: | Height: | Size: 241 B |
BIN
src/assets/images/triangle-right.png
Normal file
|
After Width: | Height: | Size: 218 B |
|
Before Width: | Height: | Size: 118 KiB After Width: | Height: | Size: 119 KiB |
|
Before Width: | Height: | Size: 781 B After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 398 B After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 838 B After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 840 B After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 8.6 KiB |
|
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 7.9 KiB |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 6.7 KiB |
|
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 8.5 KiB |
|
Before Width: | Height: | Size: 940 B After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 378 B After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 818 B After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 703 B After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 477 B After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.3 KiB |
|
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 294 KiB After Width: | Height: | Size: 223 KiB |
|
Before Width: | Height: | Size: 538 KiB After Width: | Height: | Size: 1017 KiB |
BIN
src/assets/login_images/login-left.png
Normal file
|
After Width: | Height: | Size: 652 KiB |
BIN
src/assets/login_images/password.png
Normal file
|
After Width: | Height: | Size: 915 B |
BIN
src/assets/login_images/user.png
Normal file
|
After Width: | Height: | Size: 878 B |
|
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 13 KiB |
103310
src/assets/mapJson/chinaMapEn.json
Normal file
BIN
src/assets/new-screen/co2.png
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
BIN
src/assets/new-screen/mei.png
Normal file
|
After Width: | Height: | Size: 8.0 KiB |
|
Before Width: | Height: | Size: 526 B After Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 1.4 KiB |
BIN
src/assets/new-screen/screen-zz-bg.png
Normal file
|
After Width: | Height: | Size: 4.8 MiB |
BIN
src/assets/new-screen/screen-zz-map.png
Normal file
|
After Width: | Height: | Size: 2.5 MiB |
BIN
src/assets/new-screen/screen-zz-world-map.png
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
src/assets/new-screen/shouru.png
Normal file
|
After Width: | Height: | Size: 8.5 KiB |
|
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 125 KiB |
BIN
src/assets/new-screen/top-left-icon1.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
src/assets/new-screen/top-left-icon2.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
src/assets/new-screen/top-left-icon3.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
src/assets/new-screen/tree.png
Normal file
|
After Width: | Height: | Size: 7.3 KiB |
BIN
src/assets/station-data/eleImg.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
src/assets/station-data/rectangle-img.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 8.7 KiB After Width: | Height: | Size: 6.4 KiB |
@ -1,4 +1,6 @@
|
|||||||
// import parseTime, formatTime and set to filter
|
// import parseTime, formatTime and set to filter
|
||||||
|
|
||||||
|
import { getLanguage } from '../lang'
|
||||||
export { parseTime, formatTime } from '@/utils'
|
export { parseTime, formatTime } from '@/utils'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -200,7 +202,7 @@ export function kgFormat(num, digits) {
|
|||||||
* @param {number} digits
|
* @param {number} digits
|
||||||
*/
|
*/
|
||||||
export function moneyUnitFormat(num) {
|
export function moneyUnitFormat(num) {
|
||||||
if (sessionStorage.getItem('language') === 'en_US') {
|
if (getLanguage() !== 'zh_CN') {
|
||||||
if (!num) {
|
if (!num) {
|
||||||
return 'EUR'
|
return 'EUR'
|
||||||
}
|
}
|
||||||
@ -226,7 +228,7 @@ export function moneyUnitFormat(num) {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
export function KgUnitFormat(num) {
|
export function KgUnitFormat(num) {
|
||||||
if (sessionStorage.getItem('language') === 'en_US') {
|
if (getLanguage() === 'en_US') {
|
||||||
if (!num) {
|
if (!num) {
|
||||||
return 'kg'
|
return 'kg'
|
||||||
}
|
}
|
||||||
|
|||||||
@ -198,7 +198,7 @@ export default {
|
|||||||
shutStan: '待机/停机',
|
shutStan: '待机/停机',
|
||||||
powerSide: '电厂侧',
|
powerSide: '电厂侧',
|
||||||
energySide: '储能侧',
|
energySide: '储能侧',
|
||||||
controlPlatform: '智慧储能管控平台',
|
controlPlatform: '中自智慧能源平台',
|
||||||
measureAmmeter: '计量电表',
|
measureAmmeter: '计量电表',
|
||||||
sodBattery: '钠离子电池',
|
sodBattery: '钠离子电池',
|
||||||
Atransformer: '一段变压器',
|
Atransformer: '一段变压器',
|
||||||
|
|||||||
@ -94,9 +94,9 @@ export default {
|
|||||||
noPagePermiss: 'No permission for this page'
|
noPagePermiss: 'No permission for this page'
|
||||||
},
|
},
|
||||||
login: {
|
login: {
|
||||||
title: 'Smart energy storage control platform',
|
title: 'Zetatech smart energy storage management platform',
|
||||||
logIn: 'Login',
|
logIn: 'Login',
|
||||||
username: 'Account',
|
username: 'Username',
|
||||||
password: 'Password',
|
password: 'Password',
|
||||||
any: 'Fill as needed',
|
any: 'Fill as needed',
|
||||||
thirdparty: 'Third-party login',
|
thirdparty: 'Third-party login',
|
||||||
|
|||||||