流程单打印平台

unknown 6b622adc25 套打弹窗工单/产品选择改为输入框模糊搜索。 1 month ago
fastadmin bce231d14a 工单增加规格字段,完善列表展示与套打填充。 1 month ago
vue 6b622adc25 套打弹窗工单/产品选择改为输入框模糊搜索。 1 month ago
.gitignore 8d40158630 Add the admin template preview page so recognition results can be reviewed after ingest. 1 month ago
README.md 4939ebfba4 Initialize the process-sheet repo so it can be cloned on Baota without local secrets or node_modules. 1 month ago

README.md

生产流程单云平台

前后端分开存放,上线时按目录打包即可。

process-sheet/
  fastadmin/    FastAdmin + ThinkPHP(超管后台、工厂 API)
  vue/          工厂端 Vue(vue-pure-admin)

本地开发

  • 超管 / API:phpstudy 站点 processSheet.com,网站根目录为 fastadmin/public
  • 工厂端:

    cd vue
    npm run dev
    

浏览器打开 http://localhost:5173/ ,接口通过 Vite 代理到 http://processSheet.com。

ThinkPHP 命令在 fastadmin 目录执行,例如:

cd fastadmin
php think ps:ai-job --id=1

上线打包

  1. 后端:上传整个 fastadmin。Web 根目录设为 fastadmin/public(不要把 application、.env 暴露到外网)。
  2. 工厂端:在 vue 里执行 npm run build,把生成的 vue/dist 部署到静态站点或 Nginx。接口地址指向后端域名。