diff --git a/components/deepExploration_header.vue b/components/deepExploration_header.vue
index cddab00..100c852 100644
--- a/components/deepExploration_header.vue
+++ b/components/deepExploration_header.vue
@@ -72,7 +72,7 @@
{{ item.stockName }}
({{ item.stockCode }})
- ({{ item.stockCode }})
+ {{ modelType(item.model) }}
{{
formatTimeForHistory(item.createdTime)
@@ -99,12 +99,23 @@ const props = defineProps({
},
});
const showHistoryDrawer = ref(false);
-const modelType = ref('');
const drawerOffsetY = ref(0);
// const handleHistory = () => {
// showHistoryDrawer.value = true;
// };
+function modelType(model) {
+ switch (model) {
+ case 1:
+ return "主力追踪";
+ case 2:
+ return "主力雷达";
+ case 3:
+ return "主力解码";
+ case 4:
+ return "主力资金流";
+ }
+}
// 历史记录
const openHistoryDrawer = async () => {
const res = await RecordListApi({
@@ -160,8 +171,7 @@ async function itemClick(item) {
const deepExplorationStore = useDeepExplorationStore();
deepExplorationStore.setDeepExplorationInfo(message);
onDrawerBackClick();
- console.log(deepExplorationStore.deepExplorationInfo);
-
+ console.log(deepExplorationStore.deepExplorationInfo);
}
}
const historyList = ref([]);