From e3f6581c48b1dfb65c55e8a1a6ce1761a7dc26b4 Mon Sep 17 00:00:00 2001 From: zhangwei <1504152376@qq.com> Date: 星期四, 16 一月 2025 15:29:43 +0800 Subject: [PATCH] 费用报销 --- src/common/request/http.api.js | 124 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 123 insertions(+), 1 deletions(-) diff --git a/src/common/request/http.api.js b/src/common/request/http.api.js index 702d4da..946bfb7 100644 --- a/src/common/request/http.api.js +++ b/src/common/request/http.api.js @@ -262,6 +262,115 @@ } }); +// 鍛樺伐鎶ラ攢鍗曞垪琛� +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 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 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 + } +}); + + // 灏嗗悇涓畾涔夌殑鎺ュ彛鍚嶇О锛岀粺涓�鏀捐繘瀵硅薄鎸傝浇鍒皏m.$u.api(鍥犱负vm灏辨槸this锛屼篃鍗硉his.$u.api)涓� export { temLogin, //鐧诲綍 @@ -295,7 +404,20 @@ GetTransferMoney, //鎻愮幇 deleteOrder, //鑱屼綅涓嬫灦 PostMyComGongZiListPage, //鏌ヨ鍏徃涓嬪伐浜虹殑宸ヨ祫棰濆害 - saveWorkPrice // 鍏徃淇敼宸ヤ汉宸ヤ环 + saveWorkPrice, // 鍏徃淇敼宸ヤ汉宸ヤ环 + getworkerplanelist, //鍛樺伐鎶ラ攢鍒楄〃 + getcaiwuplanelist,//璐㈠姟鎶ラ攢鍗曞垪琛� + GetDepartLstt, //鑾峰彇閮ㄩ棬鍒楄〃 + getKeMuList,//绉戠洰 + CreatOder,//鍒涘缓鎶ラ攢鍗� + EditOder, + workerGetPlanInfo,//鍛樺伐鑾峰彇璇︽儏 + getzhuguanplanelist, + getjingliplanelist, + jingLiGetPlanInfo, + zhuGuanGetPlanInfo, + BaoxiaoPlan, + ApprovalPlan }; // } -- Gitblit v1.9.1