Showing
1 changed file
with
6 additions
and
6 deletions
@@ -15,10 +15,10 @@ | @@ -15,10 +15,10 @@ | ||
15 | </Tag> | 15 | </Tag> |
16 | </template> | 16 | </template> |
17 | <template #toolbar> | 17 | <template #toolbar> |
18 | - <Authority value="api:yt:admin:addConfiguration"> | 18 | + <Authority value="api:yt:configuration:center:post"> |
19 | <a-button type="primary" @click="handleCreateOrEdit(null)"> 新增组态 </a-button> | 19 | <a-button type="primary" @click="handleCreateOrEdit(null)"> 新增组态 </a-button> |
20 | </Authority> | 20 | </Authority> |
21 | - <Authority value="api:yt:admin:deleteConfiguration"> | 21 | + <Authority value="api:yt:configuration:center:delete"> |
22 | <Popconfirm | 22 | <Popconfirm |
23 | title="您确定要批量删除数据" | 23 | title="您确定要批量删除数据" |
24 | ok-text="确定" | 24 | ok-text="确定" |
@@ -36,25 +36,25 @@ | @@ -36,25 +36,25 @@ | ||
36 | :actions="[ | 36 | :actions="[ |
37 | { | 37 | { |
38 | label: '设计', | 38 | label: '设计', |
39 | - auth: 'api:yt:admin:designConfiguration', | 39 | + auth: 'api:yt:configuration:center:get_configuration_info:get', |
40 | icon: 'clarity:note-edit-line', | 40 | icon: 'clarity:note-edit-line', |
41 | onClick: handleDesign.bind(null, record), | 41 | onClick: handleDesign.bind(null, record), |
42 | }, | 42 | }, |
43 | { | 43 | { |
44 | label: '预览', | 44 | label: '预览', |
45 | - auth: 'api:yt:admin:viewConfiguration', | 45 | + auth: 'api:yt:configuration:center:get_configuration_info:get', |
46 | icon: 'ant-design:eye-outlined', | 46 | icon: 'ant-design:eye-outlined', |
47 | onClick: handlePreview.bind(null, record), | 47 | onClick: handlePreview.bind(null, record), |
48 | }, | 48 | }, |
49 | { | 49 | { |
50 | label: '编辑', | 50 | label: '编辑', |
51 | - auth: 'api:yt:admin:editConfiguration', | 51 | + auth: 'api:yt:configuration:center:update', |
52 | icon: 'clarity:note-edit-line', | 52 | icon: 'clarity:note-edit-line', |
53 | onClick: handleCreateOrEdit.bind(null, record), | 53 | onClick: handleCreateOrEdit.bind(null, record), |
54 | }, | 54 | }, |
55 | { | 55 | { |
56 | label: '删除', | 56 | label: '删除', |
57 | - auth: 'api:yt:admin:deleteConfiguration', | 57 | + auth: 'api:yt:configuration:center:delete', |
58 | icon: 'ant-design:delete-outlined', | 58 | icon: 'ant-design:delete-outlined', |
59 | color: 'error', | 59 | color: 'error', |
60 | popConfirm: { | 60 | popConfirm: { |