Commit 80a237d5ce83c6496e7fd6fb414c315fc030b49d

Authored by loveumiko
1 parent e36a7dd0

perf: 租户角色和租户账号修改为管理员

... ... @@ -199,7 +199,7 @@
199 199 },
200 200 ]);
201 201 });
202   - const getTitle = computed(() => (!unref(isUpdate) ? '新增账号' : '编辑账号'));
  202 + const getTitle = computed(() => (!unref(isUpdate) ? '新增客户账号' : '编辑客户账号'));
203 203
204 204 async function handleSubmit() {
205 205 setModalProps({ confirmLoading: true });
... ...
... ... @@ -10,7 +10,7 @@
10 10 >
11 11 <template #toolbar>
12 12 <Authority value="api:yt:user:post">
13   - <a-button type="primary" @click="handleCreate">新增账号</a-button>
  13 + <a-button type="primary" @click="handleCreate">新增客户账号</a-button>
14 14 </Authority>
15 15 <Authority value="api:yt:user:delete">
16 16 <Popconfirm
... ...
... ... @@ -255,7 +255,7 @@
255 255 },
256 256 ]);
257 257 });
258   - const getTitle = computed(() => (unref(isAdd) ? '新增租户账号' : '编辑租户账号'));
  258 + const getTitle = computed(() => (unref(isAdd) ? '新增管理员账号' : '编辑管理员账号'));
259 259
260 260 async function handleSubmit() {
261 261 setModalProps({ confirmLoading: true });
... ...
... ... @@ -11,7 +11,7 @@
11 11 >
12 12 <template #toolbar>
13 13 <Authority value="api:yt:user:saveCommonTenant:post">
14   - <a-button type="primary" @click="handleCreate">新增普通租户</a-button>
  14 + <a-button type="primary" @click="handleCreate">新增管理员账号</a-button>
15 15 </Authority>
16 16 <Authority value="api:yt:admin:user:deleteTenantAdmin:delete">
17 17 <Popconfirm
... ...
... ... @@ -158,7 +158,7 @@
158 158 }
159 159 );
160 160
161   - const getTitle = computed(() => (!unref(isUpdate) ? '新增角色' : '编辑角色'));
  161 + const getTitle = computed(() => (!unref(isUpdate) ? '新增客户角色' : '编辑客户角色'));
162 162
163 163 async function handleSubmit() {
164 164 setDrawerProps({ confirmLoading: true });
... ...
... ... @@ -7,7 +7,7 @@
7 7 >
8 8 <template #toolbar>
9 9 <Authority value="api:yt:custom:role:post">
10   - <a-button type="primary" @click="handleCreate">新增角色</a-button>
  10 + <a-button type="primary" @click="handleCreate">新增客户角色</a-button>
11 11 </Authority>
12 12 <Authority value="api:yt:custom:role:delete">
13 13 <Popconfirm
... ...
... ... @@ -127,7 +127,7 @@
127 127 spinning.value = false;
128 128 }
129 129 });
130   - const getTitle = computed(() => (!unref(isUpdate) ? '新增角色' : '编辑角色'));
  130 + const getTitle = computed(() => (!unref(isUpdate) ? '新增管理员角色' : '编辑管理员角色'));
131 131
132 132 // 取消全部的时候清除回显时获取的
133 133 const handleUnSelectAll = () => {
... ...
... ... @@ -7,7 +7,7 @@
7 7 >
8 8 <template #toolbar>
9 9 <Authority value="api:yt:tenant:role:post">
10   - <a-button type="primary" @click="handleCreate"> 新增角色 </a-button>
  10 + <a-button type="primary" @click="handleCreate"> 新增管理员角色 </a-button>
11 11 </Authority>
12 12 <Authority value="api:yt:tenant:role:delete">
13 13 <Popconfirm
... ...