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
43
44
45
46
| // 商机管理接口
| import request from "@/utils/request";
|
| // 分页查询商机列表
| export function opportunityListPage(query) {
| return request({
| url: "/businessOpportunity/listPage",
| method: "get",
| params: query,
| });
| }
|
| // 新增商机
| export function addOpportunity(data) {
| return request({
| url: "/businessOpportunity/add",
| method: "post",
| data: data,
| });
| }
|
| // 修改商机
| export function updateOpportunity(data) {
| return request({
| url: "/businessOpportunity/update",
| method: "post",
| data: data,
| });
| }
| // 添加商机
| export function addDescription(data) {
| return request({
| url: "/businessOpportunity/addDescription",
| method: "post",
| data: data,
| });
| }
|
| // 删除商机
| export function delOpportunity(ids) {
| return request({
| url: "/businessOpportunity/delete",
| method: "delete",
| data: ids,
| });
| }
|
|