Browse Source

Merge branch 'develop' of http://39.106.31.193:9211/mengff/jihe-hs into develop

wangqin
刘朋 9 months ago
parent
commit
4058cba96f
  1. 5
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/channelAnalytics/assets/charts.js
  2. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/eventTypeAnalysis/assets/charts.js
  3. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/postTrendsDay/assets/charts.js
  4. 26
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/postTrendsMonth/assets/charts.js
  5. 6
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/postTrendsMonth/assets/charts2.js
  6. 7
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/postTrendsMonth/assets/charts3.js
  7. 17
      ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/chargeableOperations/components/RoadSectionTolls/assets/charts.js
  8. 205
      ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/chargeableOperations/components/daylyAnalysis/assets/charts.js
  9. 139
      ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/chargeableOperations/components/monthlyAnalysis/assets/charts.js
  10. 343
      ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/chargeableOperations/index.vue
  11. 3
      ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/components/TemperatureTrend/assets/charts.js
  12. 8
      ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/components/visibilityTrends/assets/charts.js
  13. 5
      ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/changesIndicators/assets/charts3.js
  14. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/auditAnalytics/assets/charts.js
  15. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/channelAnalytics/assets/charts.js
  16. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/eventTypeAnalysis/assets/charts.js
  17. 14
      ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/nucleusThrough/assets/charts3.js
  18. 2
      ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/nucleusThrough/index.vue
  19. 3
      ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsDay/assets/charts.js
  20. 3
      ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/assets/charts.js
  21. 2
      ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/index.vue

5
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/channelAnalytics/assets/charts.js

