zouyu
2025-03-05 42f135086753fc6784e1b4894a4fcc6164a06669
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import request from "@/utils/request";
import { parseStrEmpty } from "@/utils/ruoyi";
 
// 查询客户列表
export function selectCustomPageList(query) {
  return request({
    url: "/system/custom/selectCustomPageList",
    method: "get",
    params: query,
  });
}
// 新增客户
export function addCustom(query) {
  return request({
    url: "/system/custom/addCustom",
    method: "post",
    data: query,
  });
}
// 修改客户
export function upCustom(query) {
  return request({
    url: "/system/custom/upCustom",
    method: "post",
    data: query,
  });
}
// 删除客户
export function delCustomById(query) {
  return request({
    url: "/system/custom/delCustomById",
    method: "post",
    data: query,
  });
}
// 获取单位
export function selectCustomEnum() {
  return request({
    url: "/system/custom/selectCustomEnum",
    method: "get",
  });
}