| | |
| | | </el-tooltip> |
| | | </div> |
| | | </div> |
| | | <!-- 历史建议 --> |
| | | <!-- 推理结论 --> |
| | | <ScheduleSuggestDialog |
| | | ref="scheduleSuggestRef" |
| | | /> |
| | | ref="scheduleSuggestRef" /> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | 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' |
| | |
| | | }, |
| | | { |
| | | name: '转炉煤气 O 含量', |
| | | value: 618, |
| | | value: 10, |
| | | unit: '%' |
| | | }, |
| | | { |
| | |
| | | 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' |
| | | } |
| | | ]) |
| | | |
| | |
| | | { |
| | | 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 |
| | | } |
| | | ]) |
| | | |
| | |
| | | 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 |
| | | } |
| | |
| | | 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 { |
| | |
| | | margin-left: 10px; |
| | | |
| | | .name { |
| | | width: 140px; |
| | | width: 130px; |
| | | font-weight: 400; |
| | | font-size: 14px; |
| | | color: #C7E7FF; |