Files
nianxx-h5/src/api/workOrder.ts
duanshuwen 548df7020c feat: initial project setup with core infrastructure and api clients
- Add environment configs for dev/staging/prod environments
- Implement centralized axios request utility with standardized error handling
- Add shared TypeScript types for API responses and requests
- Create comprehensive API client modules for all core endpoints
- Configure vue router with all application page routes
- Add icon fonts, static assets, and loading animations
- Set up project documentation and collaboration guidelines
- Remove deprecated uni-app bridge component files
2026-05-26 21:42:36 +08:00

37 lines
746 B
TypeScript

import { request } from "../utils/request";
// 获取用户订单列表
export function userWorkOrderList(args: any) {
return request({
url: "/hotelBiz/workOrder/userWorkOrderList",
method: "post",
data: args,
});
}
// 获取工单类型
export function workOrderTypeListForBiz() {
return request({
url: "/hotelBiz/workOrder/workOrderTypeListForBiz",
method: "get",
});
}
// 创建工单
export function createWorkOrder(args: any) {
return request({
url: "/hotelBiz/workOrder/createWorkOrder",
method: "post",
data: args,
});
}
// 关闭工单
export function closeWorkOrder(args: any) {
return request({
url: "/hotelBiz/workOrder/closeWorkOrder",
method: "post",
data: args,
});
}