From 394ab5adc9e6fed2f3186bc81ebadd64e80fbd7b Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Mon, 02 Feb 2026 14:32:37 +0800
Subject: [PATCH] feat(ai): 添加产品问答任务列表状态显示功能
---
src/main/resources/templates/febs/views/modules/ai/productQuestion/jobList.html | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/templates/febs/views/modules/ai/productQuestion/jobList.html b/src/main/resources/templates/febs/views/modules/ai/productQuestion/jobList.html
index d1eb377..fb7b7f6 100644
--- a/src/main/resources/templates/febs/views/modules/ai/productQuestion/jobList.html
+++ b/src/main/resources/templates/febs/views/modules/ai/productQuestion/jobList.html
@@ -61,6 +61,18 @@
{{# } }}
</script>
+<script type="text/html" id="questionJobStateFormat">
+ {{# if(d.state == 1) { }}
+ <span>进行中</span>
+ {{# }else if(d.state == 2) { }}
+ <span>已完成</span>
+ {{# }else if(d.state == 0) { }}
+ <span>未启动</span>
+ {{# } else { }}
+ <span>-</span>
+ {{# } }}
+</script>
+
<style>
.layui-form-onswitch {
background-color: #5FB878 !important;
@@ -129,6 +141,7 @@
{field: 'questionCnt', title: '生成总数', minWidth: 100,align:'center'},
{field: 'questionDoneCnt', title: '已完成', minWidth: 100,align:'center'},
{templet:"#difficultyFormat", title: '难度', minWidth: 140,align:'center'},
+ {templet:"#questionJobStateFormat", title: '状态', minWidth: 140,align:'center'},
{field: 'companyId', title: '公司编码', minWidth: 150,align:'center'},
]]
});
--
Gitblit v1.9.1