123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- import request from '@/utils/request'
- // 查询企业用户坐席列表
- export function listCompanyVoiceCaller(query) {
- return request({
- url: '/company/companyVoiceCaller/list',
- method: 'get',
- params: query
- })
- }
- // 查询企业用户坐席详细
- export function getCompanyVoiceCaller(callingId) {
- return request({
- url: '/company/companyVoiceCaller/' + callingId,
- method: 'get'
- })
- }
- // 新增企业用户坐席
- export function addCompanyVoiceCaller(data) {
- return request({
- url: '/company/companyVoiceCaller',
- method: 'post',
- data: data
- })
- }
- // 修改企业用户坐席
- export function updateCompanyVoiceCaller(data) {
- return request({
- url: '/company/companyVoiceCaller',
- method: 'put',
- data: data
- })
- }
- // 删除企业用户坐席
- export function delCompanyVoiceCaller(callingId) {
- return request({
- url: '/company/companyVoiceCaller/' + callingId,
- method: 'delete'
- })
- }
- // 导出企业用户坐席
- export function exportCompanyVoiceCaller(query) {
- return request({
- url: '/company/companyVoiceCaller/export',
- method: 'get',
- params: query
- })
- }
- // 下载用户导入模板
- export function importTemplate() {
- return request({
- url: '/company/companyVoiceCaller/importTemplate',
- method: 'get'
- })
- }
- export function recover(data) {
- return request({
- url: '/company/companyVoiceCaller/recover',
- method: 'post',
- data: data
- })
- }
|