table filter height
This commit is contained in:
parent
f114130891
commit
4672b65790
|
@ -35,7 +35,7 @@
|
|||
<el-upload
|
||||
:action="upUrl"
|
||||
:on-success="handleUploadSuccess"
|
||||
accept=".rar"
|
||||
accept=".rar,.zip"
|
||||
:headers="upHeaders"
|
||||
:show-file-list ="false"
|
||||
>
|
||||
|
|
|
@ -1,6 +1,14 @@
|
|||
<template>
|
||||
<div class="app-container">
|
||||
<div>
|
||||
<el-select v-model="listQuery.sszx" placeholder="所属中心" @change="handleFilter2" clearable>
|
||||
<el-option
|
||||
v-for="item in groupBy.sszx"
|
||||
:key="item.value"
|
||||
:label="item.text"
|
||||
:value="item.value">
|
||||
</el-option>
|
||||
</el-select>
|
||||
<el-input
|
||||
v-model="listQuery.search"
|
||||
placeholder="项目/标准/编号/中心"
|
||||
|
@ -35,7 +43,7 @@
|
|||
<el-upload
|
||||
:action="upUrl"
|
||||
:on-success="handleUploadSuccess"
|
||||
accept=".rar"
|
||||
accept=".rar,.zip"
|
||||
:headers="upHeaders"
|
||||
:show-file-list ="false"
|
||||
>
|
||||
|
@ -130,6 +138,12 @@
|
|||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
<style >
|
||||
.el-table-filter{
|
||||
max-height: 300px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
import { getCMAList, createCMA, deleteCMA, updateCMA, importCMA2, getCNASList, importCNAS, getCMAGroup } from "@/api/cma";
|
||||
import checkPermission from "@/utils/permission"
|
||||
|
@ -215,6 +229,10 @@ export default {
|
|||
this.getList()
|
||||
this.getGroup()
|
||||
},
|
||||
handleFilter2() {
|
||||
this.listQuery.page = 1
|
||||
this.getList()
|
||||
},
|
||||
handleAdd() {
|
||||
this.cma = Object.assign({}, defaultCMA)
|
||||
this.dialogType = "new"
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue