场景编制代码调整
This commit is contained in:
parent
08b9f2bde0
commit
7c865e969b
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-dialog v-dialogDrag title="场景列表" :visible.sync="dialogVisible" width="800px" center>
|
||||
<el-dialog v-dialogDrag title="场景列表" :visible.sync="dialogVisible" width="900px" center>
|
||||
<el-tabs v-model="activeName" type="card" style="height: 500px;">
|
||||
<el-tab-pane label="主场景列表" name="first">
|
||||
<el-table :data="mainSceneData" border :span-method="objectSpanMethod" stripe :cell-style="{padding: '8px 0'}">
|
||||
|
@ -147,7 +147,7 @@ export const operateEnum = {
|
||||
params:[
|
||||
{
|
||||
code:'open',
|
||||
name:'',
|
||||
name:'状态',
|
||||
result:[
|
||||
{data:true, name:'开', judge:'='},
|
||||
{data:false, name:'关', judge:'='}
|
||||
@ -155,13 +155,17 @@ export const operateEnum = {
|
||||
},
|
||||
{
|
||||
code:'right',
|
||||
name:'',
|
||||
name:' 方向',
|
||||
result:[
|
||||
{data:true, name:'左门', judge:'='},
|
||||
{data:false, name:'右门', judge:'='}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
Driver_Drive_Mode_Change:{
|
||||
code:'driveMode',
|
||||
name:'模式为'
|
||||
}
|
||||
},
|
||||
TrainWindow:{
|
||||
@ -284,7 +288,6 @@ function covertDeviceName(deviceInfo, deviceType) {
|
||||
function covertOperation(deviceType, operationParamMap, operationType) {
|
||||
let deviceName = '【';
|
||||
let paramName = '';
|
||||
// debugger;
|
||||
if (operateEnum[deviceType].code) {
|
||||
const deviceInfo = operationParamMap[operateEnum[deviceType].code];
|
||||
if (deviceInfo) {
|
||||
|
Loading…
Reference in New Issue
Block a user