diff --git a/src/views/layout/index.vue b/src/views/layout/index.vue index 536088e..60f582a 100644 --- a/src/views/layout/index.vue +++ b/src/views/layout/index.vue @@ -55,8 +55,8 @@ let handleClose = (data: tagInfo) => { } }; -let three_D_IP = ref('10.85.224.143:80') // 上海院给的ip -// let three_D_IP = ref('10.86.224.3:80') /// 上海院给的ip离线 +// let three_D_IP = ref('10.85.224.143:80') // 上海院给的ip +let three_D_IP = ref('10.86.224.3:80') /// 上海院给的ip离线 // let three_D_IP = ref("10.120.75.248:80"); // 天津城南三维推流 // 切换当前的三维ip diff --git a/src/views/pages/pvPage/index.vue b/src/views/pages/pvPage/index.vue index 9186599..846253f 100644 --- a/src/views/pages/pvPage/index.vue +++ b/src/views/pages/pvPage/index.vue @@ -61,7 +61,10 @@
- 光伏实时信息 + 光伏实时信息
@@ -147,7 +150,19 @@ :key="refreshkey" >
-
实时功率曲线
+
+ 实时功率曲线 +
+ +
+
+
- +
@@ -227,7 +246,7 @@ import { pvApi } from "@/api/Osp/svgApi"; onMounted(() => { let Objinput = { orgID: "8af8470a47aad8e20147aad92e400335" }; //全部 获取光伏实时发电量 getCurves(Objinput); //获取城南的接口{orgID} - let inputdata={ mrid: "03DKX-24289" } + let inputdata = { mrid: "03DKX-24289" }; getpv(inputdata); //光伏功率曲线 }); @@ -238,7 +257,7 @@ const getTreeNode = (treeNode: any) => { }; //全部 获取光伏实时发电量 getCurves(Objinput); //获取光伏的接口发电量 - let inputdata={ mrid: treeNode.key } + let inputdata = { mrid: treeNode.key }; getpv(inputdata); }; // 当日累计发电量 @@ -282,12 +301,12 @@ let pvArr = reactive([]); //光伏 let pvArrFlag = ref(false); // 获取光伏功率曲线 // let refreshkey=ref(1) -const getpv = (inputdata:any) => { +const getpv = (inputdata: any) => { pvApi(inputdata).then((res) => { console.log(res, "respv"); pvArr = res.data; console.log(pvArr, "pvArr"); - refreshkey.value+=1 + refreshkey.value += 1; if (pvArr.length > 0) { pvArrFlag.value = true; } @@ -686,6 +705,8 @@ const styleVar = computed(() => { padding-top: 2%; box-sizing: border-box; .infotitle { + position: relative; + width: 90%; height: changeHeight(50); line-height: changeHeight(50); @@ -698,6 +719,11 @@ const styleVar = computed(() => { span { margin-left: 7%; } + .timeBox{ + position: absolute; + right: 2%; + } + } .info1 { height: changeHeight(359);