|
|
@ -225,7 +225,6 @@ const packageName = computed(() => {
|
|
|
|
const index = workStore.getCurrentIndex
|
|
|
|
const index = workStore.getCurrentIndex
|
|
|
|
return workStore.getOrderList[index]?.name || ''
|
|
|
|
return workStore.getOrderList[index]?.name || ''
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
async function queryDetail(checkDuplicateId: any) {
|
|
|
|
async function queryDetail(checkDuplicateId: any) {
|
|
|
|
taskDetailInfo.value = await getTaskDetailInfo(checkDuplicateId)
|
|
|
|
taskDetailInfo.value = await getTaskDetailInfo(checkDuplicateId)
|
|
|
|
const packageid = workStore.getActiveId
|
|
|
|
const packageid = workStore.getActiveId
|
|
|
@ -288,7 +287,6 @@ function onEsc(event: KeyboardEvent) {
|
|
|
|
return
|
|
|
|
return
|
|
|
|
if (!keys.includes(event.code))
|
|
|
|
if (!keys.includes(event.code))
|
|
|
|
return
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
|
|
if (event.code === 'KeyC') {
|
|
|
|
if (event.code === 'KeyC') {
|
|
|
|
// 是否有弹窗存在
|
|
|
|
// 是否有弹窗存在
|
|
|
|
const modalClasss = [
|
|
|
|
const modalClasss = [
|
|
|
@ -313,6 +311,10 @@ function onEsc(event: KeyboardEvent) {
|
|
|
|
// 审核通过、不通过 批量审核弹窗任意一个存在都不进行下面的操作
|
|
|
|
// 审核通过、不通过 批量审核弹窗任意一个存在都不进行下面的操作
|
|
|
|
if (rejectDialog.value || passDialog.value)
|
|
|
|
if (rejectDialog.value || passDialog.value)
|
|
|
|
return
|
|
|
|
return
|
|
|
|
|
|
|
|
// 只有未审批的数据才可以执行以下操作 1 未审批 2 审核通过 3 审核不通过
|
|
|
|
|
|
|
|
if (taskDetailInfo.value.historyStates !== 1)
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
|
|
// 双击p键审核通过
|
|
|
|
// 双击p键审核通过
|
|
|
|
if (code === 'KeyP') {
|
|
|
|
if (code === 'KeyP') {
|
|
|
|
const currentTime = Date.now()
|
|
|
|
const currentTime = Date.now()
|
|
|
@ -542,8 +544,6 @@ function handleRejectdubiousfileyd(pictureid) {
|
|
|
|
dubiousfileyd({ pictureid }).then(({ code }) => {
|
|
|
|
dubiousfileyd({ pictureid }).then(({ code }) => {
|
|
|
|
if (code === 'OK')
|
|
|
|
if (code === 'OK')
|
|
|
|
message.success('加入成功')
|
|
|
|
message.success('加入成功')
|
|
|
|
|
|
|
|
|
|
|
|
refreshHandler()
|
|
|
|
|
|
|
|
const packageid = workStore.getActiveId
|
|
|
|
const packageid = workStore.getActiveId
|
|
|
|
if (isEmpty(packageid)) {
|
|
|
|
if (isEmpty(packageid)) {
|
|
|
|
listData.value.length = 0
|
|
|
|
listData.value.length = 0
|
|
|
|