实训操作类型筛选调整
This commit is contained in:
parent
df0d560df8
commit
5bd90ea0d1
@ -200,8 +200,8 @@ export default {
|
||||
for ( val in CMD['Station']) {
|
||||
this.trainingOperateTypeMap['Station'].push(CMD['Station'][val]);
|
||||
}
|
||||
for ( val in CMD['Station']) {
|
||||
this.trainingOperateTypeMap['ControlConvertMenu'].push(CMD['Station'][val]);
|
||||
for ( val in CMD['ControlConvertMenu']) {
|
||||
this.trainingOperateTypeMap['ControlConvertMenu'].push(CMD['ControlConvertMenu'][val]);
|
||||
}
|
||||
for ( val in CMD['Train']) {
|
||||
this.trainingOperateTypeMap['TrainWindow'].push(CMD['Train'][val]);
|
||||
@ -228,7 +228,7 @@ export default {
|
||||
if (res && res.code === 200) {
|
||||
res.data.forEach(item => {
|
||||
this.trainingOperateTypeMap[item.operateObject].forEach(ele => {
|
||||
if (ele.value === item.operate) {
|
||||
if (ele.value == item.operate) {
|
||||
operateTypeMap[item.operateObject].push(ele);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user