From 43c5aa63efb2e11857cd90cffe1d126e24091336 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Mon, 20 Oct 2025 15:54:07 +0800
Subject: [PATCH] fix(ai): 调整公司成员申请状态处理逻辑

---
 src/main/resources/templates/febs/views/modules/ai/aiApply/list.html |   12 ++++++------
 1 files changed, 6 insertions(+), 6 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 44e5fab..d988d16 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
@@ -103,18 +103,21 @@
                     }
                 });
             } else if (layEvent === 'aiApplyInfoAgreeEvent') {
+                febs.modal.confirm('删除', '确认删除?', function () {
+                    memberRoleDeleteEvent(data.id);
+                });
                 // 同意操作
-                febs.confirm('确定要同意该申请吗?', function () {
+                febs.modal.confirm('审核','确定要同意该申请吗?', function () {
                     handleApplyAction(data.id, 'agree');
                 });
             } else if (layEvent === 'aiApplyInfoDisagreeEvent') {
                 // 拒绝操作
-                febs.confirm('确定要拒绝该申请吗?', function () {
+                febs.modal.confirm('审核','确定要拒绝该申请吗?', function () {
                     handleApplyAction(data.id, 'disagree');
                 });
             } else if (layEvent === 'aiApplyInfoUnbindEvent') {
                 // 解绑操作
-                febs.confirm('确定要解除绑定吗?此操作不可撤销!', function () {
+                febs.modal.confirm('审核','确定要解除绑定吗?此操作不可撤销!', function () {
                     handleApplyAction(data.id, 'unbind');
                 });
             }
@@ -132,9 +135,6 @@
                 data: JSON.stringify({id: id}),
                 dataType: 'json',
                 headers: {'Content-Type': 'application/json;charset=utf-8'},
-                beforeSend: function() {
-                    febs.loading.show();
-                },
                 success: function(res) {
                     if (res.code === 200) {
                         febs.alert.success(actionName + '成功');

--
Gitblit v1.9.1