@@ -31,22 +31,22 @@
:height="380"
@current-change="handleCurrentChange"
>
-
+
{{ formatName(scope.row.startStationCode) }}
-
+
{{ scope.row.startTime }}
-
+
{{ formatName(scope.row.endStationCode) }}
-
+
{{ scope.row.endTime }}
@@ -55,12 +55,12 @@
- 编辑任务
+ {{$t('planMonitor.modifyTask')}}
- 增加任务
+ {{$t('planMonitor.addTask')}}
- 删除任务
- 确定
+ {{$t('planMonitor.deleteTask')}}
+ {{$t('global.confirm')}}
@@ -87,7 +87,7 @@ export default {
},
computed: {
title() {
- return '编辑计划车';
+ return this.$t('planMonitor.editPlanningTrain');
},
disabled() {
return !this.model.serviceNumber;
@@ -155,7 +155,7 @@ export default {
}
});
} else {
- this.$messageBox('请选择一条数据');
+ this.$messageBox(this.$t('tip.selectAPieceOfData'));
}
},
handleDeleteTask() {
@@ -169,7 +169,7 @@ export default {
}
});
} else {
- this.$messageBox('请选择一条数据');
+ this.$messageBox(this.$t('tip.selectAPieceOfData'));
}
},
handleConfirmAddTask(model) {
@@ -212,9 +212,9 @@ export default {
this.$emit('dispatchOperate', {
dialogName: 'openRunPlan', operate: 'loadRunPlanData', params: Object.assign({refresh: true}, this.$route.query)
});
- this.$message.success('创建计划成功');
+ this.$message.success(this.$t('tip.planCreationSuccessful'));
}).catch(() => {
- this.$messageBox('创建计划失败');
+ this.$messageBox(this.$t('tip.createPlanFailed'));
});
}
}