bug整改
This commit is contained in:
+1
-1
@@ -103,7 +103,7 @@ public class ProposalExpeditingController {
|
|||||||
Cnd cnd = Cnd.NEW();
|
Cnd cnd = Cnd.NEW();
|
||||||
cnd.and("t.taskName", "in", List.of("master_reply", "slave_reply", "opinion_master_reply"));
|
cnd.and("t.taskName", "in", List.of("master_reply", "slave_reply", "opinion_master_reply"));
|
||||||
|
|
||||||
if (!AuthUtil.hasRole(RoleConstant.SYSADMIN.name())) {
|
if (!AuthUtil.hasRole(RoleConstant.SYSADMIN.name()) && !AuthUtil.hasRole(RoleConstant.SCHOOL_UNION_ADMIN.name())) {
|
||||||
cnd.and("ta.actorId", "in", List.of(SecurityUtil.getUserId()));
|
cnd.and("ta.actorId", "in", List.of(SecurityUtil.getUserId()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -56,7 +56,7 @@ public class TeacherCongressDelegateServiceImpl extends BaseServiceImpl<Teacher_
|
|||||||
@Override
|
@Override
|
||||||
public Pagination<Teacher_congress_delegate> pageData(TeacherCongressDelegateManagePageParam pageForm) {
|
public Pagination<Teacher_congress_delegate> pageData(TeacherCongressDelegateManagePageParam pageForm) {
|
||||||
Cnd cnd = buildCondition(pageForm, "");
|
Cnd cnd = buildCondition(pageForm, "");
|
||||||
if (!AuthUtil.hasRole(RoleConstant.SYSADMIN.name()) && !AuthUtil.hasRole(RoleConstant.SCHOOL_UNION_TC_ADMIN.name())) {
|
if (!AuthUtil.hasRole(RoleConstant.SYSADMIN.name()) && !AuthUtil.hasRole(RoleConstant.SCHOOL_UNION_TC_ADMIN.name()) && !AuthUtil.hasRole(RoleConstant.SCHOOL_UNION_ADMIN.name())) {
|
||||||
cnd.and("delegationId", "in", proposalCommonService.getSelfManageDelegationIds());
|
cnd.and("delegationId", "in", proposalCommonService.getSelfManageDelegationIds());
|
||||||
}
|
}
|
||||||
cnd.asc("id");
|
cnd.asc("id");
|
||||||
|
|||||||
@@ -293,7 +293,11 @@ layout("/layouts/platform.html"){
|
|||||||
const url = base + "/platform/sys/unit/tree"
|
const url = base + "/platform/sys/unit/tree"
|
||||||
self.$axios.post(url, { pid: node.value }).then((res) => {
|
self.$axios.post(url, { pid: node.value }).then((res) => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
resolve(res.data)
|
let filteredData = res.data;
|
||||||
|
if (node.level === 0 && res.data && res.data.length > 0) {
|
||||||
|
filteredData = res.data.slice(1); // 移除第一个元素
|
||||||
|
}
|
||||||
|
resolve(filteredData);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
+1
@@ -140,6 +140,7 @@ layout("/layouts/platform.html"){
|
|||||||
<el-button
|
<el-button
|
||||||
v-else-if="row.taskKey === 'startTask'
|
v-else-if="row.taskKey === 'startTask'
|
||||||
|| row.taskKey==='53ff0c2a-ba93-45e9-a9fd-db51cdab3080'
|
|| row.taskKey==='53ff0c2a-ba93-45e9-a9fd-db51cdab3080'
|
||||||
|
|| row.taskKey=== null
|
||||||
|| row.taskKey==='0cacd1e7-7bb2-47dd-818b-6a73062e0c62' || !row.instanceId"
|
|| row.taskKey==='0cacd1e7-7bb2-47dd-818b-6a73062e0c62' || !row.instanceId"
|
||||||
@click="onDelete(row.id)"
|
@click="onDelete(row.id)"
|
||||||
size="mini" type="danger">删除
|
size="mini" type="danger">删除
|
||||||
|
|||||||
Reference in New Issue
Block a user