feat : 话务配置管理

This commit is contained in:
2024-09-16 21:18:04 +08:00
parent 5882b0aff3
commit 8b8a6a8bd5
2 changed files with 312 additions and 63 deletions

View File

@@ -0,0 +1,36 @@
import request from '@/utils/request.js'
// 获取参数配置表详情
export const getConfigDetails = (configId,extraConfigType) => {
return request({
url: `/extra/config/${configId}/${extraConfigType}`,
method: 'get'
})
}
// 新增参数配置表
export const addConfig = (data) => {
return request({
url: '/extra/config',
method: 'post',
data
})
}
// 修改参数配置表
export const editConfig = (data) => {
return request({
url: '/extra/config',
method: 'put',
data
})
}
// 删除参数配置表
export const delConfig =(configIdList,extraConfigType) => {
return request({
url: `/extra/config/${configIdList}/${extraConfigType}`,
method: 'delete'
})
}