chore: 批量修复优化代码与配置

1.  统一修复多处状态选项值类型从字符串转为数字
2.  优化用户更新逻辑简化代码
3.  新增ORM转Schema工具方法优化数据转换
4.  调整部门与菜单模型加载配置
5.  修复订单详情展示逻辑与样式
6.  移动主题配置到单独文件并更新gitignore
This commit is contained in:
zhangtao
2026-06-18 00:20:22 +08:00
parent 87b3778000
commit 46528c03be
25 changed files with 317 additions and 177 deletions
@@ -245,8 +245,8 @@ const searchBarRef = ref<InstanceType<typeof FaSearchBar> | null>(null);
const searchBarRules: Record<string, unknown> = {};
const statusOptions = ref([
{ label: "正常", value: "0" },
{ label: "禁用", value: "1" },
{ label: "正常", value: 0 },
{ label: "禁用", value: 1 },
]);
const pkgSearchItems = computed<SearchFormItem[]>(() => [