fix(工作反馈、工作日志): 添加超大尺寸对话框预设并优化反馈搜索功能。

- 在 BusinessFormDialog 组件中添加 xl 尺寸预设,宽度设置为 1200px
- 移除 feedback-search.vue 中废弃的 useDict 钩子导入
- 将反馈搜索的状态选择器从普通下拉改为字典类型,统一值转换逻辑
- 更新反馈初始搜索参数中的状态值类型从数字改为字符串
- 任务工时对话框使用 xl 预设以获得更大显示区域
This commit is contained in:
dk
2026-07-03 17:34:48 +08:00
parent 9d147ee263
commit bc5815416b
4 changed files with 11 additions and 10 deletions

View File

@@ -7,7 +7,7 @@ defineOptions({
inheritAttrs: false
});
type DialogPreset = 'sm' | 'md' | 'lg';
type DialogPreset = 'sm' | 'md' | 'lg' | 'xl';
interface Props {
title: string;
@@ -50,7 +50,8 @@ const visible = defineModel<boolean>({
const DIALOG_WIDTH_MAP: Record<DialogPreset, string> = {
sm: '520px',
md: '720px',
lg: '960px'
lg: '960px',
xl: '1200px'
};
const dialogWidth = computed(() => props.width ?? DIALOG_WIDTH_MAP[props.preset]);