Browse Source

消除bug

wangqin
hui 7 months ago
parent
commit
541d3a78c4
  1. 3
      ruoyi-ui/src/views/JiHeExpressway/pages/control/device/strategy/components/TaskItem.vue
  2. 6
      ruoyi-ui/src/views/JiHeExpressway/pages/control/device/strategy/components/taskEditDialog.vue
  3. 15
      ruoyi-ui/src/views/JiHeExpressway/utils/enum.js

3
ruoyi-ui/src/views/JiHeExpressway/pages/control/device/strategy/components/TaskItem.vue

@ -3,7 +3,8 @@
<div class="flex">
<div>
{{ data }}
任务内容
<!-- {{ data }} -->
</div>
<el-form-item>
<el-button size="mini" type="primary" @click="onModify">修改</el-button>

6
ruoyi-ui/src/views/JiHeExpressway/pages/control/device/strategy/components/taskEditDialog.vue

@ -223,9 +223,9 @@ export default {
this.editData.type2 = data.data;
},
onSubmit(){
let this.boardDataTransform();
let devices =
let data = {devices, functions }
// this.boardDataTransform();
// let devices =
// let data = {devices, functions }
console.log(this.editData , "编辑出来的数据");
},
onChange() {

15
ruoyi-ui/src/views/JiHeExpressway/utils/enum.js

@ -163,21 +163,6 @@ export const WarningType = {
99: "其他事件",
};
// 交通事件主类
export const trafficType = {
1: "交通事故",
2: "车辆故障",
3: "交通管制",
4: "交通拥堵",
5: "非法上路",
6: "路障清除",
7: "施工建设",
8: "服务区异常",
9: "设施设备隐患",
10: "异常天气",
11: "其他事件",
};
//设备Options
export const deviceTypeOptions = [
{

Loading…
Cancel
Save