修改终端台账录入
This commit is contained in:
@@ -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()
|
||||
@@ -2823,16 +2824,15 @@ const evaluate = (node: any) => {
|
||||
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)
|
||||
|
||||
|
||||
//6kv
|
||||
} else if (value === '37b81bf8aa0fd54098716da3fc0ee433') {
|
||||
setTheDefaultValue(100, 6 * 1000, 6 * 100)
|
||||
|
||||
|
||||
//10kv
|
||||
} else if (value === 'e3da890104e3c4ae1f005021411a1fd7') {
|
||||
setTheDefaultValue(100, 10 * 1000, 10 * 100)
|
||||
@@ -2840,38 +2840,36 @@ const selectChanged = (value: any) => {
|
||||
//20kv
|
||||
} else if (value === '87065e15765e5899114a6d6b9e4fb3cb') {
|
||||
setTheDefaultValue(200, 20 * 1000, 20 * 100)
|
||||
|
||||
|
||||
//35kv
|
||||
} else if (value === '8529cfa11356a0666afd3f9fa4da09a4') {
|
||||
setTheDefaultValue(250, 35 * 1000, 35 * 100)
|
||||
|
||||
|
||||
//66kv
|
||||
} else if (value === '9ce75596a3368da4adf3374b4fc3b619') {
|
||||
setTheDefaultValue(500, 66 * 1000, 66 * 100)
|
||||
|
||||
|
||||
//110kv
|
||||
} else if (value === 'e96d74b79bd50ad0bc00a405246f1e1f') {
|
||||
setTheDefaultValue(750, 110 * 1000, 110 * 100)
|
||||
|
||||
|
||||
//220kv
|
||||
} else if (value === '1b7b58ed8fcc2992b95334eaa9010c41') {
|
||||
setTheDefaultValue(2000, 220 * 1000, 220 * 100)
|
||||
|
||||
|
||||
//330kv
|
||||
} else if (value === 'c1b37350a67f5e229a1f96ace0ad04dc') {
|
||||
setTheDefaultValue(3000, 330 * 1000, 330 * 100)
|
||||
|
||||
|
||||
//500kv
|
||||
} else if (value === '1fa650685c77db1656c70f9db4a2edc6') {
|
||||
setTheDefaultValue(4500, 500 * 1000, 500 * 100)
|
||||
|
||||
|
||||
//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()
|
||||
})
|
||||
|
||||
@@ -45,13 +45,15 @@ const info = () => {
|
||||
},
|
||||
xAxis: {
|
||||
type: 'value',
|
||||
data: [1, 2, 3, 4],
|
||||
data: [1,2,3,4],
|
||||
axisLabel: {
|
||||
show: true,
|
||||
textStyle: {
|
||||
color: '#FFF'
|
||||
},
|
||||
formatter: function (value) {}
|
||||
// formatter: function (value) {
|
||||
|
||||
// }
|
||||
},
|
||||
splitLine: {
|
||||
show: false
|
||||
@@ -79,47 +81,47 @@ const info = () => {
|
||||
}
|
||||
},
|
||||
markLine: {
|
||||
silent: false,
|
||||
symbol: 'circle',
|
||||
data: [
|
||||
{
|
||||
name: '',
|
||||
yAxis: 100,
|
||||
lineStyle: {
|
||||
color: '#009900'
|
||||
},
|
||||
label: {
|
||||
show: true,
|
||||
formatter: '优质',
|
||||
color: '#009900'
|
||||
}
|
||||
silent: false,
|
||||
symbol: 'circle',
|
||||
data: [
|
||||
{
|
||||
name: '',
|
||||
yAxis: 100,
|
||||
lineStyle: {
|
||||
color:'#009900'
|
||||
},
|
||||
{
|
||||
name: '',
|
||||
yAxis: 90,
|
||||
lineStyle: {
|
||||
color: '#77DA63'
|
||||
},
|
||||
label: {
|
||||
show: true,
|
||||
color: '#77DA63',
|
||||
formatter: '良好'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: '',
|
||||
yAxis: 60,
|
||||
lineStyle: {
|
||||
color: '#FFCC00'
|
||||
},
|
||||
label: {
|
||||
show: true,
|
||||
color: '#FFCC00',
|
||||
formatter: '合格'
|
||||
}
|
||||
label: {
|
||||
show: true,
|
||||
formatter: '优质',
|
||||
color:'#009900'
|
||||
}
|
||||
]
|
||||
},
|
||||
},
|
||||
{
|
||||
name: '',
|
||||
yAxis: 90,
|
||||
lineStyle: {
|
||||
color:'#77DA63'
|
||||
},
|
||||
label: {
|
||||
show: true,
|
||||
color:'#77DA63',
|
||||
formatter: '良好'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: '',
|
||||
yAxis: 60,
|
||||
lineStyle: {
|
||||
color:'#FFCC00'
|
||||
},
|
||||
label: {
|
||||
show: true,
|
||||
color:'#FFCC00',
|
||||
formatter: '合格'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
data: dataSource.map(item => item.value)
|
||||
}
|
||||
]
|
||||
|
||||
@@ -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>完整率</span>
|
||||
<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>在线率</span>
|
||||
<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>
|
||||
</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;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 14px;
|
||||
span:nth-child(2) {
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
margin-top: 5px;
|
||||
color: #00cc00;
|
||||
}
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
font-size: 20px;
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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份高度 */
|
||||
|
||||
Reference in New Issue
Block a user