ETest-Vue-FastAPI/工单vs订单页面说明.md

111 lines
2.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 工单 vs 订单页面说明
## 问题
截图显示的页面标题是"进行中",表格列是:
- 订单名称
- 创建人
- 创建时间
- 更新人
- 更新时间
- 关联工单
- 订单状态
- 订单说明
**这是订单管理页面,不是工单管理页面!**
## 页面区分
### 订单管理页面
**路径**: `/system/test_order`
**API**: `/system/test_order/list`
**表格列**:
- 订单名称
- 创建人
- 创建时间
- 更新人
- 更新时间
- 关联工单
- 订单状态
- 订单说明
### 工单管理页面
**路径**: `/system/test_work_order`
**API**: `/system/test_work_order/list`
**表格列**:
- 工单分组batchName
- 产品SNtestEutName
- 创建人creatorName
- 测试类别testCategoryName
- 测试项testItemName
- 测试人员
- 一审人员
- 二审人员
- 三审人员
- 测试步骤
## 如何访问工单管理页面
### 方法 1: 通过菜单
1. 点击左侧菜单"工单管理"
2. 或者"测试管理" → "工单管理"
### 方法 2: 直接访问 URL
```
http://localhost:8080/#/system/test_work_order
```
## 数据关系
```
样品 → 生成工单 → 汇总到订单
工单test_work_order:
- 从样品生成
- 包含测试信息
- 可以汇总到订单
订单test_order:
- 从工单生成
- 包含多个工单
- 用于管理和跟踪
```
## 当前修复的是工单管理
我们修复的是**工单管理页面**`/system/test_work_order`),不是订单管理页面。
如果你想查看工单列表,请:
1. 访问工单管理页面(不是订单管理页面)
2. 点击"进行中"、"已完成"等按钮
3. 应该能看到工单列表
## 验证步骤
### 1. 确认当前页面
查看浏览器地址栏:
- 如果是 `#/system/test_order` → 这是订单管理页面
- 如果是 `#/system/test_work_order` → 这是工单管理页面
### 2. 访问工单管理页面
在浏览器地址栏输入:
```
http://localhost:8080/#/system/test_work_order
```
### 3. 测试工单列表
1. 点击"全部工单"
2. 点击"进行中"
3. 点击"已完成"
应该能看到工单列表,表格列包括:
- 工单分组
- 产品SN
- 创建人
- 测试类别
- 测试项
- 测试人员等
## 完成时间
2026-01-09 01:45