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