table表格高度
This commit is contained in:
@@ -87,7 +87,7 @@
|
|||||||
ref="multipleTable"
|
ref="multipleTable"
|
||||||
:data="localProTableList"
|
:data="localProTableList"
|
||||||
tooltip-effect="dark"
|
tooltip-effect="dark"
|
||||||
style="width: 100%;height: calc(100% - 150px)"
|
style="width: 100%;overflow-y: scroll; height: calc(100% - 150px)"
|
||||||
border
|
border
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '15px',
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '15px',
|
||||||
fontWeight: 'normal', height: '48px'}"
|
fontWeight: 'normal', height: '48px'}"
|
||||||
@@ -191,7 +191,7 @@
|
|||||||
<el-table-column label="" fixed="right" width="50" :resizable="false" label="操作" align="center">
|
<el-table-column label="" fixed="right" width="50" :resizable="false" label="操作" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div @click.stop style="display: inline-block">
|
<div @click.stop style="display: inline-block">
|
||||||
<el-dropdown trigger="click" @command="handleCommand">
|
<el-dropdown trigger="click" @command="handleCommand(scope.$index, localProTableList)">
|
||||||
<i class="iconfont"></i>
|
<i class="iconfont"></i>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item :command="[scope.row, '查看']" v-btn-permission="'633e82816590af9027dc2fddc562d046'">
|
<el-dropdown-item :command="[scope.row, '查看']" v-btn-permission="'633e82816590af9027dc2fddc562d046'">
|
||||||
@@ -882,7 +882,7 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 更多
|
// 更多
|
||||||
handleCommand(command) {
|
handleCommand(command,index, rows) {
|
||||||
switch (command[1]) {
|
switch (command[1]) {
|
||||||
case "删除":
|
case "删除":
|
||||||
this.handleDelete(command[0]);
|
this.handleDelete(command[0]);
|
||||||
|
|||||||
Reference in New Issue
Block a user