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') - - - - - + + + + + + + '; echo ''; - echo ''; + echo ''; + echo ''; + echo ''; 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位置信息操作
ID用户名真实姓名权限操作
'.$row['id'].''.$row['positionInfo'].''.$row['username'].''.$row['real_name'].''.$row['limits'].'
+ + + + + + + + + + + '; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + } + } + ?> + +
ID用户名真实姓名权限操作
'.$rows['id'].''.$rows['username'].''.$rows['real_name'].''.$rows['limits'].'
+ +
+ +
+
+
+