From 6a9d700b580c40f902c688773a68308019c3cb62 Mon Sep 17 00:00:00 2001
From: liuxiaoxu <1793812695@qq.com>
Date: Thu, 26 Dec 2024 20:42:02 +0800
Subject: [PATCH] =?UTF-8?q?[fix]=20=E5=9F=BA=E7=A1=80=E8=B5=84=E6=96=99=20?=
=?UTF-8?q?=E5=85=AC=E5=8F=B8=E9=93=B6=E8=A1=8C=E8=B4=A6=E5=8F=B7=E4=BF=A1?=
=?UTF-8?q?=E6=81=AF=E8=A1=A8=E5=A4=B4=E5=92=8C=E6=93=8D=E4=BD=9C=E6=A0=8F?=
=?UTF-8?q?=E9=87=87=E7=94=A8=E7=BB=9F=E4=B8=80=E6=A0=B7=E5=BC=8F=20?=
=?UTF-8?q?=E7=94=A8=E6=88=B7=E7=AE=A1=E7=90=86=E5=88=97=E8=A1=A8=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2=E8=A1=A8=E5=A4=B4=E5=92=8C=E6=93=8D=E4=BD=9C=E6=A0=8F?=
=?UTF-8?q?=E9=87=87=E7=94=A8=E7=BB=9F=E4=B8=80=E6=A0=B7=E5=BC=8F=20?=
=?UTF-8?q?=E5=B2=97=E4=BD=8D=E7=AE=A1=E7=90=86=E5=88=97=E8=A1=A8=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2=E8=A1=A8=E5=A4=B4=E5=92=8C=E6=93=8D=E4=BD=9C=E6=A0=8F?=
=?UTF-8?q?=E9=87=87=E7=94=A8=E7=BB=9F=E4=B8=80=E6=A0=B7=E5=BC=8F=20?=
=?UTF-8?q?=E9=83=A8=E9=97=A8=E7=AE=A1=E7=90=86=E5=88=97=E8=A1=A8=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2=E8=A1=A8=E5=A4=B4=E5=92=8C=E6=93=8D=E4=BD=9C=E6=A0=8F?=
=?UTF-8?q?=E9=87=87=E7=94=A8=E7=BB=9F=E4=B8=80=E6=A0=B7=E5=BC=8F=20?=
=?UTF-8?q?=E8=A7=92=E8=89=B2=E7=AE=A1=E7=90=86=E5=88=97=E8=A1=A8=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2=E8=A1=A8=E5=A4=B4=E5=92=8C=E6=93=8D=E4=BD=9C=E6=A0=8F?=
=?UTF-8?q?=E9=87=87=E7=94=A8=E7=BB=9F=E4=B8=80=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../companyBankInfo/companyBankInfo.html | 7 ++++---
.../resources/templates/system/dept/dept.html | 13 ++++++------
.../resources/templates/system/post/post.html | 13 ++++++------
.../templates/system/role/authUser.html | 9 ++++----
.../resources/templates/system/role/role.html | 21 ++++++++++---------
.../resources/templates/system/user/user.html | 21 ++++++++++---------
6 files changed, 45 insertions(+), 39 deletions(-)
diff --git a/ruoyi-admin/src/main/resources/templates/system/companyBankInfo/companyBankInfo.html b/ruoyi-admin/src/main/resources/templates/system/companyBankInfo/companyBankInfo.html
index 82604897..15877a37 100644
--- a/ruoyi-admin/src/main/resources/templates/system/companyBankInfo/companyBankInfo.html
+++ b/ruoyi-admin/src/main/resources/templates/system/companyBankInfo/companyBankInfo.html
@@ -118,9 +118,10 @@
align: 'center',
formatter: function(value, row, index) {
var actions = [];
- actions.push('编辑 ');
- actions.push('删除 ');
- return actions.join('');
+ actions.push('编辑 ');
+ actions.push('删除 ');
+ var actionLinks = actions.join('');
+ return $.table.dropdownToggle(actionLinks);
}
}]
};
diff --git a/ruoyi-admin/src/main/resources/templates/system/dept/dept.html b/ruoyi-admin/src/main/resources/templates/system/dept/dept.html
index a189d73e..2e09ec97 100644
--- a/ruoyi-admin/src/main/resources/templates/system/dept/dept.html
+++ b/ruoyi-admin/src/main/resources/templates/system/dept/dept.html
@@ -32,10 +32,10 @@
新增
-
+
修改
-
+
展开/折叠
@@ -100,10 +100,11 @@
formatter: function(value, row, index) {
if (row.parentId != 0) {
var actions = [];
- actions.push('编辑 ');
- actions.push('新增 ');
- actions.push('删除');
- return actions.join('');
+ actions.push('编辑 ');
+ actions.push('新增 ');
+ actions.push('删除');
+ var actionLinks = actions.join('');
+ return $.table.dropdownToggle(actionLinks);
} else {
return "";
}
diff --git a/ruoyi-admin/src/main/resources/templates/system/post/post.html b/ruoyi-admin/src/main/resources/templates/system/post/post.html
index 3c3fc42d..13dd41f0 100644
--- a/ruoyi-admin/src/main/resources/templates/system/post/post.html
+++ b/ruoyi-admin/src/main/resources/templates/system/post/post.html
@@ -35,13 +35,13 @@
新增
-
+
修改
-
+
删除
-
+
导出
@@ -107,9 +107,10 @@
align: 'center',
formatter: function(value, row, index) {
var actions = [];
- actions.push('编辑 ');
- actions.push('删除');
- return actions.join('');
+ actions.push('编辑 ');
+ actions.push('删除');
+ var actionLinks = actions.join('');
+ return $.table.dropdownToggle(actionLinks);
}
}]
};
diff --git a/ruoyi-admin/src/main/resources/templates/system/role/authUser.html b/ruoyi-admin/src/main/resources/templates/system/role/authUser.html
index 7d080401..8b2d370f 100644
--- a/ruoyi-admin/src/main/resources/templates/system/role/authUser.html
+++ b/ruoyi-admin/src/main/resources/templates/system/role/authUser.html
@@ -30,10 +30,10 @@
添加用户
-
+
批量取消授权
-
+
关闭
@@ -105,8 +105,9 @@
align: 'center',
formatter: function(value, row, index) {
var actions = [];
- actions.push('取消授权 ');
- return actions.join('');
+ actions.push('取消授权 ');
+ var actionLinks = actions.join('');
+ return $.table.dropdownToggle(actionLinks);
}
}]
};
diff --git a/ruoyi-admin/src/main/resources/templates/system/role/role.html b/ruoyi-admin/src/main/resources/templates/system/role/role.html
index 7cbc4880..f155e56e 100644
--- a/ruoyi-admin/src/main/resources/templates/system/role/role.html
+++ b/ruoyi-admin/src/main/resources/templates/system/role/role.html
@@ -41,16 +41,16 @@
新增
-
+
修改
-
+
删除
-
+
导出
-
+
导出角色权限
@@ -117,13 +117,14 @@
align: 'center',
formatter: function(value, row, index) {
var actions = [];
- actions.push('编辑 ');
- actions.push('删除 ');
+ actions.push('编辑 ');
+ actions.push('删除 ');
var more = [];
- more.push("数据权限 ");
- more.push("分配用户");
- actions.push('更多操作');
- return actions.join('');
+ more.push("数据权限 ");
+ more.push("分配用户");
+ actions.push('更多操作');
+ var actionLinks = actions.join('');
+ return $.table.dropdownToggle(actionLinks);
}
}]
};
diff --git a/ruoyi-admin/src/main/resources/templates/system/user/user.html b/ruoyi-admin/src/main/resources/templates/system/user/user.html
index 34d815ef..6ea21c72 100644
--- a/ruoyi-admin/src/main/resources/templates/system/user/user.html
+++ b/ruoyi-admin/src/main/resources/templates/system/user/user.html
@@ -65,16 +65,16 @@
新增
-
+
修改
-
+
删除
-
+
导入
-
+
导出
@@ -172,13 +172,14 @@
align: 'center',
formatter: function(value, row, index) {
var actions = [];
- actions.push('编辑 ');
- actions.push('删除 ');
+ actions.push('编辑 ');
+ actions.push('删除 ');
var more = [];
- more.push("重置密码 ");
- more.push("分配角色");
- actions.push('更多操作');
- return actions.join('');
+ more.push("重置密码 ");
+ more.push("分配角色");
+ actions.push('更多操作');
+ var actionLinks = actions.join('');
+ return $.table.dropdownToggle(actionLinks);
}
}]
};