房间内角标入口 - 编辑修复财富等级限制生效范围问题
This commit is contained in:
@@ -163,6 +163,14 @@
|
|||||||
label="可见用户"
|
label="可见用户"
|
||||||
:formatter="ruleJsonFormatter" />
|
:formatter="ruleJsonFormatter" />
|
||||||
<el-table-column align="center"
|
<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"
|
prop="panelType"
|
||||||
label="游戏第三方" >
|
label="游戏第三方" >
|
||||||
<template v-slot="scope">{{ scope.row.code=='BAISHUN'?'百顺':scope.row.code=='LEADERCC'?'灵仙':'Joy'}}</template>
|
<template v-slot="scope">{{ scope.row.code=='BAISHUN'?'百顺':scope.row.code=='LEADERCC'?'灵仙':'Joy'}}</template>
|
||||||
@@ -585,6 +593,8 @@ export default {
|
|||||||
if (!value) {
|
if (!value) {
|
||||||
if (key == 'NOT_CHANNELS' || key == 'NOT_UIDS') {
|
if (key == 'NOT_CHANNELS' || key == 'NOT_UIDS') {
|
||||||
value = '-';
|
value = '-';
|
||||||
|
} else if (key == 'USER_LEVEL_LIMIT_ROLE') {
|
||||||
|
value = '全部用户';
|
||||||
} else {
|
} else {
|
||||||
value = '全部';
|
value = '全部';
|
||||||
}
|
}
|
||||||
@@ -594,6 +604,9 @@ export default {
|
|||||||
} else if (key == 'ANDROID') {
|
} else if (key == 'ANDROID') {
|
||||||
value = ruleObj['ANDROID_LOW_VERSION'] + '~' + ruleObj['ANDROID_HIGH_VERSION'];
|
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;
|
return value;
|
||||||
},
|
},
|
||||||
getData () {
|
getData () {
|
||||||
@@ -689,7 +702,7 @@ export default {
|
|||||||
}
|
}
|
||||||
this.resource.ruleValue[ruleCode] = rule;
|
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.resource.partitionId = row.partitionId;
|
||||||
this.editDialog = true;
|
this.editDialog = true;
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user