49 Commits

Author SHA1 Message Date
a92314cf39 fix(menu): is_admin 去掉 *.admin 通配——get_userroles 会把每个角色扩展出 *.{name} 形式,客户机构管理员被误判为平台管理员 2026-08-28 16:49:49 +08:00
bdad3aded3 feat(menu): 移除产线管理菜单项; 客户角色首菜单改为产品展示+我的账户
- 产线管理三功能已从后端移除(死库存), 菜单同步删除
- customer.customer 角色: 首菜单=产品展示(商城卡片页), 我的账户子菜单
  (充值/我的账户/我的权益); 管理员/其他角色走原菜单
- is_admin 判断补充 *.superuser/*.admin 通配形式
2026-08-28 16:34:16 +08:00
33fb5fb919 security(menu): 账务管理菜单角色门禁——财务后台项仅财务角色可见
客户/普通用户只见自服务项(我的账户/账务明细/账单/我的信用额度);
账户余额台账、科目、分录配置、信用额度管理、币种、汇率、记账日志
仅 owner 财务角色与分销商管理员/会计/运营可见。
2026-08-27 18:13:23 +08:00
ymq
b92c9a75fc feat(menu): 投标产线入口指向多session会话界面 /pipeline-bidding/agent 2026-08-27 13:13:07 +08:00
def469ddbc feat(bidding): 接入投标产线模块
- app/pipeline_app.py:load_pipeline_bidding(未装时优雅降级)
- build.sh:模块清单四处加 pipeline-bidding(clone/install/CRUD/wwwroot软链)
- wwwroot/index.ui:侧栏+主页卡片加「投标产线」入口(→/pipeline-bidding/index.ui)
2026-08-26 22:54:44 +08:00
ymq
f27ce2662e feat(supplychain): 供销管理菜单 + i18n
- wwwroot/index.ui 加「供销管理」菜单 8 子项(供应商/资源定价/合同/平台关系/产品映射/分销商/分销协议/销售记账)
- i18n 四语言
2026-08-26 16:45:30 +08:00
a08bac91b6 feat(商品化): 补 5 个模块集成 + 接入两个资源模块 + accounting 菜单(参考 sage)
关键修复:accounting/pricing/discount/unipay 的表和前端早已就位,
但 app/pipeline_app.py 从未 load 它们 —— 相关页面一点即 NameError 500。

- 入口补 load_pricing/accounting/discount/unipay + load_account_resource/storage_resource
  顺序:pricing 先于 accounting 与资源模块(资源计费依赖 pricing_program_charging)
- build.sh 四处列表 + 8b DDL 循环加 account_resource/storage_resource
- wwwroot/index.ui 加「账务管理」菜单 11 子项(参考 sage menu.ui 的配置账务结构)
  按 pipeline-app 实际存在的页面取项:sage 菜单里的 open_account.ui 本模块不存在,已剔除,
  另补上 sage 未列但存在的 我的账户/余额/明细/账单/信用额度/币种/汇率/记账日志
- i18n 四语言补「账务管理」
2026-08-26 14:54:24 +08:00
947b6d3abf feat(dingdingflow): 接入钉钉审批模块
- app/pipeline_app.py: load_dingdingflow(),置于 load_pipeline_service() 之前
  (后者的 dingtalk_approval 适配器依赖前者注册的 register_biz_handler)
- build.sh: 四处模块列表 + 8b DDL 循环加 dingdingflow(dda_* 表建到 pipeline 库)
- wwwroot/index.ui: 侧边栏加「钉钉审批」菜单(open_tab)
- i18n zh/en/jp/ko 补文案
2026-08-25 18:23:32 +08:00
8e09c5389a feat(rag): 接入 rag 知识库模块 + uapi 外部 API 网关
- app/pipeline_app.py: load_uapi() + init_rag_module()(uapi 必须先于 rag)
- build.sh: 四处模块列表加 uapi/rag(clone/pip/xls2ui/wwwroot symlink)
  新增 8b 步骤:json2ddl 建 rag_* 表 + 导入 uapi_seed.sql 配置种子
- wwwroot/index.ui: 侧边栏加「知识库」菜单项(open_tab 符合 UI 导航契约)
- i18n zh/en/jp/ko: 补知识库相关四语言文案

rag 表统一 rag_ 前缀,与产线业务表隔离;数据独立于 ragserver
2026-08-25 15:24:05 +08:00
65dacbd65d fix(todo_badge): 待办角标默认显示🔔待办+数量(不再空白白色方块),弹窗改百分比尺寸 72%x80% 2026-08-24 18:21:15 +08:00
50725d7e61 fix: 角标定时刷新改外部JS(todo_badge.js),移除on_parent binds避免循环结构JSON报错 2026-08-24 15:01:27 +08:00
8ec8131514 fix: 角标定时刷新 script 从 Html 控件(innerHTML不执行script)迁移到头部HBox binds(on_parent) 2026-08-24 14:51:23 +08:00
00506cef3f feat: 顶部待办角标 + 1分钟定时刷新 + 我的待办入口(点击做事) 2026-08-24 12:54:08 +08:00
9ead91d303 feat(dapi): 下位系统管理界面暴露 + RBAC 权限
- rp.json: owner.superuser 加 /dapi /dapi/**
- index.ui: 系统管理菜单加「下位系统」「下位系统API Key」两项(/dapi/downapp /dapi/downapikey)
- 附带 rp.json 里 univer-office 遗留的 /univer-office /office/** 权限(已部署)
2026-08-21 17:28:51 +08:00
398075ac87 fix(sysmgr): appbase 系统管理菜单修复
- build.sh: xls2ui 生成 appbase CRUD 页面(svgicon/appcodes/params)
- create_tables.py: appbase 加入幂等建表模块(svgicon 表此前缺失)
- index.ui: 移除 jsonhttpapi 死菜单项
2026-08-20 17:43:32 +08:00
f8c4b1bfd6 refactor(team-communication): 迁移改 current_handler 两列 + 移除配置表种子/菜单
- create_tables.py: 加 current_handler_role/agentid,废弃 escalation_path/pos 清理
- init_data.py: 移除团队角色/问题类型种子(保留 getConfig 根目录修复)
- index.ui: 移除团队角色/问题类型菜单项
2026-08-16 22:08:02 +08:00
e5427d9516 feat(team-communication): 团队沟通部署固化 + 菜单入口
- scripts/create_tables.py: pipeline_agent_questions 四列幂等迁移
- bin/init_data.py: 种子 sdlc_general 团队角色+问题类型+role_type 代码表
- wwwroot/index.ui: 菜单加团队角色/问题类型
2026-08-16 21:25:40 +08:00
82629a06ae feat: 主菜单加技能管理入口 2026-08-16 19:16:54 +08:00
27973cc842 feat: 主菜单加通用助手入口(纯通用会话,无产线插件) 2026-08-16 18:10:01 +08:00
44dbe1f722 feat: 开发产线菜单入口收敛到core通用agent(/pipeline_core/agent) 2026-08-16 17:19:49 +08:00
5572334c70 feat: 主菜单加微信通道入口(指向pipeline-sdlc微信配置界面) 2026-08-15 11:44:34 +08:00
p
3414a9a692 feat: 加模型管理菜单(/pipeline_core/llm) 2026-08-14 18:02:56 +08:00
p
852d0886e5 fix: open_tab 扩展改用独立 .js 文件(HTML shell 自动加载) 2026-08-14 16:14:42 +08:00
p
f5ac6e38f4 fix: 转义 Html script 的 </script> 防止提前终止 HTML shell 2026-08-14 16:11:28 +08:00
p
adc3bad5b2 feat: 右侧内容区改 TabPanel,菜单项点击动态添加/切换 tab 2026-08-14 16:07:42 +08:00
p
9482b4741d feat: 左侧菜单加产品/折扣/定价/支付 + appbase 子菜单 2026-08-14 15:52:51 +08:00
p
a8f92a58b6 feat: 左侧菜单加系统管理父菜单(rbac 子菜单) 2026-08-14 14:58:02 +08:00
p
3db7b8edce feat: 主页侧边栏加远程空间菜单入口 2026-08-14 13:33:11 +08:00
6d1953cd1d feat: 主菜单加审计日志入口(/app_audit) 2026-08-14 13:23:48 +08:00
p
d0fe4c98cf feat: 主页 Header 加语言切换 + RBAC 用户登录(参考 sage shell) 2026-08-14 11:59:14 +08:00
7288eb5ba8 fix: remove cockpit sidebar menu item (replaced by pipeline-sdlc index) 2026-07-31 12:24:08 +08:00
c994beb85a feat: add cockpit sidebar menu item 2026-07-30 18:26:36 +08:00
5c478b34f5 bugfix 2026-07-19 12:00:58 +08:00
a3fc40e281 bugfix 2026-07-19 11:54:51 +08:00
3c9fdcf444 feat: UI pages, build.sh, deployment scripts, model uitype fixes
- Add SDLC dashboard, pipeline editor, ops center UI
- build.sh: clone business modules to pkgs/, xls2ui CRUD, fix created_by
- global_func.py: password_encode None-safe wrapper
- pipeline_app.py: permission cache warmup removed
- load_path.py: RBAC permission registration for all modules
- scripts/merge_i18n.py: i18n merge tool
- bin/init_perms.py, bin/init_data.py: init scripts
- set_role_perm.py: single permission registration
- Model uitype fields set for form editing
- pipeline_core/pipeline_ops load_path.py scripts
2026-07-18 22:44:34 +08:00
3623d5725e feat: add tenant module — menu entry + init loading
- Add tenant wwwroot symlink to pipeline-app
- Add '租户管理' to sidebar menu
- Load tenant.init in app init
2026-07-09 11:17:20 +08:00
4e560116e9 feat: add KTV产线 sidebar menu entry 2026-07-09 08:09:13 +08:00
e23b32066e fix: add pipeline_sdlc nav entry, fix pipeline_task url 2026-07-09 07:42:36 +08:00
76a7e0444f bugfix 2026-07-08 18:45:44 +08:00
d615a9ed0c bugfix 2026-07-08 18:27:23 +08:00
bba2e12cbf fix: pipeline UI - menu width, task URL, admin button target
- Fix task center URL: /pipeline_task/ → /pipeline_sdlc/sd_projects/
- Admin button opens in new window instead of replacing main content
- Menu width: fixed 220px with min-width 200px
2026-07-08 18:03:14 +08:00
5bc6bdce85 bugfix 2026-07-08 17:47:20 +08:00
abd5837509 fix: rewrite index.ui for pipeline_ops/pipeline_dist as proper bricks cards
- pipeline_ops: VBox+ResponsableBox cards → pricing/capacity/usage_log
- pipeline_dist: VBox+ResponsableBox cards → distributor_pipeline
- main index.ui: fix task center URL (/pipeline_task→/pipeline_sdlc/sd_projects), menu cwidth
2026-07-08 17:43:49 +08:00
9ea18c9607 bugfix 2026-07-08 17:35:26 +08:00
0bc74fdd1a feat: 修复工作区状态并提交CRUD生成文件
- 修复文件权限 (600→644)
- 删除调试日志 (global_func.py)
- 添加 CRUD 生成的 wwwroot 文件 (pipeline_core/dist/ops)
- 添加 mysql.ddl.sql 文件
- 更新 pyproject.toml 配置
- 添加 showcase 模块安装 (build.sh)
- 更新 index.ui (sidebar toggle + 管理按钮)
- 设置 start.sh/stop.sh 可执行权限
- 添加 wwwroot 符号链接 (appbase/rbac/pipeline_sdlc)
- 更新 .gitignore (排除 pkgs/bricks/pipeline.pid)
2026-06-26 16:44:23 +08:00
8bf090c177 fix: target使用-main_content向上搜索父容器 2026-06-12 01:01:03 +08:00
faa8a62e77 fix: VScrollPanel id去掉点号避免querySelector CSS类冲突 2026-06-12 01:00:06 +08:00
4de0be5b4b fix: 首页卡片使用binds绑定click事件 2026-06-12 00:48:03 +08:00
9ae927c899 fix: 修复首页卡片点击无响应,VBox改用Button 2026-06-12 00:02:01 +08:00