From 6951bf9f3ae5f8b1056cb8b9ae04ca0c33cbf3f2 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Fri, 9 Aug 2019 17:26:33 +0800 Subject: [PATCH 01/16] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E5=9B=BD=E9=99=85=E5=8C=96=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/langs/en/index.js | 4 +- src/i18n/langs/en/scriptRecord.js | 17 ++++ src/i18n/langs/zh/index.js | 4 +- src/i18n/langs/zh/scriptRecord.js | 17 ++++ src/views/display/scriptRecord/addAction.vue | 2 +- src/views/display/scriptRecord/getAction.vue | 52 ++++++----- .../display/scriptRecord/getBehavior.vue | 90 ++++++++++--------- .../scriptRecord/roleConditionScript.vue | 7 +- .../display/scriptRecord/roleSection.vue | 23 +++-- src/views/display/scriptRecord/taskScript.vue | 2 + src/views/display/tipScriptRecord.vue | 10 +-- 11 files changed, 137 insertions(+), 91 deletions(-) create mode 100644 src/i18n/langs/en/scriptRecord.js create mode 100644 src/i18n/langs/zh/scriptRecord.js diff --git a/src/i18n/langs/en/index.js b/src/i18n/langs/en/index.js index c6cb99f28..f6b0ed64b 100644 --- a/src/i18n/langs/en/index.js +++ b/src/i18n/langs/en/index.js @@ -5,6 +5,7 @@ import router from './router'; import lesson from './lesson'; import error from './error'; import rules from './rules'; +import scriptRecord from './scriptRecord'; export default { ...enLocale, @@ -13,5 +14,6 @@ export default { router, lesson, error, - rules + rules, + scriptRecord }; diff --git a/src/i18n/langs/en/scriptRecord.js b/src/i18n/langs/en/scriptRecord.js new file mode 100644 index 000000000..88dc72795 --- /dev/null +++ b/src/i18n/langs/en/scriptRecord.js @@ -0,0 +1,17 @@ +export default { + scriptTitle: "Task Recording", + saveMaplocation: "Update Location", + saveBackground: "Save Background", + saveData: "Save Data", + roleManage: "Role Manage", + targetCondition: "Task Target", + taskScript: "Task Script", + roleName: "Role Name", + roleType: "Role Type", + deviceCode: "Device Code", + roleList: "Role List", + operation:"Operation", + roleAdd: "Add", + delete: "Delete", + behaviorOperate: "Behavior Operate", +}; \ No newline at end of file diff --git a/src/i18n/langs/zh/index.js b/src/i18n/langs/zh/index.js index 8e88ffa56..1bc599e67 100644 --- a/src/i18n/langs/zh/index.js +++ b/src/i18n/langs/zh/index.js @@ -5,6 +5,7 @@ import router from './router'; import lesson from './lesson'; import error from './error'; import rules from './rules'; +import scriptRecord from './scriptRecord'; export default { ...cnLocale, @@ -13,5 +14,6 @@ export default { router, lesson, error, - rules + rules, + scriptRecord }; diff --git a/src/i18n/langs/zh/scriptRecord.js b/src/i18n/langs/zh/scriptRecord.js new file mode 100644 index 000000000..4a9cfbca2 --- /dev/null +++ b/src/i18n/langs/zh/scriptRecord.js @@ -0,0 +1,17 @@ +export default { + scriptTitle: "任务录制", + saveMaplocation: "更新定位", + saveBackground: "保存背景", + saveData: "保存数据", + roleManage:"角色管理", + targetCondition:"任务目标", + taskScript:"任务剧本", + roleName: "角色名称", + roleType: "角色类型", + deviceCode: "设备编码", + roleList: "角色列表", + operation: "操作", + roleAdd: "添加", + delete: "删除", + behaviorOperate: "行为操作", +}; \ No newline at end of file diff --git a/src/views/display/scriptRecord/addAction.vue b/src/views/display/scriptRecord/addAction.vue index 84b8d4261..de961d051 100644 --- a/src/views/display/scriptRecord/addAction.vue +++ b/src/views/display/scriptRecord/addAction.vue @@ -265,7 +265,7 @@ font-size: 15px; } .actionInfo{ - margin-top: 30px; + margin-top:20px; margin-left: 5px; font-size: 15px; width:98%; diff --git a/src/views/display/scriptRecord/getAction.vue b/src/views/display/scriptRecord/getAction.vue index 320b1b0ed..f68f4200c 100644 --- a/src/views/display/scriptRecord/getAction.vue +++ b/src/views/display/scriptRecord/getAction.vue @@ -1,30 +1,32 @@ \ No newline at end of file + diff --git a/src/views/planMonitor/editTool/menus/addTask.vue b/src/views/planMonitor/editTool/menus/addTask.vue index 7f0487536..088c65bf4 100644 --- a/src/views/planMonitor/editTool/menus/addTask.vue +++ b/src/views/planMonitor/editTool/menus/addTask.vue @@ -1,294 +1,311 @@ \ No newline at end of file + diff --git a/src/views/planMonitor/editTool/menus/createEmptyPlan.vue b/src/views/planMonitor/editTool/menus/createEmptyPlan.vue index 64ad3a8c5..cb6a04b30 100644 --- a/src/views/planMonitor/editTool/menus/createEmptyPlan.vue +++ b/src/views/planMonitor/editTool/menus/createEmptyPlan.vue @@ -1,79 +1,88 @@ \ No newline at end of file + diff --git a/src/views/planMonitor/editTool/menus/deleteTask.vue b/src/views/planMonitor/editTool/menus/deleteTask.vue index 84c149433..4b4b24f8f 100644 --- a/src/views/planMonitor/editTool/menus/deleteTask.vue +++ b/src/views/planMonitor/editTool/menus/deleteTask.vue @@ -1,84 +1,93 @@ \ No newline at end of file + diff --git a/src/views/planMonitor/editTool/menus/duplicateTrain.vue b/src/views/planMonitor/editTool/menus/duplicateTrain.vue index 4f22bb19b..4aa6fe42d 100644 --- a/src/views/planMonitor/editTool/menus/duplicateTrain.vue +++ b/src/views/planMonitor/editTool/menus/duplicateTrain.vue @@ -1,82 +1,91 @@ \ No newline at end of file + diff --git a/src/views/planMonitor/editTool/menus/editPlanningTrain.vue b/src/views/planMonitor/editTool/menus/editPlanningTrain.vue index eead789fd..7bbb86ca4 100644 --- a/src/views/planMonitor/editTool/menus/editPlanningTrain.vue +++ b/src/views/planMonitor/editTool/menus/editPlanningTrain.vue @@ -1,211 +1,224 @@ \ No newline at end of file + diff --git a/src/views/planMonitor/editTool/menus/modifyingTask.vue b/src/views/planMonitor/editTool/menus/modifyingTask.vue index 645d82549..a4b84ce85 100644 --- a/src/views/planMonitor/editTool/menus/modifyingTask.vue +++ b/src/views/planMonitor/editTool/menus/modifyingTask.vue @@ -1,396 +1,418 @@ \ No newline at end of file + diff --git a/src/views/planMonitor/editTool/menus/offLine.vue b/src/views/planMonitor/editTool/menus/offLine.vue index 1111996b5..a67347c3e 100644 --- a/src/views/planMonitor/editTool/menus/offLine.vue +++ b/src/views/planMonitor/editTool/menus/offLine.vue @@ -1,61 +1,71 @@ \ No newline at end of file + diff --git a/src/views/planMonitor/editTool/menus/openRunPlan.vue b/src/views/planMonitor/editTool/menus/openRunPlan.vue index aced4f971..4300c997d 100644 --- a/src/views/planMonitor/editTool/menus/openRunPlan.vue +++ b/src/views/planMonitor/editTool/menus/openRunPlan.vue @@ -1,93 +1,109 @@ \ No newline at end of file + diff --git a/src/views/planMonitor/editTool/schedule.vue b/src/views/planMonitor/editTool/schedule.vue index a36db9ec0..37f4d9ca0 100644 --- a/src/views/planMonitor/editTool/schedule.vue +++ b/src/views/planMonitor/editTool/schedule.vue @@ -235,6 +235,9 @@ export default { }); this.$refs.tripTable.setCurrentRow(this.tripNumberConfig.data[index]); }, + '$store.state.runPlan.refreshCount': function() { + this.loadChartPage(); + }, $route() { this.loadChartPage(); } From f1b39069733852b0df2662ef61c4f1c462dbfb0a Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Fri, 9 Aug 2019 19:00:37 +0800 Subject: [PATCH 04/16] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E7=9B=AE=E6=A0=87?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/langs/en/scriptRecord.js | 5 +++++ src/i18n/langs/zh/scriptRecord.js | 5 +++++ src/views/display/scriptRecord/deviceCondition.vue | 14 +++++++------- src/views/display/scriptRecord/targetCondition.vue | 2 +- 4 files changed, 18 insertions(+), 8 deletions(-) diff --git a/src/i18n/langs/en/scriptRecord.js b/src/i18n/langs/en/scriptRecord.js index 88dc72795..82f75c13a 100644 --- a/src/i18n/langs/en/scriptRecord.js +++ b/src/i18n/langs/en/scriptRecord.js @@ -14,4 +14,9 @@ export default { roleAdd: "Add", delete: "Delete", behaviorOperate: "Behavior Operate", + conditionTitle: "Target condition", + deviceType: "Device Type", + deviceCondition: "Device Condition", + paramDeviceType: "Param DeviceType", + paramDeviceCode: "Param DeviceCode", }; \ No newline at end of file diff --git a/src/i18n/langs/zh/scriptRecord.js b/src/i18n/langs/zh/scriptRecord.js index 4a9cfbca2..5e759bae8 100644 --- a/src/i18n/langs/zh/scriptRecord.js +++ b/src/i18n/langs/zh/scriptRecord.js @@ -14,4 +14,9 @@ export default { roleAdd: "添加", delete: "删除", behaviorOperate: "行为操作", + conditionTitle: "目标条件", + deviceType: "设备类型", + deviceCondition: "设备条件", + paramDeviceType: "参数设备类型", + paramDeviceCode: "参数设备编号", }; \ No newline at end of file diff --git a/src/views/display/scriptRecord/deviceCondition.vue b/src/views/display/scriptRecord/deviceCondition.vue index daef3255e..1b9a48dea 100644 --- a/src/views/display/scriptRecord/deviceCondition.vue +++ b/src/views/display/scriptRecord/deviceCondition.vue @@ -1,13 +1,13 @@