|
@@ -1,4 +1,4 @@
|
|
|
-import { addDevice, addSpace, delSpace, getDeviceAiRetById, getDeviceById, getDevicePage, getDeviceRecordById, getDeviceThumbById, getSpace, getSpaceById, getSpaceList, updateSpace, updateStatus } from '@/api/cvs/video'
|
|
|
|
|
|
|
+import { addDevice, addSpace, delSpace, getDeviceAiRetById, getDeviceById, getDevicePage, getDeviceRecordById, getDeviceThumbById, getSpace, getSpaceById, getSpaceConfigById, getSpaceList, updateSpace, updateStatus } from '@/api/cvs/video'
|
|
|
import { message } from 'ant-design-vue'
|
|
import { message } from 'ant-design-vue'
|
|
|
|
|
|
|
|
export class SpaceController {
|
|
export class SpaceController {
|
|
@@ -64,7 +64,8 @@ export class SpaceController {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
static async spaceConfigById (spaceId: string) {
|
|
static async spaceConfigById (spaceId: string) {
|
|
|
-
|
|
|
|
|
|
|
+ const { code, data } = await getSpaceConfigById(spaceId)
|
|
|
|
|
+ return data
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
static async devicePage (params: COMMON.API.QueryParams & {deviceName: string}) {
|
|
static async devicePage (params: COMMON.API.QueryParams & {deviceName: string}) {
|