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 @@ - 保存 + 保存 +