新增业务实体字段配置功能,包含主表和明细表的数据库结构定义,支持业务打印绑定的字段映射。实现字段配置的增删改查操作,优化打印数据生成逻辑,提升系统的可维护性和扩展性。同时,新增异步同步功能以支持打印模板与业务数据的实时更新。

This commit is contained in:
geht
2026-05-14 17:11:15 +08:00
parent 379cc47e47
commit bc1de2c765
21 changed files with 1447 additions and 64 deletions

View File

@@ -22,8 +22,9 @@ export const deleteOne = (params, handleSuccess?) =>
defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => handleSuccess?.());
export const bizTypes = () => defHttp.get({ url: Api.bizTypes });
/** 新增/编辑绑定时可选业务(受打印业务白名单过滤) */
export const bizTypesForBinding = () => defHttp.get({ url: Api.bizTypesForBinding });
/** 新增/编辑绑定时可选业务(受打印业务白名单过滤);后端批量查缓存与菜单,数据多时延长超时 */
export const bizTypesForBinding = () =>
defHttp.get({ url: Api.bizTypesForBinding, timeout: 120000 });
/** 白名单:已勾选菜单 id + 完整业务目录 */
export const getPermWhitelist = () => defHttp.get({ url: Api.permWhitelist });
/** 勾选菜单多时后端需批量 upsert默认 10s 易超时 */