Browse Source

performerId 传入的时候不再按照g管理员下全部人员查询

dev
巴林闲侠 2 years ago
parent
commit
b283ca73d4
  1. 1
      api/app/lib/controllers/report/index.js

1
api/app/lib/controllers/report/index.js

@ -13,6 +13,7 @@ async function reportList (ctx) {
userInfo.loginSource == 'wx'
&& userInfo.isAdmin
&& userInfo.phone != 'SuperAdmin'
&& (!performerId || !handleState)
) {
// 是管理员但不是超管 查自己部门及下级部门的所有用户的信息
const sqlStr = `

Loading…
Cancel
Save