mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-10 18:58:37 +08:00
build: Arco Design Vue 2.56.0 => 2.57.0
- 升级若干依赖版本 - 调整客户端详情界面的描述项布局,提高可读性 - 调整角色权限展开/折叠按钮
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
<template>
|
||||
<a-drawer v-model:visible="visible" title="终端详情" :width="width >= 500 ? 500 : '100%'" :footer="false">
|
||||
<a-descriptions :column="1" size="large" class="general-description">
|
||||
<a-drawer v-model:visible="visible" title="终端详情" :width="width >= 600 ? 600 : '100%'" :footer="false">
|
||||
<a-descriptions :column="2" size="large" class="general-description">
|
||||
<a-descriptions-item label="ID">{{ dataDetail?.id }}</a-descriptions-item>
|
||||
<a-descriptions-item label="终端ID"><a-typography-paragraph :copyable="!!dataDetail?.clientId">{{ dataDetail?.clientId }}</a-typography-paragraph></a-descriptions-item>
|
||||
<a-descriptions-item label="终端Key">{{ dataDetail?.clientKey }}</a-descriptions-item>
|
||||
<a-descriptions-item label="终端秘钥">{{ dataDetail?.clientSecret }}</a-descriptions-item>
|
||||
<a-descriptions-item label="认证类型">
|
||||
<a-descriptions-item label="终端ID" :span="2"><a-typography-paragraph :copyable="!!dataDetail?.clientId">{{ dataDetail?.clientId }}</a-typography-paragraph></a-descriptions-item>
|
||||
<a-descriptions-item label="终端Key" :span="2">{{ dataDetail?.clientKey }}</a-descriptions-item>
|
||||
<a-descriptions-item label="终端秘钥" :span="2">{{ dataDetail?.clientSecret }}</a-descriptions-item>
|
||||
<a-descriptions-item label="认证类型" :span="2">
|
||||
<a-space>
|
||||
<GiCellTag v-for="(item, index) in dataDetail?.authType" :key="index" :value="item" :dict="auth_type_enum" />
|
||||
</a-space>
|
||||
</a-descriptions-item>
|
||||
<a-descriptions-item label="终端类型">
|
||||
<a-descriptions-item label="终端类型" :span="2">
|
||||
<GiCellTag :value="dataDetail?.clientType" :dict="client_type" />
|
||||
</a-descriptions-item>
|
||||
<a-descriptions-item label="Token最低活跃频率">{{ dataDetail?.activeTimeout }}</a-descriptions-item>
|
||||
<a-descriptions-item label="Token有效期">{{ dataDetail?.timeout }}</a-descriptions-item>
|
||||
<a-descriptions-item label="状态">
|
||||
<a-descriptions-item label="状态" :span="2">
|
||||
<GiCellStatus :status="dataDetail?.status" />
|
||||
</a-descriptions-item>
|
||||
<a-descriptions-item label="创建人">{{ dataDetail?.createUserString }}</a-descriptions-item>
|
||||
|
@@ -23,14 +23,16 @@
|
||||
<a-radio :value="true">节点关联</a-radio>
|
||||
<a-radio :value="false">节点独立</a-radio>
|
||||
</a-radio-group>
|
||||
<a-tooltip :content="isExpanded ? '折叠' : '展开'">
|
||||
<a-button @click="onExpanded">
|
||||
<template #icon>
|
||||
<icon-mind-mapping v-if="!isExpanded" />
|
||||
<icon-list v-else />
|
||||
</template>
|
||||
</a-button>
|
||||
</a-tooltip>
|
||||
<a-button @click="onExpanded">
|
||||
<template #icon>
|
||||
<icon-list v-if="isExpanded" />
|
||||
<icon-mind-mapping v-else />
|
||||
</template>
|
||||
<template #default>
|
||||
<span v-if="!isExpanded">展开</span>
|
||||
<span v-else>折叠</span>
|
||||
</template>
|
||||
</a-button>
|
||||
</template>
|
||||
<template #expand-icon="{ expanded }">
|
||||
<IconDown v-if="expanded" />
|
||||
|
Reference in New Issue
Block a user