|
|
@ -238,6 +238,7 @@ watch(
|
|
|
|
if (isEmpty(taskId))
|
|
|
|
if (isEmpty(taskId))
|
|
|
|
return
|
|
|
|
return
|
|
|
|
taskDetailInfo.value = await getTaskDetailInfo(taskId, packageid)
|
|
|
|
taskDetailInfo.value = await getTaskDetailInfo(taskId, packageid)
|
|
|
|
|
|
|
|
console.log(taskDetailInfo.value,'taskDetailInfo')
|
|
|
|
getTableData()
|
|
|
|
getTableData()
|
|
|
|
// TODO mock备份 确认逻辑无误后删除
|
|
|
|
// TODO mock备份 确认逻辑无误后删除
|
|
|
|
// let showFieldData = taskDetailInfo.value.ocrPicture;
|
|
|
|
// let showFieldData = taskDetailInfo.value.ocrPicture;
|
|
|
@ -282,6 +283,10 @@ const currentTaskId = computed(() => {
|
|
|
|
|
|
|
|
|
|
|
|
function overTaskHandle() {
|
|
|
|
function overTaskHandle() {
|
|
|
|
const item = taskDetailInfo.value
|
|
|
|
const item = taskDetailInfo.value
|
|
|
|
|
|
|
|
if(item?.userapprove?.statshis == 2 || item?.userapprove?.statshis == 3){
|
|
|
|
|
|
|
|
overTask.value = null;
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (validate([item]) == null && batch.value === false)
|
|
|
|
if (validate([item]) == null && batch.value === false)
|
|
|
|
overTask.value = item
|
|
|
|
overTask.value = item
|
|
|
|