添加功能
This commit is contained in:
@@ -201,6 +201,6 @@ export const setStation = (sn, code) => {
|
|||||||
return res
|
return res
|
||||||
}
|
}
|
||||||
export const getReturnStation = () => {
|
export const getReturnStation = () => {
|
||||||
let res = {station_id: 'B1',station_code:"111",station_name:"1111"}
|
let res = {station_id: 'B3333',station_code:"111",station_name:"1111"}
|
||||||
return res
|
return res
|
||||||
}
|
}
|
||||||
@@ -176,9 +176,6 @@ export default {
|
|||||||
clearTimeout(this.intervalId)
|
clearTimeout(this.intervalId)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created () {
|
|
||||||
this._startMapping()
|
|
||||||
},
|
|
||||||
mounted() {
|
mounted() {
|
||||||
// 初始化并启动引导
|
// 初始化并启动引导
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
@@ -206,6 +203,7 @@ export default {
|
|||||||
doneBtnText: this.$t('close'),
|
doneBtnText: this.$t('close'),
|
||||||
onDestroyed: () => {
|
onDestroyed: () => {
|
||||||
this.driverActive = false
|
this.driverActive = false
|
||||||
|
this._startMapping()
|
||||||
},
|
},
|
||||||
onPopoverRender: (popover, {config, state}) => {
|
onPopoverRender: (popover, {config, state}) => {
|
||||||
if (state.activeIndex === 0) {
|
if (state.activeIndex === 0) {
|
||||||
|
|||||||
@@ -261,7 +261,8 @@ export default {
|
|||||||
spinner: 'el-icon-loading',
|
spinner: 'el-icon-loading',
|
||||||
background: 'rgba(0, 0, 0, 0.6)'
|
background: 'rgba(0, 0, 0, 0.6)'
|
||||||
})
|
})
|
||||||
let res = await updateReturnStation(this.returnPoint)
|
const returnPoint = this.returnPoint ? this.returnPoint : '-1'
|
||||||
|
let res = await updateReturnStation(returnPoint)
|
||||||
if (res) {
|
if (res) {
|
||||||
this.$message(res.message)
|
this.$message(res.message)
|
||||||
}
|
}
|
||||||
@@ -299,6 +300,7 @@ export default {
|
|||||||
color #fff
|
color #fff
|
||||||
line-height .4rem
|
line-height .4rem
|
||||||
margin-bottom .2rem
|
margin-bottom .2rem
|
||||||
|
white-space: nowrap;
|
||||||
background center / 100% 100% url(../../images/new/state_title_bg.png) no-repeat
|
background center / 100% 100% url(../../images/new/state_title_bg.png) no-repeat
|
||||||
.agv_button
|
.agv_button
|
||||||
min-width .9rem
|
min-width .9rem
|
||||||
|
|||||||
Reference in New Issue
Block a user