From 27946a36809952044c673e790be673d2f3f93615 Mon Sep 17 00:00:00 2001
From: ye-zhizhi <3020936216@qq.com>
Date: Tue, 19 Dec 2023 23:48:45 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9D=83=E9=99=90=E7=AE=A1=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
admin/limits_edit.php | 78 +++++++++++++++++
...sition_list_search.php => limits_list.php} | 52 +++++-------
admin/limits_list_search.php | 84 +++++++++++++++++++
admin/limits_update.php | 24 ++++++
4 files changed, 206 insertions(+), 32 deletions(-)
create mode 100644 admin/limits_edit.php
rename admin/{position_list_search.php => limits_list.php} (56%)
create mode 100644 admin/limits_list_search.php
create mode 100644 admin/limits_update.php
diff --git a/admin/limits_edit.php b/admin/limits_edit.php
new file mode 100644
index 0000000..16d022a
--- /dev/null
+++ b/admin/limits_edit.php
@@ -0,0 +1,78 @@
+0){
+ echo 'checked';
+ }
+}
+limits('权限管理');
+?>
+
+
-
-
+
-
用户管理
+
权限管理
-
@@ -25,7 +25,6 @@ include ('head.php')
-
- ID |
- 位置信息 |
- 操作 |
-
+
+ ID |
+ 用户名 |
+ 真实姓名 |
+ 权限 |
+ 操作 |
+
';
echo ''.$row['id'].' | ';
- echo ''.$row['positionInfo'].' | ';
+ echo ''.$row['username'].' | ';
+ echo ''.$row['real_name'].' | ';
+ echo ''.$row['limits'].' | ';
echo ' | ';
echo '';
}
@@ -72,17 +68,9 @@ include ('head.php')
var tr=obj.data;
let arr=Object.values(tr);
var eventName= obj.event;
- if(eventName=='del')
- {
- //删除
- layer.confirm("您确认删除吗?",function (index){
- obj.del();
- layer.close(index);
- window.location.href="position_delete.php?id="+arr[0];
- })
- }else if(eventName=='edit'){
+ if(eventName=='edit'){
//x修改
- window.location.href="position_edit.php?id="+arr[0];
+ window.location.href="limits_edit.php?id="+arr[0];
}
});
});
diff --git a/admin/limits_list_search.php b/admin/limits_list_search.php
new file mode 100644
index 0000000..d8f1553
--- /dev/null
+++ b/admin/limits_list_search.php
@@ -0,0 +1,84 @@
+
+
+
+
+
权限管理
+
+
+
+
+
+
+
+
+ ID |
+ 用户名 |
+ 真实姓名 |
+ 权限 |
+ 操作 |
+
+
+
+ ';
+ echo ''.$rows['id'].' | ';
+ echo ''.$rows['username'].' | ';
+ echo ''.$rows['real_name'].' | ';
+ echo ''.$rows['limits'].' | ';
+ echo ' | ';
+ echo '';
+ }
+ }
+ ?>
+
+
+
+
+
+
+
+
+