/* * @Author: 王文杰 * @Date: 2024-01-04 12:54:56 * @LastEditors: jevononlie 728254585@qq.com * @LastEditTime: 2024-04-02 10:04:35 * @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 getNotificationPageAPI = (data: Object) => { return http({ method: 'GET', url: '/heli/unqualified-notification/page', data, }) } // 获取零件分页 export const getBomPageAPI = (data: Object) => { return http({ method: 'GET', url: '/heli/plan-task-bom/page', data, }) } // 获取工序分页 export const getProcedurePageAPI = (data: Object) => { return http({ method: 'GET', url: '/heli/procedure/page', data, }) } // 获取用户分页 export const getUserPageAPI = (data: Object) => { return http({ method: 'GET', url: '/system/user/page', data, }) } // 创建品质异常通知单审核 export const postAddAPI = (data: Object) => { return http({ method: 'POST', url: '/heli/unqualified-notification/create', data, }) } // 创建品质异常通知单审核 export const postAddWxAPI = (data: Object) => { return http({ method: 'POST', url: '/heli/unqualified-notification/createWx', data, }) }