修改终端台账录入
This commit is contained in:
@@ -2007,6 +2007,7 @@ const nodeClick = (e: anyObj, data: any) => {
|
|||||||
AddProjectBO.value.gdInformationParam = null
|
AddProjectBO.value.gdInformationParam = null
|
||||||
AddProjectBO.value.subStationParam = null
|
AddProjectBO.value.subStationParam = null
|
||||||
AddProjectBO.value.deviceParam = null
|
AddProjectBO.value.deviceParam = null
|
||||||
|
if (data.data.plevel == 6) setDown()
|
||||||
evaluate(data)
|
evaluate(data)
|
||||||
if (data.level > 400) {
|
if (data.level > 400) {
|
||||||
getNodeIndex()
|
getNodeIndex()
|
||||||
@@ -2823,16 +2824,15 @@ const evaluate = (node: any) => {
|
|||||||
const selectChanged = (value: any) => {
|
const selectChanged = (value: any) => {
|
||||||
if (value === '3d68ceef26a579efe2fe0cdc654911b7') {
|
if (value === '3d68ceef26a579efe2fe0cdc654911b7') {
|
||||||
setTheDefaultValue(10, 0.38 * 1000, 0.38 * 100)
|
setTheDefaultValue(10, 0.38 * 1000, 0.38 * 100)
|
||||||
|
|
||||||
|
|
||||||
//750kv
|
//750kv
|
||||||
} else if (value === '4cf2d844c47a15a1c16a65b4bbfd1b0e') {
|
} else if (value === '4cf2d844c47a15a1c16a65b4bbfd1b0e') {
|
||||||
setTheDefaultValue(7000, 750 * 1000, 750 * 100)
|
setTheDefaultValue(7000, 750 * 1000, 750 * 100)
|
||||||
|
|
||||||
//6kv
|
//6kv
|
||||||
} else if (value === '37b81bf8aa0fd54098716da3fc0ee433') {
|
} else if (value === '37b81bf8aa0fd54098716da3fc0ee433') {
|
||||||
setTheDefaultValue(100, 6 * 1000, 6 * 100)
|
setTheDefaultValue(100, 6 * 1000, 6 * 100)
|
||||||
|
|
||||||
//10kv
|
//10kv
|
||||||
} else if (value === 'e3da890104e3c4ae1f005021411a1fd7') {
|
} else if (value === 'e3da890104e3c4ae1f005021411a1fd7') {
|
||||||
setTheDefaultValue(100, 10 * 1000, 10 * 100)
|
setTheDefaultValue(100, 10 * 1000, 10 * 100)
|
||||||
@@ -2840,38 +2840,36 @@ const selectChanged = (value: any) => {
|
|||||||
//20kv
|
//20kv
|
||||||
} else if (value === '87065e15765e5899114a6d6b9e4fb3cb') {
|
} else if (value === '87065e15765e5899114a6d6b9e4fb3cb') {
|
||||||
setTheDefaultValue(200, 20 * 1000, 20 * 100)
|
setTheDefaultValue(200, 20 * 1000, 20 * 100)
|
||||||
|
|
||||||
//35kv
|
//35kv
|
||||||
} else if (value === '8529cfa11356a0666afd3f9fa4da09a4') {
|
} else if (value === '8529cfa11356a0666afd3f9fa4da09a4') {
|
||||||
setTheDefaultValue(250, 35 * 1000, 35 * 100)
|
setTheDefaultValue(250, 35 * 1000, 35 * 100)
|
||||||
|
|
||||||
//66kv
|
//66kv
|
||||||
} else if (value === '9ce75596a3368da4adf3374b4fc3b619') {
|
} else if (value === '9ce75596a3368da4adf3374b4fc3b619') {
|
||||||
setTheDefaultValue(500, 66 * 1000, 66 * 100)
|
setTheDefaultValue(500, 66 * 1000, 66 * 100)
|
||||||
|
|
||||||
//110kv
|
//110kv
|
||||||
} else if (value === 'e96d74b79bd50ad0bc00a405246f1e1f') {
|
} else if (value === 'e96d74b79bd50ad0bc00a405246f1e1f') {
|
||||||
setTheDefaultValue(750, 110 * 1000, 110 * 100)
|
setTheDefaultValue(750, 110 * 1000, 110 * 100)
|
||||||
|
|
||||||
//220kv
|
//220kv
|
||||||
} else if (value === '1b7b58ed8fcc2992b95334eaa9010c41') {
|
} else if (value === '1b7b58ed8fcc2992b95334eaa9010c41') {
|
||||||
setTheDefaultValue(2000, 220 * 1000, 220 * 100)
|
setTheDefaultValue(2000, 220 * 1000, 220 * 100)
|
||||||
|
|
||||||
//330kv
|
//330kv
|
||||||
} else if (value === 'c1b37350a67f5e229a1f96ace0ad04dc') {
|
} else if (value === 'c1b37350a67f5e229a1f96ace0ad04dc') {
|
||||||
setTheDefaultValue(3000, 330 * 1000, 330 * 100)
|
setTheDefaultValue(3000, 330 * 1000, 330 * 100)
|
||||||
|
|
||||||
//500kv
|
//500kv
|
||||||
} else if (value === '1fa650685c77db1656c70f9db4a2edc6') {
|
} else if (value === '1fa650685c77db1656c70f9db4a2edc6') {
|
||||||
setTheDefaultValue(4500, 500 * 1000, 500 * 100)
|
setTheDefaultValue(4500, 500 * 1000, 500 * 100)
|
||||||
|
|
||||||
//1000kv
|
//1000kv
|
||||||
} else if (value === '674cf02fb3fcfd9f99fd786cfca090df') {
|
} else if (value === '674cf02fb3fcfd9f99fd786cfca090df') {
|
||||||
setTheDefaultValue(9000, 1000 * 1000, 1000 * 100)
|
setTheDefaultValue(9000, 1000 * 1000, 1000 * 100)
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
setTheDefaultValue(10, 10, 10)
|
setTheDefaultValue(10, 10, 10)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
setvoltageDev(voltageLevelArr.filter(item => item.id == value)[0].value)
|
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))
|
deviceBODetail.value.nextTimeCheck = year + 1 + '-' + month + '-' + (day - 1 > 10 ? day - 1 : '0' + (day - 1))
|
||||||
}
|
}
|
||||||
const setDown = () => {
|
const setDown = () => {
|
||||||
selectUserList({}).then(res => {
|
// nodeData.value
|
||||||
|
selectUserList({stationId:nodeData.value.objId}).then(res => {
|
||||||
newStationIdArr.value = res.data
|
newStationIdArr.value = res.data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -2974,7 +2973,6 @@ onMounted(() => {
|
|||||||
powerStationList.value = res.data
|
powerStationList.value = res.data
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
setDown()
|
|
||||||
}
|
}
|
||||||
category()
|
category()
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -45,13 +45,15 @@ const info = () => {
|
|||||||
},
|
},
|
||||||
xAxis: {
|
xAxis: {
|
||||||
type: 'value',
|
type: 'value',
|
||||||
data: [1, 2, 3, 4],
|
data: [1,2,3,4],
|
||||||
axisLabel: {
|
axisLabel: {
|
||||||
show: true,
|
show: true,
|
||||||
textStyle: {
|
textStyle: {
|
||||||
color: '#FFF'
|
color: '#FFF'
|
||||||
},
|
},
|
||||||
formatter: function (value) {}
|
// formatter: function (value) {
|
||||||
|
|
||||||
|
// }
|
||||||
},
|
},
|
||||||
splitLine: {
|
splitLine: {
|
||||||
show: false
|
show: false
|
||||||
@@ -79,47 +81,47 @@ const info = () => {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
markLine: {
|
markLine: {
|
||||||
silent: false,
|
silent: false,
|
||||||
symbol: 'circle',
|
symbol: 'circle',
|
||||||
data: [
|
data: [
|
||||||
{
|
{
|
||||||
name: '',
|
name: '',
|
||||||
yAxis: 100,
|
yAxis: 100,
|
||||||
lineStyle: {
|
lineStyle: {
|
||||||
color: '#009900'
|
color:'#009900'
|
||||||
},
|
|
||||||
label: {
|
|
||||||
show: true,
|
|
||||||
formatter: '优质',
|
|
||||||
color: '#009900'
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
label: {
|
||||||
name: '',
|
show: true,
|
||||||
yAxis: 90,
|
formatter: '优质',
|
||||||
lineStyle: {
|
color:'#009900'
|
||||||
color: '#77DA63'
|
|
||||||
},
|
|
||||||
label: {
|
|
||||||
show: true,
|
|
||||||
color: '#77DA63',
|
|
||||||
formatter: '良好'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: '',
|
|
||||||
yAxis: 60,
|
|
||||||
lineStyle: {
|
|
||||||
color: '#FFCC00'
|
|
||||||
},
|
|
||||||
label: {
|
|
||||||
show: true,
|
|
||||||
color: '#FFCC00',
|
|
||||||
formatter: '合格'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
},
|
||||||
},
|
{
|
||||||
|
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)
|
data: dataSource.map(item => item.value)
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,28 +1,39 @@
|
|||||||
<template>
|
<template>
|
||||||
<div :style="height">
|
<!-- <div :style="height">
|
||||||
<MyEChart :options="options" />
|
<MyEChart :options="options" />
|
||||||
</div>
|
</div> -->
|
||||||
<div class="boxBG">
|
<div :style="height" class="boxBG">
|
||||||
<div class="appraise">
|
<div class="appraise">
|
||||||
<div class="iconfont icon-wanzhengshuaifenxi2"></div>
|
<div class="iconfont icon-wanzhengshuaifenxi2"></div>
|
||||||
<div class="right">
|
|
||||||
<span>完整率</span>
|
<span>完整率</span>
|
||||||
<span>优</span>
|
<span style="color: #00cc00">98分</span>
|
||||||
</div>
|
<span style="color: #00cc00">优</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="appraise">
|
<div class="appraise">
|
||||||
<div class="iconfont icon-zaixianshuaibaobiao0"></div>
|
<div class="iconfont icon-zaixianshuaibaobiao0"></div>
|
||||||
<div class="right">
|
|
||||||
<span>在线率</span>
|
<span>在线率</span>
|
||||||
<span>优</span>
|
<span style="color: #00cc00">98分</span>
|
||||||
</div>
|
<span style="color: #00cc00">优</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="appraise">
|
<div class="appraise">
|
||||||
<div class="iconfont icon-dianyahegeshuai"></div>
|
<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>
|
<span>优</span>
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -32,7 +43,7 @@ import MyEChart from '@/components/echarts/MyEchart.vue'
|
|||||||
import { mainHeight } from '@/utils/layout'
|
import { mainHeight } from '@/utils/layout'
|
||||||
|
|
||||||
const options = ref({})
|
const options = ref({})
|
||||||
const height = mainHeight(650, 1.5)
|
const height = mainHeight(520, 1.5)
|
||||||
|
|
||||||
const info = () => {
|
const info = () => {
|
||||||
options.value = {
|
options.value = {
|
||||||
@@ -100,38 +111,38 @@ onMounted(() => {
|
|||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.boxBG {
|
.boxBG {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
// flex-wrap: wrap;
|
||||||
|
flex-direction: column;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
|
overflow: hidden;
|
||||||
|
width: 100%;
|
||||||
.appraise {
|
.appraise {
|
||||||
width: 30%;
|
height: 30px;
|
||||||
|
width: 99%;
|
||||||
background-image: url('@/assets/imgs/bg02.png');
|
background-image: url('@/assets/imgs/bg02.png');
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
height: 80px;
|
height: 20%;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: space-around;
|
||||||
.right {
|
align-items: center;
|
||||||
display: flex;
|
font-size: 20px;
|
||||||
flex-direction: column;
|
span:nth-child(2) {
|
||||||
align-items: center;
|
width: 80px;
|
||||||
justify-content: center;
|
|
||||||
font-size: 14px;
|
|
||||||
span:nth-child(2) {
|
|
||||||
font-size: 20px;
|
|
||||||
font-weight: 600;
|
|
||||||
margin-top: 5px;
|
|
||||||
color: #00cc00;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.iconfont {
|
.iconfont {
|
||||||
width: 50px;
|
display: flex;
|
||||||
height: 50px;
|
|
||||||
|
height: 60%;
|
||||||
|
aspect-ratio: 1 / 1;
|
||||||
|
|
||||||
background-color: var(--el-color-primary);
|
background-color: var(--el-color-primary);
|
||||||
font-size: 30px;
|
font-size: 24px;
|
||||||
text-align: center;
|
justify-content: center;
|
||||||
line-height: 50px;
|
align-items: center;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
margin: 15px 10px 15px 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div :style="height" class="mt10">
|
<div :style="height" class="mt10">
|
||||||
<vxe-table height="auto" v-bind="defaultAttribute" :data="tableData">
|
<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="a" title="终端名称"></vxe-column>
|
||||||
<vxe-column field="b" title="所属电站"></vxe-column>
|
<vxe-column field="b" title="所属电站"></vxe-column>
|
||||||
<vxe-column field="c" title="完整性"></vxe-column>
|
<vxe-column field="c" title="完整性"></vxe-column>
|
||||||
|
|||||||
@@ -301,7 +301,7 @@ onMounted(() => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 80px;
|
top: 80px;
|
||||||
width: 25%;
|
width: 450px;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
z-index: 99;
|
z-index: 99;
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
@@ -324,9 +324,9 @@ onMounted(() => {
|
|||||||
.center {
|
.center {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 16px;
|
bottom: 16px;
|
||||||
left: 26%;
|
left: 50%;
|
||||||
// transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
width: 48%;
|
width: calc(100% - 950px);
|
||||||
min-width: 480px;
|
min-width: 480px;
|
||||||
.box {
|
.box {
|
||||||
flex: 1; /* 占2份高度 */
|
flex: 1; /* 占2份高度 */
|
||||||
|
|||||||
Reference in New Issue
Block a user