diff --git a/src/api/iot-card/platform.ts b/src/api/iot-card/platform.ts new file mode 100644 index 00000000..89b84490 --- /dev/null +++ b/src/api/iot-card/platform.ts @@ -0,0 +1,31 @@ +import server from '@/utils/request' + +/** + * 分页查询平台接入列表 + * @param data + */ +export const queryList = (data: any) => server.post(`/network/card/platform/_query`, data) + +/** + * 根据id查询详情 + * @param id + */ +export const queryById = (id: any) => server.get(`/network/card/platform/${id}`) + +/** + * 新增 + * @param data + */ +export const save = (data: any) => server.post(`/network/card/platform`, data) + +/** + * 编辑 + * @param data + */ +export const update = (data: any) => server.patch(`/network/card/platform`, data) + +/** + * 删除 + * @param id + */ +export const del = (id: string) => server.remove(`/network/card/platform/${id}`) \ No newline at end of file diff --git a/src/views/iot-card/Platform/Detail/index.vue b/src/views/iot-card/Platform/Detail/index.vue new file mode 100644 index 00000000..d1e2c40d --- /dev/null +++ b/src/views/iot-card/Platform/Detail/index.vue @@ -0,0 +1,249 @@ + + + diff --git a/src/views/iot-card/Platform/doc/index.vue b/src/views/iot-card/Platform/doc/index.vue new file mode 100644 index 00000000..a47c0aba --- /dev/null +++ b/src/views/iot-card/Platform/doc/index.vue @@ -0,0 +1,220 @@ + + + + + diff --git a/src/views/iot-card/Platform/index.vue b/src/views/iot-card/Platform/index.vue new file mode 100644 index 00000000..6a611705 --- /dev/null +++ b/src/views/iot-card/Platform/index.vue @@ -0,0 +1,305 @@ + + + + + + diff --git a/src/views/iot-card/components/PlatformType.vue b/src/views/iot-card/components/PlatformType.vue new file mode 100644 index 00000000..16cde6f7 --- /dev/null +++ b/src/views/iot-card/components/PlatformType.vue @@ -0,0 +1,205 @@ + + + + + +