Commit 13572c55a2d9ded9b38fa5c7f23fc8bf56924145

Authored by fengtao
1 parent 7f1775c6

fix:修改数据流转CRUD权限标识

... ... @@ -8,10 +8,10 @@
8 8 :clickToRowSelect="false"
9 9 >
10 10 <template #toolbar>
11   - <Authority value="api:yt:admin:addDataFlow">
  11 + <Authority value="api:yt:convert:config:post">
12 12 <a-button type="primary" @click="handleAdd"> 添加流转 </a-button>
13 13 </Authority>
14   - <Authority value="api:yt:admin:deleteDataFlow">
  14 + <Authority value="api:yt:convert:config:delete">
15 15 <a-button
16 16 type="primary"
17 17 color="error"
... ... @@ -41,7 +41,7 @@
41 41 :actions="[
42 42 {
43 43 label: '编辑',
44   - auth: 'api:yt:admin:editDataFlow',
  44 + auth: 'api:yt:convert:config:update',
45 45 icon: 'clarity:note-edit-line',
46 46 onClick: handleEdit.bind(null, record),
47 47 ifShow: (_action) => {
... ... @@ -51,7 +51,7 @@
51 51
52 52 {
53 53 label: '删除',
54   - auth: 'api:yt:admin:deleteDataFlow',
  54 + auth: 'api:yt:convert:config:delete',
55 55 icon: 'ant-design:delete-outlined',
56 56 color: 'error',
57 57 popConfirm: {
... ...