20200528-zlp-1

1已完善培训管理功能
2新增多级字典管理功能
This commit is contained in:
paidaxing444
2020-05-28 18:10:33 +08:00
parent 08ddca0ca8
commit 131a235d2e
11 changed files with 697 additions and 72 deletions

View File

@ -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;