“yu” 2024-07-14 21:59:32 +08:00
parent 7b79f669a9
commit 43f7c19691
5 changed files with 986 additions and 419 deletions

13
src/api/pvPage/pvApi.ts Normal file
View File

@ -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

View File

@ -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

View File

@ -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");
// });
// }
};
// ------------------------------------------------