{ "version": "v0.10", "extractedAt": "2026-06-22", "formDesign": { "file": "web/apps/jnpf-web-apps-main/src/views/onlineDev/formDesign/Form.vue", "defaultValues": { "type": "1", "webType": "2", "dbLinkId": "0", "state": "1", "sortCode": "0" }, "keyBehaviors": { "webType_fallback": "data.webType || 2 (L189)", "maxStep_logic": "webType==4 ? 1 : 2 (L190)", "dbLinkId_change_clears_tables": "onDbChange() L226-L228", "subtable_validation": "exist() L385-L403", "queryType_logic": "type==3||4||5 ? '1' : '0' (L213, L263)" } }, "sysForm": { "file": "web/apps/jnpf-web-apps-main/src/views/onlineDev/sysForm/Form.vue", "defaultValues": { "type": "2", "webType": "1", "dbLinkId": "0", "state": "1", "sortCode": "0" } }, "validation": { "file": "web/apps/jnpf-web-apps-main/src/views/onlineDev/sysForm/FieldForm.vue", "rules": [ "名称不能为空" ] }, "apiEndpoints": { "visualDev": { "enum": { "AiPrefix": "/api/visualdev/ai/form", "GenPrefix": "/api/visualdev/Generater", "LogPrefix": "/api/visualdev/OnlineLog", "OcrPrefix": "/api/visualdev/ocr", "OnlinePrefix": "/api/visualdev/OnlineDev", "PersonalPrefix": "/api/visualdev/personal", "Prefix": "/api/visualdev/Base", "SharePrefix": "/api/visualdev/share" }, "endpoints": [ { "func": "getVisualDevList", "comment": "获取功能列表", "url": "Api.Prefix" }, { "func": "getVisualDevFormList", "comment": "获取功能列表(集成助手用)", "url": "`${Api.Prefix" }, { "func": "create", "comment": "新建功能", "url": "Api.Prefix" }, { "func": "update", "comment": "修改功能", "url": "`${Api.Prefix" }, { "func": "getInfo", "comment": "获取功能", "url": "`${Api.Prefix" }, { "func": "delVisualDev", "comment": "删除功能", "url": "`${Api.Prefix" }, { "func": "copy", "comment": "复制功能", "url": "`${Api.Prefix" }, { "func": "release", "comment": "发布", "url": "`${Api.Prefix" }, { "func": "getReleaseMenu", "comment": "获取已发布菜单", "url": "`${Api.Prefix" }, { "func": "createMenu", "comment": "生成菜单", "url": "`${Api.Prefix" }, { "func": "getFormDataFields", "comment": "获取表单主表属性列表", "url": "`${Api.Prefix" }, { "func": "getFieldDataSelect", "comment": "获取表单主表数据下拉框", "url": "`${Api.Prefix" }, { "func": "getVisualDevSelector", "comment": "获取功能下拉框列表", "url": "`${Api.Prefix" }, { "func": "getColumnList", "comment": "获取列表字段", "url": "`${Api.Prefix" }, { "func": "downloadCode", "comment": "代码下载", "url": "`${Api.GenPrefix" }, { "func": "codePreview", "comment": "代码预览", "url": "`${Api.GenPrefix" }, { "func": "getAliasInfo", "comment": "获取代码生成命名规范", "url": "`${Api.GenPrefix" }, { "func": "saveAlias", "comment": "更新代码生成命名规范", "url": "`${Api.GenPrefix" }, { "func": "getConfigData", "comment": "获取列表表单配置JSON", "url": "`${Api.OnlinePrefix" }, { "func": "getConfigDataByMenuId", "comment": "通过菜单id获取列表表单配置JSON", "url": "`${Api.OnlinePrefix" }, { "func": "getFormData", "comment": "获取表单配置JSON", "url": "`${Api.OnlinePrefix" }, { "func": "getModelList", "comment": "获取数据列表", "url": "`${Api.OnlinePrefix" }, { "func": "createModel", "comment": "新建数据", "url": "`${Api.OnlinePrefix" }, { "func": "updateModel", "comment": "修改数据", "url": "`${Api.OnlinePrefix" }, { "func": "getModelInfo", "comment": "获取数据信息", "url": "`${Api.OnlinePrefix" }, { "func": "getDataLogList", "comment": "获取修改记录列表", "url": "Api.LogPrefix" }, { "func": "delModel", "comment": "删除数据", "url": "`${Api.OnlinePrefix" }, { "func": "batchDelete", "comment": "批量删除数据", "url": "`${Api.OnlinePrefix" }, { "func": "getDataChange", "comment": "获取数据详情", "url": "`${Api.OnlinePrefix" }, { "func": "exportModel", "comment": "导出数据", "url": "`${Api.OnlinePrefix" }, { "func": "getTemplate", "comment": "下载模板", "url": "`${Api.OnlinePrefix" }, { "func": "exportData", "comment": "导出模板", "url": "`${Api.OnlinePrefix" }, { "func": "launchFlow", "comment": "自定义按钮发起流程", "url": "`${Api.OnlinePrefix" }, { "func": "getRelationQueryList", "comment": "获取关联查询数据列表", "url": "`${Api.OnlinePrefix" }, { "func": "getViewList", "comment": "获取视图列表", "url": "Api.PersonalPrefix" }, { "func": "delView", "comment": "删除视图", "url": "`${Api.PersonalPrefix" }, { "func": "createView", "comment": "新建视图", "url": "Api.PersonalPrefix" }, { "func": "updateView", "comment": "修改视图", "url": "`${Api.PersonalPrefix" }, { "func": "setDefaultView", "comment": "设置默认视图", "url": "`${Api.PersonalPrefix" }, { "func": "getAiInfo", "comment": "获取ai字段", "url": "Api.AiPrefix" }, { "func": "getListBySystem", "comment": "获取跨应用菜单", "url": "`${Api.Prefix" }, { "func": "getShareList", "comment": "获取跨应用表单", "url": "`${Api.SharePrefix" }, { "func": "getShareInfo", "comment": "获取跨应用表单详情", "url": "`${Api.SharePrefix" }, { "func": "saveShare", "comment": "保存跨应用回显", "url": "`${Api.SharePrefix" }, { "func": "getShareSelector", "comment": "获取功能下拉框列表(包含跨应用表单)", "url": "`${Api.SharePrefix" }, { "func": "getOcrData", "comment": "Ocr识别", "url": "`${Api.OcrPrefix" } ] }, "dataModel": { "enum": { "Prefix": "/api/system/DataModel" }, "endpoints": [ { "func": "getDataModelList", "comment": "获取数据库表列表", "url": "`${Api.Prefix" }, { "func": "getDataModelListAll", "comment": "获取数据库表列表+视图", "url": "`${Api.Prefix" }, { "func": "previewDataModel", "comment": "预览数据库表", "url": "`${Api.Prefix" }, { "func": "createDataModel", "comment": "新建数据库表", "url": "`${Api.Prefix" }, { "func": "updateDataModel", "comment": "修改数据库表", "url": "`${Api.Prefix" }, { "func": "getDataModelInfo", "comment": "获取数据库表", "url": "`${Api.Prefix" }, { "func": "delDataModel", "comment": "删除数据库表", "url": "`${Api.Prefix" }, { "func": "getDataModelFieldList", "comment": "获取数据库表", "url": "`${Api.Prefix" }, { "func": "addTableFields", "comment": "新增字段", "url": "`${Api.Prefix" }, { "func": "exportTable", "comment": "导出数据库表", "url": "`${Api.Prefix" } ] }, "dataSource": { "enum": { "Prefix": "/api/system/DataSource", "SyncPrefix": "/api/system/DataSync" }, "endpoints": [ { "func": "getDataSourceList", "comment": "获取数据连接列表", "url": "Api.Prefix" }, { "func": "createDataSource", "comment": "新建数据连接", "url": "Api.Prefix" }, { "func": "updateDataSource", "comment": "修改数据连接", "url": "`${Api.Prefix" }, { "func": "getDataSourceInfo", "comment": "获取数据连接", "url": "`${Api.Prefix" }, { "func": "delDataSource", "comment": "删除数据连接", "url": "`${Api.Prefix" }, { "func": "testDbConnection", "comment": "测试数据连接", "url": "`${Api.Prefix" }, { "func": "dataSync", "comment": "同步校验", "url": "Api.SyncPrefix" }, { "func": "execute", "comment": "同步数据", "url": "`${Api.SyncPrefix" }, { "func": "batchExecute", "comment": "批量同步数据", "url": "`${Api.SyncPrefix" }, { "func": "checkDbLink", "comment": "校验数据库连接", "url": "`${Api.SyncPrefix" } ] } }, "components": { "AiCreateModal": { "file": "web/apps/jnpf-web-apps-main/src/views/onlineDev/formDesign/components/AiCreateModal.vue", "keyMethods": [ "getAiInfo", "create", "buildFormData" ] }, "CreateMenuModal": { "file": "web/apps/jnpf-web-apps-main/src/views/onlineDev/formDesign/components/CreateMenuModal.vue", "keyMethods": [ "getReleaseMenu", "createMenu", "getMenuSelectorFilter" ], "validationRules": [ "pc && !pcIsRelease => pcModuleParentId required", "app && !appIsRelease => appModuleParentId required", "isRelease => confirm overwrite" ] } } }