From b7ae3f69ae6706a692284d2f12835d213debfb1a Mon Sep 17 00:00:00 2001
From: zhangwei <1504152376@qq.com>
Date: 星期二, 07 四月 2026 17:21:41 +0800
Subject: [PATCH] -
---
src/common/request/http.api.js | 130 ++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 127 insertions(+), 3 deletions(-)
diff --git a/src/common/request/http.api.js b/src/common/request/http.api.js
index ac51b42..5c7e230 100644
--- a/src/common/request/http.api.js
+++ b/src/common/request/http.api.js
@@ -230,6 +230,22 @@
}
});
+// 鏀惰棌椤圭洰宸ヤ汉
+let collectWorker = (params, config = {}) => http.post(`/api/OrderCompany/ShoucangGongren`, params, {
+ custom: {
+ methodName: 'collectWorker',
+ needToken: true
+ }
+});
+
+// 鐏垫椿鐢ㄥ伐
+let GudingGongren = (params, config = {}) => http.post(`/api/OrderCompany/GudingGongren`, params, {
+ custom: {
+ methodName: 'GudingGongren',
+ needToken: true
+ }
+});
+
// 淇濆瓨鍏徃鍛樺伐涓虹鐞嗗憳
let SaveStaffAdmin = (params, config = {}) => http.post(`/api/OrderCompany/SaveStaffAdmin`, params, {
custom: {
@@ -254,7 +270,7 @@
}
});
-// 鏌ヨ鍏徃涓嬪伐浜虹殑宸ヨ祫棰濆害
+// 鏌ヨ鍏徃涓嬪伐浜虹殑鎶ラ叕棰濆害
let PostMyComGongZiListPage = (params, config = {}) => http.post(`/api/OrderCompany/PostMyComGongZiListPage`, params, {
custom: {
methodName: 'PostMyComGongZiListPage',
@@ -498,10 +514,26 @@
}
});
+// 鎾ら攢璁㈠崟
+let UndoDeliverPlans = (params, config = {}) => http.post(`/api/CyOsDeliverManage/UndoDeliverPlans/${params}`, params, {
+ custom: {
+ methodName: 'UndoDeliverPlans',
+ needToken: true
+ }
+});
+
// 鑾峰彇鍙告満鍒楄〃
let Getdrivers = (params, config = {}) => http.get(`/api/CYOSSetting/Getdrivers`, {
custom: {
methodName: 'Getdrivers',
+ needToken: true
+ }
+});
+
+// 鑾峰彇杞﹁締鍒楄〃
+let GetCarList = (params, config = {}) => http.get(`/api/CYOSSetting/GetCarList`, {
+ custom: {
+ methodName: 'GetCarList',
needToken: true
}
});
@@ -570,7 +602,85 @@
}
});
+// 鍙告満涓婁笅鐝墦鍗�
+let Clock = (params, config = {}) => http.post(`/api/CyOSSDriver/Clock`, params,{
+ custom: {
+ methodName: 'Clock',
+ needToken: true
+ }
+});
+// 鍙告満鑾峰彇鎵撳崱璁板綍
+let driverGetDriverRecords = (params, config = {}) => http.post(`/api/CyOSSDriver/GetDriverRecords`, params,{
+ custom: {
+ methodName: 'driverGetDriverRecords',
+ needToken: true
+ }
+});
+
+// 鑾峰彇杞﹁締鎵撳崱璁板綍
+let GetDriverRecords = (params, config = {}) => http.post(`/api/CyOsDeliverManage/GetDriverRecords`, params,{
+ custom: {
+ methodName: 'GetDriverRecords',
+ needToken: true
+ }
+});
+
+//鑾峰彇鎵撳崱鑽夌璁板綍
+let GetClockRoughDraft = (KeyId, config = {}) => http.get(`/api/CyOSSDriver/GetClockRoughDraft`,{
+ custom: {
+ methodName: 'GetClockRoughDraft',
+ needToken: true
+ }
+});
+
+// 鎵撳崱璁板綍璇︽儏
+let driverGetDriverRecordInfo = (KeyId, config = {}) => http.get(`/api/CyOSSDriver/GetDriverRecordInfo/${KeyId}`,{
+ custom: {
+ methodName: 'driverGetDriverRecordInfo',
+ needToken: true
+ }
+});
+
+// 绠$悊鍛樻墦鍗¤褰曡鎯�
+let GetDriverRecordInfo = (KeyId, config = {}) => http.get(`/api/CyOsDeliverManage/GetDriverRecordInfo/${KeyId}`,{
+ custom: {
+ methodName: 'GetDriverRecordInfo',
+ needToken: true
+ }
+});
+
+// 鑾峰彇闂鍙嶉
+let GetProblemPlans = (params, config = {}) => http.post(`/api/CyOSStaff/GetProblemPlans`, params,{
+ custom: {
+ methodName: 'GetProblemPlans',
+ needToken: true
+ }
+});
+
+// 鍒涘缓闂鍙嶉
+let CreatProblemPlan = (params, config = {}) => http.post(`/api/CyOSStaff/CreatProblemPlan`, params,{
+ custom: {
+ methodName: 'CreatProblemPlan',
+ needToken: true
+ }
+});
+
+// 鑾峰彇闂鍙嶉璇︽儏
+let GetProblemPlanInfo = (KeyId, config = {}) => http.get(`/api/CyOSStaff/GetProblemPlanInfo/${KeyId}`,{
+ custom: {
+ methodName: 'GetProblemPlanInfo',
+ needToken: true
+ }
+});
+
+// 鑾峰彇鏀块噰鍛樺伐
+let GetStaffList = (KeyId, config = {}) => http.get(`/api/CYOSSetting/GetStaffList`,{
+ custom: {
+ methodName: 'GetStaffList',
+ needToken: true
+ }
+});
// 灏嗗悇涓畾涔夌殑鎺ュ彛鍚嶇О锛岀粺涓�鏀捐繘瀵硅薄鎸傝浇鍒皏m.$u.api(鍥犱负vm灏辨槸this锛屼篃鍗硉his.$u.api)涓�
export {
@@ -604,7 +714,7 @@
SaveStaffAdmin, // 淇濆瓨鍏徃鍛樺伐涓虹鐞嗗憳
GetTransferMoney, //鎻愮幇
deleteOrder, //鑱屼綅涓嬫灦
- PostMyComGongZiListPage, //鏌ヨ鍏徃涓嬪伐浜虹殑宸ヨ祫棰濆害
+ PostMyComGongZiListPage, //鏌ヨ鍏徃涓嬪伐浜虹殑鎶ラ叕棰濆害
saveWorkPrice, // 鍏徃淇敼宸ヤ汉宸ヤ环
getworkerplanelist, //鍛樺伐鎶ラ攢鍒楄〃
getcaiwuplanelist, //璐㈠姟鎶ラ攢鍗曞垪琛�
@@ -635,6 +745,7 @@
GetDeliverPlans,
UpDataDeliverPlans,
Getdrivers,
+ GetCarList,
GeCorporateClients,
GetDriversOfWithin7days,
driverGetDeliverPlans,
@@ -643,7 +754,20 @@
GetDeliverPlanInfo,
manageGetDeliverPlanInfo,
workerGetDeliverPlans,
- workerGetDeliverPlanInfo
+ workerGetDeliverPlanInfo,
+ Clock,
+ UndoDeliverPlans,
+ driverGetDriverRecords,
+ GetDriverRecords,
+ GetClockRoughDraft,
+ GetDriverRecordInfo,
+ driverGetDriverRecordInfo,
+ GetProblemPlans,
+ CreatProblemPlan,
+ GetStaffList,
+ GetProblemPlanInfo,
+ collectWorker,
+ GudingGongren
};
// }
--
Gitblit v1.9.1