From 94ec5e65ca9a953c239be53fecbfd68300501582 Mon Sep 17 00:00:00 2001 From: huhao Date: Tue, 11 Aug 2026 11:30:27 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=8C=89=E9=92=AE=E6=9D=83?= =?UTF-8?q?=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scanpages/hj/daily_audit.vue | 13 +++-- scanpages/hj/daily_audit_detail.vue | 10 +++- scanpages/hj/daily_paper.vue | 14 +++-- scanpages/hj/do_anti_rust.vue | 12 +++- scanpages/hj/make_right.vue | 12 +++- scanpages/hj/material_sampling.vue | 12 +++- store/modules/menu.js | 47 ++++++++++++---- utils/constant.js | 87 ++++++++++++++++++++--------- 8 files changed, 148 insertions(+), 59 deletions(-) diff --git a/scanpages/hj/daily_audit.vue b/scanpages/hj/daily_audit.vue index e9bfa0d..ecc2a28 100644 --- a/scanpages/hj/daily_audit.vue +++ b/scanpages/hj/daily_audit.vue @@ -38,7 +38,7 @@ - @@ -82,7 +82,7 @@ - + @@ -117,7 +117,8 @@ storeToRefs } from 'pinia' import { - useUserStore + useUserStore, + useMenuStore } from '@/store' import { reqProjectWorkArea @@ -129,10 +130,12 @@ } from '@/api/hj.js' const userStore = useUserStore() + const menuStore = useMenuStore() const { - currentProject, - userInfo + userInfo, + currentProject } = storeToRefs(userStore) + const canEdit = computed(() => menuStore.canEditFunc('dailyAudit')) // ===== 筛选条件 ===== const pipelineCode = ref('') diff --git a/scanpages/hj/daily_audit_detail.vue b/scanpages/hj/daily_audit_detail.vue index 8cf77d8..20b5b3a 100644 --- a/scanpages/hj/daily_audit_detail.vue +++ b/scanpages/hj/daily_audit_detail.vue @@ -125,7 +125,7 @@ - + 删除 审核通过 @@ -134,13 +134,15 @@