|
|
@ -68,10 +68,10 @@ export function addDateRange(params, dateRange) {
|
|
|
|
// 回显数据字典
|
|
|
|
// 回显数据字典
|
|
|
|
export function selectDictLabel(datas, value) {
|
|
|
|
export function selectDictLabel(datas, value) {
|
|
|
|
var actions = [];
|
|
|
|
var actions = [];
|
|
|
|
Object.keys(datas).map((key) => {
|
|
|
|
Object.keys(datas).some((key) => {
|
|
|
|
if (datas[key].dictValue == ('' + value)) {
|
|
|
|
if (datas[key].dictValue == ('' + value)) {
|
|
|
|
actions.push(datas[key].dictLabel);
|
|
|
|
actions.push(datas[key].dictLabel);
|
|
|
|
return false;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
return actions.join('');
|
|
|
|
return actions.join('');
|
|
|
|