From 001bb6bce0f734d7760d2f6a2409e7d5af98e322 Mon Sep 17 00:00:00 2001 From: blp <2962632571@qq.com> Date: Thu, 2 Feb 2023 11:06:58 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E5=B9=B3=E5=8F=B0?= =?UTF-8?q?=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/iot-card/platform.ts | 31 ++ src/views/iot-card/Platform/Detail/index.vue | 249 ++++++++++++++ src/views/iot-card/Platform/doc/index.vue | 220 +++++++++++++ src/views/iot-card/Platform/index.vue | 305 ++++++++++++++++++ .../iot-card/components/PlatformType.vue | 205 ++++++++++++ 5 files changed, 1010 insertions(+) create mode 100644 src/api/iot-card/platform.ts create mode 100644 src/views/iot-card/Platform/Detail/index.vue create mode 100644 src/views/iot-card/Platform/doc/index.vue create mode 100644 src/views/iot-card/Platform/index.vue create mode 100644 src/views/iot-card/components/PlatformType.vue 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 @@ + + + + + +