Merge branch 'hi-ucs-dev' of http://192.168.124.50:3000/wuhongjian/hi-ucs into hi-ucs-dev
# Conflicts: # front/src/views/assertReport/components/ReservoirBottom.vue # front/src/views/assertReport/components/ReservoirRight.vue # front/src/views/assertReport/components/ReservoirThumbnail.vue # front/src/views/assertReport/index.vue
This commit is contained in:
commit
dbdb6d7cea
|
@ -2,13 +2,13 @@
|
|||
* @Author: hisense.wuhongjian
|
||||
* @Date: 2020-07-07 16:03:23
|
||||
* @LastEditors: hisense.wuhongjian
|
||||
* @LastEditTime: 2022-11-27 23:42:04
|
||||
* @LastEditTime: 2022-11-29 11:21:41
|
||||
* @Description: 系统静态参数配置
|
||||
*/
|
||||
var _global = {}
|
||||
var CONFIGITEM = {
|
||||
// version: 'qingdao', //青岛
|
||||
version: 'xihaian', // 西海岸
|
||||
version: 'qingdao', //青岛
|
||||
// version: 'xihaian', // 西海岸
|
||||
// version: 'dev', // 开发
|
||||
// version: 'zhanTingDev', // 展厅dev (2022-09-13:姜永超让添加)
|
||||
// version: 'qingdao', // 测试
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,10 @@
|
|||
/*
|
||||
* @Author: hisense.wuhongjian
|
||||
* @Date: 2022-11-28 16:43:10
|
||||
* @LastEditors: hisense.wuhongjian
|
||||
* @LastEditTime: 2022-11-29 11:35:36
|
||||
* @Description: 告诉大家这是什么
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
//获取中间地图
|
||||
export function getDistrictFundStatement() {
|
||||
|
@ -12,61 +19,61 @@ export function getComponentFundStatement() {
|
|||
url: '/processForm/tabilityapplication/getComponentFundStatement',
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
}
|
||||
//左侧获取应用资源列表
|
||||
export function getResourceFundStatement() {
|
||||
return request({
|
||||
url: '/processForm/tabilityapplication/getResourceFundStatement',
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
}
|
||||
//左侧基础设施
|
||||
export function getInfrastructureFundStatement() {
|
||||
return request({
|
||||
url: '/processForm/tabilityapplication/getInfrastructureFundStatement',
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
//右侧市级部门共享排行
|
||||
}
|
||||
//右侧市级部门共享排行
|
||||
export function getProvideDeptFundStatement() {
|
||||
return request({
|
||||
url: '/processForm/tabilityapplication/getProvideDeptFundStatement',
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
//右侧市级部门申请排行
|
||||
export function getApplyDeptFundStatement() {
|
||||
}
|
||||
//右侧市级部门申请排行
|
||||
export function getApplyDeptFundStatement() {
|
||||
return request({
|
||||
url: '/processForm/tabilityapplication/getApplyDeptFundStatement',
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
}
|
||||
//右侧区市提供排行
|
||||
export function getProvideDistrictFundStatement() {
|
||||
return request({
|
||||
url: '/processForm/tabilityapplication/getProvideDistrictFundStatement',
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
}
|
||||
//右侧区市申请排行
|
||||
export function getApplyDistrictFundStatement() {
|
||||
return request({
|
||||
url: '/processForm/tabilityapplication/getApplyDistrictFundStatement',
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
}
|
||||
//右侧资源汇聚总量
|
||||
export function selectTotal() {
|
||||
return request({
|
||||
url: '/resource/selectTotal',
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
//首页 获取总节省资金
|
||||
//右侧资源汇聚总量
|
||||
}
|
||||
//首页 获取总节省资金
|
||||
//右侧资源汇聚总量
|
||||
export function getApplyPriceCount() {
|
||||
return request({
|
||||
url: '/processForm/tabilityapplication/getApplyPriceCount',
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
<template>
|
||||
<div class="right-survey">
|
||||
|
||||
|
@ -113,7 +112,7 @@ export default {
|
|||
|
||||
|
||||
.platform-overview-bottom {
|
||||
margin-top: 20px;
|
||||
margin-top: 5px;
|
||||
width: 100%;
|
||||
height: 1.78rem;
|
||||
background: rgba(0, 108, 188, 0.2);
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
<template>
|
||||
<div class="right-survey">
|
||||
<!--最上面 部门排行榜-->
|
||||
|
@ -7,7 +6,7 @@
|
|||
<div class="bottom1">
|
||||
<div class="bottom-item">
|
||||
<div class="inner-title">
|
||||
<p style="width: 220px">市级部门共享贡献资金排行</p>
|
||||
<p style="width: 220px">市级部门共享节省资金排行</p>
|
||||
</div>
|
||||
<div class="left-list">
|
||||
<div class="left-list1">排行</div>
|
||||
|
@ -39,7 +38,7 @@
|
|||
|
||||
<div class="bottom-item">
|
||||
<div class="inner-title">
|
||||
<p style="width: 220px">市级部门审评节省资金排行</p>
|
||||
<p style="width: 220px">市级部门申请节省资金排行</p>
|
||||
</div>
|
||||
<div class="left-list">
|
||||
<div class="left-list1">排行</div>
|
||||
|
@ -69,7 +68,7 @@
|
|||
<div class="bottom2">
|
||||
<div class="bottom-item">
|
||||
<div class="inner-title">
|
||||
<p style="width: 220px">区市部门共享贡献资金排行</p>
|
||||
<p style="width: 220px">区市部门共享节省资金</p>
|
||||
</div>
|
||||
<div class="left-list">
|
||||
<div class="left-list1">序号</div>
|
||||
|
@ -100,7 +99,7 @@
|
|||
</div>
|
||||
<div class="bottom-item">
|
||||
<div class="inner-title">
|
||||
<p style="width: 220px">区市部门申请节省资金排行</p>
|
||||
<p style="width: 220px">区市部门申请节省资金</p>
|
||||
</div>
|
||||
<div class="left-list">
|
||||
<div class="left-list1">序号</div>
|
||||
|
@ -149,17 +148,17 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
import {
|
||||
getProvideDeptFundStatement,
|
||||
getApplyDeptFundStatement,
|
||||
getProvideDistrictFundStatement,
|
||||
getApplyDistrictFundStatement,
|
||||
selectTotal,
|
||||
} from '@/api/assertReport'
|
||||
export default {
|
||||
} from '@/api/assertReport'
|
||||
export default {
|
||||
components: {},
|
||||
created() {},
|
||||
destroyed() {},
|
||||
unmounted() {},
|
||||
|
||||
mounted() {
|
||||
this.getgetProvideDeptFund()
|
||||
|
@ -266,9 +265,9 @@ export default {
|
|||
})
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang='less' scoped>
|
||||
<style lang="less" scoped>
|
||||
@keyframes turn {
|
||||
0% {
|
||||
border-image: linear-gradient(to right, #003194, #00ffea) 1;
|
||||
|
@ -286,27 +285,27 @@ export default {
|
|||
border-image: linear-gradient(to right, #003194, #00ffea) 1;
|
||||
}
|
||||
}
|
||||
.top5-content::-webkit-scrollbar {
|
||||
.top5-content::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
/*height: 4px;*/
|
||||
}
|
||||
}
|
||||
|
||||
.top5-content::-webkit-scrollbar-thumb {
|
||||
.top5-content::-webkit-scrollbar-thumb {
|
||||
background-color: #00deff;
|
||||
}
|
||||
.map-search-result::-webkit-scrollbar-track,
|
||||
.top5-content::-webkit-scrollbar-track {
|
||||
}
|
||||
.map-search-result::-webkit-scrollbar-track,
|
||||
.top5-content::-webkit-scrollbar-track {
|
||||
background-color: #424748;
|
||||
}
|
||||
@keyframes topup50 {
|
||||
}
|
||||
@keyframes topup50 {
|
||||
from {
|
||||
top: 50%;
|
||||
}
|
||||
to {
|
||||
top: -100%;
|
||||
}
|
||||
}
|
||||
.right-survey {
|
||||
}
|
||||
.right-survey {
|
||||
width: 620px;
|
||||
height: 100%;
|
||||
color: #f0fafa;
|
||||
|
@ -327,17 +326,19 @@ export default {
|
|||
transition: all 100ms ease-out;
|
||||
.top {
|
||||
font-size: 24px;
|
||||
background: url('~@/assets/capabilityCloud/infrastructure_title.png') no-repeat;
|
||||
background: url('~@/assets/capabilityCloud/infrastructure_title.png')
|
||||
no-repeat;
|
||||
background-size: 100% 100%;
|
||||
text-align: center;
|
||||
}
|
||||
.bottom1 {
|
||||
margin-top: 10px;
|
||||
width: 100%;
|
||||
display: table;
|
||||
// display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
height: 1.8rem;
|
||||
height: 2.5rem;
|
||||
overflow-y: auto;
|
||||
.bottom-item {
|
||||
width: 98%;
|
||||
}
|
||||
|
@ -349,7 +350,7 @@ export default {
|
|||
display: table;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
height: 4.0rem;
|
||||
height: 4rem;
|
||||
.bottom-item {
|
||||
width: 48%;
|
||||
}
|
||||
|
@ -360,20 +361,22 @@ export default {
|
|||
}
|
||||
.bottom-item {
|
||||
height: 100%;
|
||||
|
||||
overflow-y: auto;
|
||||
background: rgba(0, 108, 188, 0.2);
|
||||
border-radius: 2px;
|
||||
margin: 2px 5px;
|
||||
border: 1px solid #10496f;
|
||||
|
||||
.inner-title {
|
||||
margin-top: 5px;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
margin-right: 5px;
|
||||
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
p {
|
||||
font-size: 16px;
|
||||
line-height: 27px;
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
#041d2f 0,
|
||||
|
@ -393,7 +396,7 @@ export default {
|
|||
width: 100%;
|
||||
height: 26px;
|
||||
margin-right: 10px;
|
||||
|
||||
margin-top: 5px;
|
||||
font-size: 16px;
|
||||
.left-list1 {
|
||||
font-size: 16x;
|
||||
|
@ -455,7 +458,8 @@ export default {
|
|||
transition: all 100ms ease-out;
|
||||
.top {
|
||||
font-size: 24px;
|
||||
background: url('~@/assets/capabilityCloud/infrastructure_title.png') no-repeat;
|
||||
background: url('~@/assets/capabilityCloud/infrastructure_title.png')
|
||||
no-repeat;
|
||||
background-size: 100% 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
@ -491,5 +495,5 @@ export default {
|
|||
border: 2px solid;
|
||||
animation: turn 5s linear infinite;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<!--
|
||||
* @Author: hisense.xiaoshangqing
|
||||
* @Date: 2022-7-26 10:00:48
|
||||
* @LastEditors: xiaoshangqing
|
||||
* @LastEditTime: 2022-07-27 16:56:55
|
||||
* @LastEditors: hisense.wuhongjian
|
||||
* @LastEditTime: 2022-11-29 11:47:26
|
||||
* @Description: 水库专题首页缩略图 -->
|
||||
<template>
|
||||
<div class="river-course-view">
|
||||
|
@ -13,116 +13,96 @@
|
|||
<div class="topic-animation4 display-animation4"></div>
|
||||
<div class="topic-animation5 display-animation5"></div>
|
||||
<div class="topic-animation6 display-animation6"></div>
|
||||
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
getDistrictFundStatement
|
||||
} from '@/api/assertReport'
|
||||
import axios from 'axios'
|
||||
const echarts = require("echarts");
|
||||
export default {
|
||||
//import引入的组件需要注入到对象中才能使用
|
||||
import { getProvideDistrictFundStatement } from '@/api/assertReport'
|
||||
import axios from 'axios'
|
||||
const echarts = require('echarts')
|
||||
export default {
|
||||
//import引入的组件需要注入到对象中才能使用
|
||||
components: {},
|
||||
data() {
|
||||
//这里存放数据
|
||||
//这里存放数据
|
||||
return {
|
||||
|
||||
districtData: [
|
||||
{
|
||||
name: "市南区",
|
||||
name: '市南区',
|
||||
value: [120.395966, 36.000892],
|
||||
},
|
||||
{
|
||||
name: "市北区",
|
||||
name: '市北区',
|
||||
value: [120.355026, 36.083819],
|
||||
|
||||
},
|
||||
{
|
||||
name: "李沧区",
|
||||
name: '李沧区',
|
||||
value: [120.421236, 36.188023],
|
||||
|
||||
},
|
||||
{
|
||||
name: "崂山区",
|
||||
name: '崂山区',
|
||||
value: [120.587393, 36.199569],
|
||||
},
|
||||
{
|
||||
name: "城阳区",
|
||||
name: '城阳区',
|
||||
value: [120.369135, 36.266833],
|
||||
|
||||
},
|
||||
{
|
||||
name: "即墨区",
|
||||
name: '即墨区',
|
||||
value: [120.517352, 36.490847],
|
||||
|
||||
},
|
||||
{
|
||||
name: "莱西市",
|
||||
name: '莱西市',
|
||||
value: [120.426226, 36.86009],
|
||||
|
||||
},
|
||||
{
|
||||
name: "胶州市",
|
||||
name: '胶州市',
|
||||
value: [120.010202, 36.235878],
|
||||
|
||||
},
|
||||
{
|
||||
name: "平度市",
|
||||
name: '平度市',
|
||||
value: [119.959012, 36.788828],
|
||||
|
||||
},
|
||||
{
|
||||
name: "西海岸新区",
|
||||
name: '西海岸新区',
|
||||
value: [119.895518, 35.875138],
|
||||
|
||||
},
|
||||
],
|
||||
|
||||
|
||||
};
|
||||
}
|
||||
},
|
||||
|
||||
mounted() {
|
||||
this.findAllInfo();
|
||||
this.findAllInfo()
|
||||
},
|
||||
//方法集合
|
||||
//方法集合
|
||||
methods: {
|
||||
findAllInfo(){
|
||||
getDistrictFundStatement().then((res) => {
|
||||
|
||||
let districtData=this.districtData
|
||||
let resulrtData=res.data.data
|
||||
for(let i=0;i<resulrtData.length;i++){
|
||||
for(let j=0;j<districtData.length;j++){
|
||||
if(resulrtData[i].districtName===districtData[j].name){
|
||||
|
||||
districtData[j].num=resulrtData[i].applyPrice
|
||||
findAllInfo() {
|
||||
getProvideDistrictFundStatement().then((res) => {
|
||||
let districtData = this.districtData
|
||||
let resulrtData = res.data.data
|
||||
for (let i = 0; i < resulrtData.length; i++) {
|
||||
for (let j = 0; j < districtData.length; j++) {
|
||||
if (resulrtData[i].districtName === districtData[j].name) {
|
||||
districtData[j].num = resulrtData[i].applyPrice + '万'
|
||||
}
|
||||
}
|
||||
}
|
||||
debugger
|
||||
console.log('上图数据', districtData)
|
||||
this.initMap(districtData)
|
||||
})
|
||||
|
||||
|
||||
},
|
||||
},
|
||||
initMap(data) {
|
||||
this.loadedDataUrl = "./static/qingdao.json";
|
||||
let _this=this
|
||||
axios.get(_this.loadedDataUrl, {}) .then(geoJson =>{
|
||||
|
||||
_this.myChart = echarts.init(_this.$refs.qdCityMap);
|
||||
echarts.registerMap("qingdao", geoJson.data);
|
||||
const imgBack = new Image();
|
||||
imgBack.src = "./static/assets/map-back.png";
|
||||
const img = new Image();
|
||||
img.src = "./static/assets/echarts-map-bak.png";
|
||||
const typeImg = new Image();
|
||||
typeImg.src = "./static/assets/reservoir-type-bak.png";
|
||||
this.loadedDataUrl = './static/qingdao.json'
|
||||
let _this = this
|
||||
axios.get(_this.loadedDataUrl, {}).then((geoJson) => {
|
||||
_this.myChart = echarts.init(_this.$refs.qdCityMap)
|
||||
echarts.registerMap('qingdao', geoJson.data)
|
||||
const imgBack = new Image()
|
||||
imgBack.src = './static/assets/map-back.png'
|
||||
const img = new Image()
|
||||
img.src = './static/assets/echarts-map-bak.png'
|
||||
const typeImg = new Image()
|
||||
typeImg.src = './static/assets/reservoir-type-bak.png'
|
||||
|
||||
_this.option = {
|
||||
visualMap: {
|
||||
|
@ -130,12 +110,12 @@ export default {
|
|||
max: 100,
|
||||
seriesIndex: 1,
|
||||
inRange: {
|
||||
color: ["#000000", "yellow", "pink"],
|
||||
color: ['#000000', 'yellow', 'pink'],
|
||||
},
|
||||
},
|
||||
geo: [
|
||||
{
|
||||
map: "qingdao",
|
||||
map: 'qingdao',
|
||||
roam: false, // 是否允许缩放
|
||||
aspectScale: 0.8,
|
||||
zoom: 1.1, // 默认显示级别
|
||||
|
@ -144,14 +124,14 @@ export default {
|
|||
label: {
|
||||
show: true, //是否显示市
|
||||
textStyle: {
|
||||
color: "#ffffff", //文字颜色
|
||||
color: '#ffffff', //文字颜色
|
||||
fontSize: 16, //文字大小
|
||||
fontFamily: "微软雅黑",
|
||||
backgroundColor: "rgba(0,0,0,0)", //透明度0清空文字背景
|
||||
fontFamily: '微软雅黑',
|
||||
backgroundColor: 'rgba(0,0,0,0)', //透明度0清空文字背景
|
||||
},
|
||||
},
|
||||
itemStyle: {
|
||||
borderColor: "#25e8ff",
|
||||
borderColor: '#25e8ff',
|
||||
borderWidth: 2,
|
||||
/* areaColor: "#004d8e", //rgba设置透明度0
|
||||
shadowColor: "#10daff",
|
||||
|
@ -160,12 +140,12 @@ export default {
|
|||
opacity: 0.53, */
|
||||
areaColor: {
|
||||
image: img,
|
||||
repeat: "repeat",
|
||||
repeat: 'repeat',
|
||||
},
|
||||
},
|
||||
emphasis: {
|
||||
disabled: false,
|
||||
focus: "none",
|
||||
focus: 'none',
|
||||
itemStyle: {
|
||||
color: null,
|
||||
},
|
||||
|
@ -176,15 +156,15 @@ export default {
|
|||
},
|
||||
},
|
||||
{
|
||||
map: "qingdao",
|
||||
map: 'qingdao',
|
||||
aspectScale: 0.8,
|
||||
roam: false, // 是否允许缩放
|
||||
zoom: 1.1, // 默认显示级别
|
||||
top: 105,
|
||||
z: 4,
|
||||
itemStyle: {
|
||||
areaColor: "#1864a5",
|
||||
borderColor: "transparent",
|
||||
areaColor: '#1864a5',
|
||||
borderColor: 'transparent',
|
||||
},
|
||||
silent: true,
|
||||
tooltip: {
|
||||
|
@ -192,15 +172,15 @@ export default {
|
|||
},
|
||||
},
|
||||
{
|
||||
map: "qingdao",
|
||||
map: 'qingdao',
|
||||
aspectScale: 0.8,
|
||||
roam: false, // 是否允许缩放
|
||||
zoom: 1.1, // 默认显示级别
|
||||
top: 110,
|
||||
z: 3,
|
||||
itemStyle: {
|
||||
areaColor: "#1864a5",
|
||||
borderColor: "transparent",
|
||||
areaColor: '#1864a5',
|
||||
borderColor: 'transparent',
|
||||
borderWidth: 2,
|
||||
},
|
||||
silent: true,
|
||||
|
@ -209,19 +189,19 @@ export default {
|
|||
},
|
||||
},
|
||||
{
|
||||
map: "qingdao",
|
||||
map: 'qingdao',
|
||||
aspectScale: 0.8,
|
||||
roam: false, // 是否允许缩放
|
||||
roam: true, // 是否允许缩放
|
||||
zoom: 1.1, // 默认显示级别
|
||||
top: 115,
|
||||
z: 2,
|
||||
itemStyle: {
|
||||
areaColor: "#1864a5",
|
||||
areaColor: '#1864a5',
|
||||
//borderColor: "#0f3866",
|
||||
borderColor: "transparent",
|
||||
borderColor: 'transparent',
|
||||
borderWidth: 1,
|
||||
shadowColor: "#808080", // 外部阴影
|
||||
shadowBlur: "10",
|
||||
shadowColor: '#808080', // 外部阴影
|
||||
shadowBlur: '10',
|
||||
},
|
||||
silent: true,
|
||||
tooltip: {
|
||||
|
@ -278,9 +258,9 @@ export default {
|
|||
normal: {
|
||||
show: true,
|
||||
formatter: function (params) {
|
||||
var name = params.data.num;
|
||||
var text = `{fline|${name}}`;
|
||||
return text;
|
||||
var name = params.data.num
|
||||
var text = `{fline|${name}}`
|
||||
return text
|
||||
},
|
||||
color: '#fff',
|
||||
rich: {
|
||||
|
@ -308,19 +288,16 @@ export default {
|
|||
itemStyle: {
|
||||
color: '#e3e00a',
|
||||
},
|
||||
symbol: "image://static/assets/reservoir-type-bak.png",
|
||||
symbol: 'image://static/assets/reservoir-type-bak.png',
|
||||
symbolSize: [84, 28],
|
||||
symbolOffset: [0, -30],
|
||||
z: 999,
|
||||
data: data, //企业名称
|
||||
},
|
||||
|
||||
|
||||
|
||||
],
|
||||
};
|
||||
_this.myChart.setOption(_this.option);
|
||||
_this.myChart.on("click", (params) => {
|
||||
}
|
||||
_this.myChart.setOption(_this.option)
|
||||
_this.myChart.on('click', (params) => {
|
||||
// console.log("点的是什么", params);
|
||||
// //进入对应区的三维地图
|
||||
// //跟右下角菜单切换触发调用方法一样,但是要传递区划参数,区划name
|
||||
|
@ -334,31 +311,28 @@ export default {
|
|||
// latitude:_this.districtData[index].value[1],
|
||||
// };
|
||||
// _this.$emit('jumpIntoMap',districtObject);
|
||||
});
|
||||
});
|
||||
})
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
|
||||
},
|
||||
|
||||
beforeCreate() {}, //生命周期 - 创建之前
|
||||
beforeMount() {}, //生命周期 - 挂载之前
|
||||
beforeUpdate() {}, //生命周期 - 更新之前
|
||||
updated() {}, //生命周期 - 更新之后
|
||||
beforeDestroy() {}, //生命周期 - 销毁之前
|
||||
destroyed() {}, //生命周期 - 销毁完成
|
||||
beforeUnmount() {}, //生命周期 - 销毁之前
|
||||
unmounted() {}, //生命周期 - 销毁完成
|
||||
activated() {}, //如果页面有keep-alive缓存功能,这个函数会触发
|
||||
};
|
||||
}
|
||||
</script>
|
||||
<style lang='less' scoped>
|
||||
//@import url(); 引入公共css类
|
||||
<style lang="less" scoped>
|
||||
//@import url(); 引入公共css类
|
||||
|
||||
.river-course-view {
|
||||
.river-course-view {
|
||||
position: relative;
|
||||
width:100%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: url("~@/assets/common/homePage/big-bak.png") no-repeat;
|
||||
background: url('~@/assets/common/homePage/big-bak.png') no-repeat;
|
||||
background-size: 100% 100%;
|
||||
.city-map-content-echarts {
|
||||
width: 10rem;
|
||||
|
@ -375,9 +349,9 @@ export default {
|
|||
bottom: 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items:flex-end;
|
||||
align-items: flex-end;
|
||||
pointer-events: none;
|
||||
z-index:99999;
|
||||
z-index: 99999;
|
||||
.map-tab {
|
||||
// 1、菜单切换功能
|
||||
display: flex;
|
||||
|
@ -405,7 +379,7 @@ export default {
|
|||
}
|
||||
}
|
||||
}
|
||||
.reservoirType-list{
|
||||
.reservoirType-list {
|
||||
position: absolute;
|
||||
right: 486px;
|
||||
width: 122px;
|
||||
|
@ -414,31 +388,31 @@ export default {
|
|||
padding: 10px 0 0 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: rgba(13,40,79,0.5);
|
||||
border:1px solid #0d284f;
|
||||
padding-top:22px;
|
||||
.type-legend{
|
||||
margin-bottom:20px;
|
||||
background-color: rgba(13, 40, 79, 0.5);
|
||||
border: 1px solid #0d284f;
|
||||
padding-top: 22px;
|
||||
.type-legend {
|
||||
margin-bottom: 20px;
|
||||
margin-left: 10px;
|
||||
display:flex;
|
||||
flex-direction:row;
|
||||
.legend-color{
|
||||
width:12px;
|
||||
height:12px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
.legend-color {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
text-align: center;
|
||||
line-height: 12px;
|
||||
}
|
||||
.color-normal{
|
||||
background-color:#00ebac ;
|
||||
.color-normal {
|
||||
background-color: #00ebac;
|
||||
}
|
||||
.color-warning{
|
||||
background-color:#ff3537 ;
|
||||
.color-warning {
|
||||
background-color: #ff3537;
|
||||
}
|
||||
.legend-text{
|
||||
.legend-text {
|
||||
margin-left: 10px;
|
||||
span{
|
||||
color:#ffffff;
|
||||
span {
|
||||
color: #ffffff;
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
@ -450,7 +424,7 @@ export default {
|
|||
position: absolute;
|
||||
|
||||
margin: 0px auto;
|
||||
background-image: url("~@/assets/common/homePage/animation1.png");
|
||||
background-image: url('~@/assets/common/homePage/animation1.png');
|
||||
background-size: cover;
|
||||
}
|
||||
.display-animation1 {
|
||||
|
@ -462,7 +436,7 @@ export default {
|
|||
position: absolute;
|
||||
|
||||
margin: 0px auto;
|
||||
background-image: url("~@/assets/common/homePage/animation2.png");
|
||||
background-image: url('~@/assets/common/homePage/animation2.png');
|
||||
background-size: cover;
|
||||
}
|
||||
.display-animation2 {
|
||||
|
@ -474,7 +448,7 @@ export default {
|
|||
position: absolute;
|
||||
|
||||
margin: 0px auto;
|
||||
background-image: url("~@/assets/common/homePage/animation3.png");
|
||||
background-image: url('~@/assets/common/homePage/animation3.png');
|
||||
background-size: cover;
|
||||
}
|
||||
.display-animation3 {
|
||||
|
@ -486,7 +460,7 @@ export default {
|
|||
position: absolute;
|
||||
|
||||
margin: 0px auto;
|
||||
background-image: url("~@/assets/common/homePage/animation4.png");
|
||||
background-image: url('~@/assets/common/homePage/animation4.png');
|
||||
background-size: cover;
|
||||
}
|
||||
.display-animation4 {
|
||||
|
@ -498,7 +472,7 @@ export default {
|
|||
position: absolute;
|
||||
|
||||
margin: 0px auto;
|
||||
background-image: url("~@/assets/common/homePage/animation5.png");
|
||||
background-image: url('~@/assets/common/homePage/animation5.png');
|
||||
background-size: cover;
|
||||
}
|
||||
.display-animation5 {
|
||||
|
@ -510,7 +484,7 @@ export default {
|
|||
position: absolute;
|
||||
|
||||
margin: 0px auto;
|
||||
background-image: url("~@/assets/common/homePage/animation6.png");
|
||||
background-image: url('~@/assets/common/homePage/animation6.png');
|
||||
background-size: cover;
|
||||
}
|
||||
.display-animation6 {
|
||||
|
@ -524,5 +498,5 @@ export default {
|
|||
top: -100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -1,26 +1,24 @@
|
|||
<!-- -->
|
||||
<template>
|
||||
|
||||
|
||||
<div class="capability-cloud">
|
||||
|
||||
<div class="header">
|
||||
<span class="title" @click="goHome">城市云脑通用能力服务平台</span>
|
||||
</div>
|
||||
<div class="header1">
|
||||
<div style=" color:#bed1df; font-size: 32px">累计节省财政资金</div>
|
||||
<div style="color: #bed1df; font-size: 32px">累计节省财政资金</div>
|
||||
<div class="area-right">
|
||||
<!-- <div class="mianJi">累计节省财政资金</div> -->
|
||||
<template v-for="(item, index) in saveMonmy">
|
||||
<p v-if="item == '.'" :key="index">
|
||||
{{ item }}
|
||||
</p>
|
||||
<span v-else >{{ item }}</span>
|
||||
<span v-else>{{ item }}</span>
|
||||
</template>
|
||||
<div class="mianJi">万元</div>
|
||||
</div>
|
||||
<div style=" color: #bed1df; font-size: 16px">注:资源参考价格由部门提供或参考市场价格设定</div>
|
||||
|
||||
<div style="color: #bed1df; font-size: 16px">
|
||||
注:资源参考价格由部门提供或参考市场价格设定
|
||||
</div>
|
||||
</div>
|
||||
<!--左侧-->
|
||||
<div class="reservoir-left">
|
||||
|
@ -41,52 +39,47 @@
|
|||
<!--下方-->
|
||||
<div class="bottom">
|
||||
<reservoir-bottom />
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
getApplyPriceCount
|
||||
} from '@/api/assertReport'
|
||||
import ReservoirThumbnail from "./components/ReservoirThumbnail.vue";
|
||||
import ReservoirLeft from "./components/ReservoirLeft";
|
||||
import ReservoirRight from "./components/ReservoirRight";
|
||||
import ReservoirBottom from "./components/ReservoirBottom";
|
||||
import { NumbersConvertedToArrays } from "@/utils/arrayMethod.js";
|
||||
export default {
|
||||
import { getApplyPriceCount } from '@/api/assertReport'
|
||||
import ReservoirThumbnail from './components/ReservoirThumbnail.vue'
|
||||
import ReservoirLeft from './components/ReservoirLeft'
|
||||
import ReservoirRight from './components/ReservoirRight'
|
||||
import ReservoirBottom from './components/ReservoirBottom'
|
||||
import { NumbersConvertedToArrays } from '@/utils/arrayMethod.js'
|
||||
export default {
|
||||
//import引入的组件需要注入到对象中才能使用
|
||||
components: {
|
||||
ReservoirThumbnail,
|
||||
ReservoirLeft,
|
||||
ReservoirRight,
|
||||
ReservoirBottom
|
||||
|
||||
ReservoirBottom,
|
||||
},
|
||||
data() {
|
||||
//这里存放数据
|
||||
return {
|
||||
saveMonmy:[],
|
||||
model: "common",
|
||||
dialogTitle: "周边视频",
|
||||
saveMonmy: [],
|
||||
model: 'common',
|
||||
dialogTitle: '周边视频',
|
||||
videoAnalysisDialogVisible: false, //视频分析弹窗显示标志位
|
||||
riverCourseHistoryDialogVisible: false, //河道历史弹窗
|
||||
riverDetailInfo: {}, //河道具体信息用于历史弹窗显示数据
|
||||
dialogType: "add",
|
||||
dialogType: 'add',
|
||||
dialogData: {},
|
||||
dangerReportDialogVisible: false,
|
||||
positionInfo: null,
|
||||
reservoirDialogVisible: false, //新增修改积水点弹窗显示标志位
|
||||
districtOptions: [], //区划数组
|
||||
isThumbnail:true, //是否为地图缩略图
|
||||
tabindex:0, //3d地图选中的tab。
|
||||
listType:"",//水库列表的类型,普通列表 “”,预警列表 warnig
|
||||
isThumbnail: true, //是否为地图缩略图
|
||||
tabindex: 0, //3d地图选中的tab。
|
||||
listType: '', //水库列表的类型,普通列表 “”,预警列表 warnig
|
||||
basicInfo: {}, //水库详情信息
|
||||
type: '',
|
||||
callSource:"indexPage",
|
||||
};
|
||||
callSource: 'indexPage',
|
||||
}
|
||||
},
|
||||
//监听属性 类似于data概念
|
||||
computed: {},
|
||||
|
@ -94,19 +87,17 @@ export default {
|
|||
watch: {},
|
||||
//方法集合
|
||||
methods: {
|
||||
getSaveMoney(){
|
||||
getSaveMoney() {
|
||||
getApplyPriceCount().then((res) => {
|
||||
|
||||
this.saveMonmy=NumbersConvertedToArrays(res.data.data)
|
||||
this.saveMonmy = NumbersConvertedToArrays(res.data.data)
|
||||
})
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
mounted() {
|
||||
this.getSaveMoney()
|
||||
},
|
||||
|
||||
};
|
||||
}
|
||||
</script>
|
||||
<style lang="less">
|
||||
@font-face {
|
||||
|
@ -135,17 +126,17 @@ export default {
|
|||
}
|
||||
}
|
||||
</style>
|
||||
<style lang='less' scoped>
|
||||
// 此处去掉scoped为修改date-picker背景色,所以业务样式都应放在reservoir层级中,避免影响
|
||||
//@import url(); 引入公共css类
|
||||
.module-header-container {
|
||||
<style lang="less" scoped>
|
||||
// 此处去掉scoped为修改date-picker背景色,所以业务样式都应放在reservoir层级中,避免影响
|
||||
//@import url(); 引入公共css类
|
||||
.module-header-container {
|
||||
position: absolute;
|
||||
z-index: 1000;
|
||||
top: 0px;
|
||||
width: 100%;
|
||||
pointer-events: none;
|
||||
}
|
||||
.capability-cloud {
|
||||
}
|
||||
.capability-cloud {
|
||||
height: 10.8rem;
|
||||
background: url('~@/assets/capabilityCloud/bg.png') no-repeat;
|
||||
background-size: 100% 100%;
|
||||
|
@ -157,16 +148,16 @@ export default {
|
|||
background: url('~@/assets/capabilityCloud/header.png') no-repeat;
|
||||
font-size: 0.46rem;
|
||||
}
|
||||
.bottom{
|
||||
bottom: 9px;
|
||||
.bottom {
|
||||
bottom: 12px;
|
||||
position: absolute;
|
||||
left: 545px;
|
||||
width: 732px;
|
||||
align-items: center;
|
||||
z-index: 1004;
|
||||
text-align: center;
|
||||
height: 1.95rem;
|
||||
|
||||
height: 1.8rem;
|
||||
}
|
||||
.header1 {
|
||||
top: 78px;
|
||||
|
@ -188,8 +179,8 @@ export default {
|
|||
// line-height: 45px;
|
||||
color: #fed93f;
|
||||
font-weight: bold;
|
||||
background: url("~@/assets/capabilityCloud/num_bg.png")
|
||||
100% 100% no-repeat;
|
||||
background: url('~@/assets/capabilityCloud/num_bg.png') 100% 100%
|
||||
no-repeat;
|
||||
background-size: 100%;
|
||||
text-align: center;
|
||||
font-size: 34px;
|
||||
|
@ -198,10 +189,10 @@ export default {
|
|||
font-family: DinPro-Bold;
|
||||
}
|
||||
.mianJi {
|
||||
margin-top: 6px;;
|
||||
margin-top: 6px;
|
||||
margin-right: 3px;
|
||||
font-size: 22px;
|
||||
float:right;
|
||||
float: right;
|
||||
}
|
||||
p {
|
||||
height: 44px;
|
||||
|
@ -234,9 +225,9 @@ export default {
|
|||
// height: 100%;
|
||||
// bottom:2rem;
|
||||
}
|
||||
}
|
||||
// 日期时间组件
|
||||
.phone-date-picker {
|
||||
}
|
||||
// 日期时间组件
|
||||
.phone-date-picker {
|
||||
color: #fff;
|
||||
//border: 1px solid #e4e7ed;
|
||||
border: 1px solid #008fbb;
|
||||
|
@ -283,7 +274,5 @@ export default {
|
|||
border: 1px solid #008fbb;
|
||||
border-color: #009ab3;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue