diff --git a/src/views/device/Instance/Detail/Running/Event/index.vue b/src/views/device/Instance/Detail/Running/Event/index.vue index e263430e..be6d4cb0 100644 --- a/src/views/device/Instance/Detail/Running/Event/index.vue +++ b/src/views/device/Instance/Detail/Running/Event/index.vue @@ -1,5 +1,11 @@ + + + + \ No newline at end of file diff --git a/src/views/device/Instance/Save/index.vue b/src/views/device/Instance/Save/index.vue index f1ef6769..21b63b15 100644 --- a/src/views/device/Instance/Save/index.vue +++ b/src/views/device/Instance/Save/index.vue @@ -13,7 +13,7 @@ - + diff --git a/src/views/device/Product/Detail/BasicInfo/indev.vue b/src/views/device/Product/Detail/BasicInfo/indev.vue index 2e0dbd8c..27d63a43 100644 --- a/src/views/device/Product/Detail/BasicInfo/indev.vue +++ b/src/views/device/Product/Detail/BasicInfo/indev.vue @@ -5,9 +5,16 @@ diff --git a/src/views/edge/Device/Save/index.vue b/src/views/edge/Device/Save/index.vue index b1ad1b4b..58108a27 100644 --- a/src/views/edge/Device/Save/index.vue +++ b/src/views/edge/Device/Save/index.vue @@ -13,7 +13,7 @@ - + diff --git a/src/views/init-home/data/RoleData.ts b/src/views/init-home/data/RoleData.ts index c4821759..b2d128ad 100644 --- a/src/views/init-home/data/RoleData.ts +++ b/src/views/init-home/data/RoleData.ts @@ -245,12 +245,6 @@ export default { url: '/iot/link/protocol', buttons: [ { id: 'view', name: '查看', enabled: true, granted: true }, - { - id: 'action', - name: '启/禁用', - enabled: true, - granted: true, - }, { id: 'delete', name: '删除', enabled: true, granted: true }, { id: 'update', @@ -651,12 +645,6 @@ export default { url: '/iot/link/protocol', buttons: [ { id: 'view', name: '查看', enabled: true, granted: true }, - { - id: 'action', - name: '启/禁用', - enabled: true, - granted: true, - }, { id: 'delete', name: '删除', enabled: true, granted: true }, { id: 'update', diff --git a/src/views/init-home/data/baseMenu.ts b/src/views/init-home/data/baseMenu.ts index 39df86e4..eafb6658 100644 --- a/src/views/init-home/data/baseMenu.ts +++ b/src/views/init-home/data/baseMenu.ts @@ -1364,6 +1364,16 @@ export default [ }, ], }, + { + id: 'action', + name: '启/禁用', + permissions: [ + { + permission: 'firmware-upgrade-task-manager', + actions: ['save'], + } + ], + }, ], accessSupport: { text: "不支持", value: "unsupported" }, supportDataAccess: false diff --git a/src/views/iot-card/Recharge/index.vue b/src/views/iot-card/Recharge/index.vue index d4f1a96c..161b152b 100644 --- a/src/views/iot-card/Recharge/index.vue +++ b/src/views/iot-card/Recharge/index.vue @@ -2,8 +2,21 @@