Merge branch 'main' of https://dd3skj.picp.vip/JyuHsin/zhgh_jshvc
This commit is contained in:
@@ -391,6 +391,7 @@ public class ProcessTaskServiceImpl extends BaseServiceImpl<ProcessTask> impleme
|
|||||||
processTask.setTaskState(ProcessTaskStateEnum.DOING.getCode());
|
processTask.setTaskState(ProcessTaskStateEnum.DOING.getCode());
|
||||||
processTask.setTaskType(taskModel.getTaskType().getCode());
|
processTask.setTaskType(taskModel.getTaskType().getCode());
|
||||||
processTask.setProcessInstanceId(execution.getProcessInstanceId());
|
processTask.setProcessInstanceId(execution.getProcessInstanceId());
|
||||||
|
processTask.setH5FormKey(taskModel.getH5form());
|
||||||
|
|
||||||
// 增加是否为第一个任务节点标识
|
// 增加是否为第一个任务节点标识
|
||||||
execution.getArgs().put(FlowConst.IS_FIRST_TASK_NODE, FlowUtil.isFistTaskName(execution.getProcessModel(), taskModel.getName()));
|
execution.getArgs().put(FlowConst.IS_FIRST_TASK_NODE, FlowUtil.isFistTaskName(execution.getProcessModel(), taskModel.getName()));
|
||||||
|
|||||||
+1
@@ -106,6 +106,7 @@ public class ActivityDeclareBranchUnionController {
|
|||||||
|
|
||||||
cnd.and("t.taskName", "=", "54f481d7-3239-4cd2-882d-e1cc18ea86eb");
|
cnd.and("t.taskName", "=", "54f481d7-3239-4cd2-882d-e1cc18ea86eb");
|
||||||
cnd.and("ta.actorId", "in", List.of(SecurityUtil.getUserId()));
|
cnd.and("ta.actorId", "in", List.of(SecurityUtil.getUserId()));
|
||||||
|
cnd.andEX("info.applyTime", "=", pageParam.getYear());
|
||||||
|
|
||||||
if (pageParam.getAudit()) {
|
if (pageParam.getAudit()) {
|
||||||
cnd.and("t.taskState", "in", List.of(ProcessTaskStateEnum.FINISHED.getCode(), ProcessTaskStateEnum.WITHDRAW.getCode(), ProcessTaskStateEnum.INTERRUPT.getCode()));
|
cnd.and("t.taskState", "in", List.of(ProcessTaskStateEnum.FINISHED.getCode(), ProcessTaskStateEnum.WITHDRAW.getCode(), ProcessTaskStateEnum.INTERRUPT.getCode()));
|
||||||
|
|||||||
+1
@@ -100,6 +100,7 @@ public class ActivityDeclareClubPrincipalController {
|
|||||||
cnd.and("t.taskName", "=", "06d5979b-b52f-4df1-8974-087568322cd6");
|
cnd.and("t.taskName", "=", "06d5979b-b52f-4df1-8974-087568322cd6");
|
||||||
|
|
||||||
cnd.and("ta.actorId", "in", List.of(SecurityUtil.getUserId()));
|
cnd.and("ta.actorId", "in", List.of(SecurityUtil.getUserId()));
|
||||||
|
cnd.andEX("info.applyTime", "=", pageParam.getYear());
|
||||||
|
|
||||||
if (pageParam.getAudit()) {
|
if (pageParam.getAudit()) {
|
||||||
cnd.and("t.taskState", "in", List.of(ProcessTaskStateEnum.FINISHED.getCode(), ProcessTaskStateEnum.WITHDRAW.getCode(), ProcessTaskStateEnum.INTERRUPT.getCode()));
|
cnd.and("t.taskState", "in", List.of(ProcessTaskStateEnum.FINISHED.getCode(), ProcessTaskStateEnum.WITHDRAW.getCode(), ProcessTaskStateEnum.INTERRUPT.getCode()));
|
||||||
|
|||||||
+4
@@ -126,6 +126,7 @@ public class ActivityDeclareMineController {
|
|||||||
""");
|
""");
|
||||||
Cnd cnd = Cnd.NEW();
|
Cnd cnd = Cnd.NEW();
|
||||||
pageParam.buildSearch(cnd, "info.");
|
pageParam.buildSearch(cnd, "info.");
|
||||||
|
cnd.andEX("info.applyTime", "=", pageParam.getYear());
|
||||||
if (StrUtil.isAllBlank(pageParam.getPageOrderName(), pageParam.getPageOrderBy())) {
|
if (StrUtil.isAllBlank(pageParam.getPageOrderName(), pageParam.getPageOrderBy())) {
|
||||||
cnd.desc("info.applyTime");
|
cnd.desc("info.applyTime");
|
||||||
} else {
|
} else {
|
||||||
@@ -191,6 +192,9 @@ public class ActivityDeclareMineController {
|
|||||||
String activityContent = info.getString("activityContent");
|
String activityContent = info.getString("activityContent");
|
||||||
info.put("activityContent", sysOfficeTemplateUtil.convertRichTextToDocText(activityContent));
|
info.put("activityContent", sysOfficeTemplateUtil.convertRichTextToDocText(activityContent));
|
||||||
|
|
||||||
|
info.put("applyTime", DateUtil.format(info.getTime("applyTime"), "yyyy-MM-dd"));
|
||||||
|
info.put("planStartTime", DateUtil.format(info.getTime("planStartTime"), "yyyy年MM月dd日"));
|
||||||
|
info.put("planEndTime", DateUtil.format(info.getTime("planEndTime"), "yyyy年MM月dd日"));
|
||||||
docData.put("schoolName", Globals.AppName);
|
docData.put("schoolName", Globals.AppName);
|
||||||
docData.put("info", info);
|
docData.put("info", info);
|
||||||
|
|
||||||
|
|||||||
+1
@@ -100,6 +100,7 @@ public class ActivityDeclareSchoolPrincipalController {
|
|||||||
|
|
||||||
cnd.and("t.taskName", "=", "5b511275-143f-4ecd-8eff-7c8ad1456b1b");
|
cnd.and("t.taskName", "=", "5b511275-143f-4ecd-8eff-7c8ad1456b1b");
|
||||||
cnd.and("ta.actorId", "in", List.of(SecurityUtil.getUserId()));
|
cnd.and("ta.actorId", "in", List.of(SecurityUtil.getUserId()));
|
||||||
|
cnd.andEX("info.applyTime", "=", pageParam.getYear());
|
||||||
|
|
||||||
if (pageParam.getAudit()) {
|
if (pageParam.getAudit()) {
|
||||||
cnd.and("t.taskState", "in", List.of(ProcessTaskStateEnum.FINISHED.getCode(), ProcessTaskStateEnum.WITHDRAW.getCode(), ProcessTaskStateEnum.INTERRUPT.getCode()));
|
cnd.and("t.taskState", "in", List.of(ProcessTaskStateEnum.FINISHED.getCode(), ProcessTaskStateEnum.WITHDRAW.getCode(), ProcessTaskStateEnum.INTERRUPT.getCode()));
|
||||||
|
|||||||
+1
@@ -97,6 +97,7 @@ public class ActivityDeclareSchoolUnionController {
|
|||||||
Cnd cnd = Cnd.NEW();
|
Cnd cnd = Cnd.NEW();
|
||||||
cnd.and("t.taskName", "=", "81428a9b-63c0-44b8-a28c-17d282c2cc8e");
|
cnd.and("t.taskName", "=", "81428a9b-63c0-44b8-a28c-17d282c2cc8e");
|
||||||
cnd.and("ta.actorId", "in", List.of(SecurityUtil.getUserId()));
|
cnd.and("ta.actorId", "in", List.of(SecurityUtil.getUserId()));
|
||||||
|
cnd.andEX("info.applyTime", "=", pageParam.getYear());
|
||||||
|
|
||||||
if (pageParam.getAudit()) {
|
if (pageParam.getAudit()) {
|
||||||
cnd.and("t.taskState", "in", List.of(ProcessTaskStateEnum.FINISHED.getCode(), ProcessTaskStateEnum.WITHDRAW.getCode(), ProcessTaskStateEnum.INTERRUPT.getCode()));
|
cnd.and("t.taskState", "in", List.of(ProcessTaskStateEnum.FINISHED.getCode(), ProcessTaskStateEnum.WITHDRAW.getCode(), ProcessTaskStateEnum.INTERRUPT.getCode()));
|
||||||
|
|||||||
+1
-1
@@ -108,7 +108,7 @@ public class ActivityReimbursementBranchUnionController {
|
|||||||
cnd.andEX("outlay.budgetReimburseType", "=" , pageParam.getBudgetReimburseType());
|
cnd.andEX("outlay.budgetReimburseType", "=" , pageParam.getBudgetReimburseType());
|
||||||
cnd.andEX("info.outlayManageSource", "=", pageParam.getOutlayManageSource());
|
cnd.andEX("info.outlayManageSource", "=", pageParam.getOutlayManageSource());
|
||||||
cnd.andEX("info.activityReimbursementMode", "=", pageParam.getActivityReimbursementMode());
|
cnd.andEX("info.activityReimbursementMode", "=", pageParam.getActivityReimbursementMode());
|
||||||
|
cnd.andEX("YEAR(info.applyTime)", "=", pageParam.getYear());
|
||||||
if (pageParam.getAudit()) {
|
if (pageParam.getAudit()) {
|
||||||
cnd.and("t.taskState", "in", List.of(ProcessTaskStateEnum.FINISHED.getCode(), ProcessTaskStateEnum.WITHDRAW.getCode(), ProcessTaskStateEnum.INTERRUPT.getCode()));
|
cnd.and("t.taskState", "in", List.of(ProcessTaskStateEnum.FINISHED.getCode(), ProcessTaskStateEnum.WITHDRAW.getCode(), ProcessTaskStateEnum.INTERRUPT.getCode()));
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
+1
-1
@@ -108,7 +108,7 @@ public class ActivityReimbursementClubPrincipalController {
|
|||||||
cnd.andEX("outlay.budgetReimburseType", "=" , pageParam.getBudgetReimburseType());
|
cnd.andEX("outlay.budgetReimburseType", "=" , pageParam.getBudgetReimburseType());
|
||||||
cnd.andEX("info.outlayManageSource", "=", pageParam.getOutlayManageSource());
|
cnd.andEX("info.outlayManageSource", "=", pageParam.getOutlayManageSource());
|
||||||
cnd.andEX("info.activityReimbursementMode", "=", pageParam.getActivityReimbursementMode());
|
cnd.andEX("info.activityReimbursementMode", "=", pageParam.getActivityReimbursementMode());
|
||||||
|
cnd.andEX("YEAR(info.applyTime)", "=", pageParam.getYear());
|
||||||
if (pageParam.getAudit()) {
|
if (pageParam.getAudit()) {
|
||||||
cnd.and("t.taskState", "in", List.of(ProcessTaskStateEnum.FINISHED.getCode(), ProcessTaskStateEnum.WITHDRAW.getCode(), ProcessTaskStateEnum.INTERRUPT.getCode()));
|
cnd.and("t.taskState", "in", List.of(ProcessTaskStateEnum.FINISHED.getCode(), ProcessTaskStateEnum.WITHDRAW.getCode(), ProcessTaskStateEnum.INTERRUPT.getCode()));
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
+1
@@ -133,6 +133,7 @@ public class ActivityReimbursementMineController {
|
|||||||
cnd.and("info.userId", "=", SecurityUtil.getUserId());
|
cnd.and("info.userId", "=", SecurityUtil.getUserId());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
cnd.andEX("YEAR(info.applyTime)", "=", pageParam.getYear());
|
||||||
if (StrUtil.isAllBlank(pageParam.getPageOrderName(), pageParam.getPageOrderBy())) {
|
if (StrUtil.isAllBlank(pageParam.getPageOrderName(), pageParam.getPageOrderBy())) {
|
||||||
cnd.desc("info.applyTime");
|
cnd.desc("info.applyTime");
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
+1
-1
@@ -100,7 +100,7 @@ public class ActivityReimbursementSchoolFinanceController {
|
|||||||
cnd.andEX("outlay.budgetReimburseType", "=" , pageParam.getBudgetReimburseType());
|
cnd.andEX("outlay.budgetReimburseType", "=" , pageParam.getBudgetReimburseType());
|
||||||
cnd.andEX("info.outlayManageSource", "=", pageParam.getOutlayManageSource());
|
cnd.andEX("info.outlayManageSource", "=", pageParam.getOutlayManageSource());
|
||||||
cnd.andEX("info.activityReimbursementMode", "=", pageParam.getActivityReimbursementMode());
|
cnd.andEX("info.activityReimbursementMode", "=", pageParam.getActivityReimbursementMode());
|
||||||
|
cnd.andEX("YEAR(info.applyTime)", "=", pageParam.getYear());
|
||||||
if (pageParam.getAudit()) {
|
if (pageParam.getAudit()) {
|
||||||
cnd.and("t.taskState", "in", List.of(ProcessTaskStateEnum.FINISHED.getCode(), ProcessTaskStateEnum.WITHDRAW.getCode(), ProcessTaskStateEnum.INTERRUPT.getCode()));
|
cnd.and("t.taskState", "in", List.of(ProcessTaskStateEnum.FINISHED.getCode(), ProcessTaskStateEnum.WITHDRAW.getCode(), ProcessTaskStateEnum.INTERRUPT.getCode()));
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
+1
-1
@@ -108,7 +108,7 @@ public class ActivityReimbursementSchoolPrincipalController {
|
|||||||
cnd.andEX("outlay.budgetReimburseType", "=" , pageParam.getBudgetReimburseType());
|
cnd.andEX("outlay.budgetReimburseType", "=" , pageParam.getBudgetReimburseType());
|
||||||
cnd.andEX("info.outlayManageSource", "=", pageParam.getOutlayManageSource());
|
cnd.andEX("info.outlayManageSource", "=", pageParam.getOutlayManageSource());
|
||||||
cnd.andEX("info.activityReimbursementMode", "=", pageParam.getActivityReimbursementMode());
|
cnd.andEX("info.activityReimbursementMode", "=", pageParam.getActivityReimbursementMode());
|
||||||
|
cnd.andEX("YEAR(info.applyTime)", "=", pageParam.getYear());
|
||||||
if (pageParam.getAudit()) {
|
if (pageParam.getAudit()) {
|
||||||
cnd.and("t.taskState", "in", List.of(ProcessTaskStateEnum.FINISHED.getCode(), ProcessTaskStateEnum.WITHDRAW.getCode(), ProcessTaskStateEnum.INTERRUPT.getCode()));
|
cnd.and("t.taskState", "in", List.of(ProcessTaskStateEnum.FINISHED.getCode(), ProcessTaskStateEnum.WITHDRAW.getCode(), ProcessTaskStateEnum.INTERRUPT.getCode()));
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
+1
@@ -124,6 +124,7 @@ public class ActivityReimbursementSchoolUnionController {
|
|||||||
cnd.andEX("outlay.budgetReimburseType", "=" , pageParam.getBudgetReimburseType());
|
cnd.andEX("outlay.budgetReimburseType", "=" , pageParam.getBudgetReimburseType());
|
||||||
cnd.andEX("info.outlayManageSource", "=", pageParam.getOutlayManageSource());
|
cnd.andEX("info.outlayManageSource", "=", pageParam.getOutlayManageSource());
|
||||||
cnd.andEX("info.activityReimbursementMode", "=", pageParam.getActivityReimbursementMode());
|
cnd.andEX("info.activityReimbursementMode", "=", pageParam.getActivityReimbursementMode());
|
||||||
|
cnd.andEX("YEAR(info.applyTime)", "=", pageParam.getYear());
|
||||||
|
|
||||||
if (pageParam.getAudit()) {
|
if (pageParam.getAudit()) {
|
||||||
cnd.and("t.taskState", "in", List.of(ProcessTaskStateEnum.FINISHED.getCode(), ProcessTaskStateEnum.WITHDRAW.getCode(), ProcessTaskStateEnum.INTERRUPT.getCode()));
|
cnd.and("t.taskState", "in", List.of(ProcessTaskStateEnum.FINISHED.getCode(), ProcessTaskStateEnum.WITHDRAW.getCode(), ProcessTaskStateEnum.INTERRUPT.getCode()));
|
||||||
|
|||||||
+1
-1
@@ -177,7 +177,7 @@ public class ClubUserJoinApplyController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ProcessInstance processInstance = dao.fetch(ProcessInstance.class, Cnd.where(ProcessInstance::getBusinessNo, "=", userApply.getId()));
|
ProcessInstance processInstance = dao.fetch(ProcessInstance.class, Cnd.where(ProcessInstance::getBusinessNo, "=", userApply.getId()));
|
||||||
if (!processInstance.getState().equals(ProcessInstanceStateEnum.FINISHED.getCode())) {
|
if (!List.of(ProcessInstanceStateEnum.REJECT.getCode(),ProcessInstanceStateEnum.FINISHED.getCode()).contains(processInstance.getState())) {
|
||||||
return Result.error(99, "您有该协会的申请记录尚未完成,请到我的申请里查看!");
|
return Result.error(99, "您有该协会的申请记录尚未完成,请到我的申请里查看!");
|
||||||
}
|
}
|
||||||
return Result.success();
|
return Result.success();
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ public class Asset extends BaseModel implements Serializable {
|
|||||||
|
|
||||||
@Column
|
@Column
|
||||||
@Comment("单价")
|
@Comment("单价")
|
||||||
@ColDefine(customType = "decimal(6,2)")
|
@ColDefine(customType = "decimal(10,2)")
|
||||||
private BigDecimal assetUnitPrice;
|
private BigDecimal assetUnitPrice;
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
|
|||||||
+4
-4
@@ -43,22 +43,22 @@ public class AssetDepreciationRecord extends BaseModel implements Serializable {
|
|||||||
|
|
||||||
@Column
|
@Column
|
||||||
@Comment("资产全部的价值")
|
@Comment("资产全部的价值")
|
||||||
@ColDefine(customType = "decimal(6,2)")
|
@ColDefine(customType = "decimal(10,2)")
|
||||||
private BigDecimal assetAllMoney;
|
private BigDecimal assetAllMoney;
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
@Comment("剩余价值")
|
@Comment("剩余价值")
|
||||||
@ColDefine(customType = "decimal(6,2)")
|
@ColDefine(customType = "decimal(10,2)")
|
||||||
private BigDecimal assetSurplusMoney;
|
private BigDecimal assetSurplusMoney;
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
@Comment("累计折旧多少钱")
|
@Comment("累计折旧多少钱")
|
||||||
@ColDefine(customType = "decimal(6,2)")
|
@ColDefine(customType = "decimal(10,2)")
|
||||||
private BigDecimal assetDepreciationMoney;
|
private BigDecimal assetDepreciationMoney;
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
@Comment("平均一个月多少钱")
|
@Comment("平均一个月多少钱")
|
||||||
@ColDefine(customType = "decimal(6,2)")
|
@ColDefine(customType = "decimal(10,2)")
|
||||||
private BigDecimal assetAverageMonthMoney;
|
private BigDecimal assetAverageMonthMoney;
|
||||||
|
|
||||||
@Column
|
@Column
|
||||||
|
|||||||
+3
@@ -18,9 +18,11 @@ import com.budwk.app.zhgh.dayofficework.qsv.service.QsvQuizService;
|
|||||||
import com.budwk.app.zhgh.dayofficework.qsv.service.QsvUserAnswerRecordService;
|
import com.budwk.app.zhgh.dayofficework.qsv.service.QsvUserAnswerRecordService;
|
||||||
import io.swagger.annotations.ApiOperation;
|
import io.swagger.annotations.ApiOperation;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.nutz.aop.interceptor.ioc.TransAop;
|
||||||
import org.nutz.dao.Cnd;
|
import org.nutz.dao.Cnd;
|
||||||
import org.nutz.dao.Dao;
|
import org.nutz.dao.Dao;
|
||||||
import org.nutz.dao.util.cri.Static;
|
import org.nutz.dao.util.cri.Static;
|
||||||
|
import org.nutz.ioc.aop.Aop;
|
||||||
import org.nutz.ioc.loader.annotation.Inject;
|
import org.nutz.ioc.loader.annotation.Inject;
|
||||||
import org.nutz.ioc.loader.annotation.IocBean;
|
import org.nutz.ioc.loader.annotation.IocBean;
|
||||||
import org.nutz.lang.util.NutMap;
|
import org.nutz.lang.util.NutMap;
|
||||||
@@ -61,6 +63,7 @@ public class H5QsvQuizController {
|
|||||||
|
|
||||||
@At
|
@At
|
||||||
@SaCheckLogin
|
@SaCheckLogin
|
||||||
|
@Aop(TransAop.READ_COMMITTED)
|
||||||
public Result subjects(@Valid String activityId) {
|
public Result subjects(@Valid String activityId) {
|
||||||
QsvActivity activity = dao.fetch(QsvActivity.class, activityId);
|
QsvActivity activity = dao.fetch(QsvActivity.class, activityId);
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -77,7 +77,7 @@ public class ProposalQueryComprehensiveController {
|
|||||||
$condition
|
$condition
|
||||||
""");
|
""");
|
||||||
Cnd cnd = Cnd.NEW();
|
Cnd cnd = Cnd.NEW();
|
||||||
if(ArrayUtil.isNotEmpty(pageForm.getOrigins())){
|
if (ArrayUtil.isNotEmpty(pageForm.getOrigins()) && StrUtil.isNotBlank(pageForm.getCommonKeyword())) {
|
||||||
SqlExpressionGroup seg = new SqlExpressionGroup();
|
SqlExpressionGroup seg = new SqlExpressionGroup();
|
||||||
|
|
||||||
// 案名
|
// 案名
|
||||||
|
|||||||
+21
-1
@@ -123,7 +123,7 @@ public class TeacherCongressDelegateServiceImpl extends BaseServiceImpl<Teacher_
|
|||||||
delegationSql.setParam("sessionId", pageForm.getSessionId());
|
delegationSql.setParam("sessionId", pageForm.getSessionId());
|
||||||
List<NutMap> delegationList = listMap(delegationSql);
|
List<NutMap> delegationList = listMap(delegationSql);
|
||||||
|
|
||||||
//查询所有的团长、副团长
|
//查询所有的团长
|
||||||
Sys_role tzRole = sysRoleService.getByCode(RoleConstant.TEACHER_CONGRESS_DELEGATION_HEAD);
|
Sys_role tzRole = sysRoleService.getByCode(RoleConstant.TEACHER_CONGRESS_DELEGATION_HEAD);
|
||||||
Sql tzSql = Sqls.create("""
|
Sql tzSql = Sqls.create("""
|
||||||
SELECT
|
SELECT
|
||||||
@@ -142,6 +142,25 @@ public class TeacherCongressDelegateServiceImpl extends BaseServiceImpl<Teacher_
|
|||||||
tzSql.setParam("tzRoles", List.of(tzRole.getId()));
|
tzSql.setParam("tzRoles", List.of(tzRole.getId()));
|
||||||
List<NutMap> tzList = listMap(tzSql);
|
List<NutMap> tzList = listMap(tzSql);
|
||||||
|
|
||||||
|
//查询所有的副团长
|
||||||
|
Sys_role ftzRole = sysRoleService.getByCode(RoleConstant.TEACHER_CONGRESS_VICE_DELEGATION_HEAD);
|
||||||
|
Sql ftzSql = Sqls.create("""
|
||||||
|
SELECT
|
||||||
|
t2.id,
|
||||||
|
t2.username,
|
||||||
|
t2.sex,
|
||||||
|
t1.tcDelegationId
|
||||||
|
FROM
|
||||||
|
sys_user_role t1
|
||||||
|
LEFT JOIN sys_user t2 ON t2.id = t1.userId
|
||||||
|
WHERE
|
||||||
|
t1.tcSessionId = @sessionId
|
||||||
|
AND t1.roleId IN (@ftzRoles)
|
||||||
|
""");
|
||||||
|
ftzSql.setParam("sessionId", pageForm.getSessionId());
|
||||||
|
ftzSql.setParam("ftzRoles", List.of(ftzRole.getId()));
|
||||||
|
List<NutMap> ftzList = listMap(ftzSql);
|
||||||
|
|
||||||
//查询代表
|
//查询代表
|
||||||
Sql delegateSql = Sqls.create("""
|
Sql delegateSql = Sqls.create("""
|
||||||
SELECT
|
SELECT
|
||||||
@@ -161,6 +180,7 @@ public class TeacherCongressDelegateServiceImpl extends BaseServiceImpl<Teacher_
|
|||||||
|
|
||||||
for (NutMap delegation : delegationList) {
|
for (NutMap delegation : delegationList) {
|
||||||
delegation.put("tz", tzList.stream().filter(tz -> tz.getString("tcDelegationId").equals(delegation.getString("id"))).toList());
|
delegation.put("tz", tzList.stream().filter(tz -> tz.getString("tcDelegationId").equals(delegation.getString("id"))).toList());
|
||||||
|
delegation.put("ftz", ftzList.stream().filter(ftz -> ftz.getString("tcDelegationId").equals(delegation.getString("id"))).toList());
|
||||||
//过滤本代表团的代表
|
//过滤本代表团的代表
|
||||||
List<NutMap> delegateList = delegateAllList.stream().filter(delegate -> delegate.getString("delegationId").equals(delegation.getString("id"))).toList();
|
List<NutMap> delegateList = delegateAllList.stream().filter(delegate -> delegate.getString("delegationId").equals(delegation.getString("id"))).toList();
|
||||||
//按5人平均分组
|
//按5人平均分组
|
||||||
|
|||||||
+11
-1
@@ -74,7 +74,8 @@ layout("/layouts/platform.html"){
|
|||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="申请时间">
|
<el-descriptions-item label="申请时间">
|
||||||
<el-form-item prop="applyTime">
|
<el-form-item prop="applyTime">
|
||||||
<el-input disabled type="text" v-model="$moment(formData.applyTime).format('YYYY-MM-DD')"></el-input>
|
<el-input disabled type="text"
|
||||||
|
v-model="$moment(formData.applyTime).format('YYYY-MM-DD')"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
|
|
||||||
@@ -277,6 +278,8 @@ layout("/layouts/platform.html"){
|
|||||||
|
|
||||||
// 提交
|
// 提交
|
||||||
onSubmit() {
|
onSubmit() {
|
||||||
|
this.$refs.formRef.validate().then((valid) => {
|
||||||
|
if (valid) {
|
||||||
this.$confirm("您确定要提交吗?", "提示", {
|
this.$confirm("您确定要提交吗?", "提示", {
|
||||||
confirmButtonText: "确定",
|
confirmButtonText: "确定",
|
||||||
cancelButtonText: "取消",
|
cancelButtonText: "取消",
|
||||||
@@ -295,9 +298,13 @@ layout("/layouts/platform.html"){
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
onFinishTask() {
|
onFinishTask() {
|
||||||
|
this.$refs.formRef.validate().then((valid) => {
|
||||||
|
if (valid) {
|
||||||
this.$confirm("您确定要提交吗?", "提示", {
|
this.$confirm("您确定要提交吗?", "提示", {
|
||||||
confirmButtonText: "确定",
|
confirmButtonText: "确定",
|
||||||
cancelButtonText: "取消",
|
cancelButtonText: "取消",
|
||||||
@@ -317,6 +324,9 @@ layout("/layouts/platform.html"){
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
// 设置申报主体名称
|
// 设置申报主体名称
|
||||||
setDeclareUnitName(val) {
|
setDeclareUnitName(val) {
|
||||||
|
|||||||
+3
-2
@@ -28,7 +28,8 @@ layout("/layouts/platform.html"){
|
|||||||
<el-descriptions-item label="报销模式">
|
<el-descriptions-item label="报销模式">
|
||||||
<el-form-item prop="activityReimbursementMode"
|
<el-form-item prop="activityReimbursementMode"
|
||||||
:rules="[{required:true,message:'必填',trigger:['change','blur']}]">
|
:rules="[{required:true,message:'必填',trigger:['change','blur']}]">
|
||||||
<el-radio-group v-model="formData.activityReimbursementMode" @change="getActivityReimbursementByUser">
|
<el-radio-group v-model="formData.activityReimbursementMode"
|
||||||
|
@change="getActivityReimbursementByUser">
|
||||||
<el-radio-button label="activity">活动报销</el-radio-button>
|
<el-radio-button label="activity">活动报销</el-radio-button>
|
||||||
<el-radio-button label="daily">日常报销</el-radio-button>
|
<el-radio-button label="daily">日常报销</el-radio-button>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
@@ -522,7 +523,7 @@ layout("/layouts/platform.html"){
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (this.$auth.hasRoleOr(["UNION_REIMBURSEMENT_MANAGER","UNION_REIMBURSEMENT_MANAGER"])) {
|
if (this.$auth.hasRoleOr(["UNION_REIMBURSEMENT_MANAGER", "BRANCH_UNION_CHAIRMAN", "BRANCH_UNION_WENTI_SPORTS"])) {
|
||||||
this.budgetTypeOption.map(v => {
|
this.budgetTypeOption.map(v => {
|
||||||
if (["ACTIVITY_BUDGET_TYPE_TWO"].includes(v.code)) {
|
if (["ACTIVITY_BUDGET_TYPE_TWO"].includes(v.code)) {
|
||||||
budgetTypeCloseOption.push(v)
|
budgetTypeCloseOption.push(v)
|
||||||
|
|||||||
+5
-4
@@ -27,14 +27,15 @@ const INFO = {
|
|||||||
<el-descriptions-item></el-descriptions-item>
|
<el-descriptions-item></el-descriptions-item>
|
||||||
|
|
||||||
<template v-if="viewData.activityReimbursementMode==='activity'">
|
<template v-if="viewData.activityReimbursementMode==='activity'">
|
||||||
<el-descriptions-item label="活动计划时间">{{ (viewData.planStartTime ? viewData.planStartTime :
|
<el-descriptions-item label="活动计划时间">
|
||||||
|
{{ (viewData.planStartTime ? $moment(viewData.planStartTime).format('YYYY-MM-DD') :
|
||||||
'未填写')
|
'未填写')
|
||||||
+ ' ~ ' + (viewData.planEndTime ? viewData.planEndTime : '未填写') }}
|
+ ' ~ ' + (viewData.planEndTime ? $moment(viewData.planEndTime).format('YYYY-MM-DD') : '未填写') }}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="活动人数">{{ viewData.activityNumber }}</el-descriptions-item>
|
<el-descriptions-item label="活动人数">{{ viewData.activityNumber }}</el-descriptions-item>
|
||||||
|
|
||||||
<el-descriptions-item label="实际活动时间" :span="2">{{ (viewData.startTime ? viewData.startTime :
|
<el-descriptions-item label="实际活动时间" :span="2">{{ (viewData.startTime ? $moment(viewData.startTime).format('YYYY-MM-DD') :
|
||||||
'未填写') + ' ~ ' + (viewData.endTime ? viewData.endTime : '未填写') }}
|
'未填写') + ' ~ ' + (viewData.endTime ? $moment(viewData.endTime).format('YYYY-MM-DD') : '未填写') }}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
|
|
||||||
<el-descriptions-item label="活动地址" :span="2">{{ viewData.activityAddress }}
|
<el-descriptions-item label="活动地址" :span="2">{{ viewData.activityAddress }}
|
||||||
|
|||||||
@@ -713,6 +713,7 @@ var ACTIVITY_SPORTS_APPLY_USER = {
|
|||||||
})
|
})
|
||||||
//表格的人员
|
//表格的人员
|
||||||
arr.forEach((v) => {
|
arr.forEach((v) => {
|
||||||
|
this.applyFromData.teamName=this.teamList.find(t=>t.id===this.applyFromData.teamId)?.name
|
||||||
const data = {
|
const data = {
|
||||||
id: null,
|
id: null,
|
||||||
loginname: v.loginname,
|
loginname: v.loginname,
|
||||||
|
|||||||
+14
-3
@@ -126,7 +126,8 @@ layout("/layouts/platform.html"){
|
|||||||
<!-- </el-form-item>-->
|
<!-- </el-form-item>-->
|
||||||
|
|
||||||
<el-form-item label="建议承办单位" prop="suggestUnits">
|
<el-form-item label="建议承办单位" prop="suggestUnits">
|
||||||
<el-select v-model="formData.suggestUnits" multiple filterable style="width: 100%" placeholder="请选择建议承办单位">
|
<el-select v-model="formData.suggestUnits" multiple filterable style="width: 100%"
|
||||||
|
placeholder="请选择建议承办单位">
|
||||||
<el-option :key="item.id" :label="item.name" :value="item.name"
|
<el-option :key="item.id" :label="item.name" :value="item.name"
|
||||||
v-for="item in suggestUnitOptions"></el-option>
|
v-for="item in suggestUnitOptions"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@@ -242,7 +243,9 @@ layout("/layouts/platform.html"){
|
|||||||
this.$message.warning("请填写提案名称")
|
this.$message.warning("请填写提案名称")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (this.formData.brief.length < this.proposalConfig.briefMinLength) {
|
let brief = clone(this.formData.brief)
|
||||||
|
brief = removeHTMLTag(brief)
|
||||||
|
if (brief.length < this.proposalConfig.briefMinLength) {
|
||||||
this.$message.warning("提案内容和依据最少为" + this.proposalConfig.briefMinLength + "字")
|
this.$message.warning("提案内容和依据最少为" + this.proposalConfig.briefMinLength + "字")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@@ -257,6 +260,7 @@ layout("/layouts/platform.html"){
|
|||||||
loading.close()
|
loading.close()
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
this.$message.success("提交成功")
|
this.$message.success("提交成功")
|
||||||
|
if (this.formData.source==="PERSONAL"){
|
||||||
this.$confirm("提交成功,是否立即去邀请附议人?", "提示", {
|
this.$confirm("提交成功,是否立即去邀请附议人?", "提示", {
|
||||||
confirmButtonText: "确定",
|
confirmButtonText: "确定",
|
||||||
cancelButtonText: "取消",
|
cancelButtonText: "取消",
|
||||||
@@ -267,6 +271,10 @@ layout("/layouts/platform.html"){
|
|||||||
this.$message.info("请到我的提案界面邀请附议人")
|
this.$message.info("请到我的提案界面邀请附议人")
|
||||||
commonUtil.pjaxPush('/platform/proposal/mine')
|
commonUtil.pjaxPush('/platform/proposal/mine')
|
||||||
})
|
})
|
||||||
|
}else{
|
||||||
|
commonUtil.pjaxPush('/platform/proposal/mine')
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
@@ -275,13 +283,16 @@ layout("/layouts/platform.html"){
|
|||||||
|
|
||||||
// 重新提交
|
// 重新提交
|
||||||
async onSubmitAgain() {
|
async onSubmitAgain() {
|
||||||
|
|
||||||
const valid = await this.$refs["addForm"].validate()
|
const valid = await this.$refs["addForm"].validate()
|
||||||
if (valid) {
|
if (valid) {
|
||||||
if (!this.formData.name || this.formData.name.trim().length < 1) {
|
if (!this.formData.name || this.formData.name.trim().length < 1) {
|
||||||
this.$message.warning("请填写提案名称")
|
this.$message.warning("请填写提案名称")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (this.formData.brief.length < this.proposalConfig.briefMinLength) {
|
let brief = clone(this.formData.brief)
|
||||||
|
brief = removeHTMLTag(brief)
|
||||||
|
if (brief.length < this.proposalConfig.briefMinLength) {
|
||||||
this.$message.warning("提案内容和依据最少为" + this.proposalConfig.briefMinLength + "字")
|
this.$message.warning("提案内容和依据最少为" + this.proposalConfig.briefMinLength + "字")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -412,7 +412,7 @@ layout("/layouts/platform_h5.html"){
|
|||||||
} else if (this.viewData.userNumberLimit === 2) {
|
} else if (this.viewData.userNumberLimit === 2) {
|
||||||
//分工会人数限制
|
//分工会人数限制
|
||||||
const union = this.viewData.unionUserNumberLimit.find(v => v.id === this.$store.state.user.union.id)
|
const union = this.viewData.unionUserNumberLimit.find(v => v.id === this.$store.state.user.union.id)
|
||||||
this.viewData.unionTeamNum = union.limitNum
|
this.viewData.unionLimitNum = union.limitNum
|
||||||
}
|
}
|
||||||
if (this.viewData.signUpMethod === 3) {
|
if (this.viewData.signUpMethod === 3) {
|
||||||
this.listTeamUserUnion()
|
this.listTeamUserUnion()
|
||||||
@@ -768,6 +768,7 @@ layout("/layouts/platform_h5.html"){
|
|||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.init()
|
this.init()
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
+1
-1
@@ -66,7 +66,7 @@ layout("/layouts/platform_h5.html"){
|
|||||||
</van-form>
|
</van-form>
|
||||||
<div style="display: flex; justify-content: space-between; column-gap: 10px; padding: 10px">
|
<div style="display: flex; justify-content: space-between; column-gap: 10px; padding: 10px">
|
||||||
<van-button type="danger" block @click="handleTaskAction(6)">退回</van-button>
|
<van-button type="danger" block @click="handleTaskAction(6)">退回</van-button>
|
||||||
<van-button type="danger" block @click="handleTaskAction(20)">不同意</van-button>
|
<van-button type="danger" block @click="handleTaskAction(2)">不同意</van-button>
|
||||||
<van-button type="primary" block @click="handleTaskAction(1)">同意</van-button>
|
<van-button type="primary" block @click="handleTaskAction(1)">同意</van-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user