微调
This commit is contained in:
@@ -1,28 +1,26 @@
|
||||
<template>
|
||||
<el-dialog v-model="dialogVisible" title="终端统计详情" width="50%" draggable>
|
||||
<el-tabs type="border-card">
|
||||
<el-tab-pane label="在运">
|
||||
<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="运行状态">
|
||||
<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-table>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="停运">Config</el-tab-pane>
|
||||
</el-tabs>
|
||||
<Area ref="areaRef" :show-all-levels="false" v-model="tableStore.table.params.orgNo" style="width: 100px"
|
||||
/>
|
||||
<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="运行状态">
|
||||
<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-table>
|
||||
</el-dialog>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
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')
|
||||
|
||||
@@ -166,7 +166,7 @@
|
||||
<div class="title">
|
||||
<span class="iconfont icon-daipingjia"></span>
|
||||
终端运行评价
|
||||
<el-button link icon="el-icon-View">详情</el-button>
|
||||
<el-button link icon="el-icon-View" @click="endpointStatistics">详情</el-button>
|
||||
</div>
|
||||
<run />
|
||||
</BorderBox13>
|
||||
@@ -250,7 +250,7 @@ import TableHeader from '@/components/table/header/index.vue'
|
||||
import TableStore from '@/utils/tableStore'
|
||||
import { useDictData } from '@/stores/dictData'
|
||||
import { mainHeight } from '@/utils/layout'
|
||||
import Area from '@/components/form/area/index.vue'
|
||||
|
||||
import Map from './components/map.vue'
|
||||
import { BorderBox13 } from '@kjgl77/datav-vue3'
|
||||
import { useConfig } from '@/stores/config'
|
||||
|
||||
Reference in New Issue
Block a user