| | |
| | | } |
| | | }); |
| | | |
| | | // 获取账户列表 |
| | | let GetFirmAccountList = (params, config = {}) => http.get(`/api/CyOSBaoXiaoCaiWu/GetFirmAccountList`, { |
| | | custom: { |
| | | methodName: 'GetFirmAccountList', |
| | | needToken: true |
| | | } |
| | | }); |
| | | |
| | | // 创建报销单 |
| | | let CreatOder = (params, config = {}) => http.post(`/api/CyOSStaff/CreatOder`, params, { |
| | |
| | | } |
| | | }); |
| | | |
| | | //财务查看详情 |
| | | 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: { |
| | |
| | | needToken: true |
| | | } |
| | | }); |
| | | |
| | | // 报销或付款 |
| | | let caiWuApprovalPlan = (params, config = {}) => http.post(`/api/CyOSBaoXiaoCaiWu/ApprovalPlan`, params, { |
| | | custom: { |
| | | methodName: 'caiWuApprovalPlan', |
| | | needToken: true |
| | | } |
| | | }); |
| | | |
| | | |
| | | |
| | | // 将各个定义的接口名称,统一放进对象挂载到vm.$u.api(因为vm就是this,也即this.$u.api)下 |
| | |
| | | jingLiGetPlanInfo, |
| | | zhuGuanGetPlanInfo, |
| | | BaoxiaoPlan, |
| | | ApprovalPlan |
| | | ApprovalPlan, |
| | | caiWuGetPlanInfo, |
| | | GetFirmAccountList, //获取账户列表 |
| | | caiWuApprovalPlan, |
| | | }; |
| | | // } |
| | | |