From b001b66798b817436711d56e483528e96906e06c Mon Sep 17 00:00:00 2001
From: rjg <746338628@qq.com>
Date: Thu, 10 Apr 2025 19:22:49 +0800
Subject: [PATCH] fix:智飞工单
---
src/api/tickets/orderLog.js | 32 +++++++++++++++++++++++++++++---
1 files changed, 29 insertions(+), 3 deletions(-)
diff --git a/src/api/tickets/orderLog.js b/src/api/tickets/orderLog.js
index 8ee1926..db8c13b 100644
--- a/src/api/tickets/orderLog.js
+++ b/src/api/tickets/orderLog.js
@@ -8,7 +8,7 @@
});
};
-export const createTicket = (data) => {
+export const saveUpdateOrderLog = (data) => {
return request({
url: '/drone-device-core/wayline/orderLog/saveUpdateOrderLog',
method: 'post',
@@ -16,11 +16,37 @@
});
};
-// 新增接口:获取工单详细信息
-export const getTicketInfo = (id) => {
+// 获取工单详细信息
+export const orderLogDetails = (id) => {
return request({
url: '/drone-device-core/wayline/orderLog/details',
method: 'get',
params: { id }, // 使用工单 ID 查询
});
};
+// 撤回
+export const orderLogRecall = (id) => {
+ return request({
+ url: '/drone-device-core/wayline/orderLog/recall',
+ method: 'get',
+ params: { id }, // 使用工单 ID 查询
+ });
+};
+
+// 驳回
+export const orderLogReject = (id,remaker) => {
+ return request({
+ url: '/drone-device-core/wayline/orderLog/reject',
+ method: 'get',
+ params: { id,remaker },
+ });
+};
+// 通过
+export const orderLogPass = (id) => {
+ return request({
+ url: '/drone-device-core/wayline/orderLog/pass',
+ method: 'get',
+ params: { id },
+ });
+};
+
--
Gitblit v1.9.3