From e295922209fb87c6dcd68ea1560fd16c3e6d808c Mon Sep 17 00:00:00 2001 From: dongyukun <1208714201@qq.com> Date: 星期五, 27 六月 2025 09:36:51 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/feature/ai' --- src/views/ai/dashboard/zhuanlu/index.vue | 47 ++++++++++++++++++----------------------------- 1 files changed, 18 insertions(+), 29 deletions(-) diff --git a/src/views/ai/dashboard/zhuanlu/index.vue b/src/views/ai/dashboard/zhuanlu/index.vue index 8c62b93..16e7643 100644 --- a/src/views/ai/dashboard/zhuanlu/index.vue +++ b/src/views/ai/dashboard/zhuanlu/index.vue @@ -275,10 +275,9 @@ </el-tooltip> </div> </div> - <!-- 历史建议 --> + <!-- 推理结论 --> <ScheduleSuggestDialog - ref="scheduleSuggestRef" - /> + ref="scheduleSuggestRef" /> </div> </div> </div> @@ -294,6 +293,7 @@ import MessageLoading from '../components/message/MessageLoading.vue' import ConversationList from "../components/conversation/ConversationList.vue"; import HistoryMessageDialog from "../components/message/HistoryMessageDialog.vue" +import ScheduleSuggestDialog from "../components/suggest/ScheduleSuggestDialog.vue" import * as echarts from "echarts"; import {formatToDateTime} from "@/utils/dateUtil"; import { formatReasoningContent } from '@/views/ai/utils/utils' @@ -312,7 +312,7 @@ }, { name: '转炉煤气 O 含量', - value: 618, + value: 10, unit: '%' }, { @@ -502,33 +502,23 @@ const mqhsjhxxList = ref([ { name: '转炉总炉数日计划', - value: 567, + value: 123, unit: '炉' }, { - name: '转炉入炉铁水量日计划', - value: 200, - unit: '吨' - }, - { name: '转炉检修计划', - value: '未进行', + value: '0', unit: '' }, { name: '钢产量日计划', - value: 300, - unit: '吨' - }, - { - name: '转炉加入废钢总量', - value: 500, - unit: '吨' + value: 20000, + unit: 't' }, { name: '转炉实绩钢产量', - value: 100, - unit: '吨' + value: 20929, + unit: 't' } ]) @@ -554,20 +544,20 @@ { id: 1, name: '1#转炉', - current: 20, - total: 30 + current: 4, + total: 29 }, { id: 2, name: '2#转炉', - current: 25, - total: 100 + current: 5, + total: 42 }, { id: 3, name: '3#转炉', - current: 4, - total: 29 + current: 6, + total: 42 } ]) @@ -861,7 +851,6 @@ const spliceText = content.includes("总结:") ? "总结:" : "结论:"; const regex = new RegExp(`^([\\s\\S]*?)${spliceText}([\\s\\S]*)$`); const match = content.match(regex); - console.log(match) const result = match ? match[2].trim() : ''; return result } @@ -2394,7 +2383,7 @@ height: 1.4rem; width: 46%; display: inline-block; - margin: 6px 8px; + margin: 8px 8px; background: url("@/assets/ai/zhuanlu/data_bg3.png") no-repeat; } .content { @@ -2403,7 +2392,7 @@ margin-left: 10px; .name { - width: 140px; + width: 130px; font-weight: 400; font-size: 14px; color: #C7E7FF; -- Gitblit v1.9.3