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 |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 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 57185fd..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 + '成功');
@@ -167,7 +167,7 @@
                     {field: 'id', title: 'ID', minWidth: 100,align:'center'},
                     {field: 'name', title: '昵称', minWidth: 100,align:'center'},
                     {field: 'realName', title: '姓名', minWidth: 100,align:'center'},
-                    {field: 'companyCode', title: '公司', minWidth: 100,align:'center'},
+                    {field: 'companyName', title: '公司', minWidth: 100,align:'center'},
                     {field: 'createdTime', title: '时间', minWidth: 100,align:'center'},
                 ]]
             });

--
Gitblit v1.9.1