细节修改

master
kang luyu 2024-11-11 15:25:54 +08:00
parent 583a69ca64
commit f9223df2b5
2 changed files with 35 additions and 9 deletions

View File

@ -55,8 +55,8 @@ let handleClose = (data: tagInfo) => {
}
};
let three_D_IP = ref<string>('10.85.224.143:80') // ip
// let three_D_IP = ref<string>('10.86.224.3:80') /// ip线
// let three_D_IP = ref<string>('10.85.224.143:80') // ip
let three_D_IP = ref<string>('10.86.224.3:80') /// ip线
// let three_D_IP = ref<string>("10.120.75.248:80"); //
// ip

View File

@ -61,7 +61,10 @@
<!-- 右收缩箭头 -->
<div class="title_bg title">
<div class="title_box">
<img src="@/assets/images/v2-1/source_logo.png" alt="" />光伏实时信息
<img
src="@/assets/images/v2-1/source_logo.png"
alt=""
/>
</div>
</div>
<div class="pv_box content_bg">
@ -147,7 +150,19 @@
:key="refreshkey"
></powerLine>
</div>
<div class="infotitle"><span>实时功率曲线</span></div>
<div class="infotitle">
<span>实时功率曲线</span>
<div class="timeBox">
<el-date-picker
v-model="value1"
type="date"
placeholder="Pick a date"
:default-value="new Date(2010, 9, 1)"
/>
</div>
</div>
<div class="info3">
<!-- <div class="btnList">
<div
@ -158,7 +173,11 @@
{{ item.bname }}
</div>
</div> -->
<rateLine :pvArr="pvArr" v-if="pvArrFlag" :key="refreshkey"></rateLine>
<rateLine
:pvArr="pvArr"
v-if="pvArrFlag"
:key="refreshkey"
></rateLine>
</div>
</div>
</div>
@ -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<boolean>(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);