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] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=A0=B7=E5=BC=8F=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=20=E5=9B=BD=E9=99=85=E5=8C=96=E6=B7=BB=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 @@