导出数据权限

master
liuweiwen 5 years ago
parent 96bf040f98
commit 0695a22472

@ -5326,7 +5326,8 @@ if ($key == 'model'){
if(isset($_REQUEST['status'])){
$map['status']=$_REQUEST['status'];
}
//为数据权限添加
setPowerPromoteIds($map);
} else {
$xlsCell = array(
@ -5386,7 +5387,8 @@ if ($key == 'model'){
if (I('status')) {
$map['tab_promote.status'] = I('status');
}
//为数据权限添加
setPowerPromoteIds($map, 'tab_promote.id');
}
@ -5400,8 +5402,7 @@ if ($key == 'model'){
//为数据权限添加
setPowerPromoteIds($map, 'id');
$xlsData = [];
// if(is_array($data)){
@ -6336,7 +6337,7 @@ if ($key == 'model'){
unset($map['promote_id']);
//为数据权限添加
setPowerPromoteIds($map);
setPowerPromoteIds($map, 'tab_spend.promote_id');
$csvFileName = $xlsName . '.csv';
//设置好告诉浏览器要下载excel文件的headers

Loading…
Cancel
Save