12 changed files with 256 additions and 38 deletions
@ -0,0 +1,104 @@ |
|||||
|
<!DOCTYPE html> |
||||
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro"> |
||||
|
<head> |
||||
|
<th:block th:include="zdxtInclude :: header('登陆记录')"/> |
||||
|
</head> |
||||
|
<body class="gray-bg"> |
||||
|
<div class="container-div"> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 search-collapse"> |
||||
|
<form id="formId"> |
||||
|
<div class="select-list"> |
||||
|
<ul> |
||||
|
<li> |
||||
|
<p>昵称:</p> |
||||
|
<input type="text" name="nickname"/> |
||||
|
</li> |
||||
|
<li> |
||||
|
<p>电话:</p> |
||||
|
<input type="text" name="mobile"/> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a class="btn btn-success btn-rounded btn-sm" onclick="$.table.search()"><i |
||||
|
class="fa fa-search"></i> 搜索</a> |
||||
|
<a class="btn btn-reset btn-rounded btn-sm" onclick="$.form.reset()"><i |
||||
|
class="fa fa-refresh"></i> 重置</a> |
||||
|
</li> |
||||
|
</ul> |
||||
|
</div> |
||||
|
</form> |
||||
|
</div> |
||||
|
|
||||
|
<div class="btn-group-sm" id="toolbar" role="group"> |
||||
|
<a class="btn btn-success" style="background-color: white;border: 1px solid white"> |
||||
|
<p hidden><i class="fa fa-plus" ></i>添加</p> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-sm-12 select-table table-bordered"> |
||||
|
<table id="bootstrap-table"></table> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<th:block th:include="zdxtInclude :: footer"/> |
||||
|
<script th:inline="javascript"> |
||||
|
var prefix = ctx + "small/wechat"; |
||||
|
|
||||
|
$(function () { |
||||
|
var options = { |
||||
|
url: prefix + "/listByScore", |
||||
|
modalName: "主页", |
||||
|
columns: [{ |
||||
|
checkbox: false |
||||
|
}, |
||||
|
{ |
||||
|
title: '排名', |
||||
|
align: 'center', |
||||
|
formatter: function (value, row, index) { |
||||
|
return $.table.serialNumber(index); |
||||
|
} |
||||
|
}, |
||||
|
{ |
||||
|
field: 'nickname', |
||||
|
title: '昵称' |
||||
|
}, |
||||
|
{ |
||||
|
field: 'score', |
||||
|
title: '分数' |
||||
|
}, |
||||
|
{ |
||||
|
field: 'mobile', |
||||
|
title: '电话' |
||||
|
}, |
||||
|
{ |
||||
|
field: 'gender', |
||||
|
title: '性别' |
||||
|
}, |
||||
|
{ |
||||
|
field: 'province', |
||||
|
title: '省份' |
||||
|
}, |
||||
|
{ |
||||
|
field: 'city', |
||||
|
title: '城市' |
||||
|
}, |
||||
|
{ |
||||
|
field: 'createTime', |
||||
|
title: '注册时间' |
||||
|
} |
||||
|
// , |
||||
|
// { |
||||
|
// title: '操作', |
||||
|
// align: 'center', |
||||
|
// formatter: function (value, row, index) { |
||||
|
// var actions = []; |
||||
|
// return actions.join(''); |
||||
|
// } |
||||
|
// } |
||||
|
] |
||||
|
}; |
||||
|
$.table.init(options); |
||||
|
}); |
||||
|
|
||||
|
</script> |
||||
|
</body> |
||||
|
</html> |
||||
@ -0,0 +1,36 @@ |
|||||
|
package com.zdxt.knowledge.domain; |
||||
|
|
||||
|
/** |
||||
|
* 选择对象 question_answer |
||||
|
* |
||||
|
* @author ruoyi |
||||
|
* @date 2024-02-04 |
||||
|
*/ |
||||
|
public class QuestionCount { |
||||
|
|
||||
|
/** |
||||
|
* 题词id |
||||
|
*/ |
||||
|
private String questionFreId; |
||||
|
|
||||
|
/** |
||||
|
* 用户id |
||||
|
*/ |
||||
|
private String userId; |
||||
|
|
||||
|
public String getQuestionFreId() { |
||||
|
return questionFreId; |
||||
|
} |
||||
|
|
||||
|
public void setQuestionFreId(String questionFreId) { |
||||
|
this.questionFreId = questionFreId; |
||||
|
} |
||||
|
|
||||
|
public String getUserId() { |
||||
|
return userId; |
||||
|
} |
||||
|
|
||||
|
public void setUserId(String userId) { |
||||
|
this.userId = userId; |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue