Merge pull request 'feat:处理xx键执行异常' (#199) from fix/bug-20240416 into test

Reviewed-on: #199
pull/200/head
刘释隆 1 year ago
commit 2e82f3fe14

@ -225,7 +225,6 @@ const packageName = computed(() => {
const index = workStore.getCurrentIndex
return workStore.getOrderList[index]?.name || ''
})
async function queryDetail(checkDuplicateId: any) {
taskDetailInfo.value = await getTaskDetailInfo(checkDuplicateId)
const packageid = workStore.getActiveId
@ -288,7 +287,6 @@ function onEsc(event: KeyboardEvent) {
return
if (!keys.includes(event.code))
return
if (event.code === 'KeyC') {
//
const modalClasss = [
@ -313,6 +311,10 @@ function onEsc(event: KeyboardEvent) {
//
if (rejectDialog.value || passDialog.value)
return
// 1 2 3
if (taskDetailInfo.value.historyStates !== 1)
return
// p
if (code === 'KeyP') {
const currentTime = Date.now()
@ -542,8 +544,6 @@ function handleRejectdubiousfileyd(pictureid) {
dubiousfileyd({ pictureid }).then(({ code }) => {
if (code === 'OK')
message.success('加入成功')
refreshHandler()
const packageid = workStore.getActiveId
if (isEmpty(packageid)) {
listData.value.length = 0

Loading…
Cancel
Save