From 002f10f7d38dc6791d26a69d061e6b17f9980fd0 Mon Sep 17 00:00:00 2001
From: zhangc <zc@123>
Date: 星期一, 24 三月 2025 19:41:36 +0800
Subject: [PATCH] 1

---
 src/main/webapp/static/js/role/role.js |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/static/js/role/role.js b/src/main/webapp/static/js/role/role.js
index c98cfe7..80cbd77 100644
--- a/src/main/webapp/static/js/role/role.js
+++ b/src/main/webapp/static/js/role/role.js
@@ -7,6 +7,7 @@
         headers: {'token': localStorage.getItem('token')},
         method: 'GET',
         success: function (res) {
+            console.log(res)
             if (res.code === 200){
                 powerTreeData = res.data;
             } else if (res.code === 403){
@@ -32,6 +33,7 @@
         url: baseUrl+'/role/list/auth',
         page: true,
         limit: 16,
+        limits: [16, 30, 50, 100, 200, 500],
         toolbar: '#toolbar',
         cellMinWidth: 50,
         cols: [[
@@ -39,7 +41,7 @@
             ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80}
             ,{field: 'code', align: 'center',title: '缂栫爜'}
             ,{field: 'name', align: 'center',title: '鍚嶇О'}
-            ,{field: 'leader$', align: 'center',title: '涓婄骇',event: 'leader', style: 'text-decoration: underline;cursor:pointer'}
+            ,{field: 'leader$', align: 'center',title: '涓婄骇'}
             // ,{field: 'level$', align: 'center',title: '瑙掕壊绛夌骇'}
 
             ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:150}
@@ -149,6 +151,7 @@
                 break;
             case 'exportData':
                 layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+                    layer.load(2, {time: 600*1000});
                     var titles=[];
                     var fields=[];
                     obj.config.cols[0].map(function (col) {

--
Gitblit v1.9.1