diff --git a/src/utils/partitionDesc.js b/src/utils/partitionDesc.js index 9465b4e..3846eb8 100644 --- a/src/utils/partitionDesc.js +++ b/src/utils/partitionDesc.js @@ -4,6 +4,7 @@ const partitionInfoMap = { 4: '华语区', 8: '土耳其区', 16: '英语2区', + 32: '葡萄牙语区', } export const partitionDesc = (val) => { diff --git a/src/views/GiftPanelManagement/GiftPanelManagement.vue b/src/views/GiftPanelManagement/GiftPanelManagement.vue index 4f14432..81bb940 100644 --- a/src/views/GiftPanelManagement/GiftPanelManagement.vue +++ b/src/views/GiftPanelManagement/GiftPanelManagement.vue @@ -4,100 +4,85 @@
选择分区 - - + +
- - - - + + + + - + - +
- 礼物面板类型 - + 礼物面板类型 +
- 面板排序-{{ eidText }} - + 面板排序-{{ eidText }} +
- 是否生效 - - + 是否生效 + +
@@ -105,19 +90,19 @@ diff --git a/src/views/chatbubble/ChatbubbleManageView.vue b/src/views/chatbubble/ChatbubbleManageView.vue index ebb97cc..86092ac 100644 --- a/src/views/chatbubble/ChatbubbleManageView.vue +++ b/src/views/chatbubble/ChatbubbleManageView.vue @@ -1,192 +1,331 @@ - \ No newline at end of file + width: 100% !important; +} + \ No newline at end of file diff --git a/src/views/dailyCoinStatistics/dailyCoinStatistics.vue b/src/views/dailyCoinStatistics/dailyCoinStatistics.vue index d25fc15..1473ef0 100644 --- a/src/views/dailyCoinStatistics/dailyCoinStatistics.vue +++ b/src/views/dailyCoinStatistics/dailyCoinStatistics.vue @@ -4,167 +4,187 @@
开始时间 - +
结束时间 - +
- 查询 + 查询 - - - + + + - + - + - + - + - + - - + + - - - - + + {{ formattedNumber(scope.row.totalRemainDiamond) }} + - + + + {{ formattedNumber(scope.row.arRemainDiamond) }} + - - + + - + + + + + + + + + + @@ -181,40 +201,49 @@ /> --> - + - - - + + + + - + + - + + @@ -225,7 +254,7 @@ import { dateFormat } from "@/utils/system-helper"; import { ElMessage } from "element-plus"; export default { name: "dailyCoinStatistics", - data() { + data () { return { loading: false, // 查询条件 @@ -244,40 +273,40 @@ export default { tableDataIn: [], }; }, - created() { + created () { // this.getData(); }, computed: { // 千分位 - formattedNumber() { + formattedNumber () { return (num) => { if (num === null || num === undefined) return ''; return Math.floor(num).toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); }; }, - + }, methods: { - totalDiamonds(row) { + totalDiamonds (row) { const subDiamond = Number(row.subDiamond || 0); const addDiamond = Number(row.addDiamond || 0); return subDiamond + addDiamond; }, // 计算百分比,防止除零异常 - percentage(row) { + percentage (row) { const subDiamond = Number(row.subDiamond || 0); const addDiamond = Number(row.addDiamond || 0); if (subDiamond === 0) { return '0.00'; // 防止除零错误 } - + const result = (addDiamond / subDiamond) * 100; return result.toFixed(2); // 格式化为两位小数 }, // 查询 - getData() { + getData () { this.loading = true; let time = this.inquire.time; let startTime = null; @@ -310,30 +339,32 @@ export default { }); }, // 详情 - edi(res, type) { + edi (res, type) { var jsonArr = type == 0 ? res.totalDiamondDetail : type == 1 - ? res.enDomainDetail - : type == 2 - ? res.arDomainDetail - : type == 4 - ? res.zhDomainDetail - : type == 8 - ? res.trDomainDetail - : type == 16 - ? res.en2DomainDetail - : `"[""]"`; + ? res.enDomainDetail + : type == 2 + ? res.arDomainDetail + : type == 4 + ? res.zhDomainDetail + : type == 8 + ? res.trDomainDetail + : type == 16 + ? res.en2DomainDetail + : type == 32 + ? res.ptDomainDetail + : `"[""]"`; this.tableDataIn = JSON.parse(jsonArr); this.detailsDialog = true; }, // 分页导航 - handleSizeChange() { + handleSizeChange () { this.getData(); }, - handleCurrentChange() { + handleCurrentChange () { this.getData(); }, }, diff --git a/src/views/data/guildStatisticsData.vue b/src/views/data/guildStatisticsData.vue index a4aab4a..74aaa3a 100644 --- a/src/views/data/guildStatisticsData.vue +++ b/src/views/data/guildStatisticsData.vue @@ -1,170 +1,195 @@