src/api/data/da/point/index.ts | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/data/point/DaPointForm.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
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}`}) 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) => {