commit
This commit is contained in:
+3
-4
@@ -210,11 +210,11 @@ public class TeacherCongressDelegatePushZgAuditController {
|
||||
@SaCheckPermission("tc.delegate.push.zcAudit")
|
||||
@SLog(tag = "代表管理-代表资格审查", msg = "审查通过")
|
||||
public Result submit(@Param("data") String param, @Valid String id) {
|
||||
|
||||
Dict args = Json.fromJson(Dict.class, param);
|
||||
TeacherCongressDelegatePush delegatePush = baseService.dao().fetch(TeacherCongressDelegatePush.class, id);
|
||||
View_user user = baseService.dao().fetch(View_user.class, Cnd.where("id", "=", delegatePush.getUserId()));
|
||||
|
||||
if (delegatePush.getIsJdh()) {
|
||||
if (delegatePush.getIsJdh() && args.getInt("submitType") == 1) {
|
||||
Teacher_congress_delegate delegate = new Teacher_congress_delegate();
|
||||
Sys_user_role userRole = new Sys_user_role();
|
||||
|
||||
@@ -263,13 +263,12 @@ public class TeacherCongressDelegatePushZgAuditController {
|
||||
Cnd.where(Sys_user::getId, "=", user.getId())
|
||||
);
|
||||
}
|
||||
Dict args = Json.fromJson(Dict.class, param);
|
||||
|
||||
flowCommonService.executeTask(args);
|
||||
return Result.success();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@At
|
||||
@ApiOperation("批量审查")
|
||||
@Aop(TransAop.READ_COMMITTED)
|
||||
|
||||
+3
@@ -7,6 +7,7 @@ import com.budwk.app.base.page.Pagination;
|
||||
import com.budwk.app.base.result.Result;
|
||||
import com.budwk.app.base.utils.PageUtil;
|
||||
import com.budwk.app.flow.engine.FlowEngine;
|
||||
import com.budwk.app.web.commons.auth.utils.SecurityUtil;
|
||||
import com.budwk.app.zhgh.staffbenefit.difficulthelp.models.DifficultHelpInfo;
|
||||
import com.budwk.app.zhgh.staffbenefit.difficulthelp.service.DifficultHelpCommonService;
|
||||
import com.budwk.app.zhgh.staffbenefit.difficulthelp.vo.DifficultHelpPageParam;
|
||||
@@ -17,6 +18,7 @@ import org.nutz.dao.Cnd;
|
||||
import org.nutz.dao.Dao;
|
||||
import org.nutz.dao.Sqls;
|
||||
import org.nutz.dao.sql.Sql;
|
||||
import org.nutz.dao.util.cri.SqlExpressionGroup;
|
||||
import org.nutz.ioc.aop.Aop;
|
||||
import org.nutz.ioc.loader.annotation.Inject;
|
||||
import org.nutz.ioc.loader.annotation.IocBean;
|
||||
@@ -99,6 +101,7 @@ public class DifficultHelpMineController {
|
||||
""");
|
||||
Cnd cnd = Cnd.NEW();
|
||||
pageParam.buildSearch(cnd, "info.");
|
||||
cnd.and("info.createdBy", "=", SecurityUtil.getUserId());
|
||||
if (StrUtil.isAllBlank(pageParam.getPageOrderName(), pageParam.getPageOrderBy())) {
|
||||
cnd.desc("info.applyTime");
|
||||
} else {
|
||||
|
||||
+1
-1
@@ -354,6 +354,7 @@ public class MemberInfoServiceImpl extends BaseServiceImpl<Sys_user> implements
|
||||
needInsertUser.add(user.getLoginname());
|
||||
}
|
||||
//设置excel列的数据
|
||||
user.setLoginname(v.getLoginname());
|
||||
user.setUsername(v.getUsername());
|
||||
if (StrUtil.isNotBlank(v.getSex())) {
|
||||
user.setSex(v.getSex());
|
||||
@@ -431,7 +432,6 @@ public class MemberInfoServiceImpl extends BaseServiceImpl<Sys_user> implements
|
||||
}
|
||||
|
||||
|
||||
|
||||
public String getUnitId(Map<String, String> codeMap, Map<String, String> nameMap, String code, String name) {
|
||||
if (StrUtil.isNotBlank(code) && StrUtil.isNotBlank(name) || (StrUtil.isNotBlank(code) && StrUtil.isBlank(name))) {
|
||||
return codeMap.get(code);
|
||||
|
||||
@@ -141,18 +141,6 @@ layout("/layouts/platform.html"){
|
||||
placeholder="请输入您的办理意见"
|
||||
></el-input>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="通讯地址" :span="2">
|
||||
<el-input v-model="task.taskFormData.tf_address" placeholder="请输入通讯地址"
|
||||
clearable></el-input>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="联系电话" :span="2">
|
||||
<el-input v-model="task.taskFormData.tf_phone" placeholder="请输入联系电话"
|
||||
clearable></el-input>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="邮政编码" :span="2">
|
||||
<el-input v-model="task.taskFormData.tf_postcode" placeholder="请输入邮政编码"
|
||||
clearable></el-input>
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</template>
|
||||
<el-row type="flex" justify="end" slot="footer">
|
||||
|
||||
+3
-3
@@ -23,8 +23,8 @@ layout("/layouts/platform.html"){
|
||||
<el-card shadow="never">
|
||||
<table-tool :columns.sync="tableColumns">
|
||||
<el-radio-group v-model="pageForm.approval" size="small" @change="doSearch">
|
||||
<el-radio-button :label="true">已审核</el-radio-button>
|
||||
<el-radio-button :label="false">未审核</el-radio-button>
|
||||
<el-radio-button :label="true">已附议</el-radio-button>
|
||||
<el-radio-button :label="false">未附议</el-radio-button>
|
||||
</el-radio-group>
|
||||
</table-tool>
|
||||
<el-table :data="tableData" @sort-change="pageOrder" style="width: 100%">
|
||||
@@ -54,7 +54,7 @@ layout("/layouts/platform.html"){
|
||||
<el-table-column label="操作" fixed="right" width="300px">
|
||||
<template slot-scope="{row}">
|
||||
<el-button @click="openView(row)" size="mini" type="primary">查看</el-button>
|
||||
<el-button v-if="row.taskState === 10" @click="openAudit(row)" size="mini" type="primary">审核
|
||||
<el-button v-if="row.taskState === 10" @click="openAudit(row)" size="mini" type="primary">附议
|
||||
</el-button>
|
||||
<!-- <el-button v-if="row.canRevoke" @click="onRevoke(row)" size="mini" type="danger">撤回-->
|
||||
<!-- </el-button>-->
|
||||
|
||||
@@ -41,6 +41,7 @@ const TREE_TEMPLATE = {
|
||||
watch: {
|
||||
sessionId(val) {
|
||||
this.$emit("session-change", val)
|
||||
this.listTree()
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user