From 1e35772e6e401dd9a0f6fe80299c9109edbb13c7 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Mon, 02 Feb 2026 13:51:44 +0800
Subject: [PATCH] feat(ai): 添加产品问答状态批量更新功能
---
src/main/resources/templates/febs/views/modules/ai/aiApply/list.html | 7 +++++--
1 files changed, 5 insertions(+), 2 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..41b964f 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>
@@ -139,7 +143,7 @@
if (res.code === 200) {
febs.alert.success(actionName + '成功');
// 刷新表格数据
- tableIns.reload({where: getQueryParams(), page: {curr: 1}});
+ // tableIns.reload({where: getQueryParams(), page: {curr: 1}});
} else {
febs.alert.error(res.msg || actionName + '失败');
}
@@ -148,7 +152,6 @@
febs.alert.error('服务器错误,请稍后重试');
},
complete: function() {
- febs.loading.hide();
}
});
}
--
Gitblit v1.9.1