| | |
| | | <img :src="leftImg" @click="ChangeLeft" /> |
| | | </div> |
| | | <div class="leftContainer" v-if="ChartDisplay"> |
| | | <div class="current1" id="leftCurrent1"> |
| | | <div class="current1" id="leftCurrent1"> |
| | | <div class="aside-title">数据申请次数</div> |
| | | <count-data-apply ></count-data-apply> |
| | | <count-data-apply></count-data-apply> |
| | | </div> |
| | | <div class="current1" id="leftCurrent2"> |
| | | <div class="current1" id="leftCurrent2"> |
| | | <div class="aside-title">用户访问量</div> |
| | | <service-type></service-type> |
| | | </div> |
| | | <div class="current1" id="leftCurrent3"> |
| | | <div class="current1" id="leftCurrent3"> |
| | | <div class="aside-title">项目存储信息</div> |
| | | <data-storage></data-storage> |
| | | </div> |
| | | </div> |
| | | <!-- 全球统计次数 --> |
| | | <div class="leftContainer" v-if="GlobleChartDisplay"> |
| | | <div class="current1" id="leftCurrent1"> |
| | | <div class="aside-title">数据申请次数</div> |
| | | <count-data-apply ></count-data-apply> |
| | | <div class="current1" id="leftCurrent1"> |
| | | <div class="aside-title">项自类型</div> |
| | | <base-line-chart :project="currProject"></base-line-chart> |
| | | |
| | | <!-- <base-bar-chart :project="currProject"></base-bar-chart> --> |
| | | <!-- <count-data-apply></count-data-apply> --> |
| | | </div> |
| | | <div class="current1" id="leftCurrent2"> |
| | | <div class="current1" id="leftCurrent2"> |
| | | <div class="aside-title">用户访问量</div> |
| | | <service-type></service-type> |
| | | <base-pie-chart :project="currProject"></base-pie-chart> |
| | | <!-- <service-type></service-type> --> |
| | | </div> |
| | | <div class="current1" id="leftCurrent3"> |
| | | <div class="current1" id="leftCurrent3"> |
| | | <div class="aside-title">项目存储信息</div> |
| | | <data-storage></data-storage> |
| | | </div> |
| | | </div> |
| | | <!-- 全国项目统计次数 --> |
| | | <!-- 全国项目统计次数 --> |
| | | <div class="leftContainer" v-if="CountryChartDisplay"> |
| | | <div class="current1" id="leftCurrent1"> |
| | | <div class="current1" id="leftCurrent1"> |
| | | <div class="aside-title">数据申请次数</div> |
| | | <count-data-apply ></count-data-apply> |
| | | <count-data-apply></count-data-apply> |
| | | </div> |
| | | <div class="current1" id="leftCurrent2"> |
| | | <div class="current1" id="leftCurrent2"> |
| | | <div class="aside-title">用户访问量</div> |
| | | <service-type></service-type> |
| | | </div> |
| | | <div class="current1" id="leftCurrent3"> |
| | | <div class="current1" id="leftCurrent3"> |
| | | <div class="aside-title">项目存储信息</div> |
| | | <data-storage></data-storage> |
| | | </div> |
| | |
| | | import countDataApply from "@/components/chart/CountDataApply.vue" |
| | | import ServiceType from "../chart/ServiceType.vue" |
| | | import DataStorage from "../chart/DataStorage.vue" |
| | | import BaseBarChart from "../chart/BaseBarChart.vue" |
| | | import BaseLineChart from "../chart/BaseLineChart.vue" |
| | | import BasePieChart from "../chart/BasePieChart .vue" |
| | | export default { |
| | | components: { |
| | | ProjectTree, |
| | | countDataApply, |
| | | ServiceType, |
| | | DataStorage, |
| | | BaseBarChart, |
| | | BaseLineChart, |
| | | BasePieChart |
| | | }, |
| | | data() { |
| | | return { |
| | | leftMessage: "init", |
| | | ChartDisplay: true, |
| | | ProjectreeDisplay: false, |
| | | GlobleChartDisplay:false, |
| | | CountryChartDisplay:false, |
| | | GlobleChartDisplay: false, |
| | | CountryChartDisplay: false, |
| | | leftImg: require("../../assets/img/Screen/rightArrow.png"), |
| | | currProject: "全球项目", |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.OpenLeftInit() |
| | | // this.OpenLeftInitChart(); |
| | | this.$bus.$on("changeProject", name => { |
| | | this.currProject = name |
| | | this.GlobleChartDisplay = true |
| | | this.ChartDisplay = false |
| | | // if (name == "全球项目") { |
| | | // this.GlobleChartDisplay = true |
| | | // this.ChartDisplay = false |
| | | |
| | | // } else { |
| | | // this.ChartDisplay = true |
| | | // this.GlobleChartDisplay = false |
| | | |
| | | // } |
| | | }) |
| | | }, |
| | | methods: { |
| | | ChangeLeft() { |
| | |
| | | this.leftMessage = "init" |
| | | // this.OpenLeftInitChart(); |
| | | this.$parent.ChangeWidth("leftView") |
| | | |
| | | this.$bus.$on("changeProject", name => { |
| | | |
| | | }) |
| | | this.GlobleChartDisplay = false |
| | | |
| | | }, |
| | | //打开工程树 |