品质异常图片

This commit is contained in:
Ledo 2025-07-11 14:27:24 +08:00
parent d00cf61c1d
commit fc5a4fa2a2
3 changed files with 8 additions and 5 deletions

View File

@ -213,9 +213,9 @@ public class UnqualifiedNotificationController {
List<String> fileUrlList = new ArrayList<>();
Integer type = 0;
if (unqualifiedNotificationDO.getTypeName().equals("过程检")){
type = 2;
}else if (unqualifiedNotificationDO.getTypeName().equals("终检")){
type = 1;
}else if (unqualifiedNotificationDO.getTypeName().equals("终检")){
type = 2;
}
List<UnqualifiedNotificationFileDO> unqualifiedNotificationFileDOS = unqualifiedNotificationFileService.queryUnqualifiedNotificationFileBySuperId(unqualifiedNotificationDO.getId(),type);
if(CollUtil.isNotEmpty(unqualifiedNotificationFileDOS)){

View File

@ -6,7 +6,7 @@ import CustomNavbar from "./components/CustomNavbar.vue";
import CategoryPanel from "./components/CategoryPanel.vue";
import footRight from "./components/footRight.vue";
import PageSkeleton from "./components/PageSkeleton.vue";
import {countReview, getHomeCategoryAPI, getUnreadMessage} from "@/services/home";
import {countReview, getHomeCategoryAPI, getUnreadMessage,countUnqualifiedNotification} from "@/services/home";
//
const categoryList = ref([
{
@ -111,6 +111,9 @@ const getHomeCategory = async () => {
const unReadCount = await getUnreadMessage();
const count = await countReview();
var query ={
queryType:2,
}
const unqualifiedNotificationCount = await countUnqualifiedNotification(query);
//
const cgdsp = categoryList.value.find(

View File

@ -200,7 +200,7 @@
if (isQua.value == 1) {
await imgUpload()
}
await initPage();
const pages = getCurrentPages(); //
const currentPage = pages[pages.length - 1]; //
const url = `/${currentPage.route}?${Object.entries(currentPage.options).map(([key, val]) => `${key}=${val}`).join('&')}`;
@ -223,7 +223,7 @@
if (isQua.value == 1) {
await imgUpload()
}
await initPage();
const pages = getCurrentPages(); //
const currentPage = pages[pages.length - 1]; //
const url = `/${currentPage.route}?${Object.entries(currentPage.options).map(([key, val]) => `${key}=${val}`).join('&')}`;