master
parent
7b79f669a9
commit
43f7c19691
|
@ -0,0 +1,13 @@
|
|||
|
||||
import request from "@/utils/http/request";
|
||||
interface idInfo {
|
||||
orgID: string;
|
||||
}
|
||||
// 发电量信息接口
|
||||
export function curpower_api(data: idInfo) {
|
||||
return request({
|
||||
url: "/wwpm/biz/v1/device_all",
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 9.2 KiB |
|
@ -487,7 +487,7 @@
|
|||
</div>
|
||||
<div class="photovoltaic_value1">
|
||||
<div class="kw">0 <span>个</span></div>
|
||||
<div class="hu">9999 <span>kW</span></div>
|
||||
<div class="hu">0 <span>kW</span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="rowbox">
|
||||
|
@ -505,7 +505,7 @@
|
|||
</div>
|
||||
<div class="photovoltaic_value1">
|
||||
<div class="kw">0 <span>个</span></div>
|
||||
<div class="hu">9999 <span>kW</span></div>
|
||||
<div class="hu">0 <span>kW</span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="rowbox">
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -217,52 +217,18 @@ import rateLine from "./rateLine.vue";
|
|||
import timePvLine from "./timePvLine.vue";
|
||||
import { useNow, useDateFormat } from "@vueuse/core";
|
||||
import { id } from "element-plus/es/locale/index.mjs";
|
||||
onMounted(() => {});
|
||||
import { getCurves } from "crypto";
|
||||
onMounted(() => {
|
||||
// 获取光伏实时发电量
|
||||
getCurves()
|
||||
});
|
||||
|
||||
|
||||
|
||||
const HMS = useDateFormat(useNow(), "HH:mm:ss"); //当前时间
|
||||
const YMD = useDateFormat(useNow(), "YYYY-MM-DD"); //当前日期
|
||||
// 地图标识
|
||||
let lengendDate = reactive([
|
||||
{
|
||||
id: 1,
|
||||
lengendName: "光伏渗透率",
|
||||
checkFlag: false,
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
lengendName: "光伏分布热力图",
|
||||
checkFlag: false,
|
||||
},
|
||||
]);
|
||||
let handleSelectCheck = (datas: any) => {
|
||||
// 让选中的项样式发生变化
|
||||
datas.checkFlag = !datas.checkFlag;
|
||||
// if (data.lengendName === "中压光伏" || data.lengendName === "低压光伏" || data.lengendName === "充电站" || data.lengendName === "储能站") {
|
||||
// // bottomconterListtest.includes(props.gettreeprovidecityname)
|
||||
// bottomconterListtest.forEach(item => {
|
||||
// if (item.name === props.gettreeprovidecityname) {
|
||||
// let _list = {
|
||||
// type: data.value,
|
||||
// status: data.checkFlag ? '2' : '0',//
|
||||
// CityID: item.id,
|
||||
// };
|
||||
// api_send("showCityElement", _list, () => {
|
||||
// console.log("showCityElement", "Switchstationstatus");
|
||||
// });
|
||||
// }
|
||||
// })
|
||||
// } else {
|
||||
// let _list = {
|
||||
// type: "BD", //类型 BD:变电站 PD:配电站 KG:开关站
|
||||
// Voltage_Level: data.value, //电压等级:0:全电压等级 22:10KV 24:20kV 32:110kV 33:220kV 35:500kV
|
||||
// region: "315800", //区域id:城市ID(邮政编码)315000:宁波全市 315001:宁波市区(显示江北区、海曙区、镇海区边界) 315800:宁波北仑区 315100:宁波鄞州区 315500:宁波奉化区 315700:宁波象山县 //315600:宁波宁海县 315400:宁波余姚市315300:宁波
|
||||
// status: data.checkFlag ? '1' : '0',// 是否显示0:不显示1:显示
|
||||
// };
|
||||
// api_send("SwitchStationstatus", _list, () => {
|
||||
// console.log("SwitchStationstatus", "Switchstationstatus");
|
||||
// });
|
||||
// }
|
||||
};
|
||||
|
||||
|
||||
|
||||
// 左侧------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue