From 3b12fa1f45ba06f0862935a7458baa01066d8157 Mon Sep 17 00:00:00 2001
From: caill <815519168@qq.com>
Date: Thu, 28 Dec 2023 11:00:10 +0800
Subject: [PATCH] =?UTF-8?q?=E8=BF=9C=E7=A8=8B=E6=94=AF=E6=8C=81=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2=E3=80=81=E8=AF=AD=E8=A8=80=E5=88=87=E6=8D=A2=E6=8C=89?=
=?UTF-8?q?=E9=92=AE=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/config/getData2.js | 7 ++
src/i18n/langs/en.js | 5 +
src/i18n/langs/zh.js | 5 +
src/pages/modules/systemmanage/remote.vue | 99 +++++++++++++++++++
.../vehicleinformation/vehiclestatus.vue | 29 +++++-
src/pages/shells/index/index.vue | 12 +--
src/router/index.js | 7 +-
7 files changed, 153 insertions(+), 11 deletions(-)
create mode 100644 src/pages/modules/systemmanage/remote.vue
diff --git a/src/config/getData2.js b/src/config/getData2.js
index 35e3829..b12e2ac 100644
--- a/src/config/getData2.js
+++ b/src/config/getData2.js
@@ -138,3 +138,10 @@ export const sysMenuBuild = () => post('api/sysMenu/build', {
// 用户退出
export const authLogout = () => post('auth/logout', {
})
+
+/**
+ * 远程支持
+ */
+// 获取远程码接口
+export const queryRemotelnfo = () => post('api/developer/queryRemotelnfo', {
+})
diff --git a/src/i18n/langs/en.js b/src/i18n/langs/en.js
index 401bf98..ea0dabe 100644
--- a/src/i18n/langs/en.js
+++ b/src/i18n/langs/en.js
@@ -80,6 +80,11 @@ module.exports = {
toast2: 'Name cannot be empty',
toast3: 'Value cannot be empty'
},
+ remote: {
+ remotesupport: 'Remote support',
+ remote: ' remote ',
+ download: ' download'
+ },
developer: {
developeroptions: 'Developer Options'
},
diff --git a/src/i18n/langs/zh.js b/src/i18n/langs/zh.js
index 348cf65..1906bac 100644
--- a/src/i18n/langs/zh.js
+++ b/src/i18n/langs/zh.js
@@ -80,6 +80,11 @@ module.exports = {
toast2: '名字不能为空',
toast3: '数值不能为空'
},
+ remote: {
+ remotesupport: '远程支持',
+ remote: '远程',
+ download: '下载'
+ },
developer: {
developeroptions: '开发者选项'
},
diff --git a/src/pages/modules/systemmanage/remote.vue b/src/pages/modules/systemmanage/remote.vue
new file mode 100644
index 0000000..5a100fc
--- /dev/null
+++ b/src/pages/modules/systemmanage/remote.vue
@@ -0,0 +1,99 @@
+
+
+
+
+
+
{{ $t('remote.remotesupport') }}
+
+
+
+
+
TeamViewer{{$t('remote.remote')}}ID
+
{{ result.teamViewerId }}
+
+
+
AnyDesk{{$t('remote.remote')}}ID
+
{{ result.anyDeskId }}
+
+
+
+
+
+
APP{{$t('remote.download')}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/modules/vehicleinformation/vehiclestatus.vue b/src/pages/modules/vehicleinformation/vehiclestatus.vue
index 593d21c..4cbbd52 100644
--- a/src/pages/modules/vehicleinformation/vehiclestatus.vue
+++ b/src/pages/modules/vehicleinformation/vehiclestatus.vue
@@ -74,12 +74,12 @@
-
{{ $t('vehiclestatus.vehiclestatus') }}:
-
{{$i18n.locale === 'en-us' ? result.en_vehicle_status : result.zh_vehicle_status}}
+
{{ $t('vehiclestatus.vehiclestatus') }}:
+
{{$i18n.locale === 'en-us' ? result.en_vehicle_status : result.zh_vehicle_status}}
-
{{ $t('vehiclestatus.workingstatus') }}:
-
{{$i18n.locale === 'en-us' ? result.en_working_status : result.zh_working_status}}
+
{{ $t('vehiclestatus.workingstatus') }}:
+
{{$i18n.locale === 'en-us' ? result.en_working_status : result.zh_working_status}}
@@ -168,6 +168,11 @@ export default {
.agv_item_label
width 180px
_fj()
+.veh_item_label
+ width 180px
+ _fj()
+ _font(36px, 56px, #B4C1D8, 500, right)
+ font-family: SourceHanSansCN-Medium;
.agv_item_label_txt
width calc(100% - 15px)
_font(36px, 56px, #B4C1D8, 500, right)
@@ -192,6 +197,14 @@ export default {
padding-left 66px
margin-left 20px
background left center url(../../../images/new/state_btn.png) no-repeat
+.veh_item_val
+ width calc(100% - 180px)
+ padding 0 20px 0 66px
+ margin-left 20px
+ _font(36px, 56px, #fff, 500,,)
+ font-family: SourceHanSansCN-Medium;
+ white-space: nowrap
+ background left center url(../../../images/new/state_btn.png) no-repeat
.state_wrap
width 100%
_fj(,flex-start)
@@ -273,4 +286,12 @@ export default {
align-items: center
font-size 26px
line-height 26px
+ .veh_item_label
+ font-size 26px
+ text-align right
+ justify-content: flex-end
+ width 220px
+ .veh_item_val
+ font-size 26px
+ width calc(100% - 220px)
diff --git a/src/pages/shells/index/index.vue b/src/pages/shells/index/index.vue
index f264421..23e6629 100644
--- a/src/pages/shells/index/index.vue
+++ b/src/pages/shells/index/index.vue
@@ -575,17 +575,17 @@ export default {
.el-menu-item-long
padding 0 30px 10px 87px !important
.lang_change_wraper
- _wh(90px, 77px)
- padding-top 20.5px
+ _wh(120px, 77px)
+ padding-top 17px
margin-left 45px
/deep/ .el-input, /deep/ .el-select .el-input .el-select__caret
font-size: 20px;
- height 36px
- line-height 36px
+ height 43px
+ line-height 43px
/deep/ .el-input__inner
font-size: 20px;
- line-height: 36px;
- height: 36px;
+ height 43px
+ line-height 43px
border: 1px solid #4980bd;
border-radius 0
padding-left 5px
diff --git a/src/router/index.js b/src/router/index.js
index 01793e2..e1f274e 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -23,6 +23,7 @@ const User = r => require.ensure([], () => r(require('@page/modules/SystemManage
const Role = r => require.ensure([], () => r(require('@page/modules/SystemManage/role.vue')), 'modules')
const System = r => require.ensure([], () => r(require('@page/modules/SystemManage/system.vue')), 'modules')
const Developer = r => require.ensure([], () => r(require('@page/modules/SystemManage/developer.vue')), 'modules')
+const Remote = r => require.ensure([], () => r(require('@page/modules/SystemManage/remote.vue')), 'modules')
Vue.use(VueRouter)
@@ -91,10 +92,14 @@ const router = new VueRouter({
path: 'system',
component: System,
meta: {jumpPath: '6', guidePath: '3'}
+ }, {
+ path: 'remote',
+ component: Remote,
+ meta: {jumpPath: '6', guidePath: '4'}
}, {
path: 'developer',
component: Developer,
- meta: {jumpPath: '6', guidePath: '4'}
+ meta: {jumpPath: '6', guidePath: '5'}
}]
}
]