From e1f9a259750f387fbaa4b60295f42eaf9b74cfd8 Mon Sep 17 00:00:00 2001
From: Bang Hu <hu_bang@hotmail.com>
Date: 星期五, 29 八月 2025 13:56:37 +0800
Subject: [PATCH] 修改提交文件的默认附件类型为'其他'

---
 src/api/orderApi.ts |   32 ++++++++++++++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/src/api/orderApi.ts b/src/api/orderApi.ts
index aad0872..208163b 100644
--- a/src/api/orderApi.ts
+++ b/src/api/orderApi.ts
@@ -29,9 +29,23 @@
       data
     }) as ApiPromise
   },
+  getBuyerOrderPageWithProductConditions(data: any): ApiPromise {
+    return createAxios({
+      url: `${url}/buyer/page/with-product-conditions`,
+      method: 'post',
+      data
+    }) as ApiPromise
+  },
   getSellerOrderPage(data: any): ApiPromise {
     return createAxios({
       url: `${url}/seller/page`,
+      method: 'post',
+      data
+    }) as ApiPromise
+  },
+  getSellerOrderPageWithProductConditions(data: any): ApiPromise {
+    return createAxios({
+      url: `${url}/seller/page/with-product-conditions`,
       method: 'post',
       data
     }) as ApiPromise
@@ -128,6 +142,24 @@
         orderId
       }
     }) as ApiPromise
+  },
+
+  // 鍚姩骞跺畬鎴愬鎵规祦绋嬶紙澶栭儴宸ヤ綔娴佹湇鍔★級
+  startWorkflowAndComplete(data: { processdefId: string; userid: string; businessKey: string }): ApiPromise {
+    return createAxios({
+      url: `/test/app/workflow/startProcessAndComplete`,
+      method: 'post',
+      data
+    }) as ApiPromise
+  },
+
+  // 鏇存柊璁㈠崟鐨勫伐浣滄祦ID
+  updateWorkflowId(orderId: string, workflowId: string): ApiPromise {
+    return createAxios({
+      url: `${url}/workflow/update`,
+      method: 'post',
+      params: { orderId, workflowId }
+    }) as ApiPromise
   }
 }
 

--
Gitblit v1.8.0