Compare commits

...

13 Commits

@ -129,7 +129,7 @@ export const asideMap: Recordable<AsideEntity> = {
component: defineAsyncComponent(() => import('@/views/home/aside/comp/items/Iztaskrrom.vue')),
},
izshowall: {
label: '显示全部任务数据',
label: '全部历史数据',
defaultValue: false,
isDefaultFilter: false,
key: 'izshowall',

@ -170,16 +170,16 @@ async function featchList() {
loading = true
try {
// const result = await dubiousfilelist({ ...pagination, orderbyname: timeRange.value })
pagination.pageNo += 1
// console.log('pagination.pageNo------------', pagination.pageNo)
const result = await dubiousfilelist({ ...pagination, ...sortObj })
// TODO
// result.data = Array.from({ length: 30 })
const { data, pageCount, current } = result
// pagination.pageNo = data.current
pagination.pageNo = data.current
// canloadMore = pageCount >= pagination.pageNo && pageCount > 0;
canloadMore = data.pages >= pagination.pageNo && data.pages > 0
pagination.pageNo += 1
// console.log('canloadMore------------', canloadMore)
loading = false
return result.data.records
@ -204,6 +204,7 @@ const updateHtml = debounce(() => {
}, 1600)
async function loadMore() {
console.log('可疑文件夹出来了11111111111111', loading, el.value)
if (loading || el.value == null)
return
@ -562,7 +563,7 @@ function rejectHandler() {
function reset() {
batch.value = false
// pagination.pageNo = 1;
pagination.pageNo = 1
pagination.pageNo = 0
pagination.pageSize = 30
selectIds.value = []
selectedApproveItems.value.length = 0
@ -699,8 +700,11 @@ watch(() => show.value, async (newVal) => {
// const list = await featchList()
// listData.value = list
// layout()
reset()
loadMore()
console.log('开启了可疑弹窗')
setTimeout(() => {
reset()
loadMore()
}, 50)
}
})
</script>

@ -299,8 +299,8 @@ async function featchList(userSearchId?: string) {
params.izsimilarity = params.izsimilarity.join('-')
// rao end
console.log('window.cancle.queryPageListByCheckNo', window.cancle.queryPageListByCheckNo)
console.log('window.cancle.getPictureList', window.cancle.getPictureList)
// console.log('window.cancle.queryPageListByCheckNo', window.cancle.queryPageListByCheckNo)
// console.log('window.cancle.getPictureList', window.cancle.getPictureList)
if (checkTaskStatus.value === 2 && isRefresh) {
//
window.cancle.queryPageListByCheckNo && window.cancle.queryPageListByCheckNo()
@ -787,6 +787,7 @@ function loadImg(src) {
function previewImageUrl(img1, img2) {
setTimeout(async () => {
const img = document.getElementsByClassName('n-image-preview').item(0)
img.src = img1
await loadImg(img2)
img.src = img2
}, 50)

@ -185,7 +185,7 @@ defineExpose({
<style lang="less" scoped>
.list {
height: calc(100vh - 146px);
height: calc(100vh - 102px);
overflow-y: scroll;
overflow-x: hidden;

@ -435,6 +435,7 @@ function loadImg(src) {
function previewImageUrl(img1, img2) {
setTimeout(async () => {
const img = document.getElementsByClassName('n-image-preview').item(0)
img.src = img1
await loadImg(img2)
img.src = img2
}, 50)

@ -310,10 +310,13 @@ defineExpose({
不通过
</n-button>
<n-button
class="btn3"
style="
width:72px;
height:38px;
position: absolute;
border: 1px solid #cad2dd;
color:black;
right: 36px;" @click="closeModal"
>
取消
@ -591,4 +594,12 @@ defineExpose({
background-color: #fff !important;
border: 1px solid #cad2dd !important;
}
.btn3{
border: 1px solid #cad2dd !important;
color: black;
}
.btn3:hover{
border: 1px solid #cad2dd !important;
color: black;
}
</style>

@ -188,7 +188,7 @@ defineExpose({
<style lang="less" scoped>
.list {
height: calc(100vh - 146px);
height: calc(100vh - 78px);
overflow-y: scroll;
overflow-x: hidden;

@ -817,18 +817,24 @@ defineExpose({
v-if="[1].includes(taskDetailInfo.historyStates)"
style="cursor: pointer;"
name="t1"
width="74.95"
height="74.95"
@click.stop="handleApproveMainImage"
/>
<SvgIcon
v-if="[1].includes(taskDetailInfo.historyStates)"
style="cursor: pointer;"
name="t2"
width="74.95"
height="74.95"
@click.stop="handleRejectMainImage"
/>
<SvgIcon
v-if="[1].includes(taskDetailInfo.historyStates)"
style="cursor: pointer; "
name="t9"
name="t9"
width="74.95"
height="74.95"
@click.stop="handleRejectdubiousfileyd(taskDetailInfo.id)"
/>
</div>

@ -42,7 +42,7 @@ function ApprovalOver(packageId) {
flex-direction: row;
box-sizing: border-box;
width: 100%;
height: 100%;
height: 100vh;
padding-bottom: 16px;
//height: calc(100% - 170px);
}

Loading…
Cancel
Save