From e629a9105b1f8c9920d976a93139dda0150c79a8 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期一, 20 一月 2025 18:03:12 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/api/model/sche/model/index.ts |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/src/api/model/sche/model/index.ts b/src/api/model/sche/model/index.ts
index 0ac2b05..b2b130f 100644
--- a/src/api/model/sche/model/index.ts
+++ b/src/api/model/sche/model/index.ts
@@ -4,6 +4,7 @@
 import * as PlanItemApi from '@/api/data/plan/item'
 import {CommonEnabled} from "@/utils/constants";
 import {getItemList, ItemVO} from "@/api/data/plan/item";
+import * as ItemApi from '@/api/data/ind/item/item'
 
 export interface ScheduleModelVO {
   id: string
@@ -143,10 +144,25 @@
     })
   }
 
+  // 指标数据
+  const indItemList = await ItemApi.getItemList({})
+  const indList = []
+  if (indItemList) {
+    indItemList.forEach(item => {
+      indList.push(
+        {
+          id: item.id,
+          name: item.itemName
+        }
+      )
+    })
+  }
+
   return {
     'DATAPOINT':pointList,
     'NormalItem': normalItemList,
     'MergeItem': mergeItemList,
     'PLAN': planList,
+    'IND': indList,
   }
 }

--
Gitblit v1.9.3