From 6cb8e67da23abdec43dfc48d0a528d72dbed21bd Mon Sep 17 00:00:00 2001 From: JiangQiming <291854119@qq.com> Date: Wed, 29 Mar 2023 10:53:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20bug#11071=E3=80=8111075=E3=80=8111058?= =?UTF-8?q?=E3=80=8111062=E3=80=8111151?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/media/Device/Channel/index.vue | 83 +++++++++++-------- src/views/system/Apply/index.vue | 2 +- src/views/system/Department/device/index.vue | 4 +- src/views/system/Department/product/index.vue | 2 +- .../Platforms/Api/components/ChooseApi.vue | 9 +- 5 files changed, 61 insertions(+), 39 deletions(-) diff --git a/src/views/media/Device/Channel/index.vue b/src/views/media/Device/Channel/index.vue index 1e155bc0..f595c3b5 100644 --- a/src/views/media/Device/Channel/index.vue +++ b/src/views/media/Device/Channel/index.vue @@ -47,9 +47,15 @@ > 新增 - - 新增 - + + + @@ -216,7 +233,7 @@ const getActions = ( if (!data) return []; const actions = [ { - key: 'edit', + key: 'update', text: '编辑', tooltip: { title: '编辑', diff --git a/src/views/system/Apply/index.vue b/src/views/system/Apply/index.vue index 0e5658e9..cc6fbb52 100644 --- a/src/views/system/Apply/index.vue +++ b/src/views/system/Apply/index.vue @@ -325,7 +325,7 @@ const table = { onClick: () => table.toSave(data.id), }, { - permission: `${permission}:update`, + permission: `${permission}:action`, key: 'action', text: disabled ? '禁用' : '启用', tooltip: { diff --git a/src/views/system/Department/device/index.vue b/src/views/system/Department/device/index.vue index d4e70dc4..0e7ed4c4 100644 --- a/src/views/system/Department/device/index.vue +++ b/src/views/system/Department/device/index.vue @@ -336,14 +336,14 @@ const table = { else return [ { - permission: true, + permission: `${permission}:assert`, key: 'edit', tooltip: { title: '编辑' }, icon: 'EditOutlined', onClick: () => table.clickEdit(data), }, { - permission: true, + permission: `${permission}:bind`, key: 'unbind', tooltip: { title: '解除绑定' }, popConfirm: { diff --git a/src/views/system/Department/product/index.vue b/src/views/system/Department/product/index.vue index 1873d052..ff81e1e8 100644 --- a/src/views/system/Department/product/index.vue +++ b/src/views/system/Department/product/index.vue @@ -345,7 +345,7 @@ const table = { onClick: () => table.clickEdit(data), }, { - permission: `${permission}:assert`, + permission: `${permission}:bind`, key: 'unbind', tooltip: { title: '解除绑定' }, popConfirm: { diff --git a/src/views/system/Platforms/Api/components/ChooseApi.vue b/src/views/system/Platforms/Api/components/ChooseApi.vue index db2aa314..c61338a5 100644 --- a/src/views/system/Platforms/Api/components/ChooseApi.vue +++ b/src/views/system/Platforms/Api/components/ChooseApi.vue @@ -18,9 +18,14 @@ - 保存 + 保存 +