字典树ok

This commit is contained in:
仲么了
2024-01-25 16:42:56 +08:00
parent 3c9f3d9936
commit 35f8cced00
8 changed files with 225 additions and 35 deletions

View File

@@ -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
})
}