commit
This commit is contained in:
+3
-1
@@ -1,6 +1,7 @@
|
||||
package com.budwk.app.zhgh.democratic.teachercongress.delegate.controller;
|
||||
|
||||
import cn.dev33.satoken.annotation.SaCheckPermission;
|
||||
import cn.dev33.satoken.annotation.SaMode;
|
||||
import cn.hutool.core.convert.Convert;
|
||||
import cn.hutool.core.lang.Dict;
|
||||
import cn.hutool.core.util.ObjectUtil;
|
||||
@@ -132,6 +133,7 @@ public class TeacherCongressDelegatePushController {
|
||||
}
|
||||
|
||||
}
|
||||
cnd.groupBy("info.id");
|
||||
sql.setCondition(cnd);
|
||||
Pagination<NutMap> pagination = baseService.listPageMap(pageForm.getPageNumber(), pageForm.getPageSize(), sql);
|
||||
return Result.success(pagination);
|
||||
@@ -377,7 +379,7 @@ public class TeacherCongressDelegatePushController {
|
||||
|
||||
@At
|
||||
@ApiOperation("本单位代表上报情况")
|
||||
@SaCheckPermission("tc.delegate.push")
|
||||
@SaCheckPermission(value = {"tc.delegate.push","tc.delegate.push.dwSjAudit"}, mode = SaMode.OR)
|
||||
public Result selfUnionPushMetric(String sessionId, String unionId) {
|
||||
if (StrUtil.isBlank(unionId)) {
|
||||
unionId = SecurityUtil.getUnionId();
|
||||
|
||||
+3
-4
@@ -253,7 +253,7 @@ layout("/layouts/platform.html"){
|
||||
writeDialog: false,
|
||||
isRead: false,
|
||||
userId: null,
|
||||
|
||||
|
||||
// 当前分工会的最大推选人员
|
||||
maxPush: 0,
|
||||
// 剩余正式代表推选名额
|
||||
@@ -266,11 +266,10 @@ layout("/layouts/platform.html"){
|
||||
this.$message.warning("当前正式代表已超过最大推选人员数,如需调整请在表格数据列中选中【删除】按钮")
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
this.$refs.pushFormalRef.onOpen(this.pageForm.sessionId, this.pageForm.unionId)
|
||||
},
|
||||
setMaxCount(data) {
|
||||
debugger
|
||||
this.maxPush = data
|
||||
},
|
||||
doSearch() {
|
||||
@@ -335,7 +334,7 @@ layout("/layouts/platform.html"){
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.pageData()
|
||||
this.doSearch()
|
||||
this.listUnion()
|
||||
this.listSession()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user