Commit 13572c55a2d9ded9b38fa5c7f23fc8bf56924145

Authored by fengtao
1 parent 7f1775c6

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

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