字典树ok
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import createAxios from '@/utils/request'
|
||||
|
||||
export const deleteStatistical = (id) => {
|
||||
export const dicDelete = (id: string) => {
|
||||
let form = new FormData()
|
||||
form.append('id', id)
|
||||
return createAxios({
|
||||
@@ -12,3 +12,19 @@ export const deleteStatistical = (id) => {
|
||||
data: form
|
||||
})
|
||||
}
|
||||
|
||||
export function dicAdd(data: any) {
|
||||
return createAxios({
|
||||
url: '/system-boot/dic/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function dicUpdate(data: any) {
|
||||
return createAxios({
|
||||
url: '/system-boot/dic/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user