|
@@ -1,12 +1,12 @@
|
|
|
var i = getUrlParam("id");
|
|
var i = getUrlParam("id");
|
|
|
$(function () {
|
|
$(function () {
|
|
|
$("#jqGrid").jqGrid({
|
|
$("#jqGrid").jqGrid({
|
|
|
- url: baseURL + 'qyh/pointsRecord/pointsRecordPage',
|
|
|
|
|
- postData: {memberId: i},
|
|
|
|
|
|
|
+ url: baseURL + 'qmjz/scoreStu/page',
|
|
|
|
|
+ postData: { stuId: i},
|
|
|
datatype: "json",
|
|
datatype: "json",
|
|
|
colModel: [
|
|
colModel: [
|
|
|
{ label: 'id', name: 'id', index: 'id', width: 50, key: true, hidden: true },
|
|
{ label: 'id', name: 'id', index: 'id', width: 50, key: true, hidden: true },
|
|
|
- { label: '积分事件', name: 'taskName', index: 'taskName', width: 80, sortable: false},
|
|
|
|
|
|
|
+ { label: '积分事件', name: 'scoreEvent', index: 'scoreEvent', width: 80, sortable: false},
|
|
|
{ label: '积分数', name: 'scoreValue', index: 'scoreValue', width: 80 },
|
|
{ label: '积分数', name: 'scoreValue', index: 'scoreValue', width: 80 },
|
|
|
{ label: '创建时间', name: 'createTime', index: 'createTime', width: 100 },
|
|
{ label: '创建时间', name: 'createTime', index: 'createTime', width: 100 },
|
|
|
],
|
|
],
|
|
@@ -20,14 +20,14 @@ $(function () {
|
|
|
multiselect: true,
|
|
multiselect: true,
|
|
|
pager: "#jqGridPager",
|
|
pager: "#jqGridPager",
|
|
|
jsonReader : {
|
|
jsonReader : {
|
|
|
- root: "page.list",
|
|
|
|
|
- page: "page.currPage",
|
|
|
|
|
- total: "page.totalPage",
|
|
|
|
|
- records: "page.totalCount"
|
|
|
|
|
|
|
+ root: "list",
|
|
|
|
|
+ page: "currPage",
|
|
|
|
|
+ total: "totalPage",
|
|
|
|
|
+ records: "totalCount"
|
|
|
},
|
|
},
|
|
|
prmNames : {
|
|
prmNames : {
|
|
|
- page:"page",
|
|
|
|
|
- rows:"limit",
|
|
|
|
|
|
|
+ page:"pageNum",
|
|
|
|
|
+ rows:"pageSize",
|
|
|
order: "order"
|
|
order: "order"
|
|
|
},
|
|
},
|
|
|
gridComplete:function(){
|
|
gridComplete:function(){
|