Commit d51602fd2d514bc2935cb7b439931d8f428911d7

Authored by fengtao
1 parent 462d158e

fix:修改组织管理CRUD权限标识

... ... @@ -2,12 +2,12 @@
2 2 <div class="p-4">
3 3 <BasicTable :clickToRowSelect="false" @register="registerTable" @fetch-success="onFetchSuccess">
4 4 <template #toolbar>
5   - <Authority value="api:yt:admin:addOrg">
  5 + <Authority value="api:yt:organization:post">
6 6 <a-button type="primary" @click="handleCreate">
7 7 {{ getI18n }}
8 8 </a-button>
9 9 </Authority>
10   - <Authority value="api:yt:admin:deleteOrg">
  10 + <Authority value="api:yt:organization:delete">
11 11 <a-button
12 12 color="error"
13 13 @click="handleDeleteOrBatchDelete(null)"
... ... @@ -22,13 +22,13 @@
22 22 :actions="[
23 23 {
24 24 label: '编辑',
25   - auth: 'api:yt:admin:editOrg',
  25 + auth: 'api:yt:organization:update',
26 26 icon: 'clarity:note-edit-line',
27 27 onClick: handleEdit.bind(null, record),
28 28 },
29 29 {
30 30 label: '删除',
31   - auth: 'api:yt:admin:deleteOrg',
  31 + auth: 'api:yt:organization:delete',
32 32 icon: 'ant-design:delete-outlined',
33 33 color: 'error',
34 34 popConfirm: {
... ...