From e5a77d6a551d13e4cf74624b31b0fa3e328b304d Mon Sep 17 00:00:00 2001 From: zhangwei <1504152376@qq.com> Date: 星期四, 23 一月 2025 17:23:39 +0800 Subject: [PATCH] - --- src/common/request/http.api.js | 151 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 150 insertions(+), 1 deletions(-) diff --git a/src/common/request/http.api.js b/src/common/request/http.api.js index 702d4da..082c2db 100644 --- a/src/common/request/http.api.js +++ b/src/common/request/http.api.js @@ -262,6 +262,139 @@ } }); +// 鍛樺伐鎶ラ攢鍗曞垪琛� +let getworkerplanelist = (params, config = {}) => http.post(`/api/CyOSStaff/getplanelist`, params, { + custom: { + methodName: 'getworkerplanelist', + needToken: true + } +}); + +// 鑾峰彇閮ㄩ棬鍒楄〃 +let GetDepartLstt = (params, config = {}) => http.get(`/api/CYOSSetting/GetDepartLstt`, { + custom: { + methodName: 'GetDepartLstt', + needToken: true + } +}); + +// 鑾峰彇绉戠洰鍒楄〃 +let getKeMuList = (params, config = {}) => http.get(`/api/CYOSSetting/getKeMuList`, { + custom: { + methodName: 'getKeMuList', + needToken: true + } +}); + +// 鑾峰彇璐︽埛鍒楄〃 +let GetFirmAccountList = (params, config = {}) => http.get(`/api/CyOSBaoXiaoCaiWu/GetFirmAccountList`, { + custom: { + methodName: 'GetFirmAccountList', + needToken: true + } +}); + +// 鍒涘缓鎶ラ攢鍗� +let CreatOder = (params, config = {}) => http.post(`/api/CyOSStaff/CreatOder`, params, { + custom: { + methodName: 'CreatOder', + needToken: true + } +}); + +// 缂栬緫鎶ラ攢鍗� +let EditOder = (params, config = {}) => http.post(`/api/CyOSStaff/EditOder`, params, { + custom: { + methodName: 'EditOder', + needToken: true + } +}); + + +//鍛樺伐鏌ョ湅璇︽儏 +let workerGetPlanInfo = (params, config = {}) => http.get(`/api/CyOSStaff/GetPlanInfo/${params}`, { + custom: { + methodName: 'workerGetPlanInfo', + needToken: true + } +}); + + +// 璐㈠姟鎶ラ攢鍗曞垪琛� +let getcaiwuplanelist = (params, config = {}) => http.post(`/api/CyOSBaoXiaoCaiWu/getplanelist`, params, { + custom: { + methodName: 'getcaiwuplanelist', + needToken: true + } +}); + + +// 涓荤鍒楄〃 +let getzhuguanplanelist = (params, config = {}) => http.post(`/api/CyOSBaoXiaoZHuGuan/getplanelist`, params, { + custom: { + methodName: 'getzhuguanplanelist', + needToken: true + } +}); + +// 鎬荤粡鐞嗗垪琛� +let getjingliplanelist = (params, config = {}) => http.post(`/api/CyOSBaoXiaoJingLi/getplanelist`, params, { + custom: { + methodName: 'getjingliplanelist', + needToken: true + } +}); + +//缁忕悊鏌ョ湅璇︽儏 +let jingLiGetPlanInfo = (params, config = {}) => http.get(`/api/CyOSBaoXiaoJingLi/GetPlanInfo/${params}`, { + custom: { + methodName: 'jingLiGetPlanInfo', + needToken: true + } +}); + +//璐㈠姟鏌ョ湅璇︽儏 +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: { + methodName: 'zhuGuanGetPlanInfo', + needToken: true + } +}); + +// 涓荤瀹℃壒 +let ApprovalPlan = (params, config = {}) => http.post(`/api/CyOSBaoXiaoZHuGuan/ApprovalPlan`, params, { + custom: { + methodName: 'ApprovalPlan', + needToken: true + } +}); + +// 缁忕悊瀹℃壒 +let BaoxiaoPlan = (params, config = {}) => http.post(`/api/CyOSBaoXiaoJingLi/BaoxiaoPlan`, params, { + custom: { + methodName: 'BaoxiaoPlan', + needToken: true + } +}); + +// 鎶ラ攢鎴栦粯娆� +let caiWuApprovalPlan = (params, config = {}) => http.post(`/api/CyOSBaoXiaoCaiWu/ApprovalPlan`, params, { + custom: { + methodName: 'caiWuApprovalPlan', + needToken: true + } +}); + + + // 灏嗗悇涓畾涔夌殑鎺ュ彛鍚嶇О锛岀粺涓�鏀捐繘瀵硅薄鎸傝浇鍒皏m.$u.api(鍥犱负vm灏辨槸this锛屼篃鍗硉his.$u.api)涓� export { temLogin, //鐧诲綍 @@ -295,7 +428,23 @@ GetTransferMoney, //鎻愮幇 deleteOrder, //鑱屼綅涓嬫灦 PostMyComGongZiListPage, //鏌ヨ鍏徃涓嬪伐浜虹殑宸ヨ祫棰濆害 - saveWorkPrice // 鍏徃淇敼宸ヤ汉宸ヤ环 + saveWorkPrice, // 鍏徃淇敼宸ヤ汉宸ヤ环 + getworkerplanelist, //鍛樺伐鎶ラ攢鍒楄〃 + getcaiwuplanelist, //璐㈠姟鎶ラ攢鍗曞垪琛� + GetDepartLstt, //鑾峰彇閮ㄩ棬鍒楄〃 + getKeMuList, //绉戠洰 + CreatOder, //鍒涘缓鎶ラ攢鍗� + EditOder, + workerGetPlanInfo, //鍛樺伐鑾峰彇璇︽儏 + getzhuguanplanelist, + getjingliplanelist, + jingLiGetPlanInfo, + zhuGuanGetPlanInfo, + BaoxiaoPlan, + ApprovalPlan, + caiWuGetPlanInfo, + GetFirmAccountList, //鑾峰彇璐︽埛鍒楄〃 + caiWuApprovalPlan, }; // } -- Gitblit v1.9.1