| | |
| | | import request from '@/utils/request' |
| | | import request from "@/utils/request"; |
| | | import { parseStrEmpty } from "@/utils/ruoyi"; |
| | | |
| | | // 查询客户列表 |
| | | export function selectCustomPageList(query) { |
| | | return request({ |
| | | url: '/system/user/selectCustomPageList', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | url: "/system/user/selectCustomPageList", |
| | | method: "get", |
| | | params: query, |
| | | }); |
| | | } |
| | | // 新增客户 |
| | | export function addCustom(query) { |
| | | return request({ |
| | | url: '/system/user/addCustom', |
| | | method: 'post', |
| | | params: query |
| | | }) |
| | | url: "/system/user/addCustom", |
| | | method: "post", |
| | | params: query, |
| | | }); |
| | | } |
| | | // 修改客户 |
| | | export function upCustom(query) { |
| | | return request({ |
| | | url: '/system/user/upCustom', |
| | | method: 'post', |
| | | params: query |
| | | }) |
| | | url: "/system/user/upCustom", |
| | | method: "post", |
| | | params: query, |
| | | }); |
| | | } |
| | | // 删除客户 |
| | | export function delCustomById(query) { |
| | | return request({ |
| | | url: '/system/user/delCustomById', |
| | | method: 'post', |
| | | params: query |
| | | }) |
| | | url: "/system/user/delCustomById", |
| | | method: "post", |
| | | params: query, |
| | | }); |
| | | } |