diff --git a/ruoyi-ui/src/api/MonthlyEquipment/index.js b/ruoyi-ui/src/api/MonthlyEquipment/index.js
index bb6cc820..9921dfbb 100644
--- a/ruoyi-ui/src/api/MonthlyEquipment/index.js
+++ b/ruoyi-ui/src/api/MonthlyEquipment/index.js
@@ -1,49 +1,55 @@
-import request from '@/utils/request'
-import { download } from '../../utils/request'
+import request from "@/utils/request";
+import { download } from "../../utils/request";
// 全景数据 - 运行环境接口
-
// 设备状态柱状图按时间和类型
export function getSystemStatusList(query) {
- return request({
- url: '/system/status/list',
- method: 'get',
- params: {
- ...query,
- }
- })
- }
-
- //设备状态列表按时间和类型
- export function getSystemStatusTabList(query) {
- //system/status/tablist
- return request({
- url: '/system/status/tablist',
- method: 'get',
- params: {
- ...query,
- }
- })
- }
+ return request({
+ url: "/system/status/list",
+ method: "get",
+ params: {
+ ...query,
+ },
+ });
+}
+//设备状态列表按时间和类型
+export function getSystemStatusTabList(query) {
+ //system/status/tablist
+ return request({
+ url: "/system/status/tablist",
+ method: "get",
+ params: {
+ ...query,
+ },
+ });
+}
- //设备状态列表按类型
- export function getSystemStatusType() {
- //system/status/tablist
- return request({
- url: '/system/status/type',
- method: 'get',
- params: {
- // ...query,
- }
- })
- }
- //system/status/type
+//设备状态列表按类型
+export function getSystemStatusType() {
+ //system/status/tablist
+ return request({
+ url: "/system/status/type",
+ method: "get",
+ });
+}
+//system/status/type
- //设备状态列表按类型
- export function getSystemStatusExport(query) {
- //system/status/export
- //return download('/system/status/export',query,"file.xlsx");
- return request.post('/system/status/export?startTime='+query.startTime+"&time="+ query.time +"&type="+query.type,{},{ headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
- responseType: 'blob'})
- }
\ No newline at end of file
+//设备状态列表按类型
+export function getSystemStatusExport(query) {
+ //system/status/export
+ //return download('/system/status/export',query,"file.xlsx");
+ return request.post(
+ "/system/status/export?startTime=" +
+ query.startTime +
+ "&time=" +
+ query.time +
+ "&type=" +
+ query.type,
+ {},
+ {
+ headers: { "Content-Type": "application/x-www-form-urlencoded" },
+ responseType: "blob",
+ }
+ );
+}
diff --git a/ruoyi-ui/src/common/menuData.js b/ruoyi-ui/src/common/menuData.js
index 21d94eb8..3e788ba5 100644
--- a/ruoyi-ui/src/common/menuData.js
+++ b/ruoyi-ui/src/common/menuData.js
@@ -64,6 +64,12 @@ export default [
name: "controlEventEvent",
component: "control/event/event/index.vue",
},
+ {
+ title: "事件预案",
+ path: "/control/event/plan",
+ name: "controlEventPlam",
+ component: "control/event/plan/index.vue",
+ },
{
title: "协调调度记录",
path: "/control/event/coordinateSchedulingRecords",
diff --git a/ruoyi-ui/src/layout/index.vue b/ruoyi-ui/src/layout/index.vue
index fe8f9720..8a009c49 100644
--- a/ruoyi-ui/src/layout/index.vue
+++ b/ruoyi-ui/src/layout/index.vue
@@ -274,8 +274,6 @@ export default {
},
},
created() {
- console.log(this.titleHeader, "this.titleHeader");
- console.log(this.$route.path, "路由");
if (this.$route.path == "/tunnel") {
if (
this.sideTheme == "theme-blue" ||
diff --git a/ruoyi-ui/src/router/routerCreater.js b/ruoyi-ui/src/router/routerCreater.js
index 75122681..c912b31d 100644
--- a/ruoyi-ui/src/router/routerCreater.js
+++ b/ruoyi-ui/src/router/routerCreater.js
@@ -34,7 +34,7 @@ function processNode(node) {
path: item.path || "",
title: item.title,
name: item.name,
- meta: { menuId : prev + "_" + ids.join("-") }
+ meta: { menuId : prev + "_" + ids.join("-"), title : item.title}
};
if (item.redirect) {
diff --git a/ruoyi-ui/src/store/index.js b/ruoyi-ui/src/store/index.js
index f6f93335..72a61d40 100644
--- a/ruoyi-ui/src/store/index.js
+++ b/ruoyi-ui/src/store/index.js
@@ -9,6 +9,7 @@ import settings from './modules/settings'
import wsData from './modules/wsData'
import getters from './getters'
import manage from './modules/manage'
+import menu from './modules/menu'
Vue.use(Vuex)
@@ -21,7 +22,8 @@ const store = new Vuex.Store({
permission,
settings,
wsData,
- manage
+ manage,
+ menu,
},
getters
})
diff --git a/ruoyi-ui/src/store/modules/menu.js b/ruoyi-ui/src/store/modules/menu.js
new file mode 100644
index 00000000..7e6c0b2b
--- /dev/null
+++ b/ruoyi-ui/src/store/modules/menu.js
@@ -0,0 +1,22 @@
+const state = {
+ recentPages: []
+ }
+
+ const mutations = {
+
+ addRecent(state, item) {
+ if (state.recentPages.find(unit => unit.path == item.path)) return;
+ state.recentPages.push(item);
+ },
+ removeRecent(state, item) {
+ let i = state.recentPages.findIndex(unit => unit.path == item.path);
+ state.recentPages.splice(i, 1);
+ }
+
+ }
+
+ export default {
+ namespaced: true,
+ state,
+ mutations,
+ }
\ No newline at end of file
diff --git a/ruoyi-ui/src/views/JiHeExpressway/common/PresetFormItems.js b/ruoyi-ui/src/views/JiHeExpressway/common/PresetFormItems.js
index 0b94fd25..2db40659 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/common/PresetFormItems.js
+++ b/ruoyi-ui/src/views/JiHeExpressway/common/PresetFormItems.js
@@ -132,11 +132,12 @@ export const startStation = {
},
},
key: "startStakeMark[0]",
+ default:55,
rules: [
{
message: "请补全桩号",
callback(value, data) {
- if (!value?.trim() && data.startStakeMark[1]?.trim()) return false
+ if (!((value+'')?.trim() && data.startStakeMark[1]?.trim())) return false
else return true
}
}
@@ -149,6 +150,7 @@ export const startStation = {
color: "#3DE8FF",
},
},
+ default: 378,
key: "startStakeMark[1]"
},
],
@@ -170,11 +172,12 @@ export const endStation = {
},
},
key: "endStakeMark[0]",
+ default: 208,
rules: [
{
message: "请补全桩号",
callback(value, data) {
- if (!value?.trim() && data.endStakeMark[1]?.trim()) return false
+ if (!((value + '')?.trim() && data.endStakeMark[1]?.trim())) return false
else return true
}
}
@@ -187,6 +190,7 @@ export const endStation = {
color: "#3DE8FF",
},
},
+ default: 153,
key: "endStakeMark[1]",
},
],
diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/index.vue
index 6d19fb8c..705e244a 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/index.vue
+++ b/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/index.vue
@@ -228,7 +228,6 @@ export default {
* @type {{ callback?: (value: any) => boolean; type?: "phone"; message: string; }[]}
*/
const rules = item.rules || [];
-
for (let index = 0; index < rules.length; index++) {
const rule = rules[index];
// 返回值 true 通过 false 异常
diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/HeaderMenu/CustomMenu.vue b/ruoyi-ui/src/views/JiHeExpressway/components/HeaderMenu/CustomMenu.vue
index cd711a52..40b01d2d 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/components/HeaderMenu/CustomMenu.vue
+++ b/ruoyi-ui/src/views/JiHeExpressway/components/HeaderMenu/CustomMenu.vue
@@ -79,6 +79,7 @@ export default {
}
}
this.$emit("onChange", node, key);
+ console.log(node , "菜单点击++========");
}
}
};
diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/HeaderMenu/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/HeaderMenu/index.vue
index 0282c440..6cc6e7ed 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/components/HeaderMenu/index.vue
+++ b/ruoyi-ui/src/views/JiHeExpressway/components/HeaderMenu/index.vue
@@ -1,28 +1,29 @@
-
-
\ No newline at end of file
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/data.js b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/data.js
new file mode 100644
index 00000000..d9eeb945
--- /dev/null
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/data.js
@@ -0,0 +1,79 @@
+import * as PresetFormItems from "@screen/pages/control/event/event/FormEvent/PresetFormItems.js";
+import { merge, cloneDeep } from "lodash";
+
+export const searchFormList = [
+ {
+ label: "事件状态:",
+ key: "eventState",
+ type: "RadioGroup",
+ options: {
+ options: [
+ {
+ key: "0",
+ label: "未解决",
+ },
+ {
+ key: "1",
+ label: "已解决",
+ },
+ {
+ key: "2",
+ label: "已关闭",
+ },
+ ],
+ },
+ },
+ PresetFormItems.eventSources,
+ PresetFormItems.eventType,
+ {
+ label: "方向:",
+ key: "direction",
+ type: "RadioGroup",
+ options: {
+ options: [
+ {
+ key: "济南方向",
+ label: "济南方向",
+ },
+ {
+ key: "菏泽方向",
+ label: "菏泽方向",
+ },
+ {
+ key: "双向",
+ label: "双向",
+ },
+ ],
+ },
+ },
+ {
+ label: "时间范围:",
+ key: "daterange",
+ required: false,
+ type: "datePicker",
+ options: {
+ type: "daterange",
+ format: "yyyy-MM-dd HH:mm:ss",
+ valueFormat: "yyyy-MM-dd HH:mm:ss",
+ },
+ },
+ {
+ ...PresetFormItems.station,
+ label: "开始桩号:",
+ required: false,
+ },
+ merge(cloneDeep(PresetFormItems.station), {
+ options: {
+ options: [
+ {
+ key: "endStakeMark[0]",
+ },
+ {
+ key: "endStakeMark[1]",
+ },
+ ],
+ },
+ label: "结束桩号:",
+ required: false,
+ }),
+];
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/formTable/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/formTable/index.vue
new file mode 100644
index 00000000..119ccd7f
--- /dev/null
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/formTable/index.vue
@@ -0,0 +1,343 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 个
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/images/refresh.svg b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/images/refresh.svg
new file mode 100644
index 00000000..e31a5500
--- /dev/null
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/images/refresh.svg
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/index.vue
new file mode 100644
index 00000000..5ec17711
--- /dev/null
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/index.vue
@@ -0,0 +1,222 @@
+
+
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+ 刷新
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/developing.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/developing.vue
index 5475e802..a609e984 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/pages/developing.vue
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/developing.vue
@@ -11,7 +11,6 @@ export default {
components: {
},
mounted() {
- console.log(this.$route)
}
}
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/assets/charts.js b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/assets/charts.js
index ad0fdad3..5aaab11d 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/assets/charts.js
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/assets/charts.js
@@ -48,9 +48,7 @@ let options = {
},
yAxis: [
{
- min: 0,
- max: 100,
- type: "value",
+ type: "category",
minInterval: 20,
maxInterval: 20,
name: "",
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/data.js b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/data.js
index a7115be6..3d40280c 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/data.js
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/data.js
@@ -43,75 +43,75 @@ export const searchFormList = [
key: "type",
required: true,
type: "select",
- default: "1",
+ default: "1-1",
options: {
options: [
{
- value: "1",
+ value: "1-1",
label: "高清网络枪型固定摄像机",
},
{
- value: "2",
+ value: "1-2",
label: "高清网络球形摄像机",
},
{
- value: "3",
+ value: "1-3",
label: "桥下高清网络球形摄像机",
},
{
- value: "4",
+ value: "1-4",
label: "360°全景摄像机",
},
{
- value: "5",
+ value: "1-5",
label: "180°全景摄像机",
},
{
- value: "6",
+ value: "2-1",
label: "门架式可变信息标志",
},
{
- value: "7",
+ value: "2-3",
label: "雨棚可变信息标志",
},
{
- value: "8",
+ value: "2-4",
label: "站前悬臂式可变信息标志",
},
{
- value: "9",
+ value: "3",
label: "气象检测器",
},
{
- value: "10",
+ value: "5",
label: "路段语音广播系统",
},
{
- value: "11",
+ value: "6",
label: "护栏碰撞预警系统",
},
{
- value: "12",
+ value: "7",
label: "毫米波雷达",
},
{
- value: "13",
+ value: "8",
label: "合流区预警系统",
},
{
- value: "14",
+ value: "10",
label: "激光疲劳唤醒",
},
{
- value: "15",
+ value: "11",
label: "一类交通量调查站",
},
{
- value: "16",
+ value: "12",
label: "智能行车诱导系统",
},
{
- value: "17",
+ value: "13",
label: "智能设备箱",
},
],
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/index.vue
index 779e0763..48dba99f 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/index.vue
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/index.vue
@@ -80,23 +80,23 @@
- 高清网络枪型固定摄像机
- 高清网络球形摄像机
- 桥下高清网络球形摄像机
- 360°全景摄像机
- 180°全景摄像机
- 门架式可变信息标志
- 雨棚可变信息标志
- 站前悬臂式可变信息标志
- 气象检测器
- 路段语音广播系统
- 护栏碰撞预警系统
- 毫米波雷达
- 合流区预警系统
- 激光疲劳唤醒
- 一类交通量调查站
- 智能行车诱导系统
- 智能设备箱
+ 高清网络枪型固定摄像机
+ 高清网络球形摄像机
+ 桥下高清网络球形摄像机
+ 360°全景摄像机
+ 180°全景摄像机
+ 门架式可变信息标志
+ 雨棚可变信息标志
+ 站前悬臂式可变信息标志
+ 气象检测器
+ 路段语音广播系统
+ 护栏碰撞预警系统
+ 毫米波雷达
+ 合流区预警系统
+ 激光疲劳唤醒
+ 一类交通量调查站
+ 智能行车诱导系统
+ 智能设备箱
@@ -141,7 +141,7 @@ import {
getSystemStatusType,
getSystemStatusExport,
} from "../../../../../api/MonthlyEquipment";
-import { download } from "../../../../../utils/request.js";
+// import { download } from "../../../../../utils/request.js";
import Pagination from "@screen/components/Pagination.vue";
import InputSearch from "@screen/components/InputSearch/index.vue";
import { searchFormList } from "./data";
@@ -249,7 +249,7 @@ export default {
this.startTime = moment(data.time[0]).format("YYYY-MM-DD HH:mm:ss");
this.time = moment(data.time[1]).format("YYYY-MM-DD HH:mm:ss");
let typeText =
- this.searchFormList[1].options.options[this.typeQuery - 1].label;
+ this.searchFormList[1].options.options[this.typeQuery - 1]?.label;
this.searchText = `${moment(this.startTime).format(
"YYYY年MM月DD日"
)}-${moment(this.time).format("YYYY年MM月DD日")},${typeText}`;
@@ -327,6 +327,7 @@ export default {
}
}
this.equipments = allList;
+ console.log("Equipments", allList);
});
},
setStatus(id, status) {
@@ -413,7 +414,6 @@ export default {
},
},
async mounted() {
- console.log("__________________", searchFormList[0].default);
await this.initData();
},
};
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/PublishingChannelManagement/components/AddNEditDialog.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/PublishingChannelManagement/components/AddNEditDialog.vue
index ac61a401..7f75001e 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/PublishingChannelManagement/components/AddNEditDialog.vue
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/PublishingChannelManagement/components/AddNEditDialog.vue
@@ -1,24 +1,32 @@
-
-
+
+
-
+
取消
-
- 确定
-
+ 确定
-