房间内角标入口 - 编辑修复财富等级限制生效范围问题

This commit is contained in:
2025-10-13 13:54:52 +08:00
parent e7b2c00718
commit 69ce487011

View File

@@ -163,6 +163,14 @@
label="可见用户"
:formatter="ruleJsonFormatter" />
<el-table-column align="center"
prop="USER_LEVEL"
label="用户等级"
:formatter="ruleJsonFormatter" />
<el-table-column align="center"
prop="USER_LEVEL_LIMIT_ROLE"
label="财富等级限制生效范围"
:formatter="ruleJsonFormatter" />
<el-table-column align="center"
prop="panelType"
label="游戏第三方" >
<template v-slot="scope">{{ scope.row.code=='BAISHUN'?'百顺':scope.row.code=='LEADERCC'?'灵仙':'Joy'}}</template>
@@ -585,6 +593,8 @@ export default {
if (!value) {
if (key == 'NOT_CHANNELS' || key == 'NOT_UIDS') {
value = '-';
} else if (key == 'USER_LEVEL_LIMIT_ROLE') {
value = '全部用户';
} else {
value = '全部';
}
@@ -594,6 +604,9 @@ export default {
} else if (key == 'ANDROID') {
value = ruleObj['ANDROID_LOW_VERSION'] + '~' + ruleObj['ANDROID_HIGH_VERSION'];
}
if (key == 'USER_LEVEL_LIMIT_ROLE') {
value = ruleObj['USER_LEVEL_LIMIT_ROLE']?ruleObj['USER_LEVEL_LIMIT_ROLE'] == 1?'全部用户':'非公会成员':'全部用户';
}
return value;
},
getData () {
@@ -689,7 +702,7 @@ export default {
}
this.resource.ruleValue[ruleCode] = rule;
}
this.resource.ruleValue['USER_LEVEL_LIMIT_ROLE'] = this.resource.ruleValue['USER_LEVEL_LIMIT_ROLE'] ?"2":"1";
this.resource.ruleValue['USER_LEVEL_LIMIT_ROLE'] = this.resource.ruleValue['USER_LEVEL_LIMIT_ROLE'] ?this.resource.ruleValue['USER_LEVEL_LIMIT_ROLE']:"1";
this.resource.partitionId = row.partitionId;
this.editDialog = true;
},