问题 ---- 模块筛选下拉仍出现 image_embeddings、purchase_request、sys_element 等 英文值。它们来自改造前的全局监听器:那时无白名单,系统表/草稿表/向量表 都会被审计,而 _infer_module_name 对未登记的类名直接回退成表名。 下拉取 DISTINCT module,这些英文值就混了进来。 处理 ---- 新增 moduleMap(21 项)+ moduleLabel(),并应用到**三处**渲染: 下拉选项、列表列、详情弹窗的模块标签。 value 保留原始字符串,筛选行为完全不变。 除覆盖现存 3 个英文值外,另预置了 18 个白名单表名(sys_user / stock_buy / trans_outbound 等)。新监听器已保证 module 为中文,但若将来有数据从旧 路径写入或手工导入,这些值会再次出现,预置可避免同类问题复发。 其中 image_embeddings 标注为「图像特征(历史)」以提示其为改造前的产物。 实测:image_embeddings → 图像特征(历史),purchase_request → 采购申请, sys_element → 系统元素;中文模块名原样保留。
Vue 3 + TypeScript + Vite
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.
Learn more about the recommended Project Setup and IDE Support in the Vue Docs TypeScript Guide.