Commit 4cb8b8b8541d644e3942725e523c24bbf65a0dca

Authored by fengtao
1 parent 775efef9

fix:修改告警配置CRUD权限标识

... ... @@ -13,10 +13,10 @@
13 13 :clickToRowSelect="false"
14 14 >
15 15 <template #toolbar>
16   - <Authority value="api:yt:admin:addAlarmConfig">
  16 + <Authority value="api:yt:alarm:profile:post">
17 17 <a-button type="primary" @click="handleCreateOrEdit(null)"> 新增告警配置 </a-button>
18 18 </Authority>
19   - <Authority value="api:yt:admin:deleteAlarmConfig">
  19 + <Authority value="api:yt:alarm:profile:delete">
20 20 <a-button
21 21 type="primary"
22 22 color="error"
... ... @@ -51,7 +51,7 @@
51 51 :actions="[
52 52 {
53 53 label: '编辑',
54   - auth: 'api:yt:admin:editAlarmConfig',
  54 + auth: 'api:yt:alarm:profile:update',
55 55 icon: 'clarity:note-edit-line',
56 56 onClick: handleCreateOrEdit.bind(null, record),
57 57 ifShow: () => {
... ... @@ -60,7 +60,7 @@
60 60 },
61 61 {
62 62 label: '删除',
63   - auth: 'api:yt:admin:deleteAlarmConfig',
  63 + auth: 'api:yt:alarm:profile:delete',
64 64 icon: 'ant-design:delete-outlined',
65 65 color: 'error',
66 66 ifShow: () => {
... ...