修改台账录入页面

This commit is contained in:
GGJ
2025-04-10 16:16:11 +08:00
parent ea5d10d859
commit 968b2c04b1
2 changed files with 50 additions and 17 deletions

View File

@@ -2512,6 +2512,10 @@ const queryNodeContent = () => {
// ElMessage.warning('1111111')
return
}
if (nodeData.value.plevel == 6) {
setDown()
}
let data = {
id: nodeData.value.id,
level: nodeData.value.plevel * 100
@@ -2972,9 +2976,7 @@ onMounted(() => {
getYwZtSubstation({ orgId: '' }).then(res => {
powerStationList.value = res.data
})
} else {
setDown()
}
}
category()
})
area()

View File

@@ -1,19 +1,36 @@
<template>
<el-dialog v-model="dialogVisible" title="终端统计详情" width="50%" draggable>
<Area ref="areaRef" :show-all-levels="false" v-model="tableStore.table.params.orgNo" style="width: 100px"
/>
<el-dialog v-model="dialogVisible" title="区域运行评价" width="50%" draggable>
<!-- <el-form :inline="true">
<el-form-item label="所在区域">
<Area ref="areaRef" v-model="orgNo" />
</el-form-item>
</el-form> -->
<vxe-table v-bind="defaultAttribute" ref="vxeRef" height="500px" :data="tableData">
<vxe-column field="num" title="终端名称" />
<vxe-column field="num1" title="所在地市" />
<vxe-column field="num2" title="所属变电站" />
<vxe-column field="num3" title="终端型号" />
<vxe-column field="num4" title="在线率(%)" />
<vxe-column field="num5" title="运行状态">
<!-- <vxe-column field="num" title="终端名称" /> -->
<vxe-column field="num1" title="区域" />
<!-- <vxe-column field="num2" title="所属变电站" />
<vxe-column field="num3" title="终端型号" /> -->
<vxe-column field="num4" title="完整率评价">
<template #default="{ row }">
<el-tag effect="dark" type="success"></el-tag>
</template>
</vxe-column>
<vxe-column field="num4" title="在线率评价">
<template #default="{ row }">
<el-tag effect="dark" type="success"></el-tag>
</template>
</vxe-column>
<vxe-column field="num4" title="合格率评价">
<template #default="{ row }">
<el-tag effect="dark" type="success"></el-tag>
</template>
</vxe-column>
<!-- <vxe-column field="num5" title="运行状态">
<template #default="{ row }">
<el-tag v-if="row.num5 == 1" effect="dark" type="success">在运</el-tag>
<el-tag v-if="row.num5 == 2" effect="dark" type="error">停运</el-tag>
</template>
</vxe-column>
</vxe-column> -->
</vxe-table>
</el-dialog>
</template>
@@ -23,7 +40,7 @@ import { ref, reactive } from 'vue'
import Area from '@/components/form/area/index.vue'
import { defaultAttribute } from '@/components/table/defaultAttribute'
const dialogVisible = ref(false)
const radio1 = ref('1')
const orgNo = ref('1')
const tableData = ref([
{
num: '测试终端1',
@@ -35,7 +52,7 @@ const tableData = ref([
},
{
num: '测试终端2',
num1: '张家口',
num1: '廊坊',
num2: '测试变电站2',
num3: 'npqs_571_2',
num4: '100',
@@ -43,12 +60,26 @@ const tableData = ref([
},
{
num: '测试终端3',
num1: '张家口',
num1: '承德',
num2: '测试变电站3',
num3: 'npqs_571_3',
num4: '100',
num5: 1
}
}, {
num: '测试终端3',
num1: '秦皇岛',
num2: '测试变电站3',
num3: 'npqs_571_3',
num4: '100',
num5: 1
}, {
num: '测试终端3',
num1: '唐山',
num2: '测试变电站3',
num3: 'npqs_571_3',
num4: '100',
num5: 1
},
])
const open = () => {
dialogVisible.value = true