You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
570 B
39 lines
570 B
import request from "@/utils/request.js"; |
|
import {host} from "@/config/host.js"; |
|
|
|
/** |
|
* 线索类型 |
|
* @param {Object} data |
|
*/ |
|
export function lineType(data) { |
|
|
|
return request({ |
|
url: `${host}/clue/clue-type`, |
|
method: "get", |
|
data |
|
}); |
|
} |
|
/** |
|
* 线索上传 |
|
* @param {Object} data |
|
*/ |
|
export function lineSubmit(data) { |
|
|
|
return request({ |
|
url: `${host}/clue/submit`, |
|
method: "post", |
|
data |
|
}); |
|
} |
|
/** |
|
* 线索列表 |
|
* @param {Object} data |
|
*/ |
|
export function lineList(data) { |
|
|
|
return request({ |
|
url: `${host}/clue/lists`, |
|
method: "post", |
|
data |
|
}); |
|
} |