@ -65,8 +65,9 @@ var options = {
},
tooltip: {
show: true,
// trigger: "item",
// formatter: "{b} : {c}",
valueFormatter: function (value) {
return value + " 起";
},
},
legend: {
width: "300px",

4
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/eventTypeAnalysis/assets/charts.js

@ -81,7 +81,9 @@ var options = {
tooltip: {
show: true,
trigger: "item",
// formatter: "{b} : {c}:{d}",
valueFormatter: function (value) {
return value + " 起";
},
},
legend: {
width: "300px",

4
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/postTrendsDay/assets/charts.js

@ -3,7 +3,9 @@ var options = {
tooltip: {
show: true,
trigger: "axis",
// formatter: "{b}:{c}人",
valueFormatter: function (value) {
return value + " 起";
},
},
legend: {
icon: "circle",

26
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/postTrendsMonth/assets/charts.js

@ -23,14 +23,14 @@ let options = {
// 坐标轴指示器,坐标轴触发有效
type: "shadow", // 默认为直线,可选为:'line' | 'shadow'
},
// backgroundColor: "rgba(3, 31, 71, .0)", //设置背景颜色
// borderColor: "rgba(3, 31, 71, .0)",
// formatter: "健康监测<br>{b}:{c}人",
valueFormatter: function (value) {
return value + " 起";
},
},
grid: {
left: "0",
right: "0",
top: "70px",
top: "90px",
bottom: "20px",
containLabel: true,
},
@ -61,9 +61,12 @@ let options = {
},
yAxis: [
{
// max: 900,
// min: 0,
// interval: 100,
name: "(起)",
nameTextStyle: {
color: "#E5E7E8",
fomtSize: 10,
align: "right",
},
axisLine: {
lineStyle: {
color: "#1C82C5",
@ -87,9 +90,12 @@ let options = {
},
},
{
// max: 90,
// min: 60,
// interval: 10,
name: " (分钟)",
nameTextStyle: {
color: "#E5E7E8",
fomtSize: 10,
align: "center",
},
axisLine: {
show: false,
// lineStyle: {

6
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/postTrendsMonth/assets/charts2.js

@ -5,11 +5,13 @@ let options = {
tooltip: {
show: true,
trigger: "axis",
// formatter: "{b}:{c}人",
valueFormatter: function (value) {
return value + " 起";
},
},
grid: {
right: "4%",
top: "20%",
top: "90px",
left: "2%",
bottom: "0%",
containLabel: true,

7
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/postTrendsMonth/assets/charts3.js

@ -23,10 +23,9 @@ var options = {
},
tooltip: {
show: true,
// valueFormatter: function (value) {
// return value;
// // return (value + minNumber).toFixed(2) + " %";
// },
valueFormatter: function (value) {
return value + " 起";
},
},
legend: {
// orient: 'vertical',

17
ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/chargeableOperations/components/RoadSectionTolls/assets/charts.js

@ -21,16 +21,13 @@ let options = {
},
tooltip: {
trigger: "axis",
// axisPointer: {
// type: "shadow",
// },
// backgroundColor: "rgba(255,255,255,0.75)",
// extraCssText: "box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.3);",
// textStyle: {
// fontSize: 14,
// color: "#000",
// },
// formatter: "{a}<br/>{b} :\n\n{c} ",
formatter: function (params) {
if (params[0].seriesName == "收费金额") {
return `<div>${params[0].marker} ${params[0].name} <span style="font-weight: bold;">${params[0].value} 万元</span></div>`;
} else {
return `<div>${params[0].marker} ${params[0].name} <span style="font-weight: bold;">${params[0].value} 万辆</span></div>`;
}
},
},
legend: {
top: 10,

205
ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/chargeableOperations/components/daylyAnalysis/assets/charts.js

@ -4,20 +4,14 @@ var data1 = [5, 12, 4, 6, 7, 9, 10, 15, 3, 5, 6, 15];
var data2 = [5, 12, 4, 6, 7, 9, 10, 15, 3, 5, 6, 15];
var options = {
tooltip: {
// trigger: "axis",
// backgroundColor: 'rgba(17,95,182,0.5)',
// textStyle: {
// color: "#fff"
// },
// formatter: function (params) {
// return params[1].marker + '' + params[1].name + '\n' +
// "<div>" +
// "<span style='display:inline-block;border-radius:1px;width:10px;height:10px;background-color:#007AFF;option:0.5'></span>" +
// "<span style=''> " + params[1].seriesName + ': ' + params[1].value + "\n" + ' </span>' +
// "</div>" +
// "<span style='display:inline-block;border-radius:1px;width:10px;height:10px;background-color:#FF9B61;'></span>" +
// '' + "<span style=''> " + params[3].seriesName + ': ' + params[3].value;
// }
formatter: function (params) {
console.log("params", params);
if (params.seriesName == "增收金额") {
return `<div>${params.marker} ${params.name} <span style="font-weight: bold;">${params.value} 万元</span></div>`;
} else {
return `<div>${params.marker} ${params.name} <span style="font-weight: bold;">${params.value} %</span></div>`;
}
},
},
grid: {
left: "5%",
@ -67,11 +61,11 @@ var options = {
},
yAxis: [
{
min: 0,
max: 18,
// min: 0,
// max: 18,
type: "value",
minInterval: 3,
maxInterval: 3,
// minInterval: 3,
// maxInterval: 3,
name: "(单位:万)",
nameTextStyle: {
align: "left",
@ -105,17 +99,9 @@ var options = {
data: ["0", "3", "6", "9", "12", "15", "18"],
},
{
show: true,
// show: true,
name: "",
min: 0,
max: 18,
type: "value",
minInterval: 3,
maxInterval: 3,
splitNumber: 3,
formatter: function (e) {
console.log("---------------", e);
},
nameTextStyle: {
align: "left",
color: "rgba(255,255,255,0.8)",
@ -187,7 +173,8 @@ var options = {
itemStyle: {
// lenged文本
opacity: 1,
borderCap: "round",
barBorderRadius: [13, 13, 13, 13],
// borderCap: "round",
color: function (params) {
var a = params.name.slice(0, 2);
return new echarts.graphic.LinearGradient(
@ -202,7 +189,7 @@ var options = {
},
{
offset: 1,
color: "#2CAEE3", // 100% 处的颜色
color: "#003B4E", // 100% 处的颜色
},
],
false
@ -213,40 +200,40 @@ var options = {
data: data1,
},
{
name: "",
type: "pictorialBar",
symbolSize: [12, 12],
symbolOffset: [0, -4],
z: 5,
itemStyle: {
opacity: 1,
borderCap: "round",
color: function (params) {
var a = params.name.slice(0, 2);
// {
// name: "",
// type: "pictorialBar",
// symbolSize: [12, 12],
// symbolOffset: [0, -4],
// z: 5,
// itemStyle: {
// opacity: 1,
// borderCap: "round",
// color: function (params) {
// var a = params.name.slice(0, 2);
return new echarts.graphic.LinearGradient(
0,
0,
0,
1,
[
{
offset: 0,
color: "#0BA7DA", // 0% 处的颜色
},
{
offset: 1,
color: "#0BA7DA30", // 100% 处的颜色
},
],
false
);
},
},
symbolPosition: "end",
data: data1,
},
// return new echarts.graphic.LinearGradient(
// 0,
// 0,
// 0,
// 1,
// [
// {
// offset: 0,
// color: "#0BA7DA", // 0% 处的颜色
// },
// {
// offset: 1,
// color: "#0BA7DA30", // 100% 处的颜色
// },
// ],
// false
// );
// },
// },
// symbolPosition: "end",
// data: data1,
// },
{
name: "增涨率",
z: 9,
@ -270,54 +257,54 @@ var options = {
},
},
{
name: "",
type: "bar",
barWidth: 12,
barGap: "-100%",
z: 0,
itemStyle: {
borderCap: "round",
color: "#163F7A",
opacity: 0.7,
},
data: [18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18],
},
{
name: "",
type: "pictorialBar",
symbolSize: [12, 12],
symbolOffset: [0, -5],
z: 5,
itemStyle: {
barBorderRadius: [13, 13, 13, 13],
opacity: 1,
borderCap: "round",
color: function (params) {
var a = params.name.slice(0, 2);
// {
// name: "",
// type: "bar",
// barWidth: 12,
// barGap: "-100%",
// z: 0,
// itemStyle: {
// borderCap: "round",
// color: "#163F7A",
// opacity: 0.7,
// },
// data: [18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18],
// },
// {
// name: "",
// type: "pictorialBar",
// symbolSize: [12, 12],
// symbolOffset: [0, -5],
// z: 5,
// itemStyle: {
// barBorderRadius: [13, 13, 13, 13],
// opacity: 1,
// borderCap: "round",
// color: function (params) {
// var a = params.name.slice(0, 2);
return new echarts.graphic.LinearGradient(
0,
0,
0,
1,
[
{
offset: 0,
color: "#2CAEE3", // 0% 处的颜色
},
{
offset: 1,
color: "#2CAEE3", // 100% 处的颜色
},
],
false
);
},
},
symbolPosition: "end",
data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
},
// return new echarts.graphic.LinearGradient(
// 0,
// 0,
// 0,
// 1,
// [
// {
// offset: 0,
// color: "#2CAEE3", // 0% 处的颜色
// },
// {
// offset: 1,
// color: "#2CAEE3", // 100% 处的颜色
// },
// ],
// false
// );
// },
// },
// symbolPosition: "end",
// data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
// },
],
};

139
ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/chargeableOperations/components/monthlyAnalysis/assets/charts.js

@ -4,21 +4,15 @@ var data1 = [5, 12, 4, 6, 7, 9, 10, 15, 3, 5, 6, 15];
var data2 = [5, 12, 4, 6, 7, 9, 10, 15, 3, 5, 6, 15];
var options = {
tooltip: {
show:true
// trigger: "axis",
// backgroundColor: 'rgba(17,95,182,0.5)',
// textStyle: {
// color: "#fff"
// },
// formatter: function (params) {
// return params[1].marker + '' + params[1].name + '\n' +
// "<div>" +
// "<span style='display:inline-block;border-radius:1px;width:10px;height:10px;background-color:#007AFF;option:0.5'></span>" +
// "<span style=''> " + params[1].seriesName + ': ' + params[1].value + "\n" + ' </span>' +
// "</div>" +
// "<span style='display:inline-block;border-radius:1px;width:10px;height:10px;background-color:#FF9B61;'></span>" +
// '' + "<span style=''> " + params[3].seriesName + ': ' + params[3].value;
// }
show: true,
formatter: function (params) {
console.log("params", params);
if (params.seriesName == "增收金额") {
return `<div>${params.marker} ${params.name} <span style="font-weight: bold;">${params.value} 万元</span></div>`;
} else {
return `<div>${params.marker} ${params.name} <span style="font-weight: bold;">${params.value} %</span></div>`;
}
},
},
grid: {
left: "5%",
@ -68,10 +62,11 @@ var options = {
},
yAxis: [
{
min: 0,
max: 18,
minInterval: 1,
maxInterval: 1,
// min: 0,
// max: 18,
// minInterval: 1,
// maxInterval: 1,
type: "value",
name: "(单位:万)",
nameTextStyle: {
align: "left",
@ -107,9 +102,9 @@ var options = {
{
show: true,
name: "",
min: 0,
max: 18,
splitNumber: 3,
// min: 0,
// max: 18,
// splitNumber: 3,
nameTextStyle: {
align: "left",
color: "rgba(255,255,255,0.8)",
@ -207,45 +202,46 @@ var options = {
data: data1,
},
{
name: "",
type: "pictorialBar",
symbolSize: [12, 12],
symbolOffset: [0, -4],
z: 5,
itemStyle: {
opacity: 1,
color: function (params) {
var a = params.name.slice(0, 2);
// {
// name: "",
// type: "pictorialBar",
// symbolSize: [12, 12],
// symbolOffset: [0, -4],
// z: 5,
// itemStyle: {
// opacity: 1,
// color: function (params) {
// var a = params.name.slice(0, 2);
return new echarts.graphic.LinearGradient(
0,
0,
0,
1,
[
{
offset: 0,
color: "#00E4BB", // 0% 处的颜色
},
{
offset: 1,
color: "#00E4BB30", // 100% 处的颜色
},
],
false
);
},
},
symbolPosition: "end",
data: data1,
tooltip: {
show:false}
},
// return new echarts.graphic.LinearGradient(
// 0,
// 0,
// 0,
// 1,
// [
// {
// offset: 0,
// color: "#00E4BB", // 0% 处的颜色
// },
// {
// offset: 1,
// color: "#00E4BB30", // 100% 处的颜色
// },
// ],
// false
// );
// },
// },
// symbolPosition: "end",
// data: data1,
// tooltip: {
// show: false,
// },
// },
{
name: "增涨率",
z: 9,
yAxisIndex: 1,
// yAxisIndex: 1,
type: "line",
data: data2,
symbol:
@ -261,20 +257,21 @@ var options = {
},
},
{
name: "",
type: "bar",
barWidth: 12,
barGap: "-100%",
z: 0,
itemStyle: {
color: "#163F7A",
opacity: 0.7,
},
data: [18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18],
tooltip: {
show:false}
},
// {
// name: "",
// type: "bar",
// barWidth: 12,
// barGap: "-100%",
// z: 0,
// itemStyle: {
// color: "#163F7A",
// opacity: 0.7,
// },
// data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
// tooltip: {
// show: false,
// },
// },
],
};

343
ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/chargeableOperations/index.vue

@ -1,196 +1,185 @@
<template>
<div class='TrafficFlow'>
<section class="foot">
<div class="content" >
<div class="content-l" >
<RoadNetwork />
<LaneTolls />
</div>
<div class="content-l" >
<VehicleTolls />
<TruckLaneTolls />
</div>
<RoadSectionTolls class="content-r" />
</div>
</section>
<section class="foot">
<div class="content " style="position: relative;top:-10px;" >
<AccessAnalysis class="content-m" />
<AuxiliaryFlowcharts class="content-rm" />
<div class="TrafficFlow">
<section class="foot">
<div class="content">
<div class="content-l">
<RoadNetwork />
<LaneTolls />
</div>
</section>
<section class="foot">
<div class="content " >
<MonthlyAnalysis class="content-mi" />
<DaylyAnalysis class="content-mi" />
<div class="content-l">
<VehicleTolls />
<TruckLaneTolls />
</div>
</section>
</div>
</template>
<script>
import RoadNetwork from './components/roadNetworkTraffic';
import LaneTolls from './components/laneTolls';
import VehicleTolls from './components/vehicleTolls';
import TruckLaneTolls from './components/truckLaneTolls';
import RoadSectionTolls from './components/RoadSectionTolls';
import AccessAnalysis from './components/accessAnalysis';
import AuxiliaryFlowcharts from './components/auxiliaryFlowcharts';
import MonthlyAnalysis from './components/monthlyAnalysis';
import DaylyAnalysis from './components/daylyAnalysis';
export default {
name: 'publicService',
components: {
RoadNetwork,
LaneTolls,
VehicleTolls,
TruckLaneTolls,
RoadSectionTolls,
AccessAnalysis,
AuxiliaryFlowcharts,
MonthlyAnalysis,
DaylyAnalysis,
},
data(){
return {
activeName:"first"
}
},
methods:{
changeTabs(){
}
}
<RoadSectionTolls class="content-r" />
</div>
</section>
<section class="foot">
<div class="content" style="position: relative; top: -10px">
<AccessAnalysis class="content-m" />
<AuxiliaryFlowcharts class="content-rm" />
</div>
</section>
<section class="foot">
<div class="content">
<MonthlyAnalysis class="content-mi" />
<DaylyAnalysis class="content-mi" />
</div>
</section>
</div>
</template>
<script>
import RoadNetwork from "./components/roadNetworkTraffic";
import LaneTolls from "./components/laneTolls";
import VehicleTolls from "./components/vehicleTolls";
import TruckLaneTolls from "./components/truckLaneTolls";
import RoadSectionTolls from "./components/RoadSectionTolls";
import AccessAnalysis from "./components/accessAnalysis";
import AuxiliaryFlowcharts from "./components/auxiliaryFlowcharts";
import MonthlyAnalysis from "./components/monthlyAnalysis";
import DaylyAnalysis from "./components/daylyAnalysis";
export default {
name: "publicService",
components: {
RoadNetwork,
LaneTolls,
VehicleTolls,
TruckLaneTolls,
RoadSectionTolls,
AccessAnalysis,
AuxiliaryFlowcharts,
MonthlyAnalysis,
DaylyAnalysis,
},
data() {
return {
activeName: "first",
};
},
methods: {
changeTabs() {},
},
};
</script>
<style lang="scss" scoped>
::v-deep .el-tabs__item {
display: inline-flex;
justify-content: center;
font-size: 16px;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
color: #ffffff;
min-width: 128px;
position: relative;
left: 10px;
}
::v-deep .el-tabs__active-bar {
min-width: 128px;
}
::v-deep .el-tabs__nav-wrap::after {
background-color: #133242;
opacity: 0.1;
}
.footTabs {
display: inline;
width: 100%;
}
.TrafficFlow {
width: 100%;
height: 100%;
position: relative;
z-index: 6;
color: white;
padding-top: 15px;
.header-shot {
width: 98%;
margin: auto;
margin-top: 15px;
height: 160px;
}
</script>
<style lang='scss' scoped>
::v-deep .el-tabs__item{
display: inline-flex;
justify-content: center;
font-size: 16px;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
color: #FFFFFF;
min-width:128px;
position: relative;
left:10px;
}
::v-deep .el-tabs__active-bar {
min-width:128px;
}
::v-deep .el-tabs__nav-wrap::after {
background-color: #133242;
opacity: 0.1;
}
.footTabs {
display: inline;
width:100%;
}
.TrafficFlow {
width: 100%;
height: 100%;
position: relative;
z-index: 6;
color: white;
padding-top: 15px;
.header-shot{
width: 98%;
margin: auto;
margin-top: 15px;
height:160px;
.content {
width: 100%;
margin: auto;
display: flex;
flex: 1;
pointer-events: none;
margin-top: 0px;
> div {
pointer-events: auto;
}
.content {
width: 100%;
margin: auto;
display: flex;
flex: 1;
pointer-events: none;
margin-top: 0px;
>div {
pointer-events: auto;
}
.content-l {
width: calc(32.2%);
margin-right:20px;
display: inline-flex;
flex-direction: column;
>div {
margin-bottom:15px;
}
}
.content-l {
width: calc(32.2%);
margin-right: 20px;
display: inline-flex;
flex-direction: column;
.content-r {
width: calc(33%);
display: inline-flex;
> div {
margin-bottom: 15px;
}
}
.content-rm {
width: calc(33%);
margin-right:10px;
}
.content-r {
width: calc(33%);
display: inline-flex;
}
.content-mi {
width: calc(50%);
margin-right:20px;
}
.content-rm {
width: calc(33%);
margin-right: 10px;
}
.content-mi:last-child {
margin-right:10px;
}
.content-m {
display: inline-flex;
width: 66%;
margin-right:20px;
}
.content-mi {
width: calc(50%);
margin-right: 20px;
}
.foot{
width: 98%;
margin: auto;
display: flex;
justify-content: space-between;
flex: 1;
pointer-events: none;
margin-top: 8px;
>div {
pointer-events: auto;
}
.content-mi:last-child {
margin-right: 10px;
}
.foot-w {
width:100%;
.content-m {
display: inline-flex;
width: 66%;
margin-right: 20px;
}
}
}
.foot-l {
width: 726px;
}
.foot-m {
width: 613px;
}
.foot-r {
width: 493px;
}
.foot {
width: 98%;
margin: auto;
display: flex;
justify-content: space-between;
flex: 1;
pointer-events: none;
margin-top: 8px;
> div {
pointer-events: auto;
}
.foot-w {
width: 100%;
}
.foot-l {
width: 726px;
}
.foot-m {
width: 613px;
}
.foot-r {
width: 493px;
}
}
</style>
}
</style>

3
ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/components/TemperatureTrend/assets/charts.js

@ -3,6 +3,9 @@ var options = {
tooltip: {
show: true,
trigger: "axis",
valueFormatter: function (value) {
return value + " ℃";
},
},
color: "#FFD15C",
grid: {

8
ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/components/visibilityTrends/assets/charts.js

@ -4,11 +4,9 @@ var options = {
tooltip: {
show: true,
trigger: "axis",
// backgroundColor: "rgba(0,0,0,.6)",
// borderColor: "rgba(147, 235, 248, .8)",
// textStyle: {
// color: "#FFF",
// },
valueFormatter: function (value) {
return value + " M";
},
},
grid: {
left: "0",

5
ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/changesIndicators/assets/charts3.js

@ -21,6 +21,9 @@ let options = {
tooltip: {
show: true,
trigger: "item",
valueFormatter: function (value) {
return value + " 指标";
},
},
grid: {
left: 0,
@ -57,7 +60,7 @@ let options = {
yAxis: [
{
min: 0,
name: '(指标)',
name: "(指标)",
nameTextStyle: {
color: "#fff",
fontSize: 10,

4
ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/auditAnalytics/assets/charts.js

@ -70,7 +70,9 @@ var options = {
},
tooltip: {
trigger: "item",
// formatter: '{b} : {c}:{d}'
valueFormatter: function (value) {
return value + " 起";
},
},
legend: {
orient: "vertical",

4
ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/channelAnalytics/assets/charts.js

@ -71,7 +71,9 @@ var options = {
},
tooltip: {
trigger: "item",
// formatter: "{b} : {c}:{d}",
valueFormatter: function (value) {
return value + " 起";
},
},
legend: {
orient: "vertical",

4
ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/eventTypeAnalysis/assets/charts.js

@ -97,7 +97,9 @@ var options = {
},
tooltip: {
trigger: "item",
// formatter: "{b} : {c}:{d}",
valueFormatter: function (value) {
return value + " 起";
},
},
legend: {
orient: "vertical",

14
ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/nucleusThrough/assets/charts3.js

@ -21,17 +21,9 @@ let options = {
tooltip: {
show: true,
trigger: "axis",
// axisPointer: {
// // 坐标轴指示器,坐标轴触发有效
// type: "shadow", // 默认为直线,可选为:'line' | 'shadow'
// },
// textStyle: {
// color: "#fff",
// fontSize: 14,
// },
// backgroundColor: "rgba(3, 31, 71, .0)", //设置背景颜色
// borderColor: "rgba(3, 31, 71, .0)",
// formatter: "健康监测<br>{b1}:{c1}人",
valueFormatter: function (value) {
return value + " 起";
},
},
grid: {
left: "0",

2
ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/nucleusThrough/index.vue

@ -97,7 +97,7 @@ export default {
margin-bottom: 10px;
left: 20px;
top: 2px;
z-index: 100000;
z-index: 0;
div {
white-space: nowrap;

3
ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsDay/assets/charts.js

@ -62,6 +62,9 @@ var options = {
tooltip: {
show: true,
trigger: "axis",
valueFormatter: function (value) {
return value + " 起";
},
},
legend: {
// orient: 'vertical',

3
ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/assets/charts.js

@ -62,6 +62,9 @@ var options = {
tooltip: {
show: true,
trigger: "axis",
valueFormatter: function (value) {
return value + " 起";
},
},
legend: {
// orient: 'vertical',

2
ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/index.vue

@ -99,7 +99,7 @@ export default {
margin-bottom: 10px;
left: 20px;
top: 2px;
z-index: 100;
z-index: 0;
div {
white-space: nowrap;

Loading…
Cancel
Save