变更归档查询页面修改

This commit is contained in:
2026-08-17 09:19:58 +08:00
parent ea1b156a2a
commit 8008754996
+5 -5
View File
@@ -217,7 +217,7 @@ const downloadFile = (file:any) => {
<Tag v-if="p.supplement" class="border-amber-200 bg-amber-100 px-1 py-0 text-[10px] text-amber-700">补充</Tag> <Tag v-if="p.supplement" class="border-amber-200 bg-amber-100 px-1 py-0 text-[10px] text-amber-700">补充</Tag>
</button> </button>
</template> </template>
<template v-else> <div v-else class="scroll-left">
<div v-for="u in tree" :key="u.unit"> <div v-for="u in tree" :key="u.unit">
<button @click="openUnits[u.unit] = !openUnits[u.unit]" <button @click="openUnits[u.unit] = !openUnits[u.unit]"
class="flex w-full items-center gap-1.5 rounded-lg px-2 py-1.5 text-left text-xs font-medium hover:bg-slate-50 bg-transparent"> class="flex w-full items-center gap-1.5 rounded-lg px-2 py-1.5 text-left text-xs font-medium hover:bg-slate-50 bg-transparent">
@@ -246,7 +246,7 @@ const downloadFile = (file:any) => {
</div> </div>
</template> </template>
</div> </div>
</template> </div>
</div> </div>
<!-- 归档包详情 --> <!-- 归档包详情 -->
<div v-if="sel" class="rounded-lg border col-span-2"> <div v-if="sel" class="rounded-lg border col-span-2">
@@ -281,7 +281,7 @@ const downloadFile = (file:any) => {
<NButton v-if="!sel.revoked" size="small" class="text-xs" @click="applySupplement">发起归档补充申请</NButton> <NButton v-if="!sel.revoked" size="small" class="text-xs" @click="applySupplement">发起归档补充申请</NButton>
</div> </div>
</div> </div>
<div class="divide-y"> <div class="divide-y scroll-right">
<div v-for="f in selFolders" :key="f.dir"> <div v-for="f in selFolders" :key="f.dir">
<button @click="openFolders[f.dir] = !openFolders[f.dir]" <button @click="openFolders[f.dir] = !openFolders[f.dir]"
class="flex w-full items-center gap-2 px-3 py-2 text-left text-xs font-medium hover:bg-slate-50 bg-transparent"> class="flex w-full items-center gap-2 px-3 py-2 text-left text-xs font-medium hover:bg-slate-50 bg-transparent">
@@ -325,11 +325,11 @@ const downloadFile = (file:any) => {
</style> </style>
<style scoped lang="scss"> <style scoped lang="scss">
.scroll-left { .scroll-left {
height: calc(100vh - 260px); height: calc(100vh - 365px);
overflow-y: auto; overflow-y: auto;
} }
.scroll-right { .scroll-right {
height: calc(100vh - 280px); height: calc(100vh - 460px);
overflow-y: auto; overflow-y: auto;
} }
</style> </style>