葡萄牙语-去掉葡萄牙语区

This commit is contained in:
khalil
2025-07-15 21:15:44 +08:00
parent adc74fe2ae
commit fdabc476af
17 changed files with 1 additions and 175 deletions

View File

@@ -4,7 +4,6 @@ const partitionInfoMap = {
4: '华语区',
8: '土耳其区',
16: '英语2区',
32: '葡萄牙语区',
}
export const partitionDesc = (val) => {

View File

@@ -202,9 +202,6 @@ export default {
} else if (val == 16) {
this.eidDialogTitle = `编辑礼物面板信息-英语2区`;
this.eidText = `英语2区`;
} else if (val == 32) {
this.eidDialogTitle = `编辑礼物面板信息-葡萄牙语区`;
this.eidText = `葡萄牙语区`;
}
this.getData();
},

View File

@@ -117,9 +117,6 @@
<input type="checkbox"
name="partitionFlag"
value="16" />英语2区<br>
<input type="checkbox"
name="partitionFlag"
value="32" />葡萄牙语区<br>
</div>
</div>
<div class="form-group">
@@ -712,9 +709,6 @@ export default {
if ((val & 16) != 0) {
value += '英语2区<br>';
}
if ((val & 32) != 0) {
value += '葡萄牙语<br>';
}
return value;
}
},

View File

@@ -111,9 +111,6 @@
<input type="checkbox"
name="partitionFlag"
value="16" />英语2区<br>
<input type="checkbox"
name="partitionFlag"
value="32" />葡萄牙语区<br>
</div>
</div>
<div class="form-group">
@@ -373,9 +370,6 @@ export default {
if ((val & 16) != 0) {
value += '英语2区<br>';
}
if ((val & 32) != 0) {
value += '葡萄牙语区<br>';
}
return value;
}
},
@@ -586,11 +580,6 @@ export default {
} else {
$("input:checkbox[name='partitionFlag']")[4].checked = false;
}
if ((partitionFlag & 32) != 0) {
$("input:checkbox[name='partitionFlag']")[5].checked = true;
} else {
$("input:checkbox[name='partitionFlag']")[5].checked = false;
}
$("#addModal").modal('show');
});

View File

@@ -120,21 +120,6 @@
</template>
</el-table-column>
<el-table-column align="center"
label="葡萄牙语区真实消耗"
width="">
<template v-slot="scope">
<el-button @click="
detailsTitle = '葡萄牙语区金币明细';
edi(scope.row, 32);p
"
type="text"
size="small">
{{ formattedNumber(scope.row.ptDiamond) }}
</el-button>
</template>
</el-table-column>
<el-table-column prop="totalRemainDiamond"
align="center"
label="全平台库存">
@@ -178,13 +163,6 @@
{{ formattedNumber(scope.row.en2RemainDiamond) }}
</template>
</el-table-column>
<el-table-column prop="prRemainDiamond"
align="center"
label="葡萄牙语区库存">
<template v-slot="scope">
{{ formattedNumber(scope.row.ptRemainDiamond) }}
</template>
</el-table-column>
</el-table>
<!-- 分页 -->
@@ -353,8 +331,6 @@ export default {
? res.trDomainDetail
: type == 16
? res.en2DomainDetail
: type == 32
? res.ptDomainDetail
: `"[""]"`;
this.tableDataIn = JSON.parse(jsonArr);

View File

@@ -87,21 +87,6 @@
</template>
</el-table-column>
<el-table-column align="center"
label="葡萄牙语区总新增"
width="">
<template v-slot="scope">
<el-button @click="
detailsTitle = '葡萄牙语区总新增' + scope.row.date;
edi(scope.row.ptNewCountDetail, false);
"
type="text"
size="small">
{{ scope.row.ptNewCount }}
</el-button>
</template>
</el-table-column>
<el-table-column prop="totalActiveCount"
align="center"
label="全服公会活跃度" />
@@ -176,20 +161,6 @@
</el-button>
</template>
</el-table-column>
<el-table-column align="center"
label="葡萄牙语区活跃度"
width="">
<template v-slot="scope">
<el-button @click="
detailsTitle = '葡萄牙语区活跃度' + scope.row.date;
edi(scope.row.ptActiveCountDetail, true);
"
type="text"
size="small">
{{ scope.row.ptActiveCount }}
</el-button>
</template>
</el-table-column>
</el-table>
<!-- 分页 -->

View File

@@ -87,20 +87,6 @@
</el-button>
</template>
</el-table-column>
<el-table-column align="center"
label="葡萄牙语区新注册(完善资料)"
width="">
<template v-slot="scope">
<el-button @click="
detailsTitle = '葡萄牙语区注册明细' + scope.row.date;
edi(scope.row.ptCountDetailt, 32);
"
type="text"
size="small">
{{ scope.row.ptCount }}
</el-button>
</template>
</el-table-column>
</el-table>
<!-- 分页 -->

View File

@@ -92,20 +92,6 @@
</el-button>
</template>
</el-table-column>
<el-table-column align="center"
label="葡萄牙语区总活跃度"
width="">
<template v-slot="scope">
<el-button @click="
detailsTitle = '葡萄牙语区总活跃度' + scope.row.date;
edi(scope.row.ptCountDetail, 32);
"
type="text"
size="small">
{{ scope.row.ptCount }}
</el-button>
</template>
</el-table-column>
</el-table>
<!-- 分页 -->

View File

@@ -280,9 +280,6 @@ export default {
if ((val & 16) != 0) {
value += '英语2区<br>';
}
if ((val & 32) != 0) {
value += '葡萄牙语区<br>';
}
return value;
}
},

