This commit is contained in:
2025-12-31 08:57:55 +08:00
parent e204b7f264
commit 5985ba54ed
6 changed files with 15 additions and 8 deletions
@@ -223,6 +223,8 @@ public class ActivityReimbursementApplyController {
dao.execute(reiSql);
List<String> reiDecIdList = reiSql.getList(String.class);
reiDecIdList = reiDecIdList.stream().filter(v -> StrUtil.isNotBlank(v)).toList();
Cnd cnd = Cnd.NEW();
cnd.and("outlayManageSource", "=", outlayManageSource);
if (Objects.equals(outlayManageSource, "ACTIVITY_BUDGET_TYPE_TWO")) {
@@ -236,6 +238,8 @@ public class ActivityReimbursementApplyController {
dao.execute(sql);
List<String> declareIdList = sql.getList(String.class);
declareIdList = declareIdList.stream().filter(v -> StrUtil.isNotBlank(v)).toList();
Sql applySql = Sqls.create("""
SELECT
info.*
@@ -248,12 +252,12 @@ public class ActivityReimbursementApplyController {
if (Objects.equals(outlayManageSource, "ACTIVITY_BUDGET_TYPE_TWO")) {
applyCnd.and("info.unionId", "=", SecurityUtil.getUnionId());
activityType="BRANCH_UNION";
activityType = "BRANCH_UNION";
} else if (Objects.equals(outlayManageSource, "ACTIVITY_BUDGET_TYPE_THREE")) {
applyCnd.and("info.clubId", "=", clubId);
activityType="CLUB";
}else{
activityType="SCHOOL_UNION";
activityType = "CLUB";
} else {
activityType = "SCHOOL_UNION";
}
applyCnd.and("info.activityType", "=", activityType);
if (Lang.isNotEmpty(declareIdList)) {
@@ -510,6 +510,7 @@ layout("/layouts/platform.html"){
this.formData.activityTime = [res.data.startTime, res.data.endTime]
}
this.getBudgetByYear()
this.getActivityReimbursementByUser()
}
})
},
@@ -160,7 +160,7 @@ layout("/layouts/platform.html"){
{prop: "actualMoney", label: "报销金额(元)"},
{prop: "declareUnitName", label: "申报单位/协会", sortable: true},
{prop: "applyTime", label: "申报时间", sortable: true},
{prop: "taskName", label: "当前节点"},
{prop: "curTaskName", label: "当前节点"},
{prop: "instanceState", label: "流程状态"}
],
activityDeclareReimbursementList: [],
@@ -151,7 +151,7 @@ layout("/layouts/platform.html"){
{prop: "actualMoney", label: "报销金额(元)"},
{prop: "declareUnitName", label: "申报单位/协会", sortable: true},
{prop: "applyTime", label: "申报时间", sortable: true},
{prop: "taskName", label: "当前节点"},
{prop: "curTaskName", label: "当前节点"},
{prop: "instanceState", label: "流程状态"}
],
activityDeclareReimbursementList: [],
@@ -55,7 +55,7 @@ layout("/layouts/platform.html"){
<el-card shadow="never" class="mt10">
<table-tool label="申报记录">
<el-button size="small" type="primary" @click="onApply">活动申</el-button>
<el-button size="small" type="primary" @click="onApply">销申请</el-button>
</table-tool>
<el-table :data="tableData" :size="tableSize" @sort-change="pageOrder"
@@ -34,7 +34,9 @@ const ACTIVITY_BUDGET_INFO = {
<template v-for="task in doneTasks">
<div class="task-panel mt10">
<div class="task-panel-header">{{ task.displayName }}</div>
<div class="process-title">
{{ task.displayName }}
</div>
<el-descriptions border class="flow-task-form" :column="3" :key="task.id"
v-if="task.ext.isFirstTaskNode">
<el-descriptions-item label="申请用户">{{ task.ext.initiatorName