From df744014031c57bf69fd1d94767a3c6e07f2ecb8 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期六, 31 十二月 2022 13:20:38 +0800
Subject: [PATCH] 1.横向竖向菜单模式切换功能
---
src/views/xtsz/bmgz.vue | 29 ++++++++++++++++++++++++-----
1 files changed, 24 insertions(+), 5 deletions(-)
diff --git a/src/views/xtsz/bmgz.vue b/src/views/xtsz/bmgz.vue
index 13c16ae..3a38eec 100644
--- a/src/views/xtsz/bmgz.vue
+++ b/src/views/xtsz/bmgz.vue
@@ -5,12 +5,12 @@
<el-form
ref="form"
:model="form"
- label-width="80px"
+ label-width="100px"
inline
style="display: flex;justify-content: space-between"
>
- <div class="elForm">
- <el-form-item label="缂栫爜鍚嶇О" style=" display: flex;">
+ <div class="elForm" style="justify-content: flex-start">
+ <el-form-item label="缂栫爜鍚嶇О" label-width="70px" style=" display: flex;">
<el-input v-model="form.rightname" placeholder="璇疯緭鍏�" style="width: 200px" />
</el-form-item>
<el-form-item label="鍥哄畾瀛楃" style=" display: flex;">
@@ -33,6 +33,9 @@
<el-button type="info" icon="el-icon-refresh" @click="reset">閲嶇疆</el-button>
</div>
</el-form>
+ <div
+ class="bodyTopFormExpand"
+ />
</div>
<div style="margin-left: 10px;display: flex">
@@ -65,13 +68,27 @@
fixed
/>
<el-table-column
+ show-tooltip-when-overflow
+ prop="right_code"
+ label="缂栫爜"
+ sortable="custom"
+ />
+ <el-table-column
prop="right_name"
label="缂栫爜鍚嶇О"
+ show-tooltip-when-overflow
sortable="custom"
+ />
+ <el-table-column
+ prop="Type"
+ label="绫诲瀷"
+ sortable="custom"
+ show-tooltip-when-overflow
/>
<el-table-column
prop="prefix"
label="鍥哄畾瀛楃"
+ show-tooltip-when-overflow
sortable="custom"
>
<template slot-scope="{row}">
@@ -82,6 +99,7 @@
<el-table-column
prop="filingdate"
label="鎻愪氦鏃ユ湡"
+ show-tooltip-when-overflow
sortable="custom"
>
<template slot-scope="{row}">
@@ -91,6 +109,7 @@
</el-table-column>
<el-table-column
prop="incbit"
+ show-tooltip-when-overflow
label="鑷浣嶆暟"
sortable="custom"
>
@@ -107,7 +126,7 @@
<template slot-scope="{row}">
<div class="operationClass">
<el-tooltip class="item" effect="dark" content="缂栬緫" placement="top">
- <i class="el-icon-edit-outline" @click="edit('edit',row)" />
+ <i class="el-icon-edit-outline" :style="{color:$store.state.settings.theme}" @click="edit('edit',row)" />
</el-tooltip>
<!-- <el-button type="text" @click="edit('edit',row)">缂栬緫</el-button>-->
<!-- <el-button type="text" @click="del(row)">鍒犻櫎</el-button>-->
@@ -383,7 +402,7 @@
getHeight() {
this.$nextTick(() => {
this.mainHeight = window.innerHeight - 85
- this.tableHeight = this.mainHeight - 140
+ this.tableHeight = this.mainHeight - 135
this.$refs.tableDataRef.doLayout()
})
}
--
Gitblit v1.9.3