Commit 9c121073 by 杨树贤

审核权限问题

parent 3ae287fe
...@@ -17,6 +17,11 @@ class SupplierFilter ...@@ -17,6 +17,11 @@ class SupplierFilter
$map = array_map(function ($item) { $map = array_map(function ($item) {
return trim($item); return trim($item);
}, $map); }, $map);
if (!empty($map['need_audit'])) {
$map['source_type'] = 'all';
}
if (!empty($map['source_type'])) { if (!empty($map['source_type'])) {
//显示默认的数据(有权限逻辑) //显示默认的数据(有权限逻辑)
$query = $this->defaultFilter($query, $map['source_type']); $query = $this->defaultFilter($query, $map['source_type']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment