123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- import request from '@/utils/request'
- // 查询机器人外呼任务列表
- export function listRobotic(query) {
- return request({
- url: '/company/companyVoiceRobotic/list',
- method: 'get',
- params: query
- })
- }
- // 查询机器人外呼任务列表
- export function listAll(query) {
- return request({
- url: '/company/companyVoiceRobotic/listAll',
- method: 'get',
- params: query
- })
- }
- // 查询机器人外呼任务列表
- export function calleesList(query) {
- return request({
- url: '/company/companyVoiceRobotic/calleesList',
- method: 'get',
- params: query
- })
- }
- // 查询机器人外呼任务详细
- export function getRobotic(id) {
- return request({
- url: '/company/companyVoiceRobotic/' + id,
- method: 'get'
- })
- }
- // 新增机器人外呼任务
- export function addRobotic(data) {
- return request({
- url: '/company/companyVoiceRobotic',
- method: 'post',
- data: data
- })
- }
- // 修改机器人外呼任务
- export function updateRobotic(data) {
- return request({
- url: '/company/companyVoiceRobotic',
- method: 'put',
- data: data
- })
- }
- // 删除机器人外呼任务
- export function delRobotic(id) {
- return request({
- url: '/company/companyVoiceRobotic/' + id,
- method: 'delete'
- })
- }
- // 导出机器人外呼任务
- export function exportRobotic(query) {
- return request({
- url: '/company/companyVoiceRobotic/export',
- method: 'get',
- params: query
- })
- }
- // 导出机器人外呼任务
- export function getTypes() {
- return request({
- url: '/company/companyVoiceRobotic/getTypes',
- method: 'get'
- })
- }
- // 导出机器人外呼任务
- export function statusList(ids) {
- return request({
- url: '/company/companyVoiceRobotic/statusList',
- method: 'get',
- params: {ids}
- })
- }
- // 导出机器人外呼任务
- export function startRobotic(taskId) {
- return request({
- url: '/company/companyVoiceRobotic/startRobotic',
- method: 'get',
- params: {taskId}
- })
- }
- // 导出机器人外呼任务
- export function stopRobotic(taskId) {
- return request({
- url: '/company/companyVoiceRobotic/stopRobotic',
- method: 'get',
- params: {taskId}
- })
- }
- // 导出机器人外呼任务
- export function companyUserList(params) {
- return request({
- url: '/company/companyVoiceRobotic/companyUserList',
- method: 'get',
- params
- })
- }
- // 导出机器人外呼任务
- export function wxList(params) {
- return request({
- url: '/company/companyVoiceRobotic/wxList',
- method: 'get',
- params
- })
- }
|