Commit 8dcb6cc63ee8253f05277299cea0a4fdcbc869d8

Authored by fengtao
1 parent b5f0e1e1

fix:修改设备列表CRUD权限标识

... ... @@ -123,19 +123,19 @@
123 123 {
124 124 label: '详情',
125 125 icon: 'ant-design:eye-outlined',
126   - auth: 'api:yt:admin:viewDeviceList',
  126 + auth: 'api:yt:device:get',
127 127 onClick: handleDetail.bind(null, record),
128 128 },
129 129 {
130 130 label: '编辑',
131   - auth: 'api:yt:admin:editDeviceList',
  131 + auth: 'api:yt:device:update',
132 132 icon: 'clarity:note-edit-line',
133 133 ifShow: authBtn(role) && record.customerId === undefined,
134 134 onClick: handleEdit.bind(null, record),
135 135 },
136 136 {
137 137 label: '删除',
138   - auth: 'api:yt:admin:deleteDeviceList',
  138 + auth: 'api:yt:device:delete',
139 139 icon: 'ant-design:delete-outlined',
140 140 ifShow: authBtn(role) && record.customerId === undefined,
141 141 color: 'error',
... ...