This commit is contained in:
=
2026-04-22 10:49:00 +08:00
parent 58a85d4c6c
commit 29ac954dd8
2 changed files with 6 additions and 1 deletions
@@ -190,6 +190,7 @@ public class TeacherCongressInstitutionController {
Cnd cnd = Cnd.NEW();
cnd.and("t1.institutionId", "=", institutionId);
cnd.and("t1.sessionId", "=", sessionId);
cnd.asc("u.loginname");
if (StrUtil.isNotBlank(pageForm.getSearchKeyword())) {
SqlExpressionGroup seg = new SqlExpressionGroup();
seg.orLike("u.username", pageForm.getSearchKeyword());
@@ -4,7 +4,7 @@ const USER_TABLE_COMPONENT = {
<el-card shadow="never" style="height: 100%">
<el-row type="flex" :gutter="20">
<el-col :span="4">
<el-input v-model="pageForm.searchKeyword" clearable placeholder="请输入姓名或者工号">" @keyup.enter.native="doSearch">
<el-input v-model="pageForm.searchKeyword" clearable placeholder="请输入姓名或者工号" @keyup.enter.native="doSearch">
</el-input>
</el-col>
<el-col :span="4">
@@ -81,6 +81,10 @@ const USER_TABLE_COMPONENT = {
sessionOptions: []
}
},
// created() {
// // 名单场景下默认多展示一些数据,减少“人员明明存在但首页看不到”的情况。
// this.pageForm.pageSize = 20
// },
methods: {
pageData() {
this.$axios