|
|
|
@ -152,7 +152,6 @@ useKeydown('x x', () => {
|
|
|
|
|
modal.showModal([taskDetailInfo.value])
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function setBatch(value: boolean) {
|
|
|
|
|
// if (totalCount.value === 0)
|
|
|
|
|
// return
|
|
|
|
@ -310,6 +309,10 @@ async function handleDragEnd(event, item) {
|
|
|
|
|
getTableData()
|
|
|
|
|
getImgList()
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
message.error(res.message)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
taskStore.setInFile(false)
|
|
|
|
|
taskStore.setInFile(item.pictureId)
|
|
|
|
|
}
|
|
|
|
@ -327,6 +330,10 @@ async function addSuspicious() {
|
|
|
|
|
setBatch(false)
|
|
|
|
|
getTableData()
|
|
|
|
|
getImgList()
|
|
|
|
|
const searchParams = new URLSearchParams(window.location.search)
|
|
|
|
|
const type = searchParams.get('type')
|
|
|
|
|
if (type)
|
|
|
|
|
router.push({ name: 'final', query: { type } })
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
message.error(res.message)
|
|
|
|
@ -355,7 +362,7 @@ async function getTableData() {
|
|
|
|
|
if (userFieldList.includes(v.name)) {
|
|
|
|
|
let locationobj = { address: '' }
|
|
|
|
|
|
|
|
|
|
if (v.name == 'location'&& taskDetailInfo.value.ocrPicture[v.name]!=null&& taskDetailInfo.value.ocrPicture[v.name]!="null") {
|
|
|
|
|
if (v.name == 'location' && taskDetailInfo.value.ocrPicture[v.name] != null && taskDetailInfo.value.ocrPicture[v.name] != 'null') {
|
|
|
|
|
locationobj = JSON.parse(
|
|
|
|
|
taskDetailInfo.value.ocrPicture ? taskDetailInfo.value.ocrPicture[v.name] : {},
|
|
|
|
|
)
|
|
|
|
@ -427,7 +434,8 @@ function immersionHandler() {
|
|
|
|
|
toggleFullScreen()
|
|
|
|
|
}
|
|
|
|
|
useKeydown('k k', () => {
|
|
|
|
|
if (isFullScreen.value) return
|
|
|
|
|
if (isFullScreen.value)
|
|
|
|
|
return
|
|
|
|
|
isFullScreen.value = true
|
|
|
|
|
fetchData()
|
|
|
|
|
window.addEventListener('scroll', checkBottom)
|
|
|
|
@ -490,14 +498,14 @@ function reloadList(param, text) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function goBack() {
|
|
|
|
|
const searchParams = new URLSearchParams(window.location.search);
|
|
|
|
|
const type = searchParams.get('type');
|
|
|
|
|
if(type){
|
|
|
|
|
router.push({ name: 'final', query: { type: type} })
|
|
|
|
|
}else{
|
|
|
|
|
const searchParams = new URLSearchParams(window.location.search)
|
|
|
|
|
const type = searchParams.get('type')
|
|
|
|
|
if (type)
|
|
|
|
|
router.push({ name: 'final', query: { type } })
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
router.back()
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function switchBatch() {
|
|
|
|
|
setBatch(!batch.value)
|
|
|
|
@ -618,6 +626,9 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
|
|
|
|
|
sortBy.orderType = sortBy.orderType === 'asc' ? 'desc' : 'asc'
|
|
|
|
|
refreshHandler()
|
|
|
|
|
}
|
|
|
|
|
function nodrage() {
|
|
|
|
|
message.error('已审批无法移入可疑文件夹中!')
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
@ -875,7 +886,7 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
|
|
|
|
|
<div class="time-item">
|
|
|
|
|
<SvgIcon class="svg-time" color="#FFF" size="16" name="camera-time" />
|
|
|
|
|
|
|
|
|
|
<span>{{ taskDetailInfo?.ocrPicture?.photoDateTimestamp ?? "-" }}</span>
|
|
|
|
|
<span>{{ taskDetailInfo?.ocrPicture?.photoDateTimestamp ?? "- -" }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="time-item time-item2">
|
|
|
|
|
<SvgIcon class="svg-time" color="#FFF" size="16" name="submit-time" />
|
|
|
|
@ -883,7 +894,7 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
|
|
|
|
|
<span>{{
|
|
|
|
|
taskDetailInfo?.ocrPicture?.submitDateTimestamp
|
|
|
|
|
? formatToDateHMS(Number(taskDetailInfo.ocrPicture.submitDateTimestamp))
|
|
|
|
|
: "-"
|
|
|
|
|
: "- -"
|
|
|
|
|
}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -948,9 +959,8 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
|
|
|
|
|
class="item"
|
|
|
|
|
draggable="true"
|
|
|
|
|
@dragend="
|
|
|
|
|
(event) => {
|
|
|
|
|
handleDragEnd(event, item);
|
|
|
|
|
}
|
|
|
|
|
item.historyStates === 1 ? handleDragEnd(event, item) : nodrage()
|
|
|
|
|
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<div
|
|
|
|
@ -987,7 +997,7 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
|
|
|
|
|
<span>{{
|
|
|
|
|
item.photoDateTimestamp
|
|
|
|
|
? formatToDateHMS(Number(item.photoDateTimestamp))
|
|
|
|
|
: "-"
|
|
|
|
|
: "- -"
|
|
|
|
|
}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="time-item time-item2">
|
|
|
|
@ -995,7 +1005,7 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
|
|
|
|
|
<span>{{
|
|
|
|
|
item.submitDateTimestamp
|
|
|
|
|
? formatToDateHMS(Number(item.submitDateTimestamp))
|
|
|
|
|
: "-"
|
|
|
|
|
: "- -"
|
|
|
|
|
}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -1173,9 +1183,9 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
|
|
|
|
|
class="item"
|
|
|
|
|
draggable="true"
|
|
|
|
|
@dragend="
|
|
|
|
|
(event) => {
|
|
|
|
|
handleDragEnd(event, item);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
item.historyStates === 1 ? handleDragEnd(event, item) : nodrage()
|
|
|
|
|
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<div
|
|
|
|
@ -1230,7 +1240,7 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
|
|
|
|
|
<span>{{
|
|
|
|
|
item.photoDateTimestamp
|
|
|
|
|
? formatToDateHMS(Number(item.photoDateTimestamp))
|
|
|
|
|
: "-"
|
|
|
|
|
: "- -"
|
|
|
|
|
}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="time-item time-item2">
|
|
|
|
@ -1238,7 +1248,7 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
|
|
|
|
|
<span>{{
|
|
|
|
|
item.submitDateTimestamp
|
|
|
|
|
? formatToDateHMS(Number(item.submitDateTimestamp))
|
|
|
|
|
: "-"
|
|
|
|
|
: "- -"
|
|
|
|
|
}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -1554,6 +1564,7 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
|
|
|
|
|
left: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
z-index: 0;
|
|
|
|
|
border-radius: 0 0 8px 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mark {
|
|
|
|
|