From 2ca94de8ede18ac07ccfd8dec7b6f6a707adde9b Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Mon, 01 Sep 2025 11:20:24 +0800
Subject: [PATCH] Merge branch 'refs/heads/feature/v5.0/5.0.5' into patch_management
---
src/api/tickets/orderLog.js | 75 +++++++++++++++++++++++++++++++++++--
1 files changed, 70 insertions(+), 5 deletions(-)
diff --git a/src/api/tickets/orderLog.js b/src/api/tickets/orderLog.js
index 8ee1926..4f496c2 100644
--- a/src/api/tickets/orderLog.js
+++ b/src/api/tickets/orderLog.js
@@ -1,14 +1,14 @@
import request from '@/axios';
-export const getList = (data) => {
+export const getList = (data,current,size) => {
return request({
- url: '/drone-device-core/wayline/orderLog/pageList',
+ url: '/drone-device-core/wayline/orderLog/pageList?current='+current+"&size="+size,
method: 'post',
data,
});
};
-export const createTicket = (data) => {
+export const saveUpdateOrderLog = (data) => {
return request({
url: '/drone-device-core/wayline/orderLog/saveUpdateOrderLog',
method: 'post',
@@ -16,11 +16,76 @@
});
};
-// 新增接口:获取工单详细信息
-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 },
+ });
+};
+
+
+// 导出
+export const orderLogExport = (data) => {
+ return request({
+ url: '/drone-device-core/wayline/orderLog/export',
+ method: 'post',
+ data,
+ responseType: 'blob',
+ });
+};
+
+export const jobStatusNum = () => {
+ return request({
+ url: '/drone-device-core/wayline/orderLog/jobStatusNum',
+ method: 'get'
+ });
+};
+
+
+// 草稿转发布
+export const userPublish = (id) => {
+ return request({
+ url: '/drone-device-core/wayline/orderLog/userPublish',
+ method: 'get',
+ params: { id },
+ });
+};
+//删除
+export const deleteOrderLog = (id) => {
+ return request({
+ url: '/drone-device-core/wayline/orderLog/deleteOrderLog',
+ method: 'get',
+ params: { id },
+ });
+};
+
+
+
+
--
Gitblit v1.9.3