diff --git a/src/layouts/admin/components/popup/adminInfo.vue b/src/layouts/admin/components/popup/adminInfo.vue
index bb7b977..b65e6a8 100644
--- a/src/layouts/admin/components/popup/adminInfo.vue
+++ b/src/layouts/admin/components/popup/adminInfo.vue
@@ -8,9 +8,9 @@
-
+
diff --git a/src/views/auth/audit/index.vue b/src/views/auth/audit/index.vue
index f9a7b5d..9e92461 100644
--- a/src/views/auth/audit/index.vue
+++ b/src/views/auth/audit/index.vue
@@ -27,7 +27,7 @@ const tableStore = new TableStore({
{ title: '名称', field: 'name' },
{ title: '登录名', field: 'loginName' },
{ title: '角色', field: 'roleName' },
- { title: '部门', field: 'deptId' },
+ // { title: '部门', field: 'deptId' },
{ title: '电话', field: 'phoneShow' },
{ title: '注册时间', field: 'registerTime' },
{ title: '类型', field: 'casualUserName' },
diff --git a/src/views/auth/userList/index.vue b/src/views/auth/userList/index.vue
index 6d6079e..3f8913c 100644
--- a/src/views/auth/userList/index.vue
+++ b/src/views/auth/userList/index.vue
@@ -51,7 +51,7 @@ const tableStore = new TableStore({
{ title: '用户名称', field: 'name', minWidth: '130' },
{ title: '登录名', field: 'loginName', minWidth: '130' },
{ title: '角色', field: 'roleName', minWidth: '130' },
- { title: '部门', field: 'deptName', minWidth: '200' },
+ // { title: '部门', field: 'deptName', minWidth: '200' },
{ title: '电话', field: 'phoneShow', minWidth: '100' },
{ title: '注册时间', field: 'registerTime', minWidth: '130' },
{ title: '登录时间', field: 'loginTime', minWidth: '130' },
diff --git a/src/views/auth/userList/popupEdit.vue b/src/views/auth/userList/popupEdit.vue
index d642ea9..88152d2 100644
--- a/src/views/auth/userList/popupEdit.vue
+++ b/src/views/auth/userList/popupEdit.vue
@@ -23,9 +23,9 @@
:key="index">
-
+
-
+
{
@@ -732,7 +734,21 @@ const downLoadQrCode = async () => {
qrcodeFlag.value = false
}, 500)
}
+// 排序
+const handleSortChange = ({ column, order }: { column: TableColumn; order: 'asc' | 'desc' | null }) => {
+ // console.log('排序列:', column?.property);
+ // console.log('排序顺序:', order);
+ // tableStore.onTableAction('sortable', { column, order })
+ tableStore.table.params.sortBy = column?.property
+ tableStore.table.params.orderBy = order
+ tableStore.table.params.pageNum = 1
+ tableStore.index()
+ // // 在这里可以根据 column 和 order 进行相应的数据排序操作
+ // if (order === 'asc') {
+ // } else if (order === 'desc') {
+ // }
+}
// 示例用法
// 新增