看板内容进行优化,同时加入了用户管理模块,将用户信息全局开放,
This commit is contained in:
@@ -66,14 +66,14 @@
|
||||
<span>热门用户</span>
|
||||
</div>
|
||||
<el-table :data="topUsers" style="width: 100%">
|
||||
<!-- 修改:将用户ID改为用户信息,显示昵称(ID)格式 -->
|
||||
<el-table-column label="用户信息" width="75%">
|
||||
<!-- 修改:将用户ID改为用户信息,使用固定像素宽度 -->
|
||||
<el-table-column label="用户信息" min-width="180">
|
||||
<template slot-scope="scope">
|
||||
{% raw %}{{ scope.row.user_name || scope.row.user_id }} ({{ scope.row.user_id }}){% endraw %}
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column prop="total_calls" label="调用次数" width="25%"></el-table-column>
|
||||
<el-table-column prop="total_calls" label="调用次数" width="80" align="center"></el-table-column>
|
||||
</el-table>
|
||||
</el-card>
|
||||
</el-col>
|
||||
@@ -83,13 +83,13 @@
|
||||
<span>热门群组</span>
|
||||
</div>
|
||||
<el-table :data="topGroups" style="width: 100%">
|
||||
<!-- 修改:将群组ID改为群组信息,显示昵称(ID)格式 -->
|
||||
<el-table-column label="群组信息" width="75%">
|
||||
<!-- 修改:将群组ID改为群组信息,使用固定像素宽度 -->
|
||||
<el-table-column label="群组信息" min-width="180">
|
||||
<template slot-scope="scope">
|
||||
{% raw %}{{ scope.row.group_name || scope.row.group_id }} ({{ scope.row.group_id }}){% endraw %}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="total_calls" label="调用次数" width="25%"></el-table-column>
|
||||
<el-table-column prop="total_calls" label="调用次数" width="80" align="center"></el-table-column>
|
||||
</el-table>
|
||||
</el-card>
|
||||
</el-col>
|
||||
@@ -99,8 +99,8 @@
|
||||
<span>热门插件</span>
|
||||
</div>
|
||||
<el-table :data="topPlugins" style="width: 100%">
|
||||
<el-table-column prop="plugin_name" label="插件名称"></el-table-column>
|
||||
<el-table-column prop="total_calls" label="调用次数"></el-table-column>
|
||||
<el-table-column prop="plugin_name" label="插件名称" min-width="180"></el-table-column>
|
||||
<el-table-column prop="total_calls" label="调用次数" width="80" align="center"></el-table-column>
|
||||
</el-table>
|
||||
</el-card>
|
||||
</el-col>
|
||||
|
||||
Reference in New Issue
Block a user