From f8c253e532fcf9f76e02e5e0ede6b4300af44929 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Thu, 23 Oct 2025 09:55:19 +0800
Subject: [PATCH] fix(aiApply): 更新权限控制标识 - 将同意、拒绝、解绑按钮的权限标识从 companyList:info 更改为 applyList:view - 确保操作按钮权限控制与实际功能匹配 - 修复因权限标识不一致导致的功能不可用问题

---
 src/main/resources/templates/febs/views/modules/ai/aiApply/list.html |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/templates/febs/views/modules/ai/aiApply/list.html b/src/main/resources/templates/febs/views/modules/ai/aiApply/list.html
index d988d16..a48f671 100644
--- a/src/main/resources/templates/febs/views/modules/ai/aiApply/list.html
+++ b/src/main/resources/templates/febs/views/modules/ai/aiApply/list.html
@@ -50,9 +50,13 @@
 <!--</script>-->
 
 <script type="text/html" id="aiApplyOption">
+    {{#  if(d.state == 0){ }}
     <button class="layui-btn layui-btn-sm layui-btn-success" type="button" shiro:hasPermission="applyList:view" lay-event="aiApplyInfoAgreeEvent">同意</button>
     <button class="layui-btn layui-btn-sm layui-btn-danger" type="button" shiro:hasPermission="applyList:view" lay-event="aiApplyInfoDisagreeEvent">拒绝</button>
+    {{#  } }}
+    {{#  if(d.state == 1){ }}
     <button class="layui-btn layui-btn-sm layui-btn-warm" type="button" shiro:hasPermission="applyList:view" lay-event="aiApplyInfoUnbindEvent">解绑</button>
+    {{#  } }}
 </script>
 
 
@@ -148,7 +152,6 @@
                     febs.alert.error('服务器错误,请稍后重试');
                 },
                 complete: function() {
-                    febs.loading.hide();
                 }
             });
         }

--
Gitblit v1.9.1