提交
This commit is contained in:
1 parent
6dc8cfb2c1
commit
d26fb23fcf
181 files changed
+25727
-24557
No files matched your search
@@ -291,6 +291,24 @@ export function fetchAllDictData() {
|
||||
})
|
||||
}
|
||||
|
||||
export function fetchEnsureDictData(data: {
|
||||
dictType: string
|
||||
label: string
|
||||
preferredValue?: string
|
||||
}) {
|
||||
return request.post<{ label: string; value: string; created: boolean }>({
|
||||
url: '/web/admin/dict-data/ensure',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function fetchEnsureRemoveDictData(data: { dictType: string; value: string }) {
|
||||
return request.post({
|
||||
url: '/web/admin/dict-data/ensure-remove',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// 组织管理
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user