From 1c85b2ae921d585c893257bef1cb7433735e3d8b Mon Sep 17 00:00:00 2001 From: bestlee Date: Sun, 20 Sep 2026 17:30:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E6=96=99=E6=A1=A3=E6=A1=88=E5=BA=93?= =?UTF-8?q?=E5=8F=B3=E4=BE=A7=E6=96=87=E4=BB=B6=E5=88=97=E8=A1=A8=E5=AE=8C?= =?UTF-8?q?=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/docs/archives/index.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/docs/archives/index.vue b/src/views/docs/archives/index.vue index 94b96e2..1615dcd 100644 --- a/src/views/docs/archives/index.vue +++ b/src/views/docs/archives/index.vue @@ -123,7 +123,7 @@ const LIB_ORGS: { org: string; groups: LibGroup[] }[] = [ ]; const openOrgs = ref>({ 一车间: true }); const libSel = ref({ org: "一车间", cat: "工艺", label: "操作规程" }); -const libCur = computed(() => LIB_ORGS.find((o) => o.org === libSel.value.org)?.groups.find((g) => g.cat === libSel.value.cat)?.folders.find((f) => f.label === libSel.value.label)); +const libCur = computed(() => docList.value.find((o) => o.org_name === libSel.value.org)?.categories.find((g) => g.category === libSel.value.cat)?.folders.find((f) => f.folder === libSel.value.label)); const loading = ref(false); const rightLoading = ref(false); @@ -234,17 +234,17 @@ onMounted(() => { {{ libSel.cat }} {{ libSel.label }} - 共 {{ libCur?.docs.length ?? 0 }} 份 · 版本受控 + 共 {{ libCur?.count ?? 0 }} 份 · 版本受控
-
{{ d.name }}
+
{{ d.doc_name }}
- 版本 {{ d.ver }} - 更新 {{ d.date }} + 版本 {{ d.version }} + 更新 {{ d?.updated_at?.slice(0, 10) }}