|
|
@ -4,7 +4,7 @@ |
|
|
<div class="boards-container"> |
|
|
<div class="boards-container"> |
|
|
<div class="center" title="使用鼠标左键、滚轮实现拖拽、放大缩小。"></div> |
|
|
<div class="center" title="使用鼠标左键、滚轮实现拖拽、放大缩小。"></div> |
|
|
<div class="top"> |
|
|
<div class="top"> |
|
|
<div class="title" @click="reset" title="点击此标题将鸟瞰图及管线恢复成初始状态。">南京海陵药业能源管理平台</div> |
|
|
|
|
|
|
|
|
<div class="title" @click="reset" title="点击此标题将鸟瞰图及管线恢复成初始状态。">{{ $store.state.user.tenantName || '平台看板' }}</div> |
|
|
<div class="time" v-if="timeCount && timeCount.ts > 0"> |
|
|
<div class="time" v-if="timeCount && timeCount.ts > 0"> |
|
|
<div class="time-left"> |
|
|
<div class="time-left"> |
|
|
{{ $m(timeCount.ts).format('HH:mm:ss') }} |
|
|
{{ $m(timeCount.ts).format('HH:mm:ss') }} |
|
|
@ -193,9 +193,9 @@ export default defineComponent({ |
|
|
right: [ |
|
|
right: [ |
|
|
{ |
|
|
{ |
|
|
comp: 'chart', |
|
|
comp: 'chart', |
|
|
title: '能耗费用统计(月)', |
|
|
|
|
|
|
|
|
title: '能耗统计(月)', |
|
|
option: costStatistic(), |
|
|
option: costStatistic(), |
|
|
unit: '元', |
|
|
|
|
|
|
|
|
unit: '', |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
comp: 'chart', |
|
|
comp: 'chart', |
|
|
@ -324,7 +324,6 @@ export default defineComponent({ |
|
|
); |
|
|
); |
|
|
|
|
|
|
|
|
const getSvg = () => { |
|
|
const getSvg = () => { |
|
|
debugger; |
|
|
|
|
|
const target = document.querySelector('.boards-container .center') as HTMLElement; |
|
|
const target = document.querySelector('.boards-container .center') as HTMLElement; |
|
|
generateSvg2Dom('/cdn/njhl_bg.svg', target, () => { |
|
|
generateSvg2Dom('/cdn/njhl_bg.svg', target, () => { |
|
|
target.style.transform = 'scale(1.2)'; |
|
|
target.style.transform = 'scale(1.2)'; |
|
|
@ -397,7 +396,7 @@ export default defineComponent({ |
|
|
background-size: 100% 100%; |
|
|
background-size: 100% 100%; |
|
|
text-align: center; |
|
|
text-align: center; |
|
|
font-weight: bold; |
|
|
font-weight: bold; |
|
|
font-size: 44px; |
|
|
|
|
|
|
|
|
font-size: 40px; |
|
|
cursor: pointer; |
|
|
cursor: pointer; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|