diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RemoteMachine/components/DeviceParams.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RemoteMachine/components/DeviceParams.vue index dc8d4b51..3886a99c 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RemoteMachine/components/DeviceParams.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/RemoteMachine/components/DeviceParams.vue @@ -65,7 +65,7 @@ export default { for (const key in deviceInfo.formatValue) { // electricity 电流 // voltage 电压 - if (key.includes('electricity')) { + if (key.includes('voltage')) { const args = key.match(/[a-z]+|[0-9]+$/g); const type = args[0], num = args.slice(-1)[0], prefix = args.slice(0, 2).join('_'); @@ -80,7 +80,7 @@ export default { { label: '电流', key: `${prefix}_electricity_${num}`, - text: deviceInfo.formatValue[key], + text: deviceInfo.formatValue[`${prefix}_electricity_${num}`], gridColumn: 2, state: deviceInfo.value[key] > 0 } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/SmartDevice/components/DeviceParams.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/SmartDevice/components/DeviceParams.vue index dc8d4b51..3886a99c 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/SmartDevice/components/DeviceParams.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/SmartDevice/components/DeviceParams.vue @@ -65,7 +65,7 @@ export default { for (const key in deviceInfo.formatValue) { // electricity 电流 // voltage 电压 - if (key.includes('electricity')) { + if (key.includes('voltage')) { const args = key.match(/[a-z]+|[0-9]+$/g); const type = args[0], num = args.slice(-1)[0], prefix = args.slice(0, 2).join('_'); @@ -80,7 +80,7 @@ export default { { label: '电流', key: `${prefix}_electricity_${num}`, - text: deviceInfo.formatValue[key], + text: deviceInfo.formatValue[`${prefix}_electricity_${num}`], gridColumn: 2, state: deviceInfo.value[key] > 0 } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DeviceControl/components/ScopeTable.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DeviceControl/components/ScopeTable.vue index acf49709..9b84a6b8 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DeviceControl/components/ScopeTable.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DeviceControl/components/ScopeTable.vue @@ -4,10 +4,11 @@ + style="width: 123px;"> + @@ -302,9 +303,7 @@ export default { watch: { 'tableInfo.deviceType': { async handler(newValue) { - console.log('aaaaaaaaaaaaaaaaaa', newValue) await this.loadData(newValue); - console.log('bbbbbbbbbbb', this.sbOptions) }, immediate: true, } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DeviceControl/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DeviceControl/index.vue index 95953434..4d5ee9d0 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DeviceControl/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DeviceControl/index.vue @@ -186,7 +186,8 @@ export default { } .container { - height: 500px; + flex:1; + min-height: 300px; overflow-y: auto; .rowBlock { @@ -199,13 +200,11 @@ export default { .foot { display: flex; + height:'100px'; justify-content: space-evenly; margin-top: 10px; - - .special-button { width: 100px; - .icon { background-repeat: no-repeat; background-size: 100% 100%; diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/EventInformation/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/EventInformation/index.vue index 019cf6ac..bf2e3190 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/EventInformation/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/EventInformation/index.vue @@ -38,7 +38,7 @@ {{ detailData.eventLevel ? `${ - detailData.eventCause + + (detailData.eventCause||'') + ["", "一", "二", "三", "四", "五"][detailData.eventLevel] }级事件` : "暂无事件等级" diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/ReleaseInformation/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/ReleaseInformation/index.vue index 9dc4f38c..82c622b6 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/ReleaseInformation/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/ReleaseInformation/index.vue @@ -111,7 +111,7 @@ export default { data: {eventId: this.detailData.id}, }) .then((result) => { - console.log(result,'信息发布:eventPublishChannels') + // console.log(result,'信息发布:eventPublishChannels') }) }, 500); diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/index.vue index b0f2b73f..0ca7df3e 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/index.vue @@ -23,14 +23,14 @@ const components = files.keys().reduce((components, key) => { }, {}); const originGridArea = { - EventInformation: "1 / 1 / span 12 / 1", // 事件信息(左1) - DispatchLiaison: "13 / 1 / span 8 / 2", // 调度联络(左2)13 / 1 / span 11 / 2 - TrafficControl: "21 / 1 / span 13 / 2", //交通管制(左3)24 / 1 / span 10 / 2 + EventInformation: "1 / 1 / span 11 / 1", // 事件信息(左1) + DispatchLiaison: "12 / 1 / span 7 / 2", // 调度联络(左2)13 / 1 / span 11 / 2 + ReleaseInformation: "19 / 1/ span 9 / 2", //信息发布(左3) + TrafficControl: "29 / 1 / span 5 / 2", //交通管制(左4)24 / 1 / span 10 / 2 CrowdnessIndicatorRankings: "1 / 2 / span 12 / 2", //地图 / 拥挤指数排名情况(中1) DisposalProcess: "13 / 2 / span 21 / 2", //处置过程(中2) RealTimeVideo: "1 / 3 / span 9 / 3", //实时视频(右1) - ReleaseInformation: "10 / 3 / span 7 / 3", //信息发布(右2) - DeviceControl: "17 / 3 / span 17 / 3", //设备管控(右3) + DeviceControl: "10 / 3 / span 24 / 3", //设备管控(右3) // DisposalPlan: "17 / 1 / span 9 / 2", //处置预案(作废) }; @@ -40,10 +40,7 @@ export default { ...components, }, props: { - // detailId: { - // type: [String, Number], - // default: "162cb8824ea141f3a96a74ad81c22796", - // }, + }, provide() { return { @@ -90,11 +87,13 @@ export default { ) { const gridArea = { ...originGridArea }; // 第一列变化 - gridArea["DispatchLiaison"] = "13 / 1 / span 21 / 2"; - delete gridArea.TrafficControl; + gridArea["DispatchLiaison"] = "12 / 1 / span 13 / 2"; + gridArea["ReleaseInformation"] = "25 / 1 / span 9 / 2"; + delete gridArea.TrafficControl; //交通管制(左4)24 + if (["设备设施隐患", "非法上路"].includes(result.data.eventName)) { // 第三列变化 - gridArea["RealTimeVideo"] = "1 / 3 / span 16 / 3"; + gridArea["DispatchLiaison"] = "12 / 1 / span 22 / 2"; delete gridArea.ReleaseInformation; } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/addAndEditDialog/ScopeTable.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/addAndEditDialog/ScopeTable.vue index f2c6db75..d6ba395a 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/addAndEditDialog/ScopeTable.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/addAndEditDialog/ScopeTable.vue @@ -287,7 +287,6 @@ export default { watch: { 'tableInfo.deviceType': { async handler(newValue) { - console.log('aaaaaaaaaaaaaaaaaa', newValue) let loadData = await this.loadData(newValue); // console.log('aa', loadData) this.sbOptions = []; diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/manage/data.js b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/manage/data.js new file mode 100644 index 00000000..00caefa4 --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/manage/data.js @@ -0,0 +1,28 @@ +// import * as PresetFormItems from "@screen/pages/control/event/event/FormEvent/PresetFormItems.js"; +import * as PresetFormItems from "@screen/common/PresetFormItems.js"; +// import { merge, cloneDeep } from "lodash"; + +import {directionOptions} from '@screen/utils/enum.js'; +export const searchFormList = [ + + { + label: "设备名称:", + key: "deviceName", + type: "input", + default: "" + }, + { + label: "物联编号:", + key: "iotDeviceId", + type: "input", + default: "" + }, { + label: "设备方向:", + key: "direction", + type: "select", + options: { + options: directionOptions, + }, + }, + +]; diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/manage/images/refresh.svg b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/manage/images/refresh.svg new file mode 100644 index 00000000..e31a5500 --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/manage/images/refresh.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/manage/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/manage/index.vue index a609e984..a950e12d 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/manage/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/manage/index.vue @@ -1,33 +1,468 @@ diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/record/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/record/index.vue index cfe0df0f..0609ad9f 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/record/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/record/index.vue @@ -33,6 +33,12 @@ + + +