| | |
| | | // 查询客户列表 |
| | | export function selectCustomPageList(query) { |
| | | return request({ |
| | | url: "/system/user/selectCustomPageList", |
| | | url: "/system/custom/selectCustomPageList", |
| | | method: "get", |
| | | params: query, |
| | | }); |
| | |
| | | // 新增客户 |
| | | export function addCustom(query) { |
| | | return request({ |
| | | url: "/system/user/addCustom", |
| | | url: "/system/custom/addCustom", |
| | | method: "post", |
| | | params: query, |
| | | data: query, |
| | | }); |
| | | } |
| | | // 修改客户 |
| | | export function upCustom(query) { |
| | | return request({ |
| | | url: "/system/user/upCustom", |
| | | url: "/system/custom/upCustom", |
| | | method: "post", |
| | | params: query, |
| | | data: query, |
| | | }); |
| | | } |
| | | // 删除客户 |
| | | export function delCustomById(query) { |
| | | return request({ |
| | | url: "/system/user/delCustomById", |
| | | url: "/system/custom/delCustomById", |
| | | method: "post", |
| | | params: query, |
| | | data: query, |
| | | }); |
| | | } |
| | | // 获取单位 |
| | | export function selectCustomEnum() { |
| | | return request({ |
| | | url: "/system/custom/selectCustomEnum", |
| | | method: "get", |
| | | }); |
| | | } |