This commit is contained in:
parent
381404fbdb
commit
4a4f0076dc
|
|
@ -453,7 +453,7 @@ const beforeUpload = ({ file }) => {
|
||||||
|
|
||||||
// 判断当前机器人是否在 巡检中 如果在巡检中 则不可进行任何操作 可弹框提示客户暂停巡检 然后重新获取机器人状态再进行操作
|
// 判断当前机器人是否在 巡检中 如果在巡检中 则不可进行任何操作 可弹框提示客户暂停巡检 然后重新获取机器人状态再进行操作
|
||||||
const handleInspection = async () => {
|
const handleInspection = async () => {
|
||||||
if (robotBaseInfo.value.type.includes('巡检')) {
|
if (robotBaseInfo.value.type.includes('巡航')) {
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
dialog.warning({
|
dialog.warning({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
|
|
|
||||||
|
|
@ -478,7 +478,7 @@ const handleInspection = async () => {
|
||||||
// })
|
// })
|
||||||
// }
|
// }
|
||||||
|
|
||||||
if (robotBaseInfo.value.type.includes('巡检')) {
|
if (robotBaseInfo.value.type.includes('巡航')) {
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
dialog.warning({
|
dialog.warning({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
|
|
|
||||||
|
|
@ -157,7 +157,7 @@ const getRobotBaseInfo = async () => {
|
||||||
|
|
||||||
// 判断当前机器人是否在 巡检中 如果在巡检中 则不可进行任何操作 可弹框提示客户暂停巡检 然后重新获取机器人状态再进行操作
|
// 判断当前机器人是否在 巡检中 如果在巡检中 则不可进行任何操作 可弹框提示客户暂停巡检 然后重新获取机器人状态再进行操作
|
||||||
const handleInspection = async () => {
|
const handleInspection = async () => {
|
||||||
if (robotBaseInfo.value.type.includes('巡检')) {
|
if (robotBaseInfo.value.type.includes('巡航')) {
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
dialog.warning({
|
dialog.warning({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue