From 02409bfbe15f22fc3b5dccadabfd860a660a49d9 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Sat, 11 Oct 2025 10:37:14 +0800
Subject: [PATCH] feat: 名称修改
---
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