-
-
附近相机
-

-

+
+
附近相机
+

+

+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
- {{ item.title }}:
- {{ item.value }}
-
-
-
-
+
@@ -140,7 +140,10 @@ export default {
},
methods: {
controlClick: throttle(function (type) {
- controlCamera(this.dialogData.iotDeviceId, type, false);
+ // console.log(this.dialogData, "dialogData")
+ if (this.dialogData.deviceState != "0")
+ controlCamera(this.dialogData.iotDeviceId, type, false);
+ else this.$message.info("设备离线, 无法操作")
}, 150),
visibleClose(bool) {
if (bool) return;
From 36e1911ab257b6611baaa6fcc7914da535be9b15 Mon Sep 17 00:00:00 2001
From: qingzhengli <1204552371@qq.com>
Date: Fri, 22 Mar 2024 19:42:17 +0800
Subject: [PATCH 07/11] =?UTF-8?q?feat=20=20=E6=83=85=E6=8A=A5=E6=9D=BF?=
=?UTF-8?q?=E9=99=84=E8=BF=91=E7=9B=B8=E6=9C=BA=20=E5=A2=9E=E5=8A=A0?=
=?UTF-8?q?=E7=A6=BB=E7=BA=BF=E5=88=A4=E6=96=AD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../views/JiHeExpressway/components/CameraShower/index.vue | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/CameraShower/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/CameraShower/index.vue
index 92f9b93f..bcca3e9b 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/components/CameraShower/index.vue
+++ b/ruoyi-ui/src/views/JiHeExpressway/components/CameraShower/index.vue
@@ -118,7 +118,9 @@ export default {
},
methods: {
controlClick: throttle(function (type) {
- controlCamera(this.selectedCamera.camId, type, false);
+ if (this.selectedCamera.deviceState != "0")
+ controlCamera(this.selectedCamera.camId, type, false);
+ else this.$message.info("设备离线, 无法操作")
}, 150),
onClose() {
this.$emit("update:visible", false)
@@ -138,6 +140,7 @@ export default {
const deviceInfo = (await getDeviceInfo(this.selectedCamera.camId))?.[0] || {};
const childType = deviceInfo.childType;
this.$set(this.selectedCamera, 'childType', childType);
+ this.$set(this.selectedCamera, 'deviceState', deviceInfo.deviceState);
let cmr = this.selectedCamera;
this.cameraInfo = [
{ title: "道路名称", value: cmr.deptName },
From 5f2f9f8473847354aee8d29c2452261b87e7a3e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=88=98=E6=9C=8B?=
Date: Fri, 22 Mar 2024 19:46:52 +0800
Subject: [PATCH 08/11] =?UTF-8?q?=E5=80=BC=E7=8F=AD=E4=BA=BA=E5=91=98?=
=?UTF-8?q?=E6=9B=B4=E6=8D=A2=E6=8E=A5=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../dutyOfficer/components/ModifyDutyInformationTable.vue | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/dutyOfficer/components/ModifyDutyInformationTable.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/dutyOfficer/components/ModifyDutyInformationTable.vue
index c979f600..27befccc 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/dutyOfficer/components/ModifyDutyInformationTable.vue
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/dutyOfficer/components/ModifyDutyInformationTable.vue
@@ -189,7 +189,7 @@ export default {
const closeMessage = loadingMessage({ message: "人员获取中..." });
request({
- url: `/business/employees/list`,
+ url: `/business/employees/listAll`,
method: "GET",
params: {
organizationId: stationId,
@@ -197,11 +197,11 @@ export default {
})
.then((result) => {
if (result.code != 200) return Message.error("人员获取失败");
- if (!result.rows?.length) return Message.warning("该驻点下暂无人员");
+ if (!result.data?.length) return Message.warning("该驻点下暂无人员");
// Message.success("人员获取成功")
- this.peopleList = result.rows;
+ this.peopleList = result.data;
})
.catch((err) => {
Message.error("人员获取失败");
From 38c43948a5459250a9c9ec84ce47a3a6be06bff3 Mon Sep 17 00:00:00 2001
From: zhoule
Date: Fri, 22 Mar 2024 20:06:42 +0800
Subject: [PATCH 09/11] =?UTF-8?q?=E6=84=9F=E7=9F=A5=E4=BA=8B=E4=BB=B6?=
=?UTF-8?q?=E7=B1=BB=E5=9E=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../eventPlanDialog/index.vue | 33 +-
.../EventDetailDialog/formTable/index.vue | 16 +-
.../EventDetailDialog/qbbDialog/index.vue | 22 +-
.../components/eventQuery/index.vue | 434 +++++++-----------
.../components/typeAnalysis/index.vue | 23 +-
5 files changed, 232 insertions(+), 296 deletions(-)
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/eventPlanDialog/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/eventPlanDialog/index.vue
index 9812d198..70e04ddf 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/eventPlanDialog/index.vue
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/eventPlanDialog/index.vue
@@ -96,6 +96,7 @@ export default {
qbb: ''
}],
planName: '',
+ automaticInfo: {},
dcExecuteAction: [],
deviceData: [],
eventOptions: [
@@ -252,16 +253,32 @@ export default {
return this.deviceData;
},
async getTemplateAutomatic() {
- request({
- url: `/business/plans/event/automatic`,
+ let url = '';
+ let data = {};
+ let plan = this.info.find(it => it.planName == this.planName);
+ if (this.activeName == '-1') {//感知
+ url = '/business/plans/warning/confirm';
+ data = {
+ dcEmergencyPlans: plan,
+ dcWarning: this.eventFormData
+ }
+ } else {//交通
+ url = '/business/plans/event/automatic';
+ data = {
+ dcEmergencyPlans: plan,
+ dcEvent: this.eventFormData
+ }
+ }
+ const result = await request({
+ url: url,
method: "post",
- }).then((result) => {
- if (result.code != 200) return Message.error(result?.msg);
- this.sbOptions = result.data;
-
- }).catch(() => {
- Message.error("查询可变信息标识失败");
+ data: data
})
+ if (result.code != 200) {
+ Message.error(result?.msg);
+ return {};
+ }
+ return result.data;
},
changeRadio(value) {
let plan = this.info.find(it => it.planName == value);
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/formTable/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/formTable/index.vue
index c71effe3..1733abc2 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/formTable/index.vue
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/formTable/index.vue
@@ -87,7 +87,8 @@
-
+