承载能力评估页面 绘制 79%
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="筛选">
|
||||
<el-input v-model="filterName" @keyup="searchEvent" placeholder="输入关键字筛选" />
|
||||
<el-input v-model="tableStore.table.params.filterName" @keyup="searchEvent" placeholder="输入关键字筛选" />
|
||||
</el-form-item>
|
||||
</template>
|
||||
<template #operation>
|
||||
@@ -238,7 +238,7 @@ const condialogVisible = ref(false)
|
||||
const tjdialogVisible = ref(false)
|
||||
|
||||
const protitle = ref('')
|
||||
const filterName = ref('')
|
||||
|
||||
const treeData: any = ref([])
|
||||
const treeDataCopy: any = ref([])
|
||||
const echartsXq: any = ref([])
|
||||
@@ -263,6 +263,10 @@ const tableStore = new TableStore({
|
||||
}, 0)
|
||||
}
|
||||
})
|
||||
tableStore.table.params.devType=''
|
||||
tableStore.table.params.runFlag=''
|
||||
tableStore.table.params.comFlag=''
|
||||
tableStore.table.params.filterName=''
|
||||
// 处理大数据卡顿
|
||||
const tree2List = (list: any) => {
|
||||
//存储结果的数组
|
||||
@@ -383,7 +387,7 @@ const handleClose = () => {
|
||||
}
|
||||
// 表格过滤
|
||||
const searchEvent = debounce(e => {
|
||||
const filterVal = XEUtils.toValueString(filterName.value).trim().toLowerCase()
|
||||
const filterVal = XEUtils.toValueString(tableStore.table.params.filterName).trim().toLowerCase()
|
||||
if (filterVal) {
|
||||
const options = { children: 'children' }
|
||||
const searchProps = ['name']
|
||||
|
||||
Reference in New Issue
Block a user