1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- import request from '@/utils/request'
- // 查询企业用户坐席列表
- export function listCompanyVoiceCaller(query) {
- return request({
- url: '/company/companyVoiceCaller/list',
- method: 'get',
- params: query
- })
- }
- // 查询企业用户坐席详细
- export function getCompanyVoiceCaller(callerId) {
- return request({
- url: '/company/companyVoiceCaller/' + callerId,
- 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(callerId) {
- return request({
- url: '/company/companyVoiceCaller/' + callerId,
- method: 'delete'
- })
- }
- // 导出企业用户坐席
- export function exportCompanyVoiceCaller(query) {
- return request({
- url: '/company/companyVoiceCaller/export',
- method: 'get',
- params: query
- })
- }
- export function getCallerList() {
- return request({
- url: '/company/companyVoiceCaller/getCallerList' ,
- method: 'get'
- })
- }
- export function bindCallerNo(data) {
- return request({
- url: '/company/companyVoiceCaller/bindCallerNo',
- method: 'post',
- data: data
- })
- }
|