Merge branch 'dev' into picture-feedback

# Conflicts:
#	backend/app/models/__init__.py
#	backend/app/services/voucher_check/notification.py
#	docs/features/accounting-voucher-check/demand.md
#	frontend/src/features/admin/modules/reports/ReportsPage.vue
#	frontend/src/shared/components/GeneralFeedbackDialog.vue
This commit is contained in:
HTEWJ\26070045 committed 2026-10-29 12:42:02 +08:00
commit 836ddea84d
62 files changed
+5185 -3183

No files matched your search

@@ -27,6 +27,7 @@ import {
} from 'element-plus';
import 'element-plus/dist/index.css';
import 'element-plus/theme-chalk/dark/css-vars.css';
import '@/shared/styles/element-theme.css';
import { BusinessError, requestJson } from '@/shared/api/client';
import { uploadFileAsset } from '@/shared/api/file-assets.api';
@@ -390,3 +391,4 @@ const submitFeedback = async () => {
</template>
</ElDialog>
</template>
@@ -5,6 +5,7 @@
* 依赖:vue-i18n、dialog-overlay / dialog-panel、userPicker.types / userPicker.utils。
* 逻辑:父组件传入候选人并 v-model 控制显隐;确定才回写 selectedIds,取消不改已保存选择。
* 不自行拉用户列表,便于凭证检核、排程告警等各自提供数据源。
* 底栏已选标签限高并在内部滚动,避免人数过多时撑开底栏盖住左侧部门和右侧候选人。
*/
import { computed, onBeforeUnmount, ref, watch } from 'vue';
import { useI18n } from 'vue-i18n';
@@ -200,7 +201,7 @@ onBeforeUnmount(() => {
role="dialog"
aria-modal="true"
>
<div class="flex items-start justify-between gap-3 border-b border-default px-5 py-4">
<div class="flex shrink-0 items-start justify-between gap-3 border-b border-default px-5 py-4">
<div class="min-w-0">
<h3 class="text-base font-semibold text-primary">{{ resolvedTitle }}</h3>
<p class="mt-1 text-xs text-muted">{{ resolvedSubtitle }}</p>
@@ -215,8 +216,8 @@ onBeforeUnmount(() => {
</button>
</div>
<div class="flex min-h-0 flex-1 flex-col md:flex-row">
<aside class="max-h-40 shrink-0 overflow-auto border-b border-default bg-surface-soft md:max-h-none md:w-[200px] md:border-b-0 md:border-r">
<div class="flex min-h-0 flex-1 flex-col overflow-hidden md:flex-row">
<aside class="max-h-40 min-h-0 shrink-0 overflow-auto border-b border-default bg-surface-soft md:max-h-none md:w-[200px] md:border-b-0 md:border-r">
<button
v-for="dept in departments"
:key="dept.key"
@@ -233,7 +234,7 @@ onBeforeUnmount(() => {
</aside>
<section class="flex min-h-0 min-w-0 flex-1 flex-col">
<div class="flex items-center gap-2 border-b border-default px-3 py-2.5">
<div class="flex shrink-0 items-center gap-2 border-b border-default px-3 py-2.5">
<input
v-model="query"
type="search"
@@ -249,7 +250,7 @@ onBeforeUnmount(() => {
{{ selectVisibleLabel }}
</button>
</div>
<div class="min-h-[220px] flex-1 overflow-auto">
<div class="min-h-0 flex-1 overflow-auto">
<button
v-for="user in visibleUsers"
:key="user.id"
@@ -289,8 +290,9 @@ onBeforeUnmount(() => {
</section>
</div>
<div class="flex items-center gap-3 border-t border-default bg-surface-soft px-5 py-3">
<div class="flex min-w-0 flex-1 flex-wrap gap-1.5">
<div class="flex shrink-0 items-center gap-3 border-t border-default bg-surface-soft px-5 py-3">
<!-- 已选标签限高滚动,人数再多也不撑开底栏去盖住部门和候选人 -->
<div class="flex max-h-28 min-h-0 min-w-0 flex-1 flex-wrap content-start gap-1.5 overflow-y-auto overscroll-contain pr-1">
<span
v-for="userId in draftIds"
:key="userId"