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 6ec632b5..5a8efaf2 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 @@ -36,7 +36,7 @@ import Video from "@screen/components/Video"; import request from "@/utils/request"; import { delay } from "@screen/utils/common.js"; import { handle3CResult } from "@screen/utils/deviceControl.js"; -import { controlModelMap, gzztMap } from "@screen/utils/enum.js"; +import { inducerModeDic, inducerWorkTypeDic } from "@screen/utils/enum.js"; import { find, assign } from "lodash"; import { dialogDelayVisible } from "./../mixin"; import LineChart from "../../LineChart/index.vue"; @@ -154,11 +154,11 @@ export default { methods: { updateFormData(formData) { formData.workMode && - this.$set(this.data, "workMode", controlModelMap[formData.workMode]); //(this.data.workMode = controlModelMap[formData.controlType]); + this.$set(this.data, "workMode", inducerModeDic[formData.workMode]); //(this.data.workMode = inducerModeDic[formData.controlType]); formData.inWorkStatus && - this.$set(this.data, "inWorkStatus", gzztMap[formData.inWorkStatus]); //(this.data.inWorkStatus = gzztMap[formData.inWorkStatus]); + this.$set(this.data, "inWorkStatus", inducerWorkTypeDic[formData.inWorkStatus]); //(this.data.inWorkStatus = inducerWorkTypeDic[formData.inWorkStatus]); formData.onWorkStatus && - this.$set(this.data, "onWorkStatus", gzztMap[formData.onWorkStatus]); //(this.data.onWorkStatus = gzztMap[formData.onWorkStatus]); + this.$set(this.data, "onWorkStatus", inducerWorkTypeDic[formData.onWorkStatus]); //(this.data.onWorkStatus = inducerWorkTypeDic[formData.onWorkStatus]); }, handleClickTabs() { }, diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/device/strategy/components/TaskItem.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/device/strategy/components/TaskItem.vue index f44e8f07..3a88af8e 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/device/strategy/components/TaskItem.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/device/strategy/components/TaskItem.vue @@ -22,28 +22,31 @@
- 修改 - 删除 + + + +
@@ -55,7 +58,7 @@