master
“yu” 2024-07-14 09:40:46 +08:00
parent 9a5377e772
commit 1b5efec1a3
6 changed files with 31 additions and 94 deletions

View File

@ -48,7 +48,7 @@ function useT() {
[() => currentRoute.value.path],
() => {
const route = unref(currentRoute);
const globalTitle = "全域能量管控平台";
const globalTitle = "源网荷储资源配置平台";
const currentTitle = route?.meta?.title as string;
title.value = currentTitle

View File

@ -15,11 +15,11 @@
<!-- <img src="@/assets/images/mianpagev3/top/quanyu.png" alt="" /> -->
<!-- 上海院要用文字 用下面的 浙江没要求用上面的图片 -->
<div class="title">
<div class="title_Ch">全域能量管控平台</div>
<div class="title_Ch">源网荷储资源配置平台</div>
<!-- <div class="title_En">WideArea Energy Digital Management & Control System</div> -->
<div class="title_En">
<!-- <div class="title_En">
wide-area energy management and control platform
</div>
</div> -->
</div>
</div>
<div class="header-info">
@ -268,7 +268,7 @@ p {
.header-title {
flex: 1;
display: flex;
// align-items: center;
align-items: center;
justify-content: center;
.title {

View File

@ -25,9 +25,9 @@
</div>
</div> -->
<div class="leftBox">
<div class="projectName">全域能量管控平台</div>
<div class="projectName">源网荷储资源配置平台</div>
<!-- <div class="projectName_En">Universe Energy Digital Regulation Platform</div> -->
<div class="projectName_En">wide-area energy management and control platform</div>
<!-- <div class="projectName_En">wide-area energy management and control platform</div> -->
</div>
<div class="rightBox">
<img src="@/assets/images/login/tianjin.png" alt="">

View File

@ -33,28 +33,7 @@
<div class="car_left_box content_bg">
<carTree></carTree>
</div>
<!-- 三维地图标识 -->
<div class="legend_cus">
<div class="legendlist">
<div
class="legendRow"
v-for="(item, index) in lengendDate"
:key="index"
@click="handleSelectCheck(item)"
>
<div class="legend_l">
<!-- <img :src="item.imgUrl" alt="" /> -->
<div
:class="[
item.checkFlag ? 'select_active' : 'select_default',
'selectbox',
]"
></div>
<div class="yshadow legend_name">{{ item.lengendName }}</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

View File

@ -66,7 +66,7 @@
{{ unit35?.length }} <span>kW</span>
</div>
<div class="hu">
{{ unit35?.count }} <span></span>
{{ unit35?.count }} <span></span>
</div>
</div>
</div>
@ -87,7 +87,7 @@
{{ unit10?.length }} <span>kW</span>
</div>
<div class="hu">
{{ unit10?.count }} <span></span>
{{ unit10?.count }} <span></span>
</div>
</div>
</div>
@ -108,7 +108,7 @@
{{ unit380lowarrLength }}<span> kW</span>
</div>
<div class="hu">
{{ unit380lowarrCount }} <span></span>
{{ unit380lowarrCount }} <span></span>
</div>
</div>
</div>
@ -283,29 +283,8 @@
</div>
</div>
</div>
<!-- -->
<div class="legend_cus">
<div class="name">地图显示元素</div>
<div class="legendlist">
<div
class="legendRow"
v-for="(item, index) in lengendDate"
:key="index"
@click="handleSelectCheck(item)"
>
<div class="legend_l">
<!-- <img :src="item.imgUrl" alt="" /> -->
<div
:class="[
item.checkFlag ? 'select_active' : 'select_default',
'selectbox',
]"
></div>
<div class="yshadow">{{ item.lengendName }}</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@ -507,7 +486,7 @@
/>
</div>
<div class="photovoltaic_value1">
<div class="kw">1010 <span></span></div>
<div class="kw">0 <span></span></div>
<div class="hu">9999 <span>kW</span></div>
</div>
</div>
@ -525,7 +504,7 @@
/>
</div>
<div class="photovoltaic_value1">
<div class="kw">1010 <span></span></div>
<div class="kw">0 <span></span></div>
<div class="hu">9999 <span>kW</span></div>
</div>
</div>
@ -542,8 +521,8 @@
/>
</div>
<div class="photovoltaic_value1">
<div class="kw">1010 <span></span></div>
<div class="hu">9999 <span>kW</span></div>
<div class="kw">0 <span></span></div>
<div class="hu">0 <span>kW</span></div>
</div>
</div>
</div>
@ -929,11 +908,11 @@ interface lenCoutInfo {
[key: string]: lenCoutInfoItem;
}
let SourcePv_unit: Ref<lenCoutInfo | null> = ref(null); // 使 ref
let unit10: Ref<lenCoutInfoItem | null> = ref({ length: 1010, count: 1010 }); //10kv
let unit35: Ref<lenCoutInfoItem | null> = ref({ length: 1010, count: 1010 }); //35kv
let unit10: Ref<lenCoutInfoItem | null> = ref({ length: 0, count: 0 }); //10kv
let unit35: Ref<lenCoutInfoItem | null> = ref({ length: 0, count: 0 }); //35kv
let unit380lowarr = reactive<any>([]); //380v
let unit380lowarrLength = ref(1010); //380v
let unit380lowarrCount = ref(1010); //380v
let unit380lowarrLength = ref(0); //380v
let unit380lowarrCount = ref(0); //380v
// --
interface InfoItem {
name?: string;
@ -948,23 +927,23 @@ interface Info {
let SourcePvstation: Ref<Info | null> = ref([
{
name: "**厂站",
ratedS: 1015,
ratedS: 0,
},
{
name: "**厂站",
ratedS: 1015,
ratedS: 0,
},
]); // 使 ref
// --
let sumLoadrateds = ref<any>(0); //
let loadchargingPile: Ref<Info | null> = ref(null); // 使 ref
let loadchargingPileratedS = ref<any>(10); //
let loadchargingPilecount = ref<any>(10); //
let loadchargingPileratedS = ref<any>(0); //
let loadchargingPilecount = ref<any>(0); //
// --
let loadAirconditioner: Ref<Info | null> = ref(null); // 使 ref
let loadAirconditionerratedS = ref<any>(10); //
let loadAirconditionerratedS = ref<any>(0); //
let loadAirconditionercount = ref<any>(0); //
// --
// let loadMicrogrid: Ref<Info | null> = ref(null); // 使 ref
@ -973,11 +952,11 @@ let loadMicrogridcount = ref<any>(0); //空调得户数
// --
let storedUserPart: Ref<Info | null> = ref(null); // 使 ref
let storedUserPartAreaRatedS = ref<any>(10); //西
let storedUserPartAreaCount = ref<any>(10); //西
let storedUserPartAreaRatedS = ref<any>(0); //西
let storedUserPartAreaCount = ref<any>(0); //西
let storedUserPartuserRatedS = ref<any>(10); //
let storedUserPartuserCount = ref<any>(10); //
let storedUserPartuserRatedS = ref<any>(0); //
let storedUserPartuserCount = ref<any>(0); //
//
//

View File

@ -156,28 +156,7 @@
<rateLine></rateLine>
</div>
</div>
<!-- 三维地图标识 -->
<div class="legend_cus">
<div class="legendlist">
<div
class="legendRow"
v-for="(item, index) in lengendDate"
:key="index"
@click="handleSelectCheck(item)"
>
<div class="legend_l">
<!-- <img :src="item.imgUrl" alt="" /> -->
<div
:class="[
item.checkFlag ? 'select_active' : 'select_default',
'selectbox',
]"
></div>
<div class="yshadow legend_name">{{ item.lengendName }}</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>