房间内角标入口 - 增加游戏分类/游戏第三方

This commit is contained in:
2025-08-21 19:14:18 +08:00
parent 496e14dc65
commit 8808af9667

View File

@@ -14,6 +14,29 @@
</el-option>
</el-select>
</div>
<div class="inquire"
style="display: inline-block; margin-right: 20px">
<span class="demonstration">游戏类型:</span>
<el-select v-model="searchValues.panelType"
style="width: 75%"
placeholder="请选择">
<el-option label="全部" value=""></el-option>
<el-option label="休闲游戏" :value="1"></el-option>
<el-option label="娱乐游戏" :value="2"></el-option>
</el-select>
</div>
<div class="inquire"
style="display: inline-block; margin-right: 20px">
<span class="demonstration">游戏第三方:</span>
<el-select v-model="searchValues.code"
style="width: 70%"
placeholder="请选择">
<el-option label="全部" value=""></el-option>
<el-option label="百顺" value="BAISHUN"></el-option>
<el-option label="灵仙" value="LEADERCC"></el-option>
<el-option label="Joy" value="JOYPLAY"></el-option>
</el-select>
</div>
<!-- 按钮 -->
<div class="buttonBox">
<el-button @click="addClick()"
@@ -135,6 +158,16 @@
prop="HIGH_RECHARGE_USER"
label="可见用户"
:formatter="ruleJsonFormatter" />
<el-table-column align="center"
prop="panelType"
label="游戏分类" >
<template v-slot="scope">{{ scope.row.panelType==1?'休闲游戏':'娱乐游戏' }}</template>
</el-table-column>
<el-table-column align="center"
prop="panelType"
label="游戏第三方" >
<template v-slot="scope">{{ scope.row.code=='BAISHUN'?'百顺':scope.row.code=='LEADERCC'?'灵仙':'Joy'}}</template>
</el-table-column>
<el-table-column align="center"
label="操作"
width="200">
@@ -356,6 +389,16 @@
:value="value"></el-option>
</el-select>
</div>
<div style="margin-bottom: 25px">
<span style="display: inline-block; margin-right: 20px"
class="col-sm-2 control-label">游戏分类</span>
<el-select v-model="resource.panelType"
style="width: 75%"
placeholder="请选择">
<el-option label="休闲游戏" :value="1"></el-option>
<el-option label="娱乐游戏" :value="2"></el-option>
</el-select>
</div>
<template #footer>
<span class="dialog-footer">
<el-button @click="editDialog = false">取消</el-button>
@@ -445,11 +488,14 @@ export default {
seriesNameAr: '',
seriesNameTr: '',
seriesNamePt: '',
panelType:''
},
imageUrl: '',
partitionInfos: [],
searchValues: {
partitionId: null,
panelType:'',
code:''
},
};
},
@@ -528,6 +574,8 @@ export default {
partitionId: this.searchValues.partitionId,
page: this.currentPage,
pageSize: this.pageSize,
panelType: this.searchValues.panelType,
code: this.searchValues.code,
}).then(res => {
let data = res.data;
this.totals = data.total;
@@ -571,6 +619,7 @@ export default {
this.resource.seriesNameAr = '';
this.resource.seriesNameTr = '';
this.resource.seriesNamePt = '';
this.resource.panelType = '';
for (let i = 0, len = this.rules.length; i < len; i++) {
let rule = this.rules[i];
this.resource.ruleValue[rule.ruleCode] = '';
@@ -590,6 +639,7 @@ export default {
this.resource.startTime = row.startTime;
this.resource.endTime = row.endTime;
this.resource.seqNo = row.seqNo;
this.resource.panelType = row.panelType;
if (row.name) {
this.resource.seriesNameZh = JSON.parse(row.name).zh;
this.resource.seriesNameEn = JSON.parse(row.name).en;
@@ -651,6 +701,7 @@ export default {
seqNo: this.resource.seqNo,
ruleValue: JSON.stringify(this.resource.ruleValue),
partitionId: this.resource.partitionId,
panelType: this.resource.panelType,
}).then(res => {
this.getData();
this.editDialog = false;