commit
This commit is contained in:
@@ -90,8 +90,8 @@ public class clubTzController {
|
|||||||
$condition
|
$condition
|
||||||
""");
|
""");
|
||||||
if (!ShiroUtil.hasRole("sysadmin")) {
|
if (!ShiroUtil.hasRole("sysadmin")) {
|
||||||
cnd.and("role.roleId", "in", Lang.array(Roles.club01, Roles.club02, Roles.club03, Roles.club04));
|
cnd1.and("role.roleid", "in", Lang.array(Roles.club01, Roles.club02, Roles.club03, Roles.club04));
|
||||||
cnd.and("role.userId", "=", ShiroUtil.getUserId());
|
cnd1.and("role.userId", "=", ShiroUtil.getUserId());
|
||||||
}
|
}
|
||||||
cnd1.and("club.isjs", "=", false);
|
cnd1.and("club.isjs", "=", false);
|
||||||
cnd1.and("club.state", "=", 930);
|
cnd1.and("club.state", "=", 930);
|
||||||
|
|||||||
@@ -75,10 +75,8 @@ public class jfsyController {
|
|||||||
$condition
|
$condition
|
||||||
""");
|
""");
|
||||||
Cnd cnd = Cnd.NEW();
|
Cnd cnd = Cnd.NEW();
|
||||||
if (ShiroUtil.hasRole("sysadmin") || ShiroUtil.hasRole("A06")) {
|
|
||||||
cnd.andEX("jf.unionId", "=", unionId);
|
cnd.andEX("jf.unionId", "=", unionId);
|
||||||
} else if (ShiroUtil.hasAnyRoles("gh14,gh01")) {
|
if (!ShiroUtil.hasRole("sysadmin") || ShiroUtil.hasRole("A06")) {
|
||||||
//基层工会管理员
|
|
||||||
cnd.and("jf.unionId", "=", Vi.getUnionId());
|
cnd.and("jf.unionId", "=", Vi.getUnionId());
|
||||||
}
|
}
|
||||||
cnd.and("jf.totalQuota", "IS NOT", null);
|
cnd.and("jf.totalQuota", "IS NOT", null);
|
||||||
|
|||||||
@@ -441,7 +441,6 @@ layout("/layouts/platform.html"){
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
use(scope) {
|
use(scope) {
|
||||||
console.log(scope)
|
|
||||||
let that = this
|
let that = this
|
||||||
this.formData.id = scope.id
|
this.formData.id = scope.id
|
||||||
this.usePageForm.adjust_id = scope.id
|
this.usePageForm.adjust_id = scope.id
|
||||||
|
|||||||
Reference in New Issue
Block a user