From bbb03ff09f77e4ece3dfcf80df855829399528ae Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期二, 27 九月 2022 16:21:43 +0800
Subject: [PATCH] 1.新增cookie参数 rediskey
---
src/views/bbgl/rygz.vue | 18 ++++++++++++++++--
1 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/src/views/bbgl/rygz.vue b/src/views/bbgl/rygz.vue
index 844cf5b..d14b06b 100644
--- a/src/views/bbgl/rygz.vue
+++ b/src/views/bbgl/rygz.vue
@@ -77,6 +77,8 @@
<div class="elTableDiv" style="margin-top: 0">
<el-table
+ ref="tableDataRef"
+ class="tableFixed"
:data="tableData"
:height="isExpandForm?tableHeight:(tableHeight+40)+'px'"
border
@@ -116,6 +118,7 @@
<el-table-column
prop="partspec"
label="浜у搧瑙勬牸"
+ width="160"
show-tooltip-when-overflow
sortable="custom"
>
@@ -176,8 +179,8 @@
</el-table-column>
<el-table-column
prop="usermoney"
- label="璁颁欢宸ヨ祫"
- width="110"
+ label="鐝粍璁颁欢宸ヨ祫"
+ width="130"
sortable="custom"
>
<template slot-scope="{row}">
@@ -196,6 +199,7 @@
label="鎶ュ伐鏃堕棿"
width="160"
sortable="custom"
+ fixed="right"
/>
</el-table>
@@ -508,6 +512,7 @@
this.$nextTick(() => {
this.mainHeight = window.innerHeight - 85
this.tableHeight = this.mainHeight - 245
+ this.$refs.tableDataRef.doLayout()
})
},
tableRowClassName({ row, rowIndex }) {
@@ -637,6 +642,15 @@
align-items: center;
justify-content: center;
}
+
+.tableFixed{
+ ::v-deep .el-table__fixed-right{
+ height: 100% !important;
+ }
+ ::v-deep .el-table__fixed{
+ height: 100% !important;
+ }
+}
</style>
<style>
--
Gitblit v1.9.3