加载中
This commit is contained in:
@@ -83,13 +83,14 @@ module.exports = {
|
||||
vehiclestatus: {
|
||||
vehiclestatus: 'Vehicle Status',
|
||||
status: 'Status',
|
||||
coordinate: 'Coordinate',
|
||||
xcoordinate: 'X coordinate',
|
||||
ycoordinate: 'Y coordinate',
|
||||
headingangle: 'Heading Angle',
|
||||
steeringwheelangle: 'Steering Wheel Angle',
|
||||
distributionspeed: 'Distribution Speed',
|
||||
distributionspeed: 'Throttle Command',
|
||||
actualspeed: 'Actual Speed',
|
||||
lateraldeviation: 'Lateral Deviation',
|
||||
coursedeviation: 'Course Deviation',
|
||||
coursedeviation: 'Vertical Deviation',
|
||||
workingstatus: 'Working Status',
|
||||
sensorstatus: 'Sensor Status',
|
||||
emergencystop: 'Emergency Stop',
|
||||
@@ -140,6 +141,7 @@ module.exports = {
|
||||
oldpassword: 'Old Password',
|
||||
newpassword: 'New Password',
|
||||
operationfailed: 'Operation failed',
|
||||
loading: 'Loading',
|
||||
toast1: 'Old password cannot be empty',
|
||||
toast2: 'The new password cannot be empty',
|
||||
toast3: 'Enter a new password',
|
||||
|
||||
@@ -83,10 +83,11 @@ module.exports = {
|
||||
vehiclestatus: {
|
||||
vehiclestatus: '车辆状态',
|
||||
status: '状态',
|
||||
coordinate: '坐标',
|
||||
xcoordinate: 'X 坐标',
|
||||
ycoordinate: 'Y 坐标',
|
||||
headingangle: '航向角',
|
||||
steeringwheelangle: '舵轮角度',
|
||||
distributionspeed: '下发速度',
|
||||
distributionspeed: '下发速度指令',
|
||||
actualspeed: '实际速度',
|
||||
lateraldeviation: '横向偏差',
|
||||
coursedeviation: '航向偏差',
|
||||
@@ -140,6 +141,7 @@ module.exports = {
|
||||
oldpassword: '旧的密码',
|
||||
newpassword: '新的密码',
|
||||
operationfailed: '操作失败',
|
||||
loading: '加载中',
|
||||
toast1: '旧密码不能为空',
|
||||
toast2: '新密码不能为空',
|
||||
toast3: '输入新密码',
|
||||
|
||||
@@ -9,7 +9,7 @@ import fastClick from 'fastclick'
|
||||
import infiniteScroll from 'vue-infinite-scroll'
|
||||
import VueTouchKeyboard from 'vue-touch-keyboard'
|
||||
import 'vue-touch-keyboard/dist/vue-touch-keyboard.css'
|
||||
import { DatePicker, Select, Option, Radio, Menu, MenuItem, Tree } from 'element-ui'
|
||||
import { DatePicker, Select, Option, Radio, Menu, MenuItem, Tree, Loading } from 'element-ui'
|
||||
import '@style/common.styl'
|
||||
import i18n from './i18n/i18n'
|
||||
import '@config/rem.js'
|
||||
@@ -25,6 +25,7 @@ Vue.use(Radio)
|
||||
Vue.use(Menu)
|
||||
Vue.use(MenuItem)
|
||||
Vue.use(Tree)
|
||||
Vue.use(Loading)
|
||||
Vue.use(infiniteScroll)
|
||||
Vue.use(VueTouchKeyboard)
|
||||
Vue.prototype.$post = post
|
||||
|
||||
@@ -71,8 +71,8 @@ export default {
|
||||
return {
|
||||
selectType: '',
|
||||
tab: 0,
|
||||
username: '',
|
||||
password: '',
|
||||
username: 'admin',
|
||||
password: '123456',
|
||||
baseUrl: this.$store.getters.baseUrl,
|
||||
setTime: this.$store.getters.setTime / 1000,
|
||||
disabled: false,
|
||||
@@ -158,7 +158,16 @@ export default {
|
||||
this.$router.push('/index/home')
|
||||
} catch (err) {
|
||||
this.disabled = false
|
||||
this.toast(err)
|
||||
// this.toast(err)
|
||||
const loading = this.$loading({
|
||||
lock: true,
|
||||
text: this.$t('common.loading'),
|
||||
spinner: 'el-icon-loading',
|
||||
background: 'rgba(0, 0, 0, 0.7)'
|
||||
})
|
||||
setTimeout(() => {
|
||||
loading.close()
|
||||
}, 4000)
|
||||
}
|
||||
},
|
||||
show (e) {
|
||||
|
||||
@@ -11,35 +11,59 @@
|
||||
</div>
|
||||
<div class="agv_wrap">
|
||||
<div class="agv_item_wrap">
|
||||
<div class="agv_item_label">X {{ $t('vehiclestatus.coordinate') }}:</div>
|
||||
<div class="agv_item_label">
|
||||
<div class="agv_item_label_txt">{{ $t('vehiclestatus.xcoordinate') }}</div>
|
||||
<div class="agv_item_label_m">:</div>
|
||||
</div>
|
||||
<div class="agv_item_val">{{result.x}}</div>
|
||||
</div>
|
||||
<div class="agv_item_wrap">
|
||||
<div class="agv_item_label">Y {{ $t('vehiclestatus.coordinate') }}:</div>
|
||||
<div class="agv_item_label">
|
||||
<div class="agv_item_label_txt">{{ $t('vehiclestatus.ycoordinate') }}</div>
|
||||
<div class="agv_item_label_m">:</div>
|
||||
</div>
|
||||
<div class="agv_item_val">{{result.y}}</div>
|
||||
</div>
|
||||
<div class="agv_item_wrap">
|
||||
<div class="agv_item_label">{{ $t('vehiclestatus.headingangle') }}:</div>
|
||||
<div class="agv_item_label">
|
||||
<div class="agv_item_label_txt">{{ $t('vehiclestatus.headingangle') }}</div>
|
||||
<div class="agv_item_label_m">:</div>
|
||||
</div>
|
||||
<div class="agv_item_val">{{result.z}}</div>
|
||||
</div>
|
||||
<div class="agv_item_wrap">
|
||||
<div class="agv_item_label">{{ $t('vehiclestatus.steeringwheelangle') }}:</div>
|
||||
<div class="agv_item_label">
|
||||
<div class="agv_item_label_txt">{{ $t('vehiclestatus.steeringwheelangle') }}</div>
|
||||
<div class="agv_item_label_m">:</div>
|
||||
</div>
|
||||
<div class="agv_item_val">{{result.carrier}}</div>
|
||||
</div>
|
||||
<div class="agv_item_wrap">
|
||||
<div class="agv_item_label">{{ $t('vehiclestatus.distributionspeed') }}:</div>
|
||||
<div class="agv_item_label">
|
||||
<div class="agv_item_label_txt agv_item_label_txt1">{{ $t('vehiclestatus.distributionspeed') }}</div>
|
||||
<div class="agv_item_label_m">:</div>
|
||||
</div>
|
||||
<div class="agv_item_val">{{result.send_speed}}</div>
|
||||
</div>
|
||||
<div class="agv_item_wrap">
|
||||
<div class="agv_item_label">{{ $t('vehiclestatus.actualspeed') }}:</div>
|
||||
<div class="agv_item_val">{{result.real_speed}}</div>
|
||||
<div class="agv_item_label">
|
||||
<div class="agv_item_label_txt">{{ $t('vehiclestatus.actualspeed') }}</div>
|
||||
<div class="agv_item_label_m">:</div>
|
||||
</div>
|
||||
<div class="agv_item_val">{{result.real_speed}} m/s</div>
|
||||
</div>
|
||||
<div class="agv_item_wrap">
|
||||
<div class="agv_item_label">{{ $t('vehiclestatus.lateraldeviation') }}:</div>
|
||||
<div class="agv_item_label">
|
||||
<div class="agv_item_label_txt">{{ $t('vehiclestatus.lateraldeviation') }}</div>
|
||||
<div class="agv_item_label_m">:</div>
|
||||
</div>
|
||||
<div class="agv_item_val">{{result.landscape_deviation}}</div>
|
||||
</div>
|
||||
<div class="agv_item_wrap">
|
||||
<div class="agv_item_label">{{ $t('vehiclestatus.coursedeviation') }}:</div>
|
||||
<div class="agv_item_label">
|
||||
<div class="agv_item_label_txt">{{ $t('vehiclestatus.coursedeviation') }}</div>
|
||||
<div class="agv_item_label_m">:</div>
|
||||
</div>
|
||||
<div class="agv_item_val">{{result.course_deviation}}</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -135,20 +159,33 @@ export default {
|
||||
width 100%
|
||||
_fj()
|
||||
flex-wrap wrap
|
||||
padding 27px 30px 10px 30px
|
||||
padding 27px 0 10px 30px
|
||||
.agv_item_wrap
|
||||
width 25%
|
||||
_fj()
|
||||
margin-bottom 40px
|
||||
.agv_item_label
|
||||
width 190px
|
||||
_fj()
|
||||
.agv_item_label_txt
|
||||
width calc(100% - 15px)
|
||||
_font(36px, 56px, #B4C1D8, 500, right)
|
||||
font-family: SourceHanSansCN-Medium;
|
||||
text-align:justify;
|
||||
text-align-last: justify;
|
||||
text-justify: inter-ideograph;/*兼容ie*/
|
||||
white-space: nowrap
|
||||
.agv_item_label_txt1
|
||||
font-size 28px
|
||||
.agv_item_label_m
|
||||
width 15px
|
||||
_font(36px, 56px, #B4C1D8, 500, right)
|
||||
.agv_item_val
|
||||
width calc(100% - 190px)
|
||||
padding-left 20px
|
||||
padding 0 20px
|
||||
_font(36px, 56px, #3CC1FF, 500, left)
|
||||
font-family: SourceHanSansCN-Medium;
|
||||
white-space: nowrap
|
||||
.agv_item_val_1
|
||||
_font(36px, 56px, #fff, 500,,)
|
||||
padding-left 66px
|
||||
@@ -189,8 +226,12 @@ export default {
|
||||
.state_item_val_disabled
|
||||
background-image url(../../../images/new/state_btn_disable.png)
|
||||
.enClass
|
||||
.agv_item_label
|
||||
font-size 26px
|
||||
.agv_item_label_txt
|
||||
font-size 24px
|
||||
line-height 28px
|
||||
white-space wrap
|
||||
.agv_item_label_m
|
||||
font-size 24px
|
||||
line-height 28px
|
||||
.state_item_label
|
||||
font-size 26px
|
||||
|
||||
@@ -658,6 +658,11 @@
|
||||
// top: 9px;
|
||||
// transform: rotate(45deg) scaleY(2)
|
||||
|
||||
.el-loading-mask.is-fullscreen .el-loading-spinner
|
||||
font-size 60px
|
||||
.el-loading-spinner .el-loading-text
|
||||
font-size 24px
|
||||
|
||||
// 英文样式
|
||||
.enClass
|
||||
.button
|
||||
@@ -670,8 +675,5 @@
|
||||
font-size 34px
|
||||
.title_wrap h2
|
||||
font-size 28px
|
||||
.agv_item_label
|
||||
font-size 24px
|
||||
text-align left
|
||||
.agv_item_label_1
|
||||
font-size 24px
|
||||
|
||||
Reference in New Issue
Block a user