bug整改

This commit is contained in:
=
2025-12-04 15:06:57 +08:00
parent 8b537ea21e
commit d8ad59084c
5 changed files with 20 additions and 19 deletions
@@ -59,7 +59,7 @@ public class YearPlanServiceImpl extends BaseServiceImpl<YearPlan> implements Ye
SELECT
yp.*,
ab.name as activityTypeName,
year(yp.planTime) as `year`,
DATE_FORMAT(yp.planTime, '%Y') as `year`,
((SELECT COUNT(1) FROM activity_school acs WHERE acs.planId = yp.id) >0 ) carryOut
FROM
year_plan yp
@@ -222,7 +222,7 @@ public class ActivitySportsResultsController {
SELECT
un.id,
un.unionname
un.name AS unionname
FROM
activity_school_apply asa
LEFT JOIN sys_union un ON un.id = asa.unionId
@@ -231,7 +231,7 @@ public class ActivitySportsResultsController {
AND asa.eventId = @eventId
GROUP BY
un.unionname
un.name
""").setParam("activityId", activityId).setParam("eventId", eventId);
return Result.success(activitySchoolApplyViService.list(sql));
}
@@ -96,6 +96,7 @@ public class SuggestionBoxMineController {
}
cnd.andEX("YEAR(info.submitTime)", "=", year);
cnd.desc("info.submitTime");
cnd.groupBy("info.id");
sql.setCondition(cnd);
Pagination<NutMap> pagination = suggestionBoxService.listPageMap(pageNumber, pageSize, sql);
return Result.success(pagination);
@@ -26,21 +26,21 @@ const flowMixins = {
console.log(this.$refs.guava)
// this.oepnAudit({})
//
//
// this.$axios.post(location.pathname + '/queryTask', {taskId}).then(res => {
// if (res.code === 0) {
// // 延迟1.5秒 显示loading动画 解决Guava异步加载 获取不到实例的问题
// setTimeout(() => {
// if (res.data.taskState === 10) {
// this.openAudit(res.data);
// } else {
// this.openView(res.data);
// }
// loading.close();
// }, 1500)
// }
// })
this.$axios.post(location.pathname + '/queryTask', {taskId}).then(res => {
if (res.code === 0) {
// 延迟1.5秒 显示loading动画 解决Guava异步加载 获取不到实例的问题
setTimeout(() => {
if (res.data.taskState === 10) {
this.openAudit(res.data);
} else {
this.openView(res.data);
}
loading.close();
}, 1500)
}
})
},
}
}
@@ -6,7 +6,7 @@ const branchUnionManage = {
<el-input placeholder="请输入分工会名称" clearable size="small" style="width: 300px" v-model="pageForm.searchKeyword"></el-input>
<el-button type="primary" class="ml5" size="small" icon="el-icon-search" @click="doSearch"></el-button>
<el-button @click="openAudit" icon="el-icon-s-check" type="primary" style="margin-left: auto" size="small">基层干部审核</el-button>
<el-button @click="openAudit" icon="el-icon-s-check" type="primary" style="margin-left: auto" size="small" v-if="$auth.hasPermission('sys.manager.union.add')">基层干部审核</el-button>
<el-button @click="openAdd" icon="ti-plus" type="primary" size="small" v-if="$auth.hasPermission('sys.manager.union.add')">新建分工会</el-button>
</el-row>
</el-card>