|
|
@ -201,6 +201,8 @@ |
|
|
|
:class=" |
|
|
|
taskStore.currentTaskId == null || checkStore.manualCheck |
|
|
|
? 'auto_btn cant_btn' |
|
|
|
: taskStore.checkStatus |
|
|
|
? 'auto_btn stop_btn' |
|
|
|
: 'auto_btn' |
|
|
|
" |
|
|
|
@click="startAutoCheck" |
|
|
@ -308,7 +310,14 @@ |
|
|
|
</p> |
|
|
|
<t-progress theme="plump" :percentage="detailProcess" /> |
|
|
|
</div> |
|
|
|
<div class="history_btn" @click="catCurrentTaskDetail"> |
|
|
|
<div |
|
|
|
:class=" |
|
|
|
taskStore.currentTaskId == null |
|
|
|
? 'history_btn cant_history' |
|
|
|
: 'history_btn' |
|
|
|
" |
|
|
|
@click="catCurrentTaskDetail" |
|
|
|
> |
|
|
|
<p class="first">{{ imageStore.nuclearCoreName }}</p> |
|
|
|
<p class="second">当前历史记录</p> |
|
|
|
</div> |
|
|
@ -498,6 +507,7 @@ const preBtn = async () => { |
|
|
|
} |
|
|
|
const checkNumber = checkStore.checkNumber |
|
|
|
const currentTaskId = taskStore.currentTaskId |
|
|
|
if (checkNumber) { |
|
|
|
const res = await getNextCoordApi(checkNumber, currentTaskId, '0') |
|
|
|
if (res?.code == 200) { |
|
|
|
if (!res?.data?.result) { |
|
|
@ -506,6 +516,10 @@ const preBtn = async () => { |
|
|
|
} |
|
|
|
checkStore.updateCheckNumber(res?.data?.result) |
|
|
|
} |
|
|
|
} else { |
|
|
|
// 请保证当前正在核查的坐标不为空 |
|
|
|
MessagePlugin('error', { content: '请保证当前正在核查的坐标不为空' }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
const nextBtn = async () => { |
|
|
@ -514,6 +528,7 @@ const nextBtn = async () => { |
|
|
|
} |
|
|
|
const checkNumber = checkStore.checkNumber |
|
|
|
const currentTaskId = taskStore.currentTaskId |
|
|
|
if (checkNumber) { |
|
|
|
const res = await getNextCoordApi(checkNumber, currentTaskId, '1') |
|
|
|
if (res?.code == 200) { |
|
|
|
if (!res?.data?.result) { |
|
|
@ -522,6 +537,9 @@ const nextBtn = async () => { |
|
|
|
} |
|
|
|
checkStore.updateCheckNumber(res?.data?.result) |
|
|
|
} |
|
|
|
} else { |
|
|
|
MessagePlugin('error', { content: '请保证当前正在核查的坐标不为空' }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
const isCameraOpen = ref(false) |
|
|
@ -792,6 +810,9 @@ initWebSocket() |
|
|
|
border-radius: 6px; |
|
|
|
} |
|
|
|
} |
|
|
|
.stop_btn { |
|
|
|
background: #0743fc; |
|
|
|
} |
|
|
|
.cant_btn { |
|
|
|
background: #e8e8e8; |
|
|
|
.icon_box { |
|
|
@ -896,6 +917,9 @@ initWebSocket() |
|
|
|
margin-top: 6px; |
|
|
|
} |
|
|
|
} |
|
|
|
.cant_history { |
|
|
|
background: #ebebeb; |
|
|
|
} |
|
|
|
} |
|
|
|
.bottom_detail_card { |
|
|
|
width: 100%; |
|
|
|