no message

This commit is contained in:
2026-01-20 17:16:32 +08:00
parent d935c339e9
commit cb88f1c56d
2 changed files with 64 additions and 49 deletions
+41 -26
View File
@@ -354,14 +354,18 @@ export default {
if(this.curTwo == 0){ if(this.curTwo == 0){
this.fiveTotal = this.curData.profitSharingTbcBonus.tbcTotal; this.fiveTotal = this.curData.profitSharingTbcBonus.tbcTotal;
let arr = this.curData.profitSharingTbcBonus.tbcList; let arr = this.curData.profitSharingTbcBonus.tbcList;
if(arr){
arr.forEach((item,index)=>{ arr.forEach((item,index)=>{
this.fiveData.categories.push(item.key); this.fiveData.categories.push(item.key);
this.fiveData.series[0].data.push(item.amount); this.fiveData.series[0].data.push(item.amount);
}) })
}
}else{ }else{
this.fiveTotal = this.curData.profitSharingTbcBonus.bonusTotal; this.fiveTotal = this.curData.profitSharingTbcBonus.bonusTotal;
let arr = this.curData.profitSharingTbcBonus.bonusList; let arr = this.curData.profitSharingTbcBonus.bonusList;
let max = 0; let max = 0;
if(arr){
arr.forEach((item,index)=>{ arr.forEach((item,index)=>{
if(max < item.amount){ if(max < item.amount){
max = item.amount; max = item.amount;
@@ -369,10 +373,11 @@ export default {
this.fiveData.categories.push(item.key); this.fiveData.categories.push(item.key);
this.fiveData.series[0].data.push(item.amount); this.fiveData.series[0].data.push(item.amount);
}) })
}
if(max != 0){ if(max != 0){
max = max / 1000; max = max / 1000;
} }
console.log('max',max.toFixed(0))
// this.fourOps.yAxis.data.max = // this.fourOps.yAxis.data.max =
} }
}, },
@@ -381,19 +386,25 @@ export default {
this.fourData.series[0].data = []; this.fourData.series[0].data = [];
this.fourData.series[0].name = ''; this.fourData.series[0].name = '';
if(this.curOne == 0){ if(this.curOne == 0){
console.log('dayList',this.curData.profitSharingStat.dayList)
let arr = this.curData.profitSharingStat.dayList; let arr = this.curData.profitSharingStat.dayList;
if(arr){
arr.forEach((item,index)=>{ arr.forEach((item,index)=>{
this.fourData.categories.push(item.key); this.fourData.categories.push(item.key);
this.fourData.series[0].data.push(item.amount); this.fourData.series[0].data.push(item.amount);
}) })
}
}else{ }else{
let arr = this.curData.profitSharingStat.monthList; let arr = this.curData.profitSharingStat.monthList;
if(arr){
arr.forEach((item,index)=>{ arr.forEach((item,index)=>{
this.fourData.categories.push(item.key); this.fourData.categories.push(item.key);
this.fourData.series[0].data.push(item.amount); this.fourData.series[0].data.push(item.amount);
}) })
} }
}
}, },
profitSharingData(){ profitSharingData(){
getProfitSharingData({type:this.curTopTwo + 1}).then(res=>{ getProfitSharingData({type:this.curTopTwo + 1}).then(res=>{
@@ -401,31 +412,35 @@ export default {
this.curData = res.data; this.curData = res.data;
if(this.curData){ if(this.curData){
this.threeData.series = []; this.threeData.series = [];
if(this.curTopTwo == 0){ for(let key in this.curData.profitSharingDetail){
this.threeData.series.push(this.curData.profitSharingDetail.cost); this.curData.profitSharingDetail[key]['data'] = this.curData.profitSharingDetail[key]['percent'];
this.threeData.series.push(this.curData.profitSharingDetail[key])
} }
this.threeData.series.push(this.curData.profitSharingDetail.bonus); // if(this.curTopTwo == 0){
this.threeData.series.push(this.curData.profitSharingDetail.addedTax); // this.threeData.series.push(this.curData.profitSharingDetail.cost);
this.threeData.series.push(this.curData.profitSharingDetail.encourrage); // }
this.threeData.series.push(this.curData.profitSharingDetail.nextYearFund); // this.threeData.series.push(this.curData.profitSharingDetail.bonus);
this.threeData.series.push(this.curData.profitSharingDetail.rwaMarketManage); // this.threeData.series.push(this.curData.profitSharingDetail.addedTax);
this.threeData.series.push(this.curData.profitSharingDetail.stockStabilizing); // this.threeData.series.push(this.curData.profitSharingDetail.encourrage);
this.threeData.series.push(this.curData.profitSharingDetail.tradeEncourrage); // this.threeData.series.push(this.curData.profitSharingDetail.nextYearFund);
this.threeData.series.push(this.curData.profitSharingDetail.yearEndShare); // this.threeData.series.push(this.curData.profitSharingDetail.rwaMarketManage);
this.threeData.series.forEach((item,index)=>{ // this.threeData.series.push(this.curData.profitSharingDetail.stockStabilizing);
item.data = Number(item.percent); // this.threeData.series.push(this.curData.profitSharingDetail.tradeEncourrage);
if(index == 0)item.color = '#7934F6'; // this.threeData.series.push(this.curData.profitSharingDetail.yearEndShare);
if(index == 1)item.color = '#AF39C4'; // this.threeData.series.forEach((item,index)=>{
if(index == 2)item.color = '#0370FF'; // item.data = Number(item.percent);
if(index == 3)item.color = '#00A6CC'; // if(index == 0)item.color = '#7934F6';
if(index == 4)item.color = '#FFB322'; // if(index == 1)item.color = '#AF39C4';
if(index == 5)item.color = '#FF9035'; // if(index == 2)item.color = '#0370FF';
if(index == 6)item.color = '#FF5369'; // if(index == 3)item.color = '#00A6CC';
if(index == 7)item.color = '#00A776'; // if(index == 4)item.color = '#FFB322';
if(this.curTopTwo == 0){ // if(index == 5)item.color = '#FF9035';
if(index == 8)item.color = '#5840FF'; // if(index == 6)item.color = '#FF5369';
} // if(index == 7)item.color = '#00A776';
}) // if(this.curTopTwo == 0){
// if(index == 8)item.color = '#5840FF';
// }
// })
this.getFour(); this.getFour();
this.getFive(); this.getFive();
+4 -4
View File
@@ -2,11 +2,11 @@
// export const BASE_URL="http://cl55un59859.vicp.fun:24346"; // 测试环境 // export const BASE_URL="http://cl55un59859.vicp.fun:24346"; // 测试环境
export const BASE_URL = "https://api.tbmall.xin"; //生产 // export const BASE_URL = "https://api.tbmall.xin"; //生产
export const MILD_BASE_URL = "https://agent.tbmall.xin/"; //中台生产 // export const MILD_BASE_URL = "https://agent.tbmall.xin/"; //中台生产
// export const BASE_URL ='https://api.o.tbmall.xin'; // 本地测试 export const BASE_URL ='https://api.o.tbmall.xin'; // 本地测试
// export const MILD_BASE_URL = "https://agent.o.tbmall.xin/"; //中台测试 export const MILD_BASE_URL = "https://agent.o.tbmall.xin/"; //中台测试
export const SHARE_URL = 'https://h.tbmall.xin'; export const SHARE_URL = 'https://h.tbmall.xin';