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 | 146 ++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 144 insertions(+), 2 deletions(-)
diff --git a/src/common/request/http.api.js b/src/common/request/http.api.js
index 38b8572..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: {
@@ -482,6 +490,14 @@
}
});
+//绠$悊鍛樿幏鍙栭�佽揣鍗曡鎯�
+let manageGetDeliverPlanInfo = (KeyId, config = {}) => http.get(`/api/CyOsDeliverManage/GetDeliverPlanInfo/${KeyId}`,{
+ custom: {
+ methodName: 'manageGetDeliverPlanInfo',
+ needToken: true
+ }
+});
+
//淇敼閫佽揣鍗�
let UpDataDeliverPlans = (params, config = {}) => http.post(`/api/CyOsDeliverManage/UpDataDeliverPlans`, params, {
custom: {
@@ -490,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
}
});
@@ -522,10 +554,26 @@
}
});
+//鍛樺伐鑾峰彇閫佽揣鍗�
+let workerGetDeliverPlans = (params, config = {}) => http.post(`/api/CyOSStaff/GetDeliverPlans`, params,{
+ custom: {
+ methodName: 'workerGetDeliverPlans',
+ needToken: true
+ }
+});
+
//鍙告満鑾峰彇閫佽揣鍗曡鎯�
let GetDeliverPlanInfo = (KeyId, config = {}) => http.get(`/api/CyOSSDriver/GetDeliverPlanInfo/${KeyId}`,{
custom: {
methodName: 'GetDeliverPlanInfo',
+ needToken: true
+ }
+});
+
+//鍛樺伐鑾峰彇閫佽揣鍗曡鎯�
+let workerGetDeliverPlanInfo = (KeyId, config = {}) => http.get(`/api/CyOSStaff/GetDeliverPlanInfo/${KeyId}`,{
+ custom: {
+ methodName: 'workerGetDeliverPlanInfo',
needToken: true
}
});
@@ -539,14 +587,92 @@
});
// 鍙告満瀹屾垚閰嶉��
-let FinishDeliverPlan = (KeyId, config = {}) => http.post(`/api/CyOSSDriver/FinishDeliverPlan`, params,{
+let FinishDeliverPlan = (params, config = {}) => http.post(`/api/CyOSSDriver/FinishDeliverPlan`, params,{
custom: {
methodName: 'FinishDeliverPlan',
needToken: true
}
});
+// 鍙告満涓婁笅鐝墦鍗�
+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 {
@@ -611,12 +737,28 @@
GetDeliverPlans,
UpDataDeliverPlans,
Getdrivers,
+ GetCarList,
GeCorporateClients,
GetDriversOfWithin7days,
driverGetDeliverPlans,
StartDeliverPlan,
FinishDeliverPlan,
- GetDeliverPlanInfo
+ GetDeliverPlanInfo,
+ manageGetDeliverPlanInfo,
+ workerGetDeliverPlans,
+ workerGetDeliverPlanInfo,
+ Clock,
+ UndoDeliverPlans,
+ driverGetDriverRecords,
+ GetDriverRecords,
+ GetClockRoughDraft,
+ GetDriverRecordInfo,
+ driverGetDriverRecordInfo,
+ GetProblemPlans,
+ CreatProblemPlan,
+ GetStaffList,
+ GetProblemPlanInfo,
+ collectWorker
};
// }
--
Gitblit v1.9.1