|
@@ -1055,7 +1055,7 @@ export default {
|
|
}
|
|
}
|
|
getUserProfile().then(res=>{
|
|
getUserProfile().then(res=>{
|
|
for (let item in res.data.roles){
|
|
for (let item in res.data.roles){
|
|
- if (res.data.roles[item].roleKey == "wealthStatistics"){
|
|
|
|
|
|
+ if (res.data.roles[item].roleKey == "wealthStatistics" || res.data.roles[item].roleKey =="admin"){
|
|
getFeeStatistics().then(res=>{
|
|
getFeeStatistics().then(res=>{
|
|
this.financeLine(res.data)
|
|
this.financeLine(res.data)
|
|
})
|
|
})
|
|
@@ -1070,7 +1070,6 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
// 船名航次
|
|
// 船名航次
|
|
oceanVessel() {
|
|
oceanVessel() {
|
|
- console.log(this.profitData.xData)
|
|
|
|
let myChart = this.$echarts.init(document.getElementById("voyage"));
|
|
let myChart = this.$echarts.init(document.getElementById("voyage"));
|
|
const color = ['#EE6666', '#7DD2F3']
|
|
const color = ['#EE6666', '#7DD2F3']
|
|
myChart.setOption({
|
|
myChart.setOption({
|