|
|
@ -560,6 +560,18 @@ const preBtn = async () => { |
|
|
|
return |
|
|
|
} |
|
|
|
checkStore.updateCheckNumber(res?.data?.result) |
|
|
|
const arr = taskStore.excelData.filter( |
|
|
|
item => item.serialNumber == res?.data?.result, |
|
|
|
) |
|
|
|
const item = arr[0] |
|
|
|
if (item.firstSign == '' && item.secondSign == '') { |
|
|
|
return |
|
|
|
} |
|
|
|
if (arr?.length > 0) { |
|
|
|
// 将item存入store中 |
|
|
|
imageStore.updateShowImage(true) |
|
|
|
imageStore.updateCoreInfo(item) |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
// 请保证当前正在核查的坐标不为空 |
|
|
@ -581,6 +593,18 @@ const nextBtn = async () => { |
|
|
|
return |
|
|
|
} |
|
|
|
checkStore.updateCheckNumber(res?.data?.result) |
|
|
|
const arr = taskStore.excelData.filter( |
|
|
|
item => item.serialNumber == res?.data?.result, |
|
|
|
) |
|
|
|
const item = arr[0] |
|
|
|
if (item.firstSign == '' && item.secondSign == '') { |
|
|
|
return |
|
|
|
} |
|
|
|
if (arr?.length > 0) { |
|
|
|
// 将item存入store中 |
|
|
|
imageStore.updateShowImage(true) |
|
|
|
imageStore.updateCoreInfo(item) |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
MessagePlugin('error', { content: '请保证当前正在核查的坐标不为空' }) |
|
|
|