diff --git a/src/i18n/langs/en/scriptRecord.js b/src/i18n/langs/en/scriptRecord.js index d9612d42e..eca5fdc9c 100644 --- a/src/i18n/langs/en/scriptRecord.js +++ b/src/i18n/langs/en/scriptRecord.js @@ -80,5 +80,8 @@ export default { drivingByPlan: 'Driving By Plan', scriptBack: 'Back', speakTo: 'to', - executeCommandTips: 'execute command: ' + executeCommandTips: 'execute command: ', + language: 'language', + chinese: 'Chinese Simplified', + english: 'English' }; diff --git a/src/i18n/langs/zh/scriptRecord.js b/src/i18n/langs/zh/scriptRecord.js index 0201ade15..89eb76ee4 100644 --- a/src/i18n/langs/zh/scriptRecord.js +++ b/src/i18n/langs/zh/scriptRecord.js @@ -81,5 +81,8 @@ export default { drivingByPlan: '按计划行车', scriptBack: '返回', speakTo: '对', - executeCommandTips: '执行指令: ' + executeCommandTips: '执行指令: ', + language: '语言', + chinese: '中文', + english: '英文' }; diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js index 871e8ec9c..f997f31f4 100644 --- a/src/utils/baseUrl.js +++ b/src/utils/baseUrl.js @@ -3,8 +3,8 @@ export function getBaseUrl() { let BASE_API; if (process.env.NODE_ENV === 'development') { // BASE_API = 'https://joylink.club/jlcloud'; - BASE_API = 'https://test.joylink.club/jlcloud'; - // BASE_API = 'http://192.168.3.5:9000'; // 袁琪 + // BASE_API = 'https://test.joylink.club/jlcloud'; + BASE_API = 'http://192.168.3.5:9000'; // 袁琪 // BASE_API = 'http://192.168.3.6:9000'; // 旭强 // BASE_API = 'http://192.168.3.41:9000'; // 王兴杰 } else { diff --git a/src/views/display/index.vue b/src/views/display/index.vue index b62d48c2c..b4d39ad94 100644 --- a/src/views/display/index.vue +++ b/src/views/display/index.vue @@ -227,6 +227,9 @@ export default { } }); }, + 'size.width': function(val) { + this.setWindowSize(); + }, '$store.state.app.windowSizeCount': function() { this.setWindowSize(); }, diff --git a/src/views/ibp/ibpDraft/ibpEdit/index.vue b/src/views/ibp/ibpDraft/ibpEdit/index.vue index 449047ce1..00ff4636a 100644 --- a/src/views/ibp/ibpDraft/ibpEdit/index.vue +++ b/src/views/ibp/ibpDraft/ibpEdit/index.vue @@ -2,7 +2,7 @@
- +
@@ -22,10 +22,10 @@ export default { }, data() { return { - size: { - width: this.$store.state.app.width-521, - height: this.$store.state.app.height - 60 - } + size: { + width: this.$store.state.app.width-521, + height: this.$store.state.app.height - 60 + } }; }, watch: { @@ -33,9 +33,9 @@ export default { this.$store.dispatch('config/resize', { width: this.$store.state.app.width - 521, height: this.$store.state.app.height - 60 }); } }, - created() { - this.$store.dispatch('config/resize', { width: this.$store.state.app.width - 521, height: this.$store.state.app.height - 60 }); - }, + created() { + this.$store.dispatch('config/resize', { width: this.$store.state.app.width - 521, height: this.$store.state.app.height - 60 }); + }, mounted() { this.$refs.ibpPlate.show(); this.$refs.ibpPlate.drawIbpInit(); @@ -44,10 +44,10 @@ export default { }, methods: { - ibpChange(stationCode) { - this.$refs.ibpPlate.show(stationCode); - this.$refs.ibpPlate.drawIbpInit(); - } + ibpChange(stationCode) { + this.$refs.ibpPlate.show(stationCode); + this.$refs.ibpPlate.drawIbpInit(); + } } }; diff --git a/src/views/scriptManage/detail/index.vue b/src/views/scriptManage/detail/index.vue index e4d1cc7b2..aabb955d3 100644 --- a/src/views/scriptManage/detail/index.vue +++ b/src/views/scriptManage/detail/index.vue @@ -23,6 +23,7 @@ diff --git a/src/views/scriptManage/scriptRecord/addRole.vue b/src/views/scriptManage/scriptRecord/addRole.vue index 6b5be45e2..bf5262fca 100644 --- a/src/views/scriptManage/scriptRecord/addRole.vue +++ b/src/views/scriptManage/scriptRecord/addRole.vue @@ -1,136 +1,132 @@ - diff --git a/src/views/scriptManage/scriptRecord/getAction.vue b/src/views/scriptManage/scriptRecord/getAction.vue index 834754256..7911fdb7c 100644 --- a/src/views/scriptManage/scriptRecord/getAction.vue +++ b/src/views/scriptManage/scriptRecord/getAction.vue @@ -1,159 +1,148 @@