View File

@@ -119,9 +119,6 @@
<input type="checkbox"
name="partitionFlag"
value="16" />英语2区<br>
<input type="checkbox"
name="partitionFlag"
value="32" />葡萄牙语区<br>
</div>
</div>
<div class="form-group">
@@ -626,9 +623,6 @@ export default {
if ((val & 16) != 0) {
value += '英语2区<br>';
}
if ((val & 32) != 0) {
value += '葡萄牙语<br>';
}
return value;
}
},
@@ -1203,11 +1197,6 @@ export default {
} else {
$("input:checkbox[name='partitionFlag']")[4].checked = false;
}
if ((partitionFlag & 32) != 0) {
$("input:checkbox[name='partitionFlag']")[5].checked = true;
} else {
$("input:checkbox[name='partitionFlag']")[5].checked = false;
}
// 打开编辑弹窗
$("#headwearModal").modal('show');

View File

@@ -116,9 +116,6 @@
<input type="checkbox"
name="partitionFlag"
value="16" />英语2区<br />
<input type="checkbox"
name="partitionFlag"
value="32" />葡萄牙语区<br />
</div>
</div>
<div class="form-group">
@@ -405,9 +402,6 @@ export default {
if ((val & 16) != 0) {
value += "英语2区<br>";
}
if ((val & 32) != 0) {
value += "葡萄牙语<br>";
}
return value;
},
},
@@ -702,11 +696,6 @@ export default {
} else {
$("input:checkbox[name='partitionFlag']")[4].checked = false;
}
if ((partitionFlag & 32) != 0) {
$("input:checkbox[name='partitionFlag']")[5].checked = true;
} else {
$("input:checkbox[name='partitionFlag']")[5].checked = false;
}
$("#addModal").modal("show");
});

View File

