20200528-zlp-1
1已完善培训管理功能 2新增多级字典管理功能
This commit is contained in:
		| @@ -77,6 +77,18 @@ export function selectDictLabel(datas, value) { | ||||
| 	return actions.join(''); | ||||
| } | ||||
|  | ||||
| // 回显数据字典 | ||||
| export function selectMoeDictLabel(datas, value) { | ||||
| 	var actions = []; | ||||
| 	Object.keys(datas).map((key) => { | ||||
| 		if (datas[key].id == ('' + value)) { | ||||
| 			actions.push(datas[key].name); | ||||
| 			return false; | ||||
| 		} | ||||
| 	}) | ||||
| 	return actions.join(''); | ||||
| } | ||||
|  | ||||
| // 通用下载方法 | ||||
| export function download(fileName) { | ||||
| 	window.location.href = baseURL + "/common/download?fileName=" + encodeURI(fileName) + "&delete=" + true; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user