|
|
@@ -42,11 +42,11 @@
|
|
|
/>
|
|
|
<!-- <el-table-column align="left" label="厂商ID" min-width="100" prop="id" sortable="custom" aria-disabled="false"/> -->
|
|
|
<el-table-column align="left" label="游戏名称" min-width="100" prop="game_name" sortable="custom" />
|
|
|
- <el-table-column align="left" label="游戏端口" min-width="150" prop="game_port" sortable="custom" />
|
|
|
- <el-table-column align="left" label="登录方式" min-width="150" prop="login_type" sortable="custom" />
|
|
|
- <el-table-column align="left" label="备注" min-width="150" prop="remark" sortable="custom" />
|
|
|
- <el-table-column align="left" label="创建时间" min-width="150" prop="createdAt" sortable="custom" />
|
|
|
- <el-table-column align="left" label="更新时间" min-width="150" prop="updatedAt" sortable="custom" />
|
|
|
+ <el-table-column align="left" label="游戏端口" min-width="150" prop="game_port" />
|
|
|
+ <el-table-column align="left" label="登录方式" min-width="150" prop="login_type" />
|
|
|
+ <el-table-column align="left" label="备注" min-width="150" prop="remark" />
|
|
|
+ <el-table-column align="left" label="创建时间" min-width="150" prop="create_time" sortable="custom" />
|
|
|
+ <el-table-column align="left" label="更新时间" min-width="150" prop="update_time" sortable="custom" />
|
|
|
|
|
|
<el-table-column align="left" fixed="right" label="操作" width="200">
|
|
|
<template #default="scope">
|
|
|
@@ -95,9 +95,9 @@
|
|
|
<el-select v-model="form.game_port" clearable placeholder="游戏端口">
|
|
|
<el-option
|
|
|
v-for="item in gamePortOptions"
|
|
|
- :key="item"
|
|
|
- :label="item"
|
|
|
- :value="item"
|
|
|
+ :key="item.channelName"
|
|
|
+ :label="item.channelName"
|
|
|
+ :value="item.channelName"
|
|
|
/>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
@@ -108,9 +108,9 @@
|
|
|
<el-select v-model="form.login_type" clearable placeholder="登录方式">
|
|
|
<el-option
|
|
|
v-for="item in loginTypeOptions"
|
|
|
- :key="item"
|
|
|
- :label="item"
|
|
|
- :value="item"
|
|
|
+ :key="item.login_name"
|
|
|
+ :label="item.login_name"
|
|
|
+ :value="item.login_name"
|
|
|
/>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
@@ -282,8 +282,8 @@ import { isNumber } from 'lodash'
|
|
|
const table = await getApiList({ page: page.value, pageSize: pageSize.value, ...searchInfo.value})
|
|
|
if (table.code === 0) {
|
|
|
tableData.value = table.data.list
|
|
|
- gamePortOptions.value = table.data.option.channel_name
|
|
|
- loginTypeOptions.value = table.data.option.login_name
|
|
|
+ gamePortOptions.value = table.data.option.channel
|
|
|
+ loginTypeOptions.value = table.data.option.login
|
|
|
total.value = table.data.total
|
|
|
page.value = table.data.page
|
|
|
pageSize.value = table.data.pageSize
|