From ec90cbd7680a6f927cb1cea43f33ab7df6d0864c Mon Sep 17 00:00:00 2001
From: zhangwei <1504152376@qq.com>
Date: 星期二, 11 十一月 2025 09:23:22 +0800
Subject: [PATCH] -
---
src/common/request/http.api.js | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 106 insertions(+), 1 deletions(-)
diff --git a/src/common/request/http.api.js b/src/common/request/http.api.js
index fe4c860..1a65752 100644
--- a/src/common/request/http.api.js
+++ b/src/common/request/http.api.js
@@ -230,6 +230,14 @@
}
});
+// 鏀惰棌椤圭洰宸ヤ汉
+let collectWorker = (params, config = {}) => http.post(`/api/OrderCompany/ShoucangGongren`, params, {
+ custom: {
+ methodName: 'collectWorker',
+ needToken: true
+ }
+});
+
// 淇濆瓨鍏徃鍛樺伐涓虹鐞嗗憳
let SaveStaffAdmin = (params, config = {}) => http.post(`/api/OrderCompany/SaveStaffAdmin`, params, {
custom: {
@@ -498,10 +506,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
}
});
@@ -578,8 +602,77 @@
}
});
+// 鍙告満鑾峰彇鎵撳崱璁板綍
+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 {
@@ -644,6 +737,7 @@
GetDeliverPlans,
UpDataDeliverPlans,
Getdrivers,
+ GetCarList,
GeCorporateClients,
GetDriversOfWithin7days,
driverGetDeliverPlans,
@@ -653,7 +747,18 @@
manageGetDeliverPlanInfo,
workerGetDeliverPlans,
workerGetDeliverPlanInfo,
- Clock
+ Clock,
+ UndoDeliverPlans,
+ driverGetDriverRecords,
+ GetDriverRecords,
+ GetClockRoughDraft,
+ GetDriverRecordInfo,
+ driverGetDriverRecordInfo,
+ GetProblemPlans,
+ CreatProblemPlan,
+ GetStaffList,
+ GetProblemPlanInfo,
+ collectWorker
};
// }
--
Gitblit v1.9.1