@@ -653,9 +653,6 @@ export default {
if ((num & 16) != 0) {
valArr.push(16);
}
if ((num & 32) != 0) {
valArr.push(32);
}
return valArr;
} else {
if ((num & 1) != 0) {
@@ -673,9 +670,6 @@ export default {
if ((num & 16) != 0) {
val += '英语2区 ';
}
if ((num & 32) != 0) {
val += '葡萄牙语区';
}
return val;
}

View File

@@ -445,9 +445,6 @@ export default {
if ((num & 16) != 0) {
valArr.push(16);
}
if ((num & 32) != 0) {
valArr.push(32);
}
return valArr;
} else {
if ((num & 1) != 0) {
@@ -465,9 +462,6 @@ export default {
if ((num & 16) != 0) {
val += '英语2区 ';
}
if ((num & 32) != 0) {
val += '葡萄牙语区 ';
}
return val;
}

View File

@@ -136,9 +136,6 @@
<input type="checkbox"
name="partitionFlag"
value="16" />英语2区<br>
<input type="checkbox"
name="partitionFlag"
value="32" />葡萄牙语区<br>
</div>
</div>
<div class="form-group">
@@ -465,9 +462,6 @@ export default {
if ((val & 16) != 0) {
value += '英语2区<br>';
}
if ((val & 32) != 0) {
value += '葡萄牙语<br>';
}
return value;
}
},
@@ -761,11 +755,6 @@ export default {
} else {
$("input:checkbox[name='partitionFlag']")[4].checked = false;
}
if ((partitionFlag & 32) != 0) {
$("input:checkbox[name='partitionFlag']")[5].checked = true;
} else {
$("input:checkbox[name='partitionFlag']")[5].checked = false;
}
// 打开编辑弹窗
$("#addModal").modal('show');
$("#modalLabel").text("编辑铭牌");

View File

@@ -131,7 +131,6 @@
<el-checkbox label="阿拉伯语区">2</el-checkbox>
<el-checkbox label="土耳其区">8</el-checkbox>
<el-checkbox label="英语2区">16</el-checkbox>
<el-checkbox label="葡萄牙语区">32</el-checkbox>
</el-checkbox-group>
</div>
<!-- 是否展示 -->
@@ -232,10 +231,6 @@ export default {
partitionFlag: 16,
label: "英语2区",
},
{
partitionFlag: 32,
label: "葡萄牙语区",
},
{
partitionFlag: "",
label: "全部",
@@ -394,8 +389,7 @@ export default {
英语区: 1,
阿拉伯语区: 2,
土耳其区: 8,
英语2区: 16,
葡萄牙语区: 32
英语2区: 16
};
this.ediObj.checkList.forEach((res, i) => {
num += district[res];
@@ -429,9 +423,6 @@ export default {
if ((val & 16) != 0) {
value += '英语2区 ';
}
if ((val & 32) != 0) {
value += '葡萄牙语区 ';
}
return value;
},
// 编辑回显分区
@@ -452,9 +443,6 @@ export default {
if ((val & 16) != 0) {
arr.push('英语2区');
}
if ((val & 32) != 0) {
arr.push('葡萄牙语区');
}
return arr;
},
// 分页导航

View File

@@ -160,7 +160,6 @@
<input type="checkbox" name="partitionFlag" value="4"/>华语区<br>
<input type="checkbox" name="partitionFlag" value="8"/>土耳其区<br>
<input type="checkbox" name="partitionFlag" value="16"/>英语2区<br>
<input type="checkbox" name="partitionFlag" value="32"/>葡萄牙语区<br>
</div>
</div>
<div class="form-group">
@@ -713,9 +712,6 @@ export default {
if ((val & 16) != 0) {
value += '英语2区<br>';
}
if ((val & 32) != 0) {
value += '葡萄牙语区<br>';
}
return value;
}
},
@@ -1475,11 +1471,6 @@ export default {
} else {
$("input:checkbox[name='partitionFlag']")[4].checked = false;
}
if ((partitionFlag & 32) != 0) {
$("input:checkbox[name='partitionFlag']")[5].checked = true;
} else {
$("input:checkbox[name='partitionFlag']")[5].checked = false;
}
// 打开编辑弹窗
$("#giftModal").modal('show');
} else {

View File

@@ -341,9 +341,6 @@ export default {
if ((val & 16) != 0) {
value += '英语2区<br>';
}
if ((val & 32) != 0) {
value += '葡萄牙语<br>';
}
return value;
},
},