耗材目录包装单位的拼音搜索

This commit is contained in:
2025-12-23 15:03:37 +08:00
parent cce71f324b
commit 0833f82fb4
9 changed files with 134 additions and 8 deletions

View File

@@ -18,10 +18,11 @@ export function getData(dictCode) {
}
// 根据字典类型查询字典数据信息
export function getDicts(dictType) {
export function getDicts(dictType, searchKey) {
return request({
url: '/system/dict/data/type/' + dictType,
method: 'get'
method: 'get',
params: searchKey ? { searchKey } : {}
})
}