联调数据清洗页面 绘制终端运行评价页面
This commit is contained in:
@@ -82,7 +82,7 @@ const handleNodeClick = (data: any, node: any) => {
|
||||
}
|
||||
|
||||
:deep(.el-collapse-item__header) {
|
||||
font-family: AlimamaDongFangDaKai;
|
||||
// font-family: AlimamaDongFangDaKai;
|
||||
font-size: 20px;
|
||||
&::before {
|
||||
content: '▍'; /* 添加星号 */
|
||||
|
||||
@@ -96,6 +96,7 @@
|
||||
<vxe-column title="国标限值(%)" field="name3" />
|
||||
<vxe-column title="判断">
|
||||
<template #default="{ row }">
|
||||
|
||||
<el-tag v-if="row.name2 > row.name3" type="warning">不合格</el-tag>
|
||||
<el-tag v-else type="success">合格</el-tag>
|
||||
</template>
|
||||
@@ -119,8 +120,9 @@
|
||||
<vxe-column title="国标限值(A)" field="name3" />
|
||||
<vxe-column title="判断">
|
||||
<template #default="{ row }">
|
||||
<!-- <span v-if="row.name2 == null"></span>
|
||||
<el-tag v-if="row.name2 > row.name3" type="warning">不合格</el-tag>
|
||||
<el-tag v-else type="success">合格</el-tag>
|
||||
<el-tag v-else type="success">合格</el-tag> -->
|
||||
</template>
|
||||
</vxe-column>
|
||||
</vxe-table>
|
||||
@@ -282,6 +284,7 @@ onMounted(() => {
|
||||
for (let i = 2; i < 51; i++) {
|
||||
harmonicVoltage.value.push({
|
||||
name: i
|
||||
|
||||
})
|
||||
harmonicCurrents.value.push({
|
||||
name: i
|
||||
|
||||
@@ -157,7 +157,7 @@ import { defaultAttribute } from '@/components/table/defaultAttribute'
|
||||
import addform from './addform.vue'
|
||||
const activeNames = ref([1, 2, 3, 4, 5, 6, 7])
|
||||
const dictData = useDictData()
|
||||
const pageHeight = mainHeight(90)
|
||||
const pageHeight = mainHeight(70)
|
||||
const areaOptionList = dictData.getBasicData('jibei_area')
|
||||
const addformRef = ref()
|
||||
const form: any = ref({
|
||||
@@ -381,7 +381,7 @@ const edit = (item: any,row: any) => {
|
||||
justify-content: end;
|
||||
}
|
||||
:deep(.el-collapse-item__header) {
|
||||
font-family: AlimamaDongFangDaKai;
|
||||
// font-family: AlimamaDongFangDaKai;
|
||||
font-size: 20px;
|
||||
&::before {
|
||||
content: '▍'; /* 添加星号 */
|
||||
|
||||
@@ -71,6 +71,9 @@ import TableHeader from '@/components/table/header/index.vue'
|
||||
import { useDictData } from '@/stores/dictData'
|
||||
import { ElMessage, ElMessageBox, ElDatePicker } from 'element-plus'
|
||||
import { useRouter } from 'vue-router'
|
||||
defineOptions({
|
||||
name: 'runManage/addUser'
|
||||
})
|
||||
const { push } = useRouter()
|
||||
const dictData = useDictData()
|
||||
const areaOptionList = dictData.getBasicData('jibei_area')
|
||||
@@ -81,20 +84,38 @@ const tableStore: any = new TableStore({
|
||||
method: 'GET',
|
||||
publicHeight: 65,
|
||||
column: [
|
||||
{ field: 'timerName', title: '所属地市' },
|
||||
{ field: 'timerName', title: '用户名称' },
|
||||
{ field: 'timerName', title: '接入变电站' },
|
||||
{ field: 'timerName', title: '电站电压等级' },
|
||||
{ field: 'timerName', title: '接入母线' },
|
||||
{ field: 'timerName', title: '接入电压等级' },
|
||||
{ field: 'timerName', title: '供电设备容量(MVA)' },
|
||||
{ field: 'timerName', title: '最小短路容量(MVA)' },
|
||||
{ field: 'timerName', title: '用户协议容量(MVA)' },
|
||||
{
|
||||
width: '60',
|
||||
type: 'checkbox'
|
||||
},
|
||||
{
|
||||
title: '序号',
|
||||
width: 80,
|
||||
field: 'name',
|
||||
formatter: (row: any) => {
|
||||
return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1
|
||||
}
|
||||
},
|
||||
{ field: 'name', title: '所属地市', minWidth: 100 },
|
||||
{ field: 'name1', title: '用户名称', minWidth: 180 },
|
||||
{ field: 'name2', title: '接入变电站', minWidth: 180 },
|
||||
{ field: 'name3', title: '电站电压等级', minWidth: 180 },
|
||||
{ field: 'name4', title: '接入母线', minWidth: 180 },
|
||||
{ field: 'name5', title: '接入电压等级', minWidth: 180 },
|
||||
{ field: 'name6', title: '供电设备容量(MVA)', minWidth: 180 },
|
||||
{ field: 'name7', title: '最小短路容量(MVA)', minWidth: 180 },
|
||||
{ field: 'name8', title: '用户协议容量(MVA)', minWidth: 180 },
|
||||
{ field: 'name9', title: 'PCC点名称', minWidth: 180 },
|
||||
{ field: 'name10', title: 'PCC电网电阻', minWidth: 180 },
|
||||
{ field: 'name11', title: '长度', minWidth: 180 },
|
||||
{ field: 'name12', title: '回路数', minWidth: 180 },
|
||||
{ field: 'name13', title: '导线类型', minWidth: 180 },
|
||||
|
||||
{
|
||||
title: '操作',
|
||||
width: '220',
|
||||
render: 'buttons',
|
||||
fixed: 'right',
|
||||
buttons: [
|
||||
{
|
||||
name: 'edit',
|
||||
@@ -120,7 +141,25 @@ const tableStore: any = new TableStore({
|
||||
|
||||
loadCallback: () => {
|
||||
// 格式化 cron 表达式
|
||||
tableStore.table.data = []
|
||||
tableStore.table.data = [
|
||||
{
|
||||
name: '张家口',
|
||||
name1: '特种钢厂',
|
||||
name2: '220kV石门变',
|
||||
name3: '220kV',
|
||||
name4: '110kV 母线',
|
||||
name5: '110kV',
|
||||
name6: '90',
|
||||
name7: '100',
|
||||
name8: '40',
|
||||
name9: '测试名称',
|
||||
name10: '10',
|
||||
name11: '12',
|
||||
name12: '13',
|
||||
name13: '14',
|
||||
name14: '15'
|
||||
}
|
||||
]
|
||||
}
|
||||
})
|
||||
tableStore.table.params.searchValue = ''
|
||||
|
||||
@@ -15,6 +15,6 @@ import Dictionary from '@/views/pqs/runManage/assessment/components/dictionary/i
|
||||
defineOptions({
|
||||
name: 'runManage/assessment'
|
||||
})
|
||||
const activeName = ref('3')
|
||||
const activeName = ref('1')
|
||||
</script>
|
||||
<style lang="scss" scoped></style>
|
||||
|
||||
Reference in New Issue
Block a user