From ff3e1a52e511b9cef988a5373569266d052a062a Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期二, 10 十二月 2024 13:24:57 +0800 Subject: [PATCH] pointList2 --- src/api/data/da/point/index.ts | 5 +++++ src/views/data/point/DaPointForm.vue | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/api/data/da/point/index.ts b/src/api/data/da/point/index.ts index 366f331..3d48aa6 100644 --- a/src/api/data/da/point/index.ts +++ b/src/api/data/da/point/index.ts @@ -34,6 +34,11 @@ return request.get({ url: '/data/da/point/list', params }) } +// 查询DaPoint simpleList +export const getPointSimpleList = (params: DaPointPageReqVO) => { + return request.get({ url: '/data/da/point/simple-list', params }) +} + // 查询DaPoint详情 export const getDaPoint = (id: number) => { return request.get({ url: `/data/da/point/info/${id}`}) diff --git a/src/views/data/point/DaPointForm.vue b/src/views/data/point/DaPointForm.vue index 5f502a6..5a1682b 100644 --- a/src/views/data/point/DaPointForm.vue +++ b/src/views/data/point/DaPointForm.vue @@ -326,6 +326,7 @@ import * as DaPoint from '@/api/data/da/point' import * as TagApi from '@/api/data/channel/tag' import {DICT_TYPE, getDictOptions, getIntDictOptions} from "@/utils/dict"; +import {getPointSimpleList} from "@/api/data/da/point"; defineOptions({name: 'DataDaPointForm'}) @@ -582,11 +583,11 @@ } const getPointList = async () => { - pointList.value = await DaPoint.getPointList(queryParams) + pointList.value = await DaPoint.getPointSimpleList(queryParams) } const getPointList2 = async () => { - pointList2.value = await DaPoint.getPointList(queryParams2) + pointList2.value = await DaPoint.getPointSimpleList(queryParams2) } const getInfo = async (id) => { -- Gitblit v1.9.3