修改终端台账录入

This commit is contained in:
GGJ
2025-04-09 13:56:41 +08:00
parent ff18cfc3a3
commit cec4bb9904
5 changed files with 107 additions and 96 deletions

View File

@@ -2007,6 +2007,7 @@ const nodeClick = (e: anyObj, data: any) => {
AddProjectBO.value.gdInformationParam = null
AddProjectBO.value.subStationParam = null
AddProjectBO.value.deviceParam = null
if (data.data.plevel == 6) setDown()
evaluate(data)
if (data.level > 400) {
getNodeIndex()
@@ -2824,7 +2825,6 @@ const selectChanged = (value: any) => {
if (value === '3d68ceef26a579efe2fe0cdc654911b7') {
setTheDefaultValue(10, 0.38 * 1000, 0.38 * 100)
//750kv
} else if (value === '4cf2d844c47a15a1c16a65b4bbfd1b0e') {
setTheDefaultValue(7000, 750 * 1000, 750 * 100)
@@ -2868,10 +2868,8 @@ const selectChanged = (value: any) => {
//1000kv
} else if (value === '674cf02fb3fcfd9f99fd786cfca090df') {
setTheDefaultValue(9000, 1000 * 1000, 1000 * 100)
} else {
setTheDefaultValue(10, 10, 10)
}
setvoltageDev(voltageLevelArr.filter(item => item.id == value)[0].value)
@@ -2959,7 +2957,8 @@ const area = () => {
deviceBODetail.value.nextTimeCheck = year + 1 + '-' + month + '-' + (day - 1 > 10 ? day - 1 : '0' + (day - 1))
}
const setDown = () => {
selectUserList({}).then(res => {
// nodeData.value
selectUserList({stationId:nodeData.value.objId}).then(res => {
newStationIdArr.value = res.data
})
}
@@ -2974,7 +2973,6 @@ onMounted(() => {
powerStationList.value = res.data
})
} else {
setDown()
}
category()
})

View File

@@ -51,7 +51,9 @@ const info = () => {
textStyle: {
color: '#FFF'
},
formatter: function (value) {}
// formatter: function (value) {
// }
},
splitLine: {
show: false

View File

@@ -1,28 +1,39 @@
<template>
<div :style="height">
<!-- <div :style="height">
<MyEChart :options="options" />
</div>
<div class="boxBG">
</div> -->
<div :style="height" class="boxBG">
<div class="appraise">
<div class="iconfont icon-wanzhengshuaifenxi2"></div>
<div class="right">
<span>完整率</span>
<span></span>
</div>
<span style="color: #00cc00">98</span>
<span style="color: #00cc00"></span>
</div>
<div class="appraise">
<div class="iconfont icon-zaixianshuaibaobiao0"></div>
<div class="right">
<span>在线率</span>
<span></span>
</div>
<span style="color: #00cc00">98</span>
<span style="color: #00cc00"></span>
</div>
<div class="appraise">
<div class="iconfont icon-dianyahegeshuai"></div>
<div class="right">
<span>合格率</span>
<span></span>
<span style="color: #00cc00">98</span>
<span style="color: #00cc00"></span>
</div>
<div class="appraise">
<div class="iconfont icon-dianyahegeshuai"></div>
<span>综合评价</span>
<span style="color: #00cc00">98</span>
<span style="color: #00cc00"></span>
<!-- <div class="right">
<span>综合评价</span>
<span></span>
</div> -->
</div>
</div>
</template>
@@ -32,7 +43,7 @@ import MyEChart from '@/components/echarts/MyEchart.vue'
import { mainHeight } from '@/utils/layout'
const options = ref({})
const height = mainHeight(650, 1.5)
const height = mainHeight(520, 1.5)
const info = () => {
options.value = {
@@ -100,38 +111,38 @@ onMounted(() => {
<style lang="scss" scoped>
.boxBG {
display: flex;
// flex-wrap: wrap;
flex-direction: column;
justify-content: space-around;
overflow: hidden;
width: 100%;
.appraise {
width: 30%;
height: 30px;
width: 99%;
background-image: url('@/assets/imgs/bg02.png');
background-size: 100% 100%;
display: inline-block;
height: 80px;
height: 20%;
color: #fff;
display: flex;
justify-content: center;
.right {
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
justify-content: center;
font-size: 14px;
span:nth-child(2) {
font-size: 20px;
font-weight: 600;
margin-top: 5px;
color: #00cc00;
}
span:nth-child(2) {
width: 80px;
}
.iconfont {
width: 50px;
height: 50px;
display: flex;
height: 60%;
aspect-ratio: 1 / 1;
background-color: var(--el-color-primary);
font-size: 30px;
text-align: center;
line-height: 50px;
font-size: 24px;
justify-content: center;
align-items: center;
border-radius: 10px;
margin: 15px 10px 15px 0;
}
}
}

View File

@@ -1,7 +1,7 @@
<template>
<div :style="height" class="mt10">
<vxe-table height="auto" v-bind="defaultAttribute" :data="tableData">
<vxe-column type="seq" title="序号"></vxe-column>
<vxe-column type="seq" width="80px" title="序号"></vxe-column>
<vxe-column field="a" title="终端名称"></vxe-column>
<vxe-column field="b" title="所属电站"></vxe-column>
<vxe-column field="c" title="完整性"></vxe-column>

View File

@@ -301,7 +301,7 @@ onMounted(() => {
display: flex;
position: absolute;
top: 80px;
width: 25%;
width: 450px;
flex-direction: column;
z-index: 99;
transition: all 0.3s ease;
@@ -324,9 +324,9 @@ onMounted(() => {
.center {
position: absolute;
bottom: 16px;
left: 26%;
// transform: translateX(-50%);
width: 48%;
left: 50%;
transform: translateX(-50%);
width: calc(100% - 950px);
min-width: 480px;
.box {
flex: 1; /* 占2份高度 */