From 0f96f290e3acf96a0998d15a5ee0976f983f99c5 Mon Sep 17 00:00:00 2001
From: dongjian <315328220@qq.com>
Date: Tue, 20 Jan 2026 17:45:21 +0800
Subject: [PATCH] no message
---
pages/rwa_package/dongjian/finance.vue | 44 +++++++++++---------------
1 file changed, 19 insertions(+), 25 deletions(-)
diff --git a/pages/rwa_package/dongjian/finance.vue b/pages/rwa_package/dongjian/finance.vue
index bc7b22a..a6afb13 100644
--- a/pages/rwa_package/dongjian/finance.vue
+++ b/pages/rwa_package/dongjian/finance.vue
@@ -127,6 +127,7 @@
{{item.name}}
+
{{item.amount}}
@@ -178,6 +179,7 @@
:opts="fourOps" :chartData="fiveData"/>
+
@@ -330,6 +332,11 @@ export default {
this.profitSharingData();
}
},
+ onTips(text){
+ this.$refs.uToastRef.show({
+ message: text,
+ });
+ },
onTop(index){
if(this.topSelect !== index){
this.topSelect = index;
@@ -413,34 +420,21 @@ export default {
if(this.curData){
this.threeData.series = [];
for(let key in this.curData.profitSharingDetail){
+ let arr = this.curData.profitSharingDetail[key]['name'].split('(');
+ console.log('arr',arr)
+ this.curData.profitSharingDetail[key]['name'] = arr[0];
+ if(arr.length > 1){
+ let str = arr[1];
+ str = str.slice(0, str.length - 1);
+ this.curData.profitSharingDetail[key]['tips'] = str;
+ }else{
+ this.curData.profitSharingDetail[key]['tips'] = '';
+ }
+
this.curData.profitSharingDetail[key]['data'] = this.curData.profitSharingDetail[key]['percent'];
this.threeData.series.push(this.curData.profitSharingDetail[key])
}
- // if(this.curTopTwo == 0){
- // this.threeData.series.push(this.curData.profitSharingDetail.cost);
- // }
- // this.threeData.series.push(this.curData.profitSharingDetail.bonus);
- // this.threeData.series.push(this.curData.profitSharingDetail.addedTax);
- // this.threeData.series.push(this.curData.profitSharingDetail.encourrage);
- // this.threeData.series.push(this.curData.profitSharingDetail.nextYearFund);
- // this.threeData.series.push(this.curData.profitSharingDetail.rwaMarketManage);
- // this.threeData.series.push(this.curData.profitSharingDetail.stockStabilizing);
- // this.threeData.series.push(this.curData.profitSharingDetail.tradeEncourrage);
- // this.threeData.series.push(this.curData.profitSharingDetail.yearEndShare);
- // this.threeData.series.forEach((item,index)=>{
- // item.data = Number(item.percent);
- // if(index == 0)item.color = '#7934F6';
- // if(index == 1)item.color = '#AF39C4';
- // if(index == 2)item.color = '#0370FF';
- // if(index == 3)item.color = '#00A6CC';
- // if(index == 4)item.color = '#FFB322';
- // if(index == 5)item.color = '#FF9035';
- // 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.getFive();