Browse Source

行车诱导时间问题,设备箱温度湿度单位重复

develop
wangsixiang 1 week ago
parent
commit
b2f3d70304
  1. 2
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/components/DeviceControlDialog.vue
  2. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/SmartDevice/components/DeviceParams.vue
  3. 3
      ruoyi-ui/src/views/JiHeExpressway/utils/deviceControl.js

2
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/components/DeviceControlDialog.vue

@ -67,7 +67,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.DeviceControlDialog { .DeviceControlDialog {
width: 450px; width: 450px;
height: 210px; height: 250px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 15px; gap: 15px;

4
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/SmartDevice/components/DeviceParams.vue

@ -102,7 +102,7 @@ export default {
{ {
label: '温度', label: '温度',
key: `temperature`, key: `temperature`,
text: deviceInfo.formatValue['temperature'] ? `${deviceInfo.formatValue['temperature']} °C` : '-', text: deviceInfo.formatValue['temperature'] ? `${deviceInfo.formatValue['temperature']}` : '-',
gridColumn: 2 gridColumn: 2
}, },
{ {
@ -114,7 +114,7 @@ export default {
{ {
label: '湿度', label: '湿度',
key: `humidity`, key: `humidity`,
text: deviceInfo.formatValue['humidity'] ? `${deviceInfo.formatValue['humidity']} %` : '-', text: deviceInfo.formatValue['humidity'] ? `${deviceInfo.formatValue['humidity']}` : '-',
gridColumn: 2 gridColumn: 2
}, },
{ {

3
ruoyi-ui/src/views/JiHeExpressway/utils/deviceControl.js

@ -12,7 +12,8 @@ export async function handle3CResult(data, formData, requestURL) {
formData.inWorkStatus = data2.inWorkStatus; formData.inWorkStatus = data2.inWorkStatus;
if (data.mode === "01") if (data.mode === "01")
formData.displayTime = [data.startDisplay, data.endDisplay]; formData.startTime = data.startDisplay;
formData.endTime =data.endDisplay;
}) })
.catch(() => {}); .catch(() => {});
break; break;

Loading…
Cancel
Save