diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/index.vue
index 67d4a0be..6a77ffe0 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/index.vue
+++ b/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/index.vue
@@ -1,18 +1,11 @@
-
-
+
+
-
-
+
+
-
+
@@ -106,6 +88,10 @@ export default {
},
],
},
+ isShowLeft: {
+ type: Boolean,
+ default: true
+ }
},
data() {
return {
@@ -180,7 +166,7 @@ export default {
display: flex;
flex-direction: column;
- > p {
+ >p {
font-size: 12px;
color: #f4f4f4;
line-height: 24px;
@@ -212,7 +198,7 @@ export default {
display: flex;
gap: 9px;
- > div {
+ >div {
// flex: 1;
}
}
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/components/DeviceControlDialog.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/components/DeviceControlDialog.vue
index efaad632..93b1ef0b 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/components/DeviceControlDialog.vue
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/components/DeviceControlDialog.vue
@@ -38,7 +38,7 @@ export default {
props: {
visible: Boolean,
deviceId: String,
- id: String,
+ id: Number,
deviceType: String,
},
data() {
@@ -49,6 +49,9 @@ export default {
computed: {
modelVisible: {
get() {
+ if(this.visible){
+ console.log('id',id)
+ }
return this.visible;
},
set(val) {
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/index.vue
index 5a8efaf2..30a45fa7 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/index.vue
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/index.vue
@@ -164,18 +164,23 @@ export default {
handleClickTabs() { },
requestURL(functionId = 52, options = {}) {
return new Promise((resolve, reject) => {
- request
- .post(
- `business/device/functions/${this.dialogData.iotDeviceId}/${functionId}`,
- options
- )
- .then((result) => {
- if (result.code != 200) return reject();
- resolve(result.data[0]);
- })
- .catch((err) => {
- reject();
- });
+ if (!this.dialogData.iotDeviceId) {
+ reject();
+ } else {
+ request
+ .post(
+ `business/device/functions/${this.dialogData.iotDeviceId}/${functionId}`,
+ options
+ )
+ .then((result) => {
+ if (result.code != 200) return reject();
+ resolve(result.data[0]);
+ })
+ .catch((err) => {
+ reject();
+ });
+ }
+
});
},
},
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/dispatch/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/dispatch/index.vue
index 7a2b35b8..af94e2d9 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/dispatch/index.vue
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/dispatch/index.vue
@@ -9,51 +9,27 @@
刷新
-
+
-
+
-
-
+
+
@@ -104,7 +80,7 @@ export default {
this.initData();
},
methods: {
- onRefreshForm(){
+ onRefreshForm() {
this.searchData.pageNum = 1;
this.$refs.searchComp.handleResetForm();
},
@@ -205,8 +181,8 @@ export default {
display: flex;
// justify-content: flex-end;
justify-content: space-between;
- .refresh-btn {
- }
+
+ .refresh-btn {}
}
.body {
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/emergencyProcessManagement/commonPhrases/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/emergencyProcessManagement/commonPhrases/index.vue
index 4a8ade16..20e94a80 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/emergencyProcessManagement/commonPhrases/index.vue
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/emergencyProcessManagement/commonPhrases/index.vue
@@ -1,5 +1,5 @@
-