feat-wip(components): 数据字典相关页面代码提交
This commit is contained in:
@ -2,7 +2,7 @@ import { request } from '../../../request';
|
||||
|
||||
export function fetchPageDictionary(pageRequest: Api.Sys.Core.DictionaryQueryPageRequest) {
|
||||
return request<Api.Common.PageResponse<Api.Sys.Core.Dictionary>>({
|
||||
url: '/dictionary/page',
|
||||
url: '/dictionary/paginate',
|
||||
method: 'post',
|
||||
data: pageRequest
|
||||
});
|
||||
@ -10,7 +10,7 @@ export function fetchPageDictionary(pageRequest: Api.Sys.Core.DictionaryQueryPag
|
||||
|
||||
export function fetchDictionaryAdd(dictionaryOp: Api.Sys.Core.DictionaryOp) {
|
||||
return request({
|
||||
url: '/dictionary/add',
|
||||
url: '/dictionary/insert',
|
||||
method: 'post',
|
||||
data: dictionaryOp
|
||||
});
|
||||
@ -18,7 +18,7 @@ export function fetchDictionaryAdd(dictionaryOp: Api.Sys.Core.DictionaryOp) {
|
||||
|
||||
export function fetchDictionaryEdit(dictionaryOp: Api.Sys.Core.DictionaryOp) {
|
||||
return request({
|
||||
url: '/dictionary/edit',
|
||||
url: '/dictionary/update',
|
||||
method: 'post',
|
||||
data: dictionaryOp
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user