| | |
| | | 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 |
| | |
| | | }) |
| | | } |
| | | |
| | | // 指标数据 |
| | | 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, |
| | | } |
| | | } |