diff --git a/src/scripts/ConstConfig.js b/src/scripts/ConstConfig.js index 2d3e573b4..e7127cac3 100644 --- a/src/scripts/ConstConfig.js +++ b/src/scripts/ConstConfig.js @@ -287,7 +287,7 @@ export default { { label: '区段', value: 'Section' }, { label: '道岔', value: 'Switch' }, { label: '信号机', value: 'Signal' }, - { label: '站台', value: 'Stand' }, + { label: '站台', value: 'StationStand' }, // Stand { label: '车站', value: 'Station' }, {label:'进路', value:'Route'}, { label: '列车', value: 'Train' } diff --git a/src/views/trainingManage/demonMenu.vue b/src/views/trainingManage/demonMenu.vue index c1cb513d0..69ecaf11c 100644 --- a/src/views/trainingManage/demonMenu.vue +++ b/src/views/trainingManage/demonMenu.vue @@ -9,7 +9,7 @@ - + @@ -76,6 +76,9 @@ export default { editConditionFn(data, index, key) { this.$refs.editDetails.editConditionFn(data, index, key); }, + backStep() { + this.$refs.editDetails.backStep(); + }, handleCondition(index, row, key) { this.$refs.editCondition.doShow(row[key], index, key); }, diff --git a/src/views/trainingManage/editCondition.vue b/src/views/trainingManage/editCondition.vue index 1ba2dd3a9..2140adde4 100644 --- a/src/views/trainingManage/editCondition.vue +++ b/src/views/trainingManage/editCondition.vue @@ -6,61 +6,47 @@ - - - - {{ getConditionName(scope.row.t) }} - - - - - - - - - - - - {{ getValueName(scope.row.valuables, 0) }} - 编辑 - - - - - {{ getValueName(scope.row.valuables, 1) }} - 编辑 - - - - - 删除 - - - + + + + + + + + 空 + + + + + + + + 新增条件关系 + 删除条件关系 + 清空条件关系 + + 保存 取消 + 返回步骤列表 - diff --git a/src/views/trainingManage/expressionValue.vue b/src/views/trainingManage/expressionValue.vue new file mode 100644 index 000000000..1dfc55c80 --- /dev/null +++ b/src/views/trainingManage/expressionValue.vue @@ -0,0 +1,133 @@ + + + + {{ valueObj.v }} + + + 设备{{ valueObj.elementCode }} + 的 + 属性{{ valueObj.filedName }} + + + + ( + + ?? + + + + + + + + {{ getOperatorName(valueObj.operator) }} + + + ?? + + ) + + + + + + +