|
|
|
@ -125,12 +125,16 @@ function handleKeydown(event) {
|
|
|
|
|
// 清除已经设置的定时器(如果有的话)
|
|
|
|
|
clearTimeout(keyPressTimer);
|
|
|
|
|
const item = taskDetailInfo.value;
|
|
|
|
|
if (item?.userapprove?.statshis === 2 || item?.userapprove?.statshis == 3) {
|
|
|
|
|
if (
|
|
|
|
|
item?.userapprove?.statshis === 2 ||
|
|
|
|
|
item?.userapprove?.statshis == 3
|
|
|
|
|
) {
|
|
|
|
|
overTask.value = null;
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (validate([item]) == null && batch.value === false) overTask.value = item;
|
|
|
|
|
if (validate([item]) == null && batch.value === false)
|
|
|
|
|
overTask.value = item;
|
|
|
|
|
// 执行想要的操作
|
|
|
|
|
approvalHandler();
|
|
|
|
|
|
|
|
|
@ -307,6 +311,7 @@ function backHandler() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
async function handleDragEnd(event, item) {
|
|
|
|
|
console.log(event, item);
|
|
|
|
|
// 可以在这里添加拖拽结束后的逻辑
|
|
|
|
|
const flag = taskStore.getInFile;
|
|
|
|
|
if (flag) {
|
|
|
|
@ -322,7 +327,25 @@ async function handleDragEnd(event, item) {
|
|
|
|
|
taskStore.setInFile(false);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
async function addSuspicious() {
|
|
|
|
|
|
|
|
|
|
console.log(taskDetailInfo.value.ocrPicture)
|
|
|
|
|
if (taskDetailInfo.value.ocrPicture.pictureid) {
|
|
|
|
|
const res = await dubiousfileyd({
|
|
|
|
|
pictureid: taskDetailInfo.value.ocrPicture.id,
|
|
|
|
|
});
|
|
|
|
|
console.log(res)
|
|
|
|
|
if (res.code === "OK") {
|
|
|
|
|
message.success("加入成功");
|
|
|
|
|
setBatch(false);
|
|
|
|
|
getTableData();
|
|
|
|
|
getImgList();
|
|
|
|
|
} else {
|
|
|
|
|
message.error(res.message);
|
|
|
|
|
}
|
|
|
|
|
taskStore.setInFile(false);
|
|
|
|
|
|
|
|
|
|
}}
|
|
|
|
|
async function getTableData() {
|
|
|
|
|
const useInfo = userStore.getUserInfo;
|
|
|
|
|
const listData = [];
|
|
|
|
@ -619,7 +642,7 @@ function overTaskHandelr(item: any) {
|
|
|
|
|
style="cursor: pointer; margin-left: 32px"
|
|
|
|
|
name="t9"
|
|
|
|
|
size="74.95"
|
|
|
|
|
@click.stop="() => {}"
|
|
|
|
|
@click.stop="addSuspicious"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="check">
|
|
|
|
|