Browse Source

修改 bug 首页跟 信息发布管理

wangqin
Joe 1 year ago
parent
commit
4c898838d7
  1. 2
      ruoyi-ui/src/views/JiHeExpressway/components/Title/index.vue
  2. 12
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/index.vue
  3. 10
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/js/carStatistics.js
  4. 8
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/js/focusStatistics.js
  5. 8
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/js/otherStatistics.js
  6. 17
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/PerceiveEvent/index.vue
  7. 9
      ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditDetails/DetailCard.vue
  8. 2
      ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditDetails/index.vue

2
ruoyi-ui/src/views/JiHeExpressway/components/Title/index.vue

@ -34,6 +34,8 @@ export default {
background-image: url(./images/bg.svg);
background-repeat: no-repeat;
background-size: auto;
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
>div {
display: flex;

12
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/index.vue

@ -132,16 +132,16 @@ export default {
mounted() {
setTimeout(() => {
this.$nextTick(() => {
var myChart = echarts.init(this.$refs.carStatisticsEchartBox);
myChart.setOption(carStatistics);
const myChart1 = echarts.init(this.$refs.carStatisticsEchartBox);
myChart1.setOption(carStatistics);
console.log("charts", carStatistics);
var myChart = echarts.init(this.$refs.focusStatisticsEchartBox);
myChart.setOption(focusStatistics);
const myChart2 = echarts.init(this.$refs.focusStatisticsEchartBox);
myChart2.setOption(focusStatistics);
console.log("charts", focusStatistics);
var myChart = echarts.init(this.$refs.otherStatisticsEchartBox);
myChart.setOption(otherStatistics);
const myChart3 = echarts.init(this.$refs.otherStatisticsEchartBox);
myChart3.setOption(otherStatistics);
console.log("charts", otherStatistics);
});
});

10
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/js/carStatistics.js

@ -36,7 +36,7 @@ var carStatistics = {
//上层圆环,显示数据
value: getvalue,
itemStyle: {
color: "#00CBFF"
color: "#00CBFF",
},
},
],
@ -102,16 +102,18 @@ var carStatistics = {
return `{cn|}\n{number|${getvalue + "%"}\n}{wcl|小客车}`;
},
rich: {
cn:{fontSize: 16,},
fontFamily: "PangMenZhengDao-Regular",
cn: { fontSize: 16 },
number: {
display: "block",
marginTop: 10,
fontSize: 14,
fontSize: 16,
fontWeight: 900,
textAlign: "center",
},
wcl: {
marginTop: 10,
fontSize: 10,
fontSize: 12,
textAlign: "center",
},
},

8
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/js/focusStatistics.js

@ -36,7 +36,7 @@ var focusStatistics = {
//上层圆环,显示数据
value: getvalue,
itemStyle: {
color: "#FE861E"
color: "#FE861E",
},
},
],
@ -102,13 +102,15 @@ var focusStatistics = {
return `{cn|}\n{number|${getvalue + "%"}\n}{wcl|重点车辆}`;
},
rich: {
cn:{fontSize: 16,},
fontFamily: "PangMenZhengDao-Regular",
cn: { fontSize: 16 },
number: {
fontSize: 16,
fontWeight: 900,
textAlign: "center",
},
wcl: {
fontSize: 10,
fontSize: 12,
textAlign: "center",
},
},

8
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/js/otherStatistics.js

@ -36,7 +36,7 @@ var otherStatistics = {
//上层圆环,显示数据
value: getvalue,
itemStyle: {
color: "#29DEAF"
color: "#29DEAF",
},
},
],
@ -102,13 +102,15 @@ var otherStatistics = {
return `{cn|}\n{number|${getvalue + "%"}\n}{wcl|其他}`;
},
rich: {
cn:{fontSize: 16,},
fontFamily: "PangMenZhengDao-Regular",
cn: { fontSize: 16 },
number: {
fontSize: 16,
fontWeight: 900,
textAlign: "center",
},
wcl: {
fontSize: 10,
fontSize: 12,
textAlign: "center",
},
},

17
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/PerceiveEvent/index.vue

@ -220,17 +220,16 @@ export default {
})
},
updateEvent() {
// s
this.btnLoading = true;
console.log({
id: this.dialogData.id,
warningType: this.data.warningType,
warningSubclass: this.data.warningSubclass,
remark: this.data.remark,
vehicleType: this.data.vehicleType,
lane: this.data.lane
})
// console.log({
// id: this.dialogData.id,
// warningType: this.data.warningType,
// warningSubclass: this.data.warningSubclass,
// remark: this.data.remark,
// vehicleType: this.data.vehicleType,
// lane: this.data.lane
// })
request({
url: `/perceivedEvents/warning/updateWarning`,

9
ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditDetails/DetailCard.vue

@ -2,7 +2,7 @@
<div class='DetailCard'>
<div class="header">
<div class="left">
<div class="title">{{ data.title || '-' }}</div>
<div class="title">{{ data.descTitle || '-' }}</div>
<div class="state" :style="{ backgroundColor: status[data.state].color }">{{ status[data.state].text }}</div>
</div>
<div class="right">
@ -121,6 +121,13 @@ export default {
}
}
.right {
.el-icon-time {
background-color: #05D3BF;
border-radius: 50%;
}
}
align-items: center;
justify-content: space-between;
}

2
ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditDetails/index.vue

@ -25,7 +25,7 @@ export default {
timeLine2List: Array.from({ length: 6 }).map(() => ({
time: "2023-12-21 16:35:44",
name: "甘易玫",
// title: "xxx",
descTitle: "事件详情",
desc: "因改扩建施工,接交警通知,G3京台高速崮山(辅)、泰安西站双向入口临时关闭,万德站北京方向入口临时关闭,崮山(主)站北京方向出口临时关闭;济南崮山服务区(台北方向)入口临时关闭。泰安服务区(北京方向)入口临时关闭。泰山枢纽(G22青兰高速兰州方向转G3京台高速北京方向匝道、G22青兰高速青岛方向转G3京台高速北京方向匝道)临时关闭。",
posts: '淄博发展公司管理员',
state: 0,

Loading…
Cancel
Save