From ece75ff87a99cd3338f7424ab7c5a07aa02e4dd8 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Tue, 27 Jan 2026 13:28:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E7=82=B9=E8=BF=9E=E7=BB=AD=E7=82=B9?= =?UTF-8?q?=E5=87=BBbug,=E5=BB=BA=E5=9B=BE=E8=B0=83=E9=87=8D=E5=90=AF?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/getData.js | 2 + src/config/mork.js | 16 +++++ src/pages/modules/build/index.vue | 107 ++++++++++++++++++++++++++---- src/pages/shells/index.vue | 7 +- src/style/common.styl | 4 +- src/vuex/modules/data.js | 9 ++- 6 files changed, 124 insertions(+), 21 deletions(-) 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 @@ {{$t('Cancel')}} - {{$t('Save')}} + {{$t('Save')}} @@ -52,6 +52,11 @@ > + + + 系统正在重启 + + {{autoBackFinish === '2' ? $t('autobackfailedmanually') : $t('vehicleautobacknotmanwaitcompleted')}} @@ -66,7 +71,7 @@
{{$t('Cancel')}}
{{$t('Save')}}