Commit 5c5e58ee authored by zhanglongbao's avatar zhanglongbao

fix

parent 0310130a
import http from "../axios"; import http from "../axios";
import { container } from "@/utils/container/index";
export default { export default {
// 获取工单状态数量 // 获取工单状态数量
...@@ -7,7 +8,10 @@ export default { ...@@ -7,7 +8,10 @@ export default {
}, },
// 工单列表 // 工单列表
listOrder(params: { form_id?: string; where?: string }) { listOrder(params: { form_id?: string; where?: string }) {
return http.post("/order.order/listOrder", params); return http.post(
`/order.${container.qr_code ? "external" : "order"}/listOrder`,
params
);
}, },
// 工单列表 // 工单列表
deleteOrder(params: { form_id: string; id: string }) { deleteOrder(params: { form_id: string; id: string }) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment