am-freescan/am-web
Codex a16f16e19a feat(scanner): show native calibration window and SDK progress
Use the existing successful calibration-enter workflow to display the same SDK manufacturer's window and actual callback progress in the task UI. Bind metadata, JPEG and MJPEG to the execution, SDK session, calibration ID and trusted process/window identity; closing the monitor only stops viewing.

Include source-only FreeScanCpp integration, WGC capture lifecycle fixes and immediate ENTER acknowledgement cache synchronization. Preserve original scanner project guards, regression sources and third-party licensing; exclude private runtime configuration and generated artifacts.

Validated platform Java compilation/regressions, frontend type checks and standalone build, native compilation/offline and HTTP regressions, immediate calibration identity checks and ten synthetic window close/reopen cycles. Production installation/restart and real scanner calibration remain pending.
2026-11-21 19:52:07 +08:00
..
.image first commit 2026-10-22 16:18:37 +08:00
.vscode first commit 2026-10-22 16:18:37 +08:00
build/vite first commit 2026-10-22 16:18:37 +08:00
docs first commit 2026-10-22 16:18:37 +08:00
public feat(brand): 更新平台品牌名称与Logo样式 2026-11-03 10:55:40 +08:00
scripts feat(brand): 更新平台品牌名称与Logo样式 2026-11-03 10:55:40 +08:00
sql/mysql first commit 2026-10-22 16:18:37 +08:00
src feat(scanner): show native calibration window and SDK progress 2026-11-21 19:52:07 +08:00
tests feat(brand): 更新平台品牌名称与Logo样式 2026-11-03 10:55:40 +08:00
types first commit 2026-10-22 16:18:37 +08:00
.dockerignore first commit 2026-10-22 16:18:37 +08:00
.editorconfig first commit 2026-10-22 16:18:37 +08:00
.env feat(brand): 更新平台品牌名称与Logo样式 2026-11-03 10:55:40 +08:00
.env.dev first commit 2026-10-22 16:18:37 +08:00
.env.local feat(scanner): 完善补扫、执行监控及资源释放 2026-10-26 11:04:07 +08:00
.env.prod feat: automate production updates and final full-data handoff 2026-11-12 17:54:32 +08:00
.env.stage first commit 2026-10-22 16:18:37 +08:00
.env.standalone feat: add standalone Windows deployment and resource-aware large file transfers 2026-11-11 17:17:50 +08:00
.env.test first commit 2026-10-22 16:18:37 +08:00
.eslintrc-auto-import.json first commit 2026-10-22 16:18:37 +08:00
.gitignore first commit 2026-10-22 16:18:37 +08:00
.prettierignore first commit 2026-10-22 16:18:37 +08:00
.stylelintignore first commit 2026-10-22 16:18:37 +08:00
docker-compose.yml first commit 2026-10-22 16:18:37 +08:00
Dockerfile first commit 2026-10-22 16:18:37 +08:00
eslint.config.mjs first commit 2026-10-22 16:18:37 +08:00
index.html feat(brand): 更新平台品牌名称与Logo样式 2026-11-03 10:55:40 +08:00
LICENSE first commit 2026-10-22 16:18:37 +08:00
lint-staged.config.mjs first commit 2026-10-22 16:18:37 +08:00
nginx.conf.template feat: add standalone Windows deployment and resource-aware large file transfers 2026-11-11 17:17:50 +08:00
package.json feat: 支持在数模上选特征自动映射到点云,形位公差类型也添加了,支持了设置基准,处理后点云也支持导出stl 2026-11-18 14:17:38 +08:00
pnpm-lock.yaml feat: 支持在数模上选特征自动映射到点云,形位公差类型也添加了,支持了设置基准,处理后点云也支持导出stl 2026-11-18 14:17:38 +08:00
pnpm-workspace.yaml first commit 2026-10-22 16:18:37 +08:00
postcss.config.js first commit 2026-10-22 16:18:37 +08:00
prettier.config.js first commit 2026-10-22 16:18:37 +08:00
README.md first commit 2026-10-22 16:18:37 +08:00
stylelint.config.js first commit 2026-10-22 16:18:37 +08:00
tsconfig.json first commit 2026-10-22 16:18:37 +08:00
uno.config.ts first commit 2026-10-22 16:18:37 +08:00
vite.config.ts feat: 完善设备工作流集成、组合执行与主题适配 2026-11-02 17:38:34 +08:00
web-types.json first commit 2026-10-22 16:18:37 +08:00

AM FreeScan 管理端

Vue 3、Element Plus 与 Vue Flow 管理端,服务于检测项配置和任务导入、确认、领取、资源准备、执行、数据与报告管理。

本地启动

需要 Node.js >= 20.19.0、pnpm >= 10.26.0。当前锁文件已用 pnpm 12.10.1 验证。

pnpm install --frozen-lockfile
pnpm dev

前端默认 http://localhost:5180,后端默认 http://localhost:48090/admin-api。租户为 AM FreeScan,账号 admin,初始口令由项目初始化脚本单独生成。前端不内置口令,只记住用户名和租户。

检测项与任务

  1. 打开「检测项」,新建检测项编码和名称。
  2. 在图形画布添加节点、拖动连接,点击节点设置参数、输入定义和上游引用。
  3. 保存草稿并试跑,查看实际状态、节点输入/输出和失败原因。
  4. 发布不可变版本,在任务资源准备中多选已发布检测项并保存。
  5. 资源准备完成后创建执行,可填写 JSON 对象格式的运行参数。执行工作台保存参数快照并显示流程节点日志。

首版真实支持开始、结束、JavaScript、HTTP、延时等待、条件分支,流程为有向无环图。代码定义 function handler(params),返回 JSON 可序列化结果;输出通过本节点 result 字段引用。条件分支支持一组 AND/OR 条件和默认出口。硬件、机器人、LLM、循环与子流程节点不在首版节点面板中,导入此类流程也会明确阻止发布和试跑。本地检测执行暂不提供暂停/恢复。

流程序列化保留 CMVR 的 nodes/edges、properties.nodeParams/inputParams/outputParams、quote 数组及未知扩展字段。图形导入/导出使用 JSON 文件;日常配置直接在画布和参数表单完成。

验证与构建

pnpm test:detection
pnpm build:local
pnpm ts:check

构建会生成自动导入类型声明,首次类型检查请先运行构建。本次全量类型检查已通过,历史继承类型问题与修正范围见 docs/typecheck-baseline.md;不以构建通过代替类型检查。

Docker 构建会使用同源反向代理,默认映射 5180:80,后端地址通过 BACKEND_UPSTREAM 配置。

独立配置与来源

AM FreeScan 使用独立的 am-freescan 缓存与令牌前缀,默认关闭验证码、API 加密和外部统计,未复制来源系统的加密、统计或地图密钥。生产部署应按实际地址修改环境配置。

管理端基础来自 yudao-ui-admin-vue3 与 ai-scanner 页面,检测图协议和交互参考本地 cmvr-iot-common。保留上游 MIT 许可证,见 LICENSE;来源项目未被修改。