From e2a0ea3a333e46b22152d1e90356db4d2cda5f66 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Mon, 29 Sep 2025 14:03:18 +0800
Subject: [PATCH] feat(ai): 新增阿里云百炼知识库工具类 - 添加 KnowledgeBaseUtil 工具类,封装阿里云百炼知识库操作 - 实现文件上传、知识库创建与更新等核心功能 - 支持文件MD5计算、分类管理、索引任务提交与状态查询 - 集成阿里云百炼SDK依赖,版本为2.5.0 - 提供完整的知识库初始化与文件更新流程示例 - 添加文件解析状态轮询与错误处理机制 - 支持知识库中文档的追加导入与旧文档删除功能
---
src/main/resources/templates/febs/views/modules/clothesType/typeList.html | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/main/resources/templates/febs/views/modules/clothesType/typeList.html b/src/main/resources/templates/febs/views/modules/clothesType/typeList.html
index 69e3714..190cf0d 100644
--- a/src/main/resources/templates/febs/views/modules/clothesType/typeList.html
+++ b/src/main/resources/templates/febs/views/modules/clothesType/typeList.html
@@ -57,8 +57,8 @@
<button class="layui-btn layui-btn-normal layui-btn-sm" type="button" shiro:hasPermission="artSet:view" lay-event="artSet">工艺配置</button>
<button class="layui-btn layui-btn-normal layui-btn-sm" type="button" shiro:hasPermission="sizeSet:view" lay-event="sizeSet">尺码配置</button>
<button class="layui-btn layui-btn-normal layui-btn-sm" type="button" shiro:hasPermission="clothSet:view" lay-event="clothSet">布料配置</button>
- <button class="layui-btn layui-btn-normal layui-btn-sm" type="button" shiro:hasPermission="patternSet:view" lay-event="patternSet">图案文字配置</button>
- <button class="layui-btn layui-btn-normal layui-btn-sm" type="button" shiro:hasPermission="locationSet:view" lay-event="locationSet">图案位置配置</button>
+ <button class="layui-btn layui-btn-normal layui-btn-sm" type="button" shiro:hasPermission="patternSet:view" lay-event="patternSet">正面图案配置</button>
+ <button class="layui-btn layui-btn-normal layui-btn-sm" type="button" shiro:hasPermission="locationSet:view" lay-event="locationSet">反面图案配置</button>
</div>
</script>
@@ -335,7 +335,7 @@
febs.alert.warn('每次操作只能操作一行数据');
return;
}
- febs.modal.open('图案文字配置', 'modules/clothesType/patternSet/' + checkData[0].id, {
+ febs.modal.open('正面图案配置', 'modules/clothesType/patternSet/' + checkData[0].id, {
btn: ['提交', '取消'],
area:['100%','100%'],
yes: function (index, layero) {
@@ -353,7 +353,7 @@
febs.alert.warn('每次操作只能操作一行数据');
return;
}
- febs.modal.open('图案位置配置', 'modules/clothesType/locationSet/' + checkData[0].id, {
+ febs.modal.open('反面图案配置', 'modules/clothesType/locationSet/' + checkData[0].id, {
btn: ['提交', '取消'],
area:['100%','100%'],
yes: function (index, layero) {
@@ -382,8 +382,8 @@
{field: 'state', title: '允许上线', templet: '#stateSwitch', minWidth: 130,align:'center'},
{field: 'clothState', title: '允许选择布料', templet: '#clothStateSwitch', minWidth: 130,align:'center'},
{field: 'artState', title: '允许选择工艺', templet: '#artStateSwitch', minWidth: 130,align:'center'},
- {field: 'patternState', title: '允许选择图案', templet: '#patternStateSwitch', minWidth: 130,align:'center'},
- {field: 'locationState', title: '允许选择图案位置', templet: '#locationStateSwitch', minWidth: 180,align:'center'},
+ {field: 'patternState', title: '允许选择正面图案', templet: '#patternStateSwitch', minWidth: 130,align:'center'},
+ {field: 'locationState', title: '允许选择反面图案', templet: '#locationStateSwitch', minWidth: 180,align:'center'},
{field: 'sizeState', title: '允许选择尺码', templet: '#sizeStateSwitch', minWidth: 130,align:'center'},
{field: 'image',title: '小图标',
templet: function (d) {
--
Gitblit v1.9.1