mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 17:49:19 +08:00
refactor: 调整开放模块
This commit is contained in:
+1
-1
@@ -162,7 +162,7 @@ defineExpose({
|
||||
<Alert
|
||||
v-if="permissionOptions.length === 0"
|
||||
class="mb-4"
|
||||
message="当前公司尚未分配 open:scope:* 开放权限,请先在「公司权限分配」中配置。"
|
||||
message="当前公司尚未分配开放接口权限(open:* 叶子 api),请先在「公司权限分配」中配置。"
|
||||
show-icon
|
||||
type="info"
|
||||
/>
|
||||
|
||||
@@ -26,10 +26,9 @@ const loading = ref(false);
|
||||
const createModalRef = ref<InstanceType<typeof CreateApiKeyModal>>();
|
||||
|
||||
const permissionLabelMap: Record<string, string> = {
|
||||
'open:scope:order:import': '订单导入',
|
||||
'open:scope:order:read': '订单字段',
|
||||
'open:scope:import_task:read': '导入任务',
|
||||
'open:scope:meta:read': '元数据',
|
||||
'open:product:adfee': '商品广告费',
|
||||
'open:shop:pdd:read': '拼多多店铺',
|
||||
'open:extension:feature:read': '扩展功能',
|
||||
};
|
||||
|
||||
function formatExpireAt(cellValue?: null | string) {
|
||||
|
||||
Reference in New Issue
Block a user