文章审批加保存
This commit is contained in:
@@ -90,6 +90,17 @@ export function selectDictLabel(datas, value) {
|
||||
})
|
||||
return actions.join('');
|
||||
}
|
||||
// 回显数据字典
|
||||
export function selectDictCode(datas, value) {
|
||||
var actions = [];
|
||||
Object.keys(datas).some((key) => {
|
||||
if (datas[key].dictCode == ('' + value)) {
|
||||
actions.push(datas[key].dictLabel);
|
||||
return true;
|
||||
}
|
||||
})
|
||||
return actions.join('');
|
||||
}
|
||||
|
||||
// 回显数据字典(字符串数组)
|
||||
export function selectDictLabels(datas, value, separator) {
|
||||
|
||||
Reference in New Issue
Block a user