|
|
|
@ -18,48 +18,16 @@
|
|
|
|
|
class="tabStyle"
|
|
|
|
|
v-for="(item, index) in options1"
|
|
|
|
|
:key="index"
|
|
|
|
|
@click="active(index)"
|
|
|
|
|
:class="activeIndex == index ? 'change-blue' : ''"
|
|
|
|
|
@click="active(index + 1)"
|
|
|
|
|
:class="activeIndex == index + 1 ? 'change-blue' : ''"
|
|
|
|
|
>
|
|
|
|
|
<div class="change-grey-birght" :class="activeIndex == index ? 'change-blue-birght' : ''"></div>
|
|
|
|
|
<span class="change-grey-text" :class="activeIndex == index ? 'change-blue-text' : ''">{{ item.name }}</span>
|
|
|
|
|
<div class="change-grey-birght" :class="activeIndex == index + 1 ? 'change-blue-birght' : ''"></div>
|
|
|
|
|
<span class="change-grey-text" :class="activeIndex == index + 1 ? 'change-blue-text' : ''">{{ item.name }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="echarts-data-box">
|
|
|
|
|
<div class="E-box-item">
|
|
|
|
|
<div class="img-box-one img-box"></div>
|
|
|
|
|
<div class="data-box">
|
|
|
|
|
<div class="box-number">
|
|
|
|
|
<span class="number-yuan">1758.13</span>
|
|
|
|
|
<span class="yuan-unit">亿元</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box-bottom">【2023】服务业增加值</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="E-box-item">
|
|
|
|
|
<div class="img-box-two img-box"></div>
|
|
|
|
|
<div class="data-box">
|
|
|
|
|
<div class="box-number">
|
|
|
|
|
<span class="number-yuan">1.3</span>
|
|
|
|
|
<span class="yuan-unit">%</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box-bottom">【2023】服务业增速</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="E-box-item">
|
|
|
|
|
<div class="img-box-three img-box"></div>
|
|
|
|
|
<div class="data-box">
|
|
|
|
|
<div class="box-number">
|
|
|
|
|
<span class="number-yuan">49.9</span>
|
|
|
|
|
<span class="yuan-unit">%</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box-bottom">【2023】服务业增加值占GDP比重</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="echarts" ref="myChart"></div>
|
|
|
|
|
<echartData :activeIndex="activeIndex" ref="echartData"/>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- 行业纵深情况 -->
|
|
|
|
@ -76,33 +44,37 @@
|
|
|
|
|
</div>
|
|
|
|
|
<section>
|
|
|
|
|
<el-table v-loading="loadingOne" class="dataMap-two-table" :data="tableOneData" :row-class-name="tableRowClassName" :header-cell-style="{background:'#E8F3FC'}"> <!-- :max-height="tabHeader" -->
|
|
|
|
|
<el-table-column label="行业大类" prop="bigType" width="320" align="center"/>
|
|
|
|
|
<el-table-column label="全年营收" prop="revenue" width="130" align="center">
|
|
|
|
|
<el-table-column label="行业大类" prop="industryCategories" align="center"/>
|
|
|
|
|
<el-table-column label="全年营收" prop="yearRevenue" align="center">
|
|
|
|
|
<template slot="header" slot-scope="scope">
|
|
|
|
|
<div class="Table-header">全年营收</div>
|
|
|
|
|
<span class="Table-unit">(亿元)</span>
|
|
|
|
|
</template>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div class="project-trace-table-number">{{ scope.row.revenue }}</div>
|
|
|
|
|
<div class="project-trace-table-number">{{ scope.row.yearRevenue }}</div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="增加值(亿元)" prop="yuan" width="100" align="center">
|
|
|
|
|
<el-table-column label="增加值(亿元)" prop="addValue" align="center">
|
|
|
|
|
<template slot="header" slot-scope="scope">
|
|
|
|
|
<div class="Table-header">增加值</div>
|
|
|
|
|
<span class="Table-unit">(亿元)</span>
|
|
|
|
|
</template>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div class="project-trace-table-number">{{ scope.row.yuan }}</div>
|
|
|
|
|
<div class="project-trace-table-number">{{ scope.row.addValue }}</div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="增加值增速(按不变价)" prop="speedUp" width="180" align="center">
|
|
|
|
|
<el-table-column label="增加值增速(按不变价)" prop="growth" align="center">
|
|
|
|
|
<template slot="header" slot-scope="scope">
|
|
|
|
|
<div class="Table-header">增加值增速</div>
|
|
|
|
|
<span class="Table-unit">(按不变价)</span>
|
|
|
|
|
</template>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div class="project-trace-table-number">{{ scope.row.speedUp }} <span>%</span></div>
|
|
|
|
|
<div class="project-trace-table-number">{{ scope.row.growth }} <span>%</span></div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="增加值占GDP比重" prop="proportion" align="center">
|
|
|
|
|
<el-table-column label="增加值占GDP比重" prop="gdpProportion" align="center" width="100">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div class="project-trace-table-number">{{ scope.row.proportion }} <span>%</span></div>
|
|
|
|
|
<div class="project-trace-table-number">{{ scope.row.gdpProportion }} <span>%</span></div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
@ -112,6 +84,8 @@
|
|
|
|
|
<el-col :span="13" class="dataCloudMap-main-right">
|
|
|
|
|
<!-- 企业情况 -->
|
|
|
|
|
<div class="dataCloudMap-right-top">
|
|
|
|
|
<!-- <div class="dataCloudMap-right-top-box">
|
|
|
|
|
</div> -->
|
|
|
|
|
<div class="right-top-title">
|
|
|
|
|
<div class="L-title-left">
|
|
|
|
|
<span class="dataCloudMap-birght"></span>
|
|
|
|
@ -119,7 +93,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<span class="dataCloudMap-data">【统计数据截至:2024-01】</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="dataCloudMap-enterprise" :class="isFullscreen ? 'dataCloudMap-enterprise-fullscreen' : ''">
|
|
|
|
|
<div class="dataCloudMap-enterprise">
|
|
|
|
|
<!-- 第一个卡片 -->
|
|
|
|
|
<el-card shadow="always">
|
|
|
|
|
<div slot="header" class="clearfix">
|
|
|
|
@ -342,42 +316,42 @@
|
|
|
|
|
<div class="rightBtn" @click="honorBtn">查看更多数据>></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="honor-data">
|
|
|
|
|
<div class="honor-item" :class="isFullscreen ? 'honor-item-fullscreen' : ''">
|
|
|
|
|
<div class="honor-item">
|
|
|
|
|
<span class="honor-item-left">领军企业</span>
|
|
|
|
|
<div class="honor-item-right">
|
|
|
|
|
<span class="honor-item-number">{{ honorData.count1 }}</span>
|
|
|
|
|
<span class="honor-item-home">家</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="honor-item" :class="isFullscreen ? 'honor-item-fullscreen' : ''">
|
|
|
|
|
<div class="honor-item">
|
|
|
|
|
<span class="honor-item-left">两业融合试点</span>
|
|
|
|
|
<div class="honor-item-right">
|
|
|
|
|
<span class="honor-item-number">{{ honorData.count2 }}</span>
|
|
|
|
|
<span class="honor-item-home">家</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="honor-item" :class="isFullscreen ? 'honor-item-fullscreen' : ''">
|
|
|
|
|
<div class="honor-item">
|
|
|
|
|
<span class="honor-item-left">工业设计</span>
|
|
|
|
|
<div class="honor-item-right">
|
|
|
|
|
<span class="honor-item-number">{{ honorData.count3 }}</span>
|
|
|
|
|
<span class="honor-item-home">家</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="honor-item" :class="isFullscreen ? 'honor-item-fullscreen' : ''">
|
|
|
|
|
<div class="honor-item">
|
|
|
|
|
<span class="honor-item-left">服务型制造示范</span>
|
|
|
|
|
<div class="honor-item-right">
|
|
|
|
|
<span class="honor-item-number">{{ honorData.count4 }}</span>
|
|
|
|
|
<span class="honor-item-home">家</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="honor-item" :class="isFullscreen ? 'honor-item-fullscreen' : ''">
|
|
|
|
|
<div class="honor-item">
|
|
|
|
|
<span class="honor-item-left">现代服务业集聚区</span>
|
|
|
|
|
<div class="honor-item-right">
|
|
|
|
|
<span class="honor-item-number">{{ honorData.count5 }}</span>
|
|
|
|
|
<span class="honor-item-home">家</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="honor-item" :class="isFullscreen ? 'honor-item-fullscreen' : ''">
|
|
|
|
|
<div class="honor-item">
|
|
|
|
|
<span class="honor-item-left">楼宇经济</span>
|
|
|
|
|
<div class="honor-item-right">
|
|
|
|
|
<span class="honor-item-number">{{ honorData.count6 }}</span>
|
|
|
|
@ -388,8 +362,8 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- 项目追踪情况 -->
|
|
|
|
|
<div class="dataCloudMap-right-bottom">
|
|
|
|
|
<div class="project-trace-title">
|
|
|
|
|
<div class="dataCloudMap-right-bottom" id="dataCloudMap-right-box">
|
|
|
|
|
<div class="project-trace-title" id="project-trace-title-id">
|
|
|
|
|
<div class="right-bottom-title">
|
|
|
|
|
<div class="L-title-left">
|
|
|
|
|
<span class="dataCloudMap-birght"></span>
|
|
|
|
@ -400,7 +374,7 @@
|
|
|
|
|
<div class="rightBtn" @click="projectBtn">查看更多数据>></div>
|
|
|
|
|
</div>
|
|
|
|
|
<section>
|
|
|
|
|
<el-table v-loading="loadingTwo" class="dataMap-two-table" :data="tableTwoData" :row-class-name="tableRowClassName" :height="isFullscreen ? 220 : 170" :header-cell-style="{background:'#E8F3FC'}"> <!-- :max-height="tabHeader" -->
|
|
|
|
|
<el-table v-loading="loadingTwo" class="dataMap-two-table" :data="tableTwoData" :row-class-name="tableRowClassName" :height="tabHeader" :header-cell-style="{background:'#E8F3FC'}"> <!-- :max-height="tabHeader" -->
|
|
|
|
|
<el-table-column label="申报任务名称" prop="enterpriseDirectory" width="500" align="center"/>
|
|
|
|
|
<el-table-column label="填报时间" prop="time" align="center">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
@ -425,18 +399,17 @@
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<script>
|
|
|
|
|
import screenfull from 'screenfull'
|
|
|
|
|
import * as echarts from "echarts";
|
|
|
|
|
import honorDialogVue from './components/honorDialog.vue';
|
|
|
|
|
import headqEnterprise from './components/headquarterEnterprise.vue'
|
|
|
|
|
import serviceIndustry from './components/serviceIndustry.vue'
|
|
|
|
|
import collectDialog from './components/collectDialog.vue'
|
|
|
|
|
import { honor, projectTracking } from "@/api/jin_ji_hu/dataCloudMap"
|
|
|
|
|
import echartData from './components/echartData.vue'
|
|
|
|
|
import { honor, projectTracking, getIndustryDepth } from "@/api/jin_ji_hu/dataCloudMap"
|
|
|
|
|
export default {
|
|
|
|
|
components:{honorDialogVue,headqEnterprise,serviceIndustry,collectDialog},
|
|
|
|
|
components:{honorDialogVue,headqEnterprise,serviceIndustry,collectDialog,echartData},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
activeIndex:0,
|
|
|
|
|
activeIndex:1,
|
|
|
|
|
options1: [
|
|
|
|
|
{
|
|
|
|
|
name: "按年",
|
|
|
|
@ -450,48 +423,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
loadingOne: false,
|
|
|
|
|
tableOneData: [
|
|
|
|
|
{
|
|
|
|
|
bigType:"科学研究和技术服务业",
|
|
|
|
|
revenue:"506.63",
|
|
|
|
|
yuan:"201",
|
|
|
|
|
speedUp:"0.89",
|
|
|
|
|
proportion:"11",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
bigType:"科学研究和技术服务业",
|
|
|
|
|
revenue:"506.63",
|
|
|
|
|
yuan:"201",
|
|
|
|
|
speedUp:"0.89",
|
|
|
|
|
proportion:"11",
|
|
|
|
|
},{
|
|
|
|
|
bigType:"科学研究和技术服务业",
|
|
|
|
|
revenue:"506.63",
|
|
|
|
|
yuan:"201",
|
|
|
|
|
speedUp:"0.89",
|
|
|
|
|
proportion:"11",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
bigType:"科学研究和技术服务业",
|
|
|
|
|
revenue:"506.63",
|
|
|
|
|
yuan:"201",
|
|
|
|
|
speedUp:"0.89",
|
|
|
|
|
proportion:"11",
|
|
|
|
|
},{
|
|
|
|
|
bigType:"科学研究和技术服务业",
|
|
|
|
|
revenue:"506.63",
|
|
|
|
|
yuan:"201",
|
|
|
|
|
speedUp:"0.89",
|
|
|
|
|
proportion:"11",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
bigType:"科学研究和技术服务业",
|
|
|
|
|
revenue:"506.63",
|
|
|
|
|
yuan:"201",
|
|
|
|
|
speedUp:"0.89",
|
|
|
|
|
proportion:"11",
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
tableOneData: [],
|
|
|
|
|
loadingTwo: false,
|
|
|
|
|
tableTwoData: [],
|
|
|
|
|
honorData: {
|
|
|
|
@ -504,58 +436,21 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
honorTableData:[],
|
|
|
|
|
titleDialog:"",
|
|
|
|
|
isFullscreen: false,
|
|
|
|
|
myChart: false,
|
|
|
|
|
option:{}
|
|
|
|
|
tabHeader: undefined,
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mounted(){
|
|
|
|
|
this.$nextTick(()=>{
|
|
|
|
|
this.initEchart();
|
|
|
|
|
})
|
|
|
|
|
this.getHonorList();
|
|
|
|
|
this.getProjectList();
|
|
|
|
|
|
|
|
|
|
this.screenFull();
|
|
|
|
|
this.getHonorList();
|
|
|
|
|
this.getIndustryDepthList();
|
|
|
|
|
// this.init()
|
|
|
|
|
this.cancalDebounce();
|
|
|
|
|
window.addEventListener('resize', this.cancalDebounce);
|
|
|
|
|
},
|
|
|
|
|
beforeDestroy() {
|
|
|
|
|
window.removeEventListener('keydown', this.KeyDown);
|
|
|
|
|
this.destroy()
|
|
|
|
|
window.removeEventListener('resize', this.cancalDebounce);
|
|
|
|
|
},
|
|
|
|
|
methods:{
|
|
|
|
|
change() {
|
|
|
|
|
this.isFullscreen = screenfull.isFullscreen;
|
|
|
|
|
// this.myChart.setOption(this.option)
|
|
|
|
|
window.onresize = this.myChart.resize;
|
|
|
|
|
// setTimeout(()=>{
|
|
|
|
|
// this.myChart && this.myChart.resize()
|
|
|
|
|
// },200)
|
|
|
|
|
// this.myChart.clear()
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
screenFull() {
|
|
|
|
|
window.addEventListener('keydown', this.KeyDown);
|
|
|
|
|
if (screenfull.isEnabled) {
|
|
|
|
|
screenfull.on('change', this.change)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
destroy() {
|
|
|
|
|
if (screenfull.isEnabled) {
|
|
|
|
|
screenfull.off('change', this.change)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
KeyDown(event) {
|
|
|
|
|
if (event.keyCode === 122) {
|
|
|
|
|
event.preventDefault();
|
|
|
|
|
// this.isScreenFull();
|
|
|
|
|
if (!screenfull.isEnabled) {
|
|
|
|
|
this.$message({ message: '你的浏览器不支持全屏', type: 'warning' })
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
screenfull.toggle()
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
// 获取荣誉情况
|
|
|
|
|
getHonorList(){
|
|
|
|
|
honor().then(res=>{
|
|
|
|
@ -577,6 +472,14 @@ export default {
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
// 获取行业纵深情况
|
|
|
|
|
getIndustryDepthList(){
|
|
|
|
|
this.loadingOne = true;
|
|
|
|
|
getIndustryDepth().then(res=>{
|
|
|
|
|
this.loadingOne = false;
|
|
|
|
|
this.tableOneData = res.data
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
// 获取项目追踪情况列表
|
|
|
|
|
getProjectList(){
|
|
|
|
|
this.loadingTwo = true;
|
|
|
|
@ -585,137 +488,7 @@ export default {
|
|
|
|
|
this.tableTwoData = res.data;
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
initEchart(){
|
|
|
|
|
var chartDom = document.getElementById("echarts");
|
|
|
|
|
this.myChart = echarts.init(chartDom);
|
|
|
|
|
this.option = {
|
|
|
|
|
// title: {
|
|
|
|
|
// text: "2019年销售水量和主营业务收入对比",
|
|
|
|
|
// textStyle: {
|
|
|
|
|
// align: "center",
|
|
|
|
|
// color: "#fff",
|
|
|
|
|
// fontSize: 20,
|
|
|
|
|
// },
|
|
|
|
|
// top: "3%",
|
|
|
|
|
// left: "10%",
|
|
|
|
|
// },
|
|
|
|
|
grid: {
|
|
|
|
|
top: "3%",
|
|
|
|
|
left: "3%",
|
|
|
|
|
right: "3%",
|
|
|
|
|
bottom: "8%", //也可设置left和right设置距离来控制图表的大小
|
|
|
|
|
},
|
|
|
|
|
// tooltip: {
|
|
|
|
|
// trigger: "axis",
|
|
|
|
|
// axisPointer: {
|
|
|
|
|
// type: "shadow",
|
|
|
|
|
// label: {
|
|
|
|
|
// show: true,
|
|
|
|
|
// },
|
|
|
|
|
// },
|
|
|
|
|
// },
|
|
|
|
|
// legend: {
|
|
|
|
|
// data: ["销售水量", "主营业务"],
|
|
|
|
|
// top: "1%",
|
|
|
|
|
// textStyle: {
|
|
|
|
|
// // color: "#ffffff",
|
|
|
|
|
// },
|
|
|
|
|
// },
|
|
|
|
|
xAxis: {
|
|
|
|
|
data: [
|
|
|
|
|
"2019",
|
|
|
|
|
"2020",
|
|
|
|
|
"2021",
|
|
|
|
|
"2022",
|
|
|
|
|
"2023",
|
|
|
|
|
"2024",
|
|
|
|
|
],
|
|
|
|
|
axisLine: {
|
|
|
|
|
show: true, //隐藏X轴轴线
|
|
|
|
|
lineStyle: {
|
|
|
|
|
color: "#ccc",
|
|
|
|
|
opacity: 0.6,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
axisTick: {
|
|
|
|
|
show: false, //隐藏X轴刻度
|
|
|
|
|
},
|
|
|
|
|
axisLabel: {
|
|
|
|
|
show: true,
|
|
|
|
|
color: "#666666", //X轴文字颜色
|
|
|
|
|
fontSize: 14,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
yAxis: [
|
|
|
|
|
{
|
|
|
|
|
type: "value",
|
|
|
|
|
splitLine: {
|
|
|
|
|
show: true,
|
|
|
|
|
lineStyle :{
|
|
|
|
|
type: "dashed",
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
axisLabel: {
|
|
|
|
|
show: true,
|
|
|
|
|
color: "#666666",
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
series: [
|
|
|
|
|
{
|
|
|
|
|
name: "销售水量",
|
|
|
|
|
type: "line",
|
|
|
|
|
// yAxisIndex: 1, //使用的 y 轴的 index,在单个图表实例中存在多个 y轴的时候有用
|
|
|
|
|
// smooth: true, //平滑曲线显示 会让lineStyle的type设置的solid无效
|
|
|
|
|
showAllSymbol: true, //显示所有图形。
|
|
|
|
|
symbol: "circle", //标记的图形为实心圆
|
|
|
|
|
symbolSize: 10, //标记的大小
|
|
|
|
|
itemStyle: {
|
|
|
|
|
//折线拐点标志的样式
|
|
|
|
|
color: "#FFBB00",
|
|
|
|
|
borderColor: "#fff",
|
|
|
|
|
borderWidth: 2,
|
|
|
|
|
shadowColor: 'rgba(255, 187, 0, 0.7)',
|
|
|
|
|
shadowBlur: 10
|
|
|
|
|
},
|
|
|
|
|
lineStyle: {
|
|
|
|
|
type: "solid",
|
|
|
|
|
color: "#FFBB00",
|
|
|
|
|
shadowColor: 'rgba(255, 187, 0, 0.5)',
|
|
|
|
|
shadowBlur: 4
|
|
|
|
|
},
|
|
|
|
|
// 折线覆盖的颜色
|
|
|
|
|
// areaStyle: {
|
|
|
|
|
// color: "rgba(5,140,255, 0.2)",
|
|
|
|
|
// },
|
|
|
|
|
data: [4.8, 4.4, 5.4, 4.1, 3.6, 3.4],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "主营业务",
|
|
|
|
|
type: "bar",
|
|
|
|
|
barWidth: 25,
|
|
|
|
|
itemStyle: {
|
|
|
|
|
// normal: {
|
|
|
|
|
// color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
|
|
// {
|
|
|
|
|
// offset: 0,
|
|
|
|
|
// color: "#00FFE3",
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// offset: 1,
|
|
|
|
|
// color: "#4693EC",
|
|
|
|
|
// },
|
|
|
|
|
// ]),
|
|
|
|
|
// },
|
|
|
|
|
color: "#0086FF",
|
|
|
|
|
},
|
|
|
|
|
data: [4.2, 3.8, 4.8, 3.5, 2.9, 2.8, 3, 5],
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
};
|
|
|
|
|
this.myChart.setOption(this.option)
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
// 荣誉情况查看更多数据按钮
|
|
|
|
|
honorBtn(){
|
|
|
|
|
this.$refs.honorDialog.open(this.honorTableData);
|
|
|
|
@ -740,6 +513,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
active(e) {
|
|
|
|
|
this.activeIndex = e;
|
|
|
|
|
this.$refs.echartData.getService(e);
|
|
|
|
|
},
|
|
|
|
|
// 修改table背景色
|
|
|
|
|
tableRowClassName({row, rowIndex}){
|
|
|
|
@ -748,6 +522,14 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
return '';
|
|
|
|
|
},
|
|
|
|
|
// 屏幕尺寸变化
|
|
|
|
|
cancalDebounce(){
|
|
|
|
|
const element = document.getElementById('dataCloudMap-right-box'); // 通过元素的 ID 获取元素
|
|
|
|
|
const header = document.getElementById('project-trace-title-id'); // 通过元素的 ID 获取元素
|
|
|
|
|
const elementHeight = element.offsetHeight;
|
|
|
|
|
const headerHeight = header.offsetHeight;
|
|
|
|
|
this.tabHeader = elementHeight - headerHeight - 40;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|