refactor(wms): 更新 API路径并调整视图链接
- 将物流预览、快递问题、汇报详情和汇报概述的 API 路径从 '/oa' 或 '/system' 更新为 '/wms' - 修改收货报告列表页面的链接路径 - 移除物流预览页面中未使用的关联项目选择框
This commit is contained in:
@@ -2,49 +2,8 @@ import request from '@/utils/request'
|
||||
|
||||
// 查询设计项目汇报详情列表
|
||||
export async function listReportDetail(query) {
|
||||
// return {
|
||||
// rows: [
|
||||
// {
|
||||
// reportDetailId: 1,
|
||||
// deviceCode: 1,
|
||||
// category: '设备类型2',
|
||||
// deviceDescription: '设备生产说明',
|
||||
// reportDetail: '汇报详情',
|
||||
// ossIds: '1,2',
|
||||
// images: 'https://api.mtyqx.cn/api/random.php,https://api.mtyqx.cn/xjjapi/random.php'
|
||||
// },
|
||||
// {
|
||||
// reportDetailId: 2,
|
||||
// deviceCode: 1,
|
||||
// category: '设备类型3',
|
||||
// deviceDescription: '设备生产说明',
|
||||
// reportDetail: '汇报详情',
|
||||
// images: 'https://api.mtyqx.cn/api/random.php,https://api.mtyqx.cn/xjjapi/random.php',
|
||||
// ossIds: 'https://api.mtyqx.cn/api/random.php,https://api.mtyqx.cn/xjjapi/random.php'
|
||||
// },
|
||||
// {
|
||||
// reportDetailId: 3,
|
||||
// deviceCode: 1,
|
||||
// category: '设备类型4',
|
||||
// deviceDescription: '设备生产说明',
|
||||
// reportDetail: '汇报详情',
|
||||
// images: 'https://api.mtyqx.cn/api/random.php,https://api.mtyqx.cn/xjjapi/random.php',
|
||||
// ossIds: 'https://api.mtyqx.cn/api/random.php,https://api.mtyqx.cn/xjjapi/random.php'
|
||||
// },
|
||||
// {
|
||||
// reportDetailId: 4,
|
||||
// deviceCode: 1,
|
||||
// category: '设备类型5',
|
||||
// deviceDescription: '设备生产说明',
|
||||
// reportDetail: '汇报详情',
|
||||
// images: 'https://api.mtyqx.cn/api/random.php,https://api.mtyqx.cn/xjjapi/random.php',
|
||||
// ossIds: 'https://api.mtyqx.cn/api/random.php,https://api.mtyqx.cn/xjjapi/random.php'
|
||||
// },
|
||||
// ],
|
||||
// total: 1
|
||||
// }
|
||||
return request({
|
||||
url: '/system/reportDetail/list',
|
||||
url: '/wms/reportDetail/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
@@ -53,7 +12,7 @@ export async function listReportDetail(query) {
|
||||
// 查询设计项目汇报详情详细
|
||||
export function getReportDetail(id) {
|
||||
return request({
|
||||
url: '/system/reportDetail/' + id,
|
||||
url: '/wms/reportDetail/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
@@ -61,7 +20,7 @@ export function getReportDetail(id) {
|
||||
// 新增设计项目汇报详情
|
||||
export function addReportDetail(data) {
|
||||
return request({
|
||||
url: '/system/reportDetail',
|
||||
url: '/wms/reportDetail',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
@@ -70,7 +29,7 @@ export function addReportDetail(data) {
|
||||
// 修改设计项目汇报详情
|
||||
export function updateReportDetail(data) {
|
||||
return request({
|
||||
url: '/system/reportDetail',
|
||||
url: '/wms/reportDetail',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
@@ -79,7 +38,7 @@ export function updateReportDetail(data) {
|
||||
// 删除设计项目汇报详情
|
||||
export function delReportDetail(id) {
|
||||
return request({
|
||||
url: '/system/reportDetail/' + id,
|
||||
url: '/wms/reportDetail/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
@@ -87,7 +46,7 @@ export function delReportDetail(id) {
|
||||
|
||||
export function listReportDetailByProjectId(projectId) {
|
||||
return request({
|
||||
url: '/system/reportDetail/project/' + projectId,
|
||||
url: '/wms/reportDetail/project/' + projectId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user