29 Commits

Author SHA1 Message Date
Hermes Agent
72f6840bbe chore: 添加json/build.sh脚本 2026-06-17 17:26:24 +08:00
874bee20cb fix: wrap Tabular in VBox with cheight for proper scrolling 2026-05-29 22:09:52 +08:00
8f8a4dce90 refactor(models): convert to json format per database-table-definition-spec 2026-05-27 13:23:29 +08:00
c8e79e85b7 feat: add load_path.py RBAC permission registration script 2026-05-27 13:16:08 +08:00
797ac1d935 fix: replace uuid.uuid4() with getID() from appPublic.uniqueID for all table ID generation 2026-05-08 15:47:19 +08:00
2e8630c5ab fix: add env.get_module_dbname() for dynamic database lookup 2026-05-08 15:34:15 +08:00
bc7cb9676f fix: DBPools Singleton - manually set db.databases after getting instance 2026-05-08 15:17:20 +08:00
2f68b617c7 fix: DBPools(config.databases) instead of DBPools() for subprocess context 2026-05-08 14:49:20 +08:00
fd0c9f4aeb fix: CRUD JSON compliance - delete non-CRUD files, add editable to missing files
- DELETED 3 non-CRUD format files: funnel_analysis.json, revenue_prediction.json, stage_change.json
  (these used custom name/title/type/components format instead of tblname/params CRUD spec)
- ADDED editable paragraph to sales_stages.json (was missing new/update/delete data URLs)
- ADDED editable paragraph to opportunity_stage_history.json (was missing new/update/delete data URLs)
- CREATED 6 CRUD API files: sales_stages_create/update/delete.dspy, opportunity_stage_history_create/update/delete.dspy
2026-05-08 14:39:46 +08:00
635f71ea52 fix: DBPools() not in __init__, sqlorContext uses module name not default 2026-05-08 11:41:55 +08:00
4154d22ed2 fix: correct subtable URLs to use relative aliases for same-module, absolute paths for cross-module 2026-05-06 08:56:03 +08:00
ecada505c9 fix: quote entire_url arguments in CRUD json subtables (use string not variable) 2026-05-06 08:47:59 +08:00
ae883e015c fix: menu.ui labels changed to Chinese 2026-05-06 08:17:27 +08:00
1f7cc47788 fix: menu.ui uses CRUD json alias/tblname for URLs matching actual bricks CRUD paths 2026-05-06 08:13:31 +08:00
1cf030def2 fix: replace background with bgcolor, unwrap widgettype:Page to promote subwidgets to top level 2026-05-06 07:49:03 +08:00
cb662c8c0c fix: menu.ui uses '{{entire_url('/modulename/tablename')}}' format for table CRUD items 2026-05-05 22:05:24 +08:00
58637df2e8 fix: menu.ui is now a Menu widget, not a plain JSON list 2026-05-05 22:00:47 +08:00
684311e59b feat: add menu.ui as module entry point with CRUD and UI/DSpy menu items 2026-05-05 21:33:57 +08:00
cdc64b2e09 fix: replace backgroundColor with bgcolor (bricks framework valid property) 2026-05-05 19:50:14 +08:00
2bbb3d038e fix: flatten style to options, fix Button/Text widget properties
- Flatten nested style objects directly into options
- Text/Title use 'text', Button uses 'label'
- All paths use {{entire_url()}}
2026-05-05 19:36:11 +08:00
a2cb5a8eec fix: Text widgets use 'text' not 'label', Button widgets use 'label' not 'text'
Per bricks-framework spec:
- Text/Title: use 'text' for non-i18n, 'otext'+'i18n:true' for i18n
- Button: use 'label' for button text
2026-05-05 19:28:23 +08:00
b6a8ae55e8 feat: add wwwroot/index.ui as module entry point
Integrate all module .ui and .dspy files into a single navigation page
using {{entire_url()}} for all path references.
2026-05-05 19:04:02 +08:00
5ac011c96e bugfix 2026-05-03 14:26:45 +08:00
a81dd8087a fix: replace appPublic.Config.getConfig with appPublic.jsonConfig.getConfig 2026-04-29 17:44:01 +08:00
7114e74777 fix: replace sqlor-database-module with sqlor, add bricks_for_python dependency 2026-04-29 17:28:33 +08:00
33f1d4bf74 chore: remove pycache from git tracking 2026-04-29 12:58:13 +08:00
2547fad996 sync: local modifications to opportunity_management
- Updated core.py, init.py, opportunity_core.py, mysql.ddl.sql
- Updated UI: base.ui, opportunity_management.ui
- Added: opportunity.json, opportunity_stage_history.json
- Added API files: opportunities CRUD, sales_stages_list, check_tables
- Added UI/DSPY: opportunity_edit, opportunity_list, sales_stages_list
2026-04-28 18:54:47 +08:00
b837692cc4 feat(opportunity): 实现完整的商机管理模块
- 实现商机全生命周期管理功能
  - 商机创建(手动录入/线索转化)
  - 阶段管理(自定义销售漏斗,阶段变更记录原因)
- 实现商机分析功能
  - 漏斗可视化(各阶段数量/金额占比,支持区域/销售维度筛选)
  - 收入预测(基于历史转化率,偏差率≤15%)
- 完整的数据库设计(opportunities, opportunity_stage_history, sales_funnel_config)
- 前端界面基于bricks-framework实现
- 符合生产级代码标准和模块开发规范
- 包含完整的测试用例和构建脚本
2026-04-16 14:32:21 +08:00
1b0cc60236 bugfix 2026-04-16 13:30:38 +08:00