Commit 97edce31 by chenjinjing

no message

parent 0048e68f
...@@ -22,6 +22,17 @@ import { ERRORENUM } from "../config/enum/errorEnum"; ...@@ -22,6 +22,17 @@ import { ERRORENUM } from "../config/enum/errorEnum";
*/ */
export async function getOrgLifeList(userInfo, month:number, title:string, pageNumber:number) { export async function getOrgLifeList(userInfo, month:number, title:string, pageNumber:number) {
let selectParam:any = {}; let selectParam:any = {};
if (userInfo.userId == "admin") { //admin登录
if (userInfo.branch) {
selectParam.bId = {"%like%": userInfo.branch};
}
} else { //其他用户登录
if (userInfo.branch) {
selectParam.bId = {"%like%": userInfo.branch};
}
}
if (userInfo.branch) { if (userInfo.branch) {
selectParam.bId = {"%like%": userInfo.branch}; selectParam.bId = {"%like%": userInfo.branch};
} }
......
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 to comment