样式调整
This commit is contained in:
@@ -10,11 +10,16 @@
|
||||
@drag-sort="sortTable"
|
||||
:height="tableHeight"
|
||||
:stripe="true"
|
||||
:pagination = "false"
|
||||
:key="tableKey"
|
||||
@selection-change='handleSelectionChange'
|
||||
>
|
||||
<!-- 表格 header 按钮 -->
|
||||
<template #tableHeader="scope">
|
||||
<el-form :model="form" label-width="80px" :inline="true">
|
||||
<el-form-item label="模糊搜索">
|
||||
<el-input v-model="form.search" placeholder="请输入搜索内容" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="检测状态">
|
||||
<el-select v-model="form.checkStatus" clearable>
|
||||
<el-option
|
||||
@@ -96,7 +101,7 @@
|
||||
<div class='cn-render-buttons' v-if="form.activeTabs === 3 && form.activeChildTabs === 0">
|
||||
<el-dropdown trigger='click'>
|
||||
<el-button link type='primary' :icon="View" class='table-operate'>
|
||||
<div class='table-operate-text'>查看...</div>
|
||||
<div class='table-operate-text'>查看</div>
|
||||
</el-button>
|
||||
<template #dropdown>
|
||||
<el-dropdown-menu>
|
||||
@@ -228,7 +233,7 @@ const dialogForm = ref<any>({
|
||||
state:1,
|
||||
});
|
||||
//console.log(window.innerHeight, "+++++++++");
|
||||
tableHeight.value = window.innerHeight - 630;
|
||||
tableHeight.value = window.innerHeight - 600;
|
||||
const deviceData = deviceDataList.plan_devicedata
|
||||
const operationShow = ref(false);
|
||||
const operationMinWidth = ref(200);
|
||||
@@ -594,6 +599,9 @@ const resetSearchForm = () => {
|
||||
checkResult: 0,
|
||||
};
|
||||
};
|
||||
const handleSelectionChange = (selection: any[]) => {
|
||||
console.log(selection);
|
||||
}
|
||||
//查询
|
||||
const handleSearch = () => {
|
||||
matchDialogVisible.value = true;
|
||||
|
||||
Reference in New Issue
Block a user