feat-wip(components): 数据字典相关页面代码提交
This commit is contained in:
@ -53,3 +53,29 @@ export function fetchTreeDictionaryItem(dictionaryId: string) {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
export function fetchDictionaryItemAdd(dictionaryOp: Api.Sys.Core.DictionaryItemOp) {
|
||||
return request({
|
||||
url: '/dictionaryItem/insert',
|
||||
method: 'post',
|
||||
data: dictionaryOp
|
||||
});
|
||||
}
|
||||
|
||||
export function fetchDictionaryItemEdit(dictionaryOp: Api.Sys.Core.DictionaryItemOp) {
|
||||
return request({
|
||||
url: '/dictionaryItem/update',
|
||||
method: 'post',
|
||||
data: dictionaryOp
|
||||
});
|
||||
}
|
||||
|
||||
export function fetchDictionaryItemDelete(id: string) {
|
||||
return request({
|
||||
url: '/dictionaryItem/delete',
|
||||
method: 'post',
|
||||
data: {
|
||||
id
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user