From 67d637cca9ffe6cf6f6799a49c08ac2a7f32d0e4 Mon Sep 17 00:00:00 2001 From: xieyonghong <18010623010@163.com> Date: Thu, 2 Feb 2023 10:42:35 +0800 Subject: [PATCH 1/3] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=8B=93=E5=B1=95?= =?UTF-8?q?=E8=B7=AF=E7=94=B1=E6=97=A0=E6=B3=95=E8=AE=BF=E9=97=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/menu.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/menu.ts b/src/utils/menu.ts index c9f1c00d..516be745 100644 --- a/src/utils/menu.ts +++ b/src/utils/menu.ts @@ -162,7 +162,7 @@ const findChildrenRoute = (code: string, url: string, routes: any[] = []): MenuI const extraRoutes = extraRouteObj[code].children.map((route: MenuItem) => { return { url: `${url}/${route.code}`, - code: route.code, + code: `${code}/${route.code}`, name: route.name, isShow: false } 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 2/3] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=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 @@ + + + + + + From ae37dbc2bd6a994dfeaad3e679ff00005acb160d Mon Sep 17 00:00:00 2001 From: wangshuaiswim Date: Thu, 2 Feb 2023 11:41:55 +0800 Subject: [PATCH 3/3] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9PermissionButton?= =?UTF-8?q?=E7=9A=84Props=E9=80=8F=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PermissionButton/index.vue | 51 ++++++++++++++++------- 1 file changed, 35 insertions(+), 16 deletions(-) diff --git a/src/components/PermissionButton/index.vue b/src/components/PermissionButton/index.vue index 9ec5b437..f8d0e739 100644 --- a/src/components/PermissionButton/index.vue +++ b/src/components/PermissionButton/index.vue @@ -4,14 +4,14 @@ - + - +