From aaa8b1b2fca572d6a989179d568991ce4bd48cfb Mon Sep 17 00:00:00 2001 From: zhangwei <1504152376@qq.com> Date: 星期二, 04 三月 2025 17:30:32 +0800 Subject: [PATCH] - --- src/common/request/http.api.js | 118 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 113 insertions(+), 5 deletions(-) diff --git a/src/common/request/http.api.js b/src/common/request/http.api.js index 946bfb7..70e95bb 100644 --- a/src/common/request/http.api.js +++ b/src/common/request/http.api.js @@ -222,6 +222,14 @@ } }); +// 鍒犻櫎椤圭洰宸ヤ汉 +let saveDeltoudi = (params, config = {}) => http.post(`/api/OrderCompany/saveDeltoudi`, params, { + custom: { + methodName: 'saveDeltoudi', + needToken: true + } +}); + // 淇濆瓨鍏徃鍛樺伐涓虹鐞嗗憳 let SaveStaffAdmin = (params, config = {}) => http.post(`/api/OrderCompany/SaveStaffAdmin`, params, { custom: { @@ -286,6 +294,13 @@ } }); +// 鑾峰彇璐︽埛鍒楄〃 +let GetFirmAccountList = (params, config = {}) => http.get(`/api/CyOSBaoXiaoCaiWu/GetFirmAccountList`, { + custom: { + methodName: 'GetFirmAccountList', + needToken: true + } +}); // 鍒涘缓鎶ラ攢鍗� let CreatOder = (params, config = {}) => http.post(`/api/CyOSStaff/CreatOder`, params, { @@ -346,6 +361,14 @@ } }); +//璐㈠姟鏌ョ湅璇︽儏 +let caiWuGetPlanInfo = (params, config = {}) => http.get(`/api/CyOSBaoXiaoCaiWu/GetPlanInfo/${params}`, { + custom: { + methodName: 'caiWuGetPlanInfo', + needToken: true + } +}); + //涓荤鏌ョ湅璇︽儏 let zhuGuanGetPlanInfo = (params, config = {}) => http.get(`/api/CyOSBaoXiaoZHuGuan/GetPlanInfo/${params}`, { custom: { @@ -366,6 +389,79 @@ let BaoxiaoPlan = (params, config = {}) => http.post(`/api/CyOSBaoXiaoJingLi/BaoxiaoPlan`, params, { custom: { methodName: 'BaoxiaoPlan', + needToken: true + } +}); + +// 缁忕悊鎵归噺瀹℃壒 +let BatchShenPi = (params, config = {}) => http.post(`/api/CyOSBaoXiaoJingLi/BatchShenPi`, params, { + custom: { + methodName: 'BatchShenPi', + needToken: true + } +}); + +// 鎶ラ攢鎴栦粯娆� +let caiWuApprovalPlan = (params, config = {}) => http.post(`/api/CyOSBaoXiaoCaiWu/ApprovalPlan`, params, { + custom: { + methodName: 'caiWuApprovalPlan', + needToken: true + } +}); + +// 鑾峰彇涓婁紶token +let GetToken = (params, config = {}) => http.get(`/api/UpFile/GetToken`, { + custom: { + methodName: 'GetToken', + needToken: true + } +}); + +// 鍒涘缓棰勭害閫佽揣 +let CreatAppointmentDeliver = (params, config = {}) => http.post(`/api/CyOSStaff/CreatAppointmentDeliver`, params, { + custom: { + methodName: 'CreatAppointmentDeliver', + needToken: true + } +}); + +// 鑾峰彇棰勭害閰嶉�佷俊鎭� +let GetListAppointmentDeliverList = (params, config = {}) => http.post(`/api/CyOSStaff/GetListAppointmentDeliverList`, params, { + custom: { + methodName: 'GetListAppointmentDeliverList', + needToken: true + } +}); + +//淇敼棰勭害閰嶉�佷俊鎭� +let UpDataAppointmentDeliver = (params, config = {}) => http.post(`/api/CyOSStaff/UpDataAppointmentDeliver`, params, { + custom: { + methodName: 'UpDataAppointmentDeliver', + needToken: true + } +}); + +// 鍒犻櫎棰勭害閰嶉�佷俊鎭� +let DelAppointmentDeliver = (params, config = {}) => http.post(`/api/CyOSStaff/DelAppointmentDeliver`, params, { + custom: { + methodName: 'DelAppointmentDeliver', + needToken: true + } +}); + +//鍙告満鑾峰彇棰勭害閰嶉�佷俊鎭� +let driverGetListAppointmentDeliverList = (params, config = {}) => http.post(`/api/CyOsDeliverManage/GetListAppointmentDeliverList`, params, { + custom: { + methodName: 'driverGetListAppointmentDeliverList', + needToken: true + } +}); + + +// 鍙告満鍙楃悊 +let AcceptAppointmentDeliver = (params, config = {}) => http.post(`/api/CyOsDeliverManage/AcceptAppointmentDeliver/${params}`, params, { + custom: { + methodName: 'AcceptAppointmentDeliver', needToken: true } }); @@ -406,18 +502,30 @@ PostMyComGongZiListPage, //鏌ヨ鍏徃涓嬪伐浜虹殑宸ヨ祫棰濆害 saveWorkPrice, // 鍏徃淇敼宸ヤ汉宸ヤ环 getworkerplanelist, //鍛樺伐鎶ラ攢鍒楄〃 - getcaiwuplanelist,//璐㈠姟鎶ラ攢鍗曞垪琛� + getcaiwuplanelist, //璐㈠姟鎶ラ攢鍗曞垪琛� GetDepartLstt, //鑾峰彇閮ㄩ棬鍒楄〃 - getKeMuList,//绉戠洰 - CreatOder,//鍒涘缓鎶ラ攢鍗� + getKeMuList, //绉戠洰 + CreatOder, //鍒涘缓鎶ラ攢鍗� EditOder, - workerGetPlanInfo,//鍛樺伐鑾峰彇璇︽儏 + workerGetPlanInfo, //鍛樺伐鑾峰彇璇︽儏 getzhuguanplanelist, getjingliplanelist, jingLiGetPlanInfo, zhuGuanGetPlanInfo, BaoxiaoPlan, - ApprovalPlan + BatchShenPi, + ApprovalPlan, + caiWuGetPlanInfo, + GetFirmAccountList, //鑾峰彇璐︽埛鍒楄〃 + caiWuApprovalPlan, + GetToken, + saveDeltoudi, + CreatAppointmentDeliver,//鍒涘缓棰勭害閫佽揣 + GetListAppointmentDeliverList, + driverGetListAppointmentDeliverList, + AcceptAppointmentDeliver, + UpDataAppointmentDeliver, + DelAppointmentDeliver }; // } -- Gitblit v1.9.1