2024-05-16 10:50:06 +08:00
|
|
|
<template>
|
|
|
|
|
<div>
|
|
|
|
|
<TableHeader area ref='TableHeaderRef'>
|
|
|
|
|
<template #select>
|
|
|
|
|
<el-form-item label='信息查询'>
|
|
|
|
|
<el-input v-model='tableStore.table.params.searchValue' clearable></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</template>
|
|
|
|
|
<template #operation>
|
|
|
|
|
<el-button icon='el-icon-Download' type='primary'>导出</el-button>
|
|
|
|
|
</template>
|
|
|
|
|
</TableHeader>
|
|
|
|
|
<Table ref='tableRef' />
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
<script setup lang='ts'>
|
|
|
|
|
import { ref, onMounted, provide, nextTick } from 'vue'
|
|
|
|
|
import TableStore from '@/utils/tableStore'
|
|
|
|
|
import Table from '@/components/table/index.vue'
|
|
|
|
|
import TableHeader from '@/components/table/header/index.vue'
|
|
|
|
|
import { ElMessage, ElMessageBox } from 'element-plus'
|
|
|
|
|
import { mainHeight } from '@/utils/layout'
|
|
|
|
|
import { useDictData } from '@/stores/dictData'
|
|
|
|
|
import { addUse, updateUse, removeUse } from '@/api/advance-boot/bearingCapacity'
|
|
|
|
|
|
|
|
|
|
const dictData = useDictData()
|
|
|
|
|
const interferenceType = dictData.getBasicData('Interference_Source')
|
|
|
|
|
const istatusList = dictData.getBasicData('On-network_Status')
|
|
|
|
|
const TableHeaderRef = ref()
|
|
|
|
|
const areaOptionList = dictData.getBasicData('jibei_area')
|
|
|
|
|
const tableStore = new TableStore({
|
|
|
|
|
url: '/device-boot/runManage/getDeviceLedger',
|
|
|
|
|
publicHeight: 65,
|
|
|
|
|
method: 'POST',
|
|
|
|
|
column: [
|
|
|
|
|
/* { title: '序号', type: 'seq', width: 80 },*/
|
|
|
|
|
{
|
|
|
|
|
field: 'areaName',
|
|
|
|
|
title: '省公司',
|
|
|
|
|
minWidth: 100
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'gdName',
|
|
|
|
|
title: '市公司',
|
|
|
|
|
minWidth: 150
|
|
|
|
|
},
|
|
|
|
|
{ field: 'bdName', title: '所属变电站', minWidth: 80 },
|
|
|
|
|
{ field: 'devName', title: '终端编号', minWidth: 170 },
|
|
|
|
|
{ field: 'loginTime', title: '投运时间', minWidth: 130 },
|
|
|
|
|
{
|
|
|
|
|
field: 'manufacturer',
|
|
|
|
|
title: '厂家',
|
|
|
|
|
minWidth: 100
|
|
|
|
|
},
|
2024-05-16 13:23:01 +08:00
|
|
|
{ field: 'devType', title: '终端型号', minWidth: 100 },
|
2024-05-16 10:50:06 +08:00
|
|
|
|
|
|
|
|
{ field: 'ip', title: '装置网络参数', minWidth: 100 },
|
|
|
|
|
{ field: 'port', title: '端口号', minWidth: 100 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* {
|
|
|
|
|
title: '操作',
|
|
|
|
|
minWidth: 150,
|
|
|
|
|
fixed: 'right',
|
|
|
|
|
render: 'buttons',
|
|
|
|
|
buttons: [
|
|
|
|
|
{
|
|
|
|
|
name: 'productSetting',
|
|
|
|
|
title: '流程详情',
|
|
|
|
|
type: 'primary',
|
|
|
|
|
icon: 'el-icon-EditPen',
|
|
|
|
|
render: 'basicButton',
|
|
|
|
|
click: row => {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}*/
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
beforeSearchFun: () => {
|
|
|
|
|
tableStore.table.params.serverName = 'harmonic-boot'
|
|
|
|
|
tableStore.table.params.statisticalType = {
|
|
|
|
|
name: '电网拓扑',
|
|
|
|
|
code: 'Power_Network'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
provide('tableStore', tableStore)
|
|
|
|
|
onMounted(() => {
|
|
|
|
|
tableStore.index()
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|