From 4c315a1548d008a5e7fed8af0996f3097694fc17 Mon Sep 17 00:00:00 2001
From: TsMask <340112800@qq.com>
Date: Mon, 27 Oct 2025 15:50:44 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=9F=E6=88=B7=E7=AE=A1=E7=90=86?=
=?UTF-8?q?=E8=A1=A8=E6=A0=BC=E6=93=8D=E4=BD=9C=E5=8E=BB=E6=8E=89=E6=8C=89?=
=?UTF-8?q?=E9=92=AE=E6=9D=83=E9=99=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/system/tenant/index.vue | 299 +++++++++---------------------
1 file changed, 84 insertions(+), 215 deletions(-)
diff --git a/src/views/system/tenant/index.vue b/src/views/system/tenant/index.vue
index b02e56b8..ce3b9ebc 100644
--- a/src/views/system/tenant/index.vue
+++ b/src/views/system/tenant/index.vue
@@ -325,7 +325,7 @@ function fnGetList(parentId?: any, tableFlag?: any, pageNum?: number) {
tablePagination.total = res.total;
if (
tablePagination.total <=
- (queryParams.pageNum - 1) * tablePagination.pageSize &&
+ (queryParams.pageNum - 1) * tablePagination.pageSize &&
queryParams.pageNum !== 1
) {
tableState.loading = false;
@@ -774,57 +774,34 @@ onMounted(() => {
-
+
-
+
+
+
{{ t('common.addText') }}
-
+
-
+
-
{{ title }}
+
{{ title }}
-
-
+
+
@@ -835,11 +812,7 @@ onMounted(() => {
-
+
@@ -848,7 +821,7 @@ onMounted(() => {
- {{ state.selectedName + '-Tenancy Asset ' }}
+ {{ state.selectedName + '-Tenancy Asset ' }}
{{ t('views.system.tenant.treeSelectTip') }}
@@ -864,12 +837,10 @@ onMounted(() => {
? 'Add Tenancy Asset'
: 'Please Select Tenant'
}}
-
-
+
+
+
+
{{ t('common.addText') }}
@@ -879,13 +850,9 @@ onMounted(() => {
? t('common.reloadText')
: 'Please Select Tenant'
}}
-
+ @click.prevent="fnGetList(state.selectedNode, 'table')">
@@ -895,52 +862,35 @@ onMounted(() => {
-
+
-
+
-
+
{{ t('common.editText') }}
-
-
+
+
+
+
{{ t('common.deleteText') }}
-
-
+
+
+
+
@@ -952,45 +902,19 @@ onMounted(() => {
-
-
-
-
+
+
+
+
-
+
@@ -999,122 +923,60 @@ onMounted(() => {
-
-
+
+
-
-
+
+
-
+
-
+
-
+
-
-
+
+
-
-
+
+
-
+
-
+
@@ -1131,12 +993,19 @@ onMounted(() => {
.treeNode {
display: inline-block;
- width: 130px; /* 设置你想要的宽度 */
- overflow: hidden; /* 超出部分隐藏 */
- text-overflow: ellipsis; /* 超出部分显示省略号 */
- line-height: 30px; /* 设置行高,使文本垂直居中 */
- vertical-align: middle; /* 垂直居中 */
- white-space: nowrap; /* 不换行 */
- font-size: 16px; /* 设置字体大小 */
+ width: 130px;
+ /* 设置你想要的宽度 */
+ overflow: hidden;
+ /* 超出部分隐藏 */
+ text-overflow: ellipsis;
+ /* 超出部分显示省略号 */
+ line-height: 30px;
+ /* 设置行高,使文本垂直居中 */
+ vertical-align: middle;
+ /* 垂直居中 */
+ white-space: nowrap;
+ /* 不换行 */
+ font-size: 16px;
+ /* 设置字体大小 */
}