From f052d279131a056cb82c178ae195f463caa72c33 Mon Sep 17 00:00:00 2001 From: gerson <1405270578@qq.com> Date: 星期日, 04 八月 2024 14:01:23 +0800 Subject: [PATCH] 新增表格展示方式 --- src/components/chat/chatComponents/summaryCom/components/types.ts | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/components/chat/chatComponents/summaryCom/components/types.ts b/src/components/chat/chatComponents/summaryCom/components/types.ts index f8231ee..b0822e9 100644 --- a/src/components/chat/chatComponents/summaryCom/components/types.ts +++ b/src/components/chat/chatComponents/summaryCom/components/types.ts @@ -1,6 +1,8 @@ import HTMLCom from '../../htmlCom/HTMLCom.vue'; import MapCom from '../../mapCom/MapCom.vue'; import RecordSet from './recordSet/RecordSet.vue'; +import RecordSetTable from './recordSetTable/RecordSetTable.vue'; + import Summary from './summary/Summary.vue'; import DeviceLastValueCom from './deviceLastValue/DeviceLastValueCom.vue'; @@ -9,7 +11,9 @@ Summary = 'summary', Url = 'url', Map = 'map', - DeviceLastValue='device_last_value' + DeviceLastValue='device_last_value', + /** @description 鍚庣骞舵病鏈夊鍔犱竴涓柊鐨� table 绫诲瀷锛岃�屾槸褰撴垚 recordset 鐨勪竴绉嶇壒鍒� */ + RecordSetTable = 'recordsetTable' } export const summaryAnswerTypeMapCom = { @@ -17,5 +21,7 @@ [SummaryAnswerType.Summary]: Summary, [SummaryAnswerType.Url]: HTMLCom, [SummaryAnswerType.Map]: MapCom, - [SummaryAnswerType.DeviceLastValue]:DeviceLastValueCom + [SummaryAnswerType.DeviceLastValue]:DeviceLastValueCom, + [SummaryAnswerType.RecordSetTable]:RecordSetTable, + }; -- Gitblit v1.9.3