Files
inquiry_robot/inquiry-backend/YTD-README.md
T

40 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 友通达 · Jeecg Vue3 后台(低代码前端)
官方 **v3.5.3** 空白前端,配合 `inquiry-api/`(profile=`inquiry`,端口 **8180**,context-path **`/jeecgboot`**)。
## 启动
```powershell
cd inquiry-backend
pnpm install
pnpm run dev
```
浏览器默认 `http://localhost:3100`(以 `.env` 的 `VITE_PORT` 为准)。接口经代理打到本机 `8180/jeecgboot`。
## 询价手写页(本期)
页面目录:`src/views/inquiry/`
| 菜单 | component |
|---|---|
| 分析看板 | `inquiry/dashboard/index` |
| 询价工单 | `inquiry/workOrder/index` |
| 员工管理 | `inquiry/staffRole/index` |
| 报价模板 | `inquiry/template/index` |
| 机器人回复语 | `inquiry/botReply/index` |
| 账号管理 | `inquiry/account/index` |
| 角色管理 | `inquiry/role/index` |
菜单由后端 `sys_permission` 种子下发(见 `deploy/sql/inquiry_admin_menu_seed_v1.sql`)。登录后刷新权限即可看到询价菜单。
## Online
登录后:在线开发 → Online 表单。业务表需先在 `inquiry_robot` 建好(或 Online 建表),再导入生成页面。
## 注意
- 后端必须先导入 `jeecg-boot/db/jeecgboot-mysql-5.7.sql`(或精简 RBAC)到 **`inquiry_robot`**,再执行 `deploy/sql/inquiry_admin_v1.sql` 与 `inquiry_admin_menu_seed_v1.sql`。
- 正式域名构建时 `VITE_GLOB_API_URL=/jeecgboot`,由 Nginx 反代到 8180。
- 本目录已去掉嵌套 `.git`,随新仓管理。