-
Notifications
You must be signed in to change notification settings - Fork 0
utils_packages_JDictSelectUtil.js
xinwu-yang edited this page Mar 1, 2023
·
1 revision
字典相关工具函数
/**
* @param dictCode 字典Code
* @return List<Map>
*/
initDictOptions(dictCode: string) => array
/**
* @param dictOptions 字典数组
* @param text 字典值
* @return String
*/
filterDictText(dictOptions: array, text: string | number) => string
/**
* @param dictOptions 字典数组
* @param text 字典值
* @return String
*/
filterMultiDictText(dictOptions: array, text: string) => string
/**
* @param dictCode 字典Code
* @param key 字典值
* @returns string
*/
filterDictTextByCache(dictCode: string, key: string | number) => string
/**
* @param dictCode 字典Code
* @param params 请求参数
* @returns array
*/
getDictItems(dictCode: string, params: object) => array