| | |
| | | // 委外企业新增 |
| | | export const addEnterprise = (data) => { |
| | | return request({ |
| | | url: "/api-s/v1/outsourcing/enterprise/add", |
| | | url: "/api-srm/outsourcing/enterprise/add", |
| | | method: "post", |
| | | data |
| | | }) |
| | |
| | | // 委外企业修改 |
| | | export const updateEnterprise = (data) => { |
| | | return request({ |
| | | url: "/api-s/v1/outsourcing/enterprise/update", |
| | | url: "/api-srm/outsourcing/enterprise/update", |
| | | method: "post", |
| | | data |
| | | }) |
| | |
| | | // 委外企业列表 |
| | | export const enterpriseList = (data) => { |
| | | return request({ |
| | | url: "/api-s/v1/outsourcing/enterprise/list", |
| | | url: "/api-srm/outsourcing/enterprise/list", |
| | | method: "get", |
| | | params: data |
| | | }) |
| | |
| | | // 委外企业统计 |
| | | export const enterpriseOverview = () => { |
| | | return request({ |
| | | url: "/api-s/v1/outsourcing/enterprise/overview", |
| | | url: "/api-srm/outsourcing/enterprise/overview", |
| | | method: "get" |
| | | }) |
| | | } |