diff --git a/src/layout/components/Header/RecycleModal.vue b/src/layout/components/Header/RecycleModal.vue index 230aa94..050af2c 100644 --- a/src/layout/components/Header/RecycleModal.vue +++ b/src/layout/components/Header/RecycleModal.vue @@ -127,8 +127,6 @@ const confrimModalRef = ref() // // } // // el.value!.scrollTo({ top: height, behavior: 'instant' }) // loading = false -// console.log('loading---------------', loading) -// console.log('pagination.pageNo---------------', pagination.pageNo) // if (pagination.pageNo == 3) { // let timer // if (timer) @@ -136,7 +134,6 @@ const confrimModalRef = ref() // timer = setTimeout(() => { // isTop.value = false -// console.log('isTop.value---------------', isTop.value) // }, 1000) // } // }) @@ -171,7 +168,6 @@ async function featchList() { 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 }) @@ -180,7 +176,6 @@ async function featchList() { // canloadMore = pageCount >= pagination.pageNo && pageCount > 0; canloadMore = data.pages >= pagination.pageNo && data.pages > 0 - // console.log('canloadMore------------', canloadMore) loading = false return result.data.records // const list = data.map((item) => { @@ -201,12 +196,10 @@ const app = getCurrentInstance() const updateHtml = debounce(() => { // app?.appContext.app.$waterfall?.forceUpdate() - console.log('更新页面了') waterfallRef.value?.resize() }, 200) async function loadMore() { - console.log('可疑文件夹出来了11111111111111', loading, el.value) if (loading || el.value == null) return @@ -221,13 +214,11 @@ async function loadMore() { if (pagination.pageNo <= 1) { listData.value = [] listData.value = listData.value.concat(more) - console.log('listData.value可疑文件夹出来了11111111111111', listData.value, pagination.pageNo) if (pagination.pageNo <= 1) waterfallRef.value?.resize() } else { listData.value = listData.value.concat(more) - console.log('listData.value可疑文件夹出来了2222222222', listData.value, pagination.pageNo) // waterfallRef.value?.mix() updateHtml() } @@ -283,21 +274,6 @@ function imUpdateSelectIds(x: number, y: number, w: number, h: number) { if (rect.right > x && rect.bottom > y && rect.left < x + w && rect.top < y + h) index === -1 && selectIds.value.push(item.dataset.id!) else index !== -1 && selectIds.value.splice(index, 1) - - // let tempApproveIndex = -1; - // selectedApproveItems.value.map((approveItem, approveIndex) => { - // console.log("approveItem and item", approveItem, item ); - // if(approveItem.selfId == item.dataset.id) { - // tempApproveIndex = approveIndex; - // } - // }) - // if (tempApproveIndex === -1 && item.className.indexOf('grid-item-selected') != -1) { - // let tempItem: any = cloneDeep(item); - // tempItem.selfId = item.dataset.id; - // selectedApproveItems.value.push(tempItem) - // } else { - // selectedApproveItems.value.splice(tempApproveIndex, 1); - // } }) selectedApproveItems.value = [] // 选中复选框 @@ -307,12 +283,10 @@ function imUpdateSelectIds(x: number, y: number, w: number, h: number) { selectedApproveItems.value.push(item) } }) - console.log('selectedApproveItems.value可疑选中了。。。。。。。。', selectedApproveItems.value) updateHtml() } function isSelected(pictureId: number) { - // console.log('selectIds.value多少只啊啊啊啊啊啊啊啊啊啊啊啊啊', selectIds.value, pictureId) return selectIds.value.includes(String(pictureId)) } @@ -500,7 +474,6 @@ async function commit() { } } function remove() { - // console.log("finally-selectedApproveItems------------", selectedApproveItems.value); if (!selectIds.value || selectIds.value.length === 0) { message.error('至少选中一个') return @@ -509,7 +482,6 @@ function remove() { } function setBatch(value, isUpdate?) { - // console.log('执行了设置可疑勾选-------------') if (value && batch.value) batch.value = !value else @@ -676,7 +648,6 @@ async function refreshHandler(filtersearchId?: any) { } function finish() { - // console.log('finish') } onBeforeMount(async () => { @@ -706,7 +677,6 @@ watch(() => show.value, async (newVal) => { // const list = await featchList() // listData.value = list // layout() - console.log('开启了可疑弹窗aaa') setTimeout(() => { reset() loadMore() diff --git a/src/views/home/content/Content.vue b/src/views/home/content/Content.vue index b3bf829..315be96 100644 --- a/src/views/home/content/Content.vue +++ b/src/views/home/content/Content.vue @@ -110,7 +110,6 @@ const listStyle = computed(() => { }) async function inittask() { const result = await getLastCheckNox() - console.log(result.data) if (result.data) { const res = await getCheckDuplicateStatusx({ checkDuplicateNo: result.data }) if (res.data.status == 1) { @@ -188,14 +187,10 @@ const isInitSeaerch = ref(false) // 是否初始化搜索 const collapse = ref(1) nextTick(() => { configStore.$subscribe(() => { - // console.log('subscribe', 'configStore') isAllowDownload.value = configStore.isAllowDownload calNum.value = configStore.getTimeNum - // console.log("calNum.value----------", calNum.value); searchValue.value = configStore.getSearchValue - // console.log(configStore.getSearchValue, 'getSearchValue') collapse.value = configStore.getCollapse ? 1 : 0 - // console.log('collapse.value的这个肚饿的点点滴滴的点点滴滴', collapse.value) }) }) @@ -226,7 +221,6 @@ watch(() => collapse.value, (newVal, oldVal) => { }) const asideLoadMore = debounce(() => { - console.log('加载了这里首页的数据--------------------') reset() loadMore() }, 400) @@ -234,7 +228,6 @@ const asideLoadMore = debounce(() => { watch( () => searchValue.value, async (newVal, oldVal) => { - // console.log('首页搜索框的值', newVal, oldVal) if (newVal) { isInitSeaerch.value = true // pagination.pageNo = 0 @@ -263,7 +256,6 @@ watch( watch( () => configStore.getAsideValue, async (newVal, oldVal) => { - // console.log('configStore.getAsideValue首页变化了啊', newVal, oldVal, Object.entries(newVal).toString() === Object.entries(oldVal).toString(), pagination.pageNo) if (pagination.pageNo > 1 && newVal && !(Object.entries(newVal).toString() === Object.entries(oldVal).toString())) { // reset() asideLoadMore() @@ -300,8 +292,6 @@ 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) if (checkTaskStatus.value === 2 && isRefresh) { // 取消上次的请求 window.cancle.queryPageListByCheckNo && window.cancle.queryPageListByCheckNo() @@ -361,7 +351,6 @@ async function featchList(userSearchId?: string) { } async function loadMore() { - console.log('loadMore首页pagination.pageNo----------------', pagination.pageNo) if (loading.value || el.value == null) return canloadMore = false @@ -369,19 +358,16 @@ async function loadMore() { more.forEach((item) => { item.calHeight = 182 * item.high / item.wide }) - console.log('loadMore加载后首页的pagination.pageNo----------------', pagination.pageNo) // listData.value.push(...more) if (pagination.pageNo <= 1) { listData.value = [] listData.value = listData.value.concat(more) - console.log('listData.value首页出来了1111', listData.value) waterfallRef.value?.resize() if (listData.value.length == 0) waterfallRef.value?.clear() } else { listData.value = listData.value.concat(more) - console.log('listData.value首页出来了2222', listData.value) waterfallRef.value?.mix() } } @@ -551,7 +537,6 @@ onMounted(() => { inittask() emitter.on('filter', refreshHandler) // emitter.on("filter", (searchId)=>{ - // console.log("emitter on filter" + searchId) // reset() // featchList(searchId) // }) @@ -600,7 +585,6 @@ async function refreshHandler(filtersearchId?: any) { if (filtersearchId) filterId = filtersearchId - // console.log("执行了这里首页的数据"); // loadMore() asideLoadMore() // nextTick(() => { @@ -766,7 +750,6 @@ const dropdownOptions = ref([ ]) function finish() { - // console.log('finish') } const masonryRef = ref(null) diff --git a/src/views/task/modal/BatchModal.vue b/src/views/task/modal/BatchModal.vue index 1fdc978..e31c240 100644 --- a/src/views/task/modal/BatchModal.vue +++ b/src/views/task/modal/BatchModal.vue @@ -96,7 +96,6 @@ onBeforeMount(async () => { useWindowSizeFn(computeListHeight) function finish() { - // console.log('finish') } // const layout = debounce(() => { @@ -161,14 +160,10 @@ async function loadMore() { if (pagination.pageNo == 1) { listData.value = [] listData.value = listData.value.concat(more) - console.log('listData.value出来了11111111111111', listData.value) - // if(pagination.pageNo == 1) { waterfallRef.value?.resize() - // } } else { listData.value = listData.value.concat(more) - console.log('listData.value出来了2222222222', listData.value) waterfallRef.value?.mix() } } @@ -187,7 +182,6 @@ async function fetchList() { ) // pagination.pageNo = current canloadMore = pageCount >= pagination.pageNo && pageCount > 0 - // console.log('canloadMore的值为', canloadMore, pageCount, pagination.pageNo) totalCount.value = total loading.value = false return data