-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
-
+
+
-
-
-
+ });
+ },
+}
+
-
+}
+
+.charts {
+ height: 100px;
+ width: 100%;
+}
+
\ No newline at end of file
diff --git a/ruoyi-ui/src/views/JiHeExpressway/scss/el-reset.scss b/ruoyi-ui/src/views/JiHeExpressway/scss/el-reset.scss
index 326da612..02407bd0 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/scss/el-reset.scss
+++ b/ruoyi-ui/src/views/JiHeExpressway/scss/el-reset.scss
@@ -167,6 +167,14 @@ div.el-date-editor {
div.el-popover:has(> .el-date-picker),
div.el-picker-panel.el-date-picker.el-popper,
div.el-picker-panel.el-date-range-picker.el-popper {
+ .disabled{
+ div{
+ span{
+ color: #5E8998!important;
+ }background: #1B586D;
+ }
+
+ }
.next-month,
.prev-month {
span {
From 3574ecb4180bb445a6487821d87111e1e5cec07d Mon Sep 17 00:00:00 2001
From: hui <770260999@qq.com>
Date: Tue, 6 Feb 2024 17:07:09 +0800
Subject: [PATCH 3/4] =?UTF-8?q?=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../JiHeExpressway/pages/service/sensitive/index.vue | 10 +++++-----
ruoyi-ui/vue.config.js | 4 ++--
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/sensitive/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/sensitive/index.vue
index 8632fc7a..505e8bd5 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/sensitive/index.vue
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/sensitive/index.vue
@@ -86,7 +86,7 @@ export default {
label: "关键词"
},
{
- key: "location",
+ key: "id",
label: "id"
},
{
@@ -118,14 +118,14 @@ export default {
await confirm({ message: "是否要删除该辖段信息?" });
request({
- url: `/business/roadSection/${data.id}`,
+ url: `/business/dcInfoBoardVocabulary/${data.id}`,
method: "DELETE",
data: {}
})
.then(result => {
if (result.code != 200) return Message.error("删除失败");
-
Message.success("删除成功")
+ this.getData();
})
.catch(() => {
Message.error("删除失败")
@@ -137,7 +137,7 @@ export default {
},
handleExport() {
exportFile({
- url: "/business/roadSection/export",
+ url: "/business/dcInfoBoardVocabulary/export",
filename: "管辖路段",
data: this.getSearchData()
});
@@ -191,7 +191,7 @@ export default {
.body {
height: 0; flex: 1; overflow-y: scroll;
- display: flex; flex-wrap: wrap; align-items: flex-start;
+ display: flex; flex-wrap: wrap; align-content: flex-start;
.cardBox{
flex-basis: percentage(1/7); width: 0; padding-right: 10px; padding-bottom: 10px;
}
diff --git a/ruoyi-ui/vue.config.js b/ruoyi-ui/vue.config.js
index 7b307e3c..435592ca 100644
--- a/ruoyi-ui/vue.config.js
+++ b/ruoyi-ui/vue.config.js
@@ -49,9 +49,9 @@ module.exports = {
// target: `http://10.0.81.202:8087`, //现场后台
// target: `http://10.0.81.204:8087`, //现场后台 刘文阁
// target: `http://10.168.69.255:8087`, //正晨后台 连现场物联 刘文阁
- target: `http://10.168.78.135:8087`, //王钦
+ // target: `http://10.168.78.135:8087`, //王钦
// target: `http://10.168.66.196:8087`, //正晨后台 连现场物联 刘文阁2
- // target: `http://10.168.68.42:8087`, //王思祥
+ target: `http://10.168.68.42:8087`, //王思祥
changeOrigin: true,
pathRewrite: {
["^" + process.env.VUE_APP_BASE_API]: "",
From 4b0730b835e44fabf3891a65eb95bde8b97ac43c Mon Sep 17 00:00:00 2001
From: zhangzhang <1747194829@qq.com>
Date: Tue, 6 Feb 2024 17:16:36 +0800
Subject: [PATCH 4/4] =?UTF-8?q?=E6=9B=B4=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../channelAnalytics/assets/charts.js | 10 +-
.../components/channelAnalytics/index.vue | 1 +
.../eventTypeAnalysis/assets/charts.js | 8 +
.../components/dayTotal/assets/charts.js | 207 ++++++++--------
.../components/eventQuery/index.vue | 1 +
.../components/railwayDay/assets/charts.js | 224 ++++++++++--------
6 files changed, 245 insertions(+), 206 deletions(-)
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/channelAnalytics/assets/charts.js b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/channelAnalytics/assets/charts.js
index ea9dad7b..73dcbcf2 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/channelAnalytics/assets/charts.js
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/channelAnalytics/assets/charts.js
@@ -128,6 +128,7 @@ var options = {
},
{
name: "总数",
+ tooltip: false,
type: "gauge",
radius: "30%",
center: ["50%", "35%"],
@@ -185,7 +186,14 @@ var options = {
value: 100,
},
],
- // tooltip: false,
+ tooltip: {
+ backgroundColor: "rgba(50,50,50,0)",
+ formatter: " ",
+ borderWidth: 0,
+ textStyle: {
+ textShadowColor: "rgba(50,50,50,0)",
+ },
+ },
},
{
type: "pie",
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/channelAnalytics/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/channelAnalytics/index.vue
index 691b709a..c328c6bb 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/channelAnalytics/index.vue
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/channelAnalytics/index.vue
@@ -63,6 +63,7 @@ export default {
};
chartsStatistics.legend.data = nameData;
chartsStatistics.title[0].text = total;
+ // chartsStatistics.tooltip.show = false;
// chartsStatistics.series[1].data[0].value = total;
chartsStatistics.series[2].data = data;
})
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/eventTypeAnalysis/assets/charts.js b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/eventTypeAnalysis/assets/charts.js
index 2ba09d97..ea705ef2 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/eventTypeAnalysis/assets/charts.js
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/components/eventTypeAnalysis/assets/charts.js
@@ -154,6 +154,14 @@ var options = {
width: 1,
},
},
+ tooltip: {
+ backgroundColor: "rgba(50,50,50,0)",
+ formatter: " ",
+ borderWidth: 0,
+ textStyle: {
+ textShadowColor: "rgba(50,50,50,0)",
+ },
+ },
axisTick: {
show: false,
},
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/dayTotal/assets/charts.js b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/dayTotal/assets/charts.js
index f458cd48..338b0b67 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/dayTotal/assets/charts.js
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/dayTotal/assets/charts.js
@@ -1,108 +1,107 @@
const sxnja = [
- 293.67, 493.44, 694.34, 894.5, 697.82, 895.09, 495.79, 497.49, 393.72, 293.52
- ];
- const minNumber = 0;
- const minArray = [];
- sxnja.map((value) => {
- minArray.push(parseFloat((value - minNumber).toFixed(2)))
- })
- console.log(minArray)
- let xaxisData = [
- ];
-
- var options = {
- title: {
+ 293.67, 493.44, 694.34, 894.5, 697.82, 895.09, 495.79, 497.49, 393.72, 293.52,
+];
+const minNumber = 0;
+const minArray = [];
+sxnja.map((value) => {
+ minArray.push(parseFloat((value - minNumber).toFixed(2)));
+});
+console.log(minArray);
+let xaxisData = [];
+
+var options = {
+ title: {
// text: '单位/%',
- top: '0%',
- left: '0%',
- textStyle: {
- fontSize: '10px',
- fontWeight: 300,
- color: '#B5C5D4',
- opacity: 0.8
- }
- },
- tooltip: {
- valueFormatter: function (value) {
- return (value + minNumber).toFixed(2);
- }
- },
- grid: {
- left: '1%',
- right: '0%',
- top: '16%',
- bottom: '5%',
- containLabel: true
- },
- xAxis: {
- type: 'category',
- data: xaxisData,
- axisLine: {
- show: true,
- lineStyle: {
- width: 1,
- color: '#545454'
- }
- },
- axisTick: {
- show: false
- },
- axisLabel: {
- color: '#B5C5D4',
- fontSize: '10px',
- interval: 0
- }
- },
- yAxis: [
- {
- // type: 'value',
- // min: function (value) {
- // return value.min*0.9;
- // },
- type: 'value',
- // max: yAxisMax,
- axisLine: {
- show: false,
- lineStyle: {
- width: 1,
- color: '#545454'
- }
- },
- splitLine: {
- show: true,
- lineStyle: {
- color: '#B2C2D3',
- opacity: 0.3,
- type: 'dotted'
- }
- },
- axisTick: {
- show: false
- },
- axisLabel: {
- color: '#B5C5D4',
- fontSize: '12px',
- formatter: (value) => {
- return value + minNumber
- }
- }
- }
- ],
- series: [
- {
+ top: "0%",
+ left: "0%",
+ textStyle: {
+ fontSize: "10px",
+ fontWeight: 300,
+ color: "#B5C5D4",
+ opacity: 0.8,
+ },
+ },
+ tooltip: {
+ valueFormatter: function (value) {
+ return value + minNumber;
+ },
+ },
+ grid: {
+ left: "1%",
+ right: "0%",
+ top: "16%",
+ bottom: "5%",
+ containLabel: true,
+ },
+ xAxis: {
+ type: "category",
+ data: xaxisData,
+ axisLine: {
+ show: true,
+ lineStyle: {
+ width: 1,
+ color: "#545454",
+ },
+ },
+ axisTick: {
+ show: false,
+ },
+ axisLabel: {
+ color: "#B5C5D4",
+ fontSize: "10px",
+ interval: 0,
+ },
+ },
+ yAxis: [
+ {
+ // type: 'value',
+ // min: function (value) {
+ // return value.min*0.9;
+ // },
+ type: "value",
+ // max: yAxisMax,
+ axisLine: {
+ show: false,
+ lineStyle: {
+ width: 1,
+ color: "#545454",
+ },
+ },
+ splitLine: {
+ show: true,
+ lineStyle: {
+ color: "#B2C2D3",
+ opacity: 0.3,
+ type: "dotted",
+ },
+ },
+ axisTick: {
+ show: false,
+ },
+ axisLabel: {
+ color: "#B5C5D4",
+ fontSize: "12px",
+ formatter: (value) => {
+ return value + minNumber;
+ },
+ },
+ },
+ ],
+ series: [
+ {
// name: '审限内结案率',
- data: minArray,
- type: 'pictorialBar',
- symbol: 'roundRect',
- symbolRepeat: true,
- symbolSize: [13, 4],
- // symbolOffset: symbolOffset,
- // barWidth:'40%',
- itemStyle: {
- color: '#20E7FF'
- }
- }
- ]
- };
+ data: minArray,
+ type: "pictorialBar",
+ symbol: "roundRect",
+ symbolRepeat: true,
+ symbolSize: [13, 4],
+ // symbolOffset: symbolOffset,
+ // barWidth:'40%',
+ itemStyle: {
+ color: "#20E7FF",
+ },
+ },
+ ],
+};
- export default options;
\ No newline at end of file
+export default options;
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/index.vue
index c7fe9881..e90bdd18 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/index.vue
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/index.vue
@@ -171,6 +171,7 @@ export default {
methods: {
selectProgress(item, index) {
this.selectId = index;
+ this.searchQuery()
},
onReset() {
this.area = '1';
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/railwayDay/assets/charts.js b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/railwayDay/assets/charts.js
index 95ace8f2..d7f83e96 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/railwayDay/assets/charts.js
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/railwayDay/assets/charts.js
@@ -1,133 +1,155 @@
-
/* 数据 */
-let nameList = ["大学城", "长清", "孝里", "安城", "平阴北", "平阴南", "东平", "梁山东", "嘉祥西"]; // 类别
+let nameList = [
+ "大学城",
+ "长清",
+ "孝里",
+ "安城",
+ "平阴北",
+ "平阴南",
+ "东平",
+ "梁山东",
+ "嘉祥西",
+]; // 类别
let valueList = [800, 520, 650, 950, 420, 600, 450, 720, 303]; // 人数
// var yList = [ "1000","800","轻度拥堵","基本畅通","畅通"]
/* 数据整合 */
const minNumber = 0;
let dataList = [];
nameList.map((item, index) => {
- if (index === 3) {
- dataList.push({
- name: item,
- value: valueList[index],
- itemStyle: {
- color: {
- type: 'linear',
- x: 0,
- y: 0,
- x2: 0,
- y2: 1,
- colorStops: [{
- offset: 0, color: '#0469FF' // 0% 处的颜色
- }, {
- offset: 1, color: '#699CFF' // 100% 处的颜色
- }],
- global: false // 缺省为 false
+ if (index === 3) {
+ dataList.push({
+ name: item,
+ value: valueList[index],
+ itemStyle: {
+ color: {
+ type: "linear",
+ x: 0,
+ y: 0,
+ x2: 0,
+ y2: 1,
+ colorStops: [
+ {
+ offset: 0,
+ color: "#0469FF", // 0% 处的颜色
+ },
+ {
+ offset: 1,
+ color: "#699CFF", // 100% 处的颜色
},
- borderRadius: 6
- },
- label: { show: false }
- })
- } else {
- dataList.push({
- name: item,
- value: valueList[index],
- itemStyle: {
- borderRadius: 6
- }
- })
- }
-})
+ ],
+ global: false, // 缺省为 false
+ },
+ borderRadius: 6,
+ },
+ label: { show: false },
+ });
+ } else {
+ dataList.push({
+ name: item,
+ value: valueList[index],
+ itemStyle: {
+ borderRadius: 6,
+ },
+ });
+ }
+});
var options = {
- grid: {
- top: '5%',//上边距
- right: '0',//右边距
- left: '0',//左边距
- bottom: "0%",//下边距
- containLabel: true,
- },
- tooltip: {
- valueFormatter: function (value) {
- return (value + minNumber).toFixed(2);
- }
+ grid: {
+ top: "5%", //上边距
+ right: "0", //右边距
+ left: "0", //左边距
+ bottom: "0%", //下边距
+ containLabel: true,
+ },
+ tooltip: {
+ valueFormatter: function (value) {
+ return value + minNumber;
},
- xAxis: {
- type: 'category',
- data: nameList,
- axisTick: {
- show: false //隐藏X轴刻度
- },
- axisLine: {
- lineStyle: {
- color: "rgba(49, 217, 255, 0.8)"
- }
- },
- axisLabel: {
- show: true,
- color: '#B6E6FF',
- fontSize: 8,
- fontFamily: 'Source Han Sans CN-Regular',
+ },
+ xAxis: {
+ type: "category",
+ data: nameList,
+ axisTick: {
+ show: false, //隐藏X轴刻度
+ },
+ axisLine: {
+ lineStyle: {
+ color: "rgba(49, 217, 255, 0.8)",
},
- },
- yAxis: [{
- type: 'value',
+ },
+ axisLabel: {
+ show: true,
+ color: "#B6E6FF",
+ fontSize: 8,
+ fontFamily: "Source Han Sans CN-Regular",
+ },
+ },
+ yAxis: [
+ {
+ type: "value",
name: "",
nameTextStyle: {
- color: '#B6E6FF',
- fontSize: 13,
- fontFamily: 'Source Han Sans CN-Regular',
- align: "left",
- verticalAlign: "center",
+ color: "#B6E6FF",
+ fontSize: 13,
+ fontFamily: "Source Han Sans CN-Regular",
+ align: "left",
+ verticalAlign: "center",
},
axisLabel: {
- fontSize: 13,
- color: '#B6E6FF',
- fontFamily: 'HarmonyOS Sans-Regular',
- // formatter:function(value,index){
- // return yList[index]
- // }
+ fontSize: 13,
+ color: "#B6E6FF",
+ fontFamily: "HarmonyOS Sans-Regular",
+ // formatter:function(value,index){
+ // return yList[index]
+ // }
},
axisLine: {
- show: false,
+ show: false,
},
axisTick: {
- show: false
+ show: false,
},
splitLine: {
- lineStyle: {
- color: 'rgba(49, 217, 255, 0.5)',
- }
+ lineStyle: {
+ color: "rgba(49, 217, 255, 0.5)",
+ },
},
- }],
- series: [{
- type: 'bar',
+ },
+ ],
+ series: [
+ {
+ type: "bar",
data: dataList,
z: 4,
itemStyle: {
- color: {
- type: 'linear',
- x: 0,
- y: 0,
- x2: 0,
- y2: 1,
- colorStops: [{
- offset: 0, color: '#0BA7DA' // 0% 处的颜色
- }, {
- offset: 1, color: '#61D8FF' // 100% 处的颜色
- }],
- global: false // 缺省为 false
- },
- borderRadius: [4, 4, 0, 0]
+ color: {
+ type: "linear",
+ x: 0,
+ y: 0,
+ x2: 0,
+ y2: 1,
+ colorStops: [
+ {
+ offset: 0,
+ color: "#0BA7DA", // 0% 处的颜色
+ },
+ {
+ offset: 1,
+ color: "#61D8FF", // 100% 处的颜色
+ },
+ ],
+ global: false, // 缺省为 false
+ },
+ borderRadius: [4, 4, 0, 0],
},
barWidth: 10,
label: {
- show: false,
- }
- },
- ]
-}
+ show: false,
+ },
+ },
+ ],
+};
export default options;