提案管理-综合查询: 没有‘届次’条件时默认查询全部;

This commit is contained in:
dd3s_206
2026-05-16 15:16:05 +08:00
parent 95b66887d7
commit 27696c4fc6
2 changed files with 4 additions and 3 deletions
@@ -76,7 +76,7 @@ public class ProposalQueryComprehensiveParam extends PageForm {
//教代会届次 //教代会届次
if (Lang.isNotEmpty(searchParam.getSessionIds())) { if (Lang.isNotEmpty(searchParam.getSessionIds())) {
cnd.and("info.sessionId", "in", searchParam.getSessionIds()); cnd.and("info.sessionId", "in", searchParam.getSessionIds());
} else { } else if (StrUtil.isNotBlank(searchParam.getSessionId())) {
cnd.andEX("info.sessionId", "=", searchParam.getSessionId()); cnd.andEX("info.sessionId", "=", searchParam.getSessionId());
} }
@@ -342,11 +342,12 @@ layout("/layouts/platform.html"){
}).then((res) => { }).then((res) => {
if (res.code === 0) { if (res.code === 0) {
this.sessionOptions = res.data this.sessionOptions = res.data
if (this.sessionOptions) { /*if (this.sessionOptions) {
this.$set(this.pageForm, "sessionId", this.sessionOptions[0].id) this.$set(this.pageForm, "sessionId", this.sessionOptions[0].id)
this.listDelegation() this.listDelegation()
this.pageData() this.pageData()
} }*/
this.pageData()
} }
}) })
}, },