heli-mes/mes-ui/mini-app/src/services/zjPgMaster.ts

74 lines
1.7 KiB
TypeScript
Raw Normal View History

2025-01-10 17:32:39 +08:00
/*
* @Author:
* @Date: 2024-01-04 12:54:56
* @LastEditors:
* @LastEditTime: 2024-03-29 15:44:53
* @FilePath: /app-nx-personal/src/services/home.ts
* @Description: ,`customMade`, koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
import { http } from '@/utils/http'
// 获取工序分页
export const getListAPI = (data: Object) => {
return http<any[]>({
method: 'GET',
url: '/heli/zj-pg-master/task-dispatch-detail/page',
data,
})
}
2025-01-16 00:28:54 +08:00
export const getListAPIWx = (data: Object) => {
return http<any[]>({
method: 'GET',
url: '/heli/zj-pg-master/task-dispatch-detail/pageWx',
data,
})
}
2025-01-10 17:32:39 +08:00
// 报工记录分页查询
export const getTaskRepotPageAPI = (data: Object) => {
return http<any[]>({
method: 'GET',
url: '/heli/zj-bg-master-line/page',
data,
})
}
// 派工任务详情
export const getTaskDetailAPI = (data: Object) => {
return http<any[]>({
method: 'GET',
url: '/heli/zj-pg-master/task-dispatch-detail/get',
data,
})
}
/**
*
2025-01-10 17:32:39 +08:00
*/
export const postOperateAPI = (data: Object) => {
return http<any[]>({
method: 'POST',
url: '/heli/zj-bg-master-line/create',
data,
})
}
/**
*
*/
export const postOperateAPIEnd = (data: Object) => {
return http<any[]>({
method: 'POST',
url: '/heli/zj-bg-master-line/endBg',
data,
})
}
/**
* -
*/
export const postOperateAPIZF = (id: number) => {
return http<any[]>({
method: 'POST',
url: '/heli/zj-pg-master/zfZjPgMaster?id=' + id
})
}