|
|
@@ -1239,7 +1239,7 @@ |
|
|
|
}); |
|
|
|
$('#lr_component_isHide').lrselectSet(dfop.isHide); |
|
|
|
$('#lr_component_dataType').lrselect({ |
|
|
|
data: [{ id: 'company', text: '当前公司' }, { id: 'department', text: '当前部门' }, { id: 'user', text: '当前用户' }, { id: 'time', text: '当前时间' }], |
|
|
|
data: [{ id: 'company', text: '当前公司' }, { id: 'department', text: '当前部门' }, { id: 'user', text: '当前用户' }, { id: 'time', text: '当前时间' }, { id: 'role', text: '当前角色' }], |
|
|
|
value: 'id', |
|
|
|
text: 'text', |
|
|
|
placeholder: false, |
|
|
@@ -1284,6 +1284,10 @@ |
|
|
|
$compont.val(_data.name); |
|
|
|
$compont[0].lrvalue = compont._userId; |
|
|
|
break; |
|
|
|
case 'role': |
|
|
|
$compont.val(loginInfo.roleName); |
|
|
|
$compont[0].lrvalue = loginInfo.roleName; |
|
|
|
break; |
|
|
|
case 'time': |
|
|
|
$compont[0].lrvalue = learun.formatDate(new Date(), 'yyyy-MM-dd hh:mm:ss'); |
|
|
|
$compont.val($compont[0].lrvalue); |
|
|
@@ -1322,6 +1326,10 @@ |
|
|
|
$compont.val(loginInfo.realName); |
|
|
|
$compont[0].lrvalue = loginInfo.userId; |
|
|
|
break; |
|
|
|
case 'role': |
|
|
|
$compont.val(loginInfo.roleName); |
|
|
|
$compont[0].lrvalue = loginInfo.roleName; |
|
|
|
break; |
|
|
|
case 'time': |
|
|
|
$compont[0].lrvalue = learun.formatDate(new Date(), 'yyyy-MM-dd hh:mm:ss'); |
|
|
|
$compont.val($compont[0].lrvalue); |
|
|
|