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