commit
This commit is contained in:
+1
@@ -190,6 +190,7 @@ public class TeacherCongressInstitutionController {
|
|||||||
Cnd cnd = Cnd.NEW();
|
Cnd cnd = Cnd.NEW();
|
||||||
cnd.and("t1.institutionId", "=", institutionId);
|
cnd.and("t1.institutionId", "=", institutionId);
|
||||||
cnd.and("t1.sessionId", "=", sessionId);
|
cnd.and("t1.sessionId", "=", sessionId);
|
||||||
|
cnd.asc("u.loginname");
|
||||||
if (StrUtil.isNotBlank(pageForm.getSearchKeyword())) {
|
if (StrUtil.isNotBlank(pageForm.getSearchKeyword())) {
|
||||||
SqlExpressionGroup seg = new SqlExpressionGroup();
|
SqlExpressionGroup seg = new SqlExpressionGroup();
|
||||||
seg.orLike("u.username", pageForm.getSearchKeyword());
|
seg.orLike("u.username", pageForm.getSearchKeyword());
|
||||||
|
|||||||
+5
-1
@@ -4,7 +4,7 @@ const USER_TABLE_COMPONENT = {
|
|||||||
<el-card shadow="never" style="height: 100%">
|
<el-card shadow="never" style="height: 100%">
|
||||||
<el-row type="flex" :gutter="20">
|
<el-row type="flex" :gutter="20">
|
||||||
<el-col :span="4">
|
<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-input>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="4">
|
<el-col :span="4">
|
||||||
@@ -81,6 +81,10 @@ const USER_TABLE_COMPONENT = {
|
|||||||
sessionOptions: []
|
sessionOptions: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
// created() {
|
||||||
|
// // 名单场景下默认多展示一些数据,减少“人员明明存在但首页看不到”的情况。
|
||||||
|
// this.pageForm.pageSize = 20
|
||||||
|
// },
|
||||||
methods: {
|
methods: {
|
||||||
pageData() {
|
pageData() {
|
||||||
this.$axios
|
this.$axios
|
||||||
|
|||||||
Reference in New Issue
Block a user