修改 冀北 现场运维人提出问题
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
<template>
|
||||
<div>
|
||||
<TableHeader datePicker area ref="TableHeaderRef">
|
||||
<template #select>
|
||||
<el-form-item label="信息查询">
|
||||
<el-input
|
||||
style="width: 200px"
|
||||
placeholder="电站名称,终端编号,型号"
|
||||
v-model="tableStore.table.params.searchValue"
|
||||
clearable
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
</template>
|
||||
<template #operation></template>
|
||||
</TableHeader>
|
||||
<Table ref="tableRef" :showOverflow="false" />
|
||||
</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'
|
||||
|
||||
const TableHeaderRef = ref()
|
||||
const tableStore = new TableStore({
|
||||
url: '/harmonic-boot/PollutionSubstation/substationInfo',
|
||||
publicHeight: 65,
|
||||
method: 'POST',
|
||||
isWebPaging: true,
|
||||
column: [
|
||||
{ field: 'substationName', title: '变电站名称', minWidth: 100 },
|
||||
{ field: 'dwLineList', title: '电网侧监测点名称', minWidth: 150 },
|
||||
{ field: 'yhLineList', title: '非电网侧监测点名称', minWidth: 150 },
|
||||
{ field: 'alarmFreq', title: '告警频次', minWidth: 80 },
|
||||
{ field: 'vpollutionData', title: '谐波电压污染值', minWidth: 80 },
|
||||
{ field: 'ipollutionData', title: '谐波电流污染值', minWidth: 80 }
|
||||
],
|
||||
|
||||
beforeSearchFun: () => {}
|
||||
})
|
||||
|
||||
tableStore.table.params.searchValue = ''
|
||||
|
||||
provide('tableStore', tableStore)
|
||||
onMounted(() => {
|
||||
tableStore.index()
|
||||
})
|
||||
</script>
|
||||
Reference in New Issue
Block a user