|
|
@@ -5,17 +5,6 @@
|
|
|
<template #tableSearch>
|
|
|
<a-col :sm="6" :xs="24">
|
|
|
<a-form-item label="游戏名" field="game_id">
|
|
|
- <!-- <a-tree-select
|
|
|
- v-model="searchForm.game_id"
|
|
|
- :data="gameList"
|
|
|
- placeholder="请选择游戏"
|
|
|
- allow-clear
|
|
|
- :field-names="{ title: 'name', key: 'id' }"
|
|
|
- allow-search
|
|
|
- tree-checked-strategy="child"
|
|
|
- :tree-checkable="true"
|
|
|
- :max-tag-count="1"
|
|
|
- /> -->
|
|
|
<game-select v-model="searchForm.game_id" multiple />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
@@ -51,18 +40,6 @@
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
</template>
|
|
|
-
|
|
|
- <!-- Table 自定义渲染 -->
|
|
|
- <template #roles="{ record }">
|
|
|
- <div v-if="record && record.roles && record.roles.length > 0">
|
|
|
- <p v-for="(role, index) in record.roles" :key="`${role.role_name}-${index}`">
|
|
|
- {{ role.server_name }} {{ role.role_name }} ({{ role.role_level }})
|
|
|
- </p>
|
|
|
- </div>
|
|
|
- <div v-else>
|
|
|
- <span>-</span>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
</sa-table>
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -100,7 +77,11 @@ const options = reactive({
|
|
|
// SaTable 列配置
|
|
|
const columns = reactive([
|
|
|
{ title: '注册时间', dataIndex: 'create_time', width: 180 },
|
|
|
- { title: '角色信息', width: 180, dataIndex: 'roles' },
|
|
|
+ { title: '角色id', dataIndex: 'role_id', width: 80 },
|
|
|
+ { title: '角色名', dataIndex: 'role_name', width: 80 },
|
|
|
+ { title: '角色等级', dataIndex: 'role_level', width: 80 },
|
|
|
+ { title: '区服id', dataIndex: 'server_id', width: 60 },
|
|
|
+ { title: '区服名', dataIndex: 'server_name', width: 100 },
|
|
|
{ title: '用户名', dataIndex: 'user_name', width: 120 },
|
|
|
{ title: '游戏名', dataIndex: 'game_name', width: 120 },
|
|
|
{ title: '渠道id', dataIndex: 'agent_id', width: 100 },
|