接口地址更改-dic改为dictTree
This commit is contained in:
@@ -4,7 +4,7 @@ export const dicDelete = (id: string) => {
|
||||
let form = new FormData()
|
||||
form.append('id', id)
|
||||
return createAxios({
|
||||
url: '/system-boot/dic/delete',
|
||||
url: '/system-boot/dictTree//delete',
|
||||
method: 'DELETE',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
@@ -15,7 +15,7 @@ export const dicDelete = (id: string) => {
|
||||
|
||||
export function dicAdd(data: any) {
|
||||
return createAxios({
|
||||
url: '/system-boot/dic/add',
|
||||
url: '/system-boot/dictTree//add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
@@ -23,7 +23,7 @@ export function dicAdd(data: any) {
|
||||
|
||||
export function dicUpdate(data: any) {
|
||||
return createAxios({
|
||||
url: '/system-boot/dic/update',
|
||||
url: '/system-boot/dictTree//update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
|
||||
@@ -80,7 +80,7 @@ export const addDictTree = (data: any) => {
|
||||
// 编辑统计指标配置项
|
||||
export const updateStatistical = (data: any) => {
|
||||
return createAxios({
|
||||
url: '/system-boot/dic/update',
|
||||
url: '/system-boot/dictTree//update',
|
||||
method: 'PUT',
|
||||
data: data
|
||||
})
|
||||
@@ -88,7 +88,7 @@ export const updateStatistical = (data: any) => {
|
||||
// 单位绑定
|
||||
export function codeDicTree(data: any) {
|
||||
return createAxios({
|
||||
url: '/system-boot/dic/codeDicTree',
|
||||
url: '/system-boot/dictTree//codeDicTree',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user