diff --git a/src/config/getData.js b/src/config/getData.js index cd0c44c..f001f71 100644 --- a/src/config/getData.js +++ b/src/config/getData.js @@ -13,6 +13,8 @@ export const setStation = (sn, code) => post('teaching/setStation?stationName=' export const stopMapping = () => post('teaching/stopMapping', {}) export const getLocalMaps = () => post('teaching/getLocalMaps', {}) export const oneClickDeployment = (map) => post('teaching/oneClickDeployment?mapName=' + map, {}) +export const teachingRestart = () => post('teaching/restart', {}) +export const teachingStartingPointRelocate = () => post('teaching/startingPointRelocate', {}) export const abandonMapping = () => post('teaching/abandonMapping', {}) export const sendAutoBack = (is) => post('teaching/sendAutoBack?isBack=' + is, {}) diff --git a/src/config/mork.js b/src/config/mork.js index 365b66c..5ad31fb 100644 --- a/src/config/mork.js +++ b/src/config/mork.js @@ -757,6 +757,15 @@ export const getMappingStatus = () => { } return res } +export const teachingStartingPointRelocate = () => { + let res = { + code: 200, + message: 'ok', + mapping_return: '1', + mapping_percent: '50' + } + return res +} export const queryErrorDataByCode = (code) => { let res = { "error_id": "1", @@ -841,6 +850,13 @@ export const oneClickDeployment = (sn, code) => { } return res } +export const teachingRestart = (sn, code) => { + let res = { + code: 200, + message: 'ok' + } + return res +} export const abandonMapping = (sn, code) => { let res = { code: 200, diff --git a/src/pages/modules/build/index.vue b/src/pages/modules/build/index.vue index 07e58c4..03d555b 100644 --- a/src/pages/modules/build/index.vue +++ b/src/pages/modules/build/index.vue @@ -31,7 +31,7 @@ - + @@ -52,6 +52,11 @@ > +
+
+
系统正在重启
+
+
{{autoBackFinish === '2' ? $t('autobackfailedmanually') : $t('vehicleautobacknotmanwaitcompleted')}}
@@ -66,7 +71,7 @@