|
|
|
@ -164,7 +164,7 @@
|
|
|
|
|
method: 'post',
|
|
|
|
|
size: "lg",
|
|
|
|
|
url: Common.ctxPath + '/jlw/studentTeacherSystemUseLogAnalysis/applicationUseLogsAnalysis.json' // 数据接口
|
|
|
|
|
, where: getParam()
|
|
|
|
|
, where: getParamSR()
|
|
|
|
|
//, where: {'loginStartTime': getDate(),'loginEndTime':Common.getNowDate()}
|
|
|
|
|
// , where: {'loginTime':getDate()}
|
|
|
|
|
, page: Lib.tablePage // 开启分页
|
|
|
|
@ -180,22 +180,19 @@
|
|
|
|
|
field: 'firstName', title: '归属模块', align: "center",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'name', title: '使用院校', align: "center",
|
|
|
|
|
field: 'universitiesCollegesName', title: '使用院校', align: "center",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'code', title: '所属省份', align: "center",
|
|
|
|
|
field: 'province', title: '所属省份', align: "center",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'universitiesCollegesName', title: '使用人数', align: "center",
|
|
|
|
|
field: 'usePeopleCount', title: '使用人数', align: "center",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'startDayTime,endDayTime', title: '使用时长(分钟)', align: "center",
|
|
|
|
|
templet: function (d) {
|
|
|
|
|
return d.endDayTime - d.startDayTime;
|
|
|
|
|
}
|
|
|
|
|
field: 'sumUseDuration', title: '使用时长(分钟)', align: "center",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'endDayTime', title: '使用日期', align: "center",
|
|
|
|
|
field: 'dayTime课程分类管理', title: '使用日期', align: "center",
|
|
|
|
|
}
|
|
|
|
|
]]
|
|
|
|
|
});
|
|
|
|
@ -256,12 +253,12 @@
|
|
|
|
|
var param = getParam();
|
|
|
|
|
param.page = 1;
|
|
|
|
|
param.limit = 1000;
|
|
|
|
|
var ret = Common.postAjax((url));
|
|
|
|
|
var ret = Common.postAjax(url,param);
|
|
|
|
|
var data = ret.data;
|
|
|
|
|
if (ret.code == 0) {
|
|
|
|
|
//console.log(data)
|
|
|
|
|
data.forEach(function (v, k) {
|
|
|
|
|
onLineCountData.push(v.onLineCount);
|
|
|
|
|
onLineCountData.push(v.count);
|
|
|
|
|
timeData.push(v.time)
|
|
|
|
|
});
|
|
|
|
|
var chartDom = document.getElementById('monitor');
|
|
|
|
@ -315,8 +312,8 @@
|
|
|
|
|
}
|
|
|
|
|
if ($.isEmpty(codePlural)) {
|
|
|
|
|
param = $("#searchFormSR").serializeJson();
|
|
|
|
|
param.loginStartTime = param.valueTime.split(' ~ ')[0];
|
|
|
|
|
param.loginEndTime = param.valueTime.split(' ~ ')[1];
|
|
|
|
|
param.startDayTime = param.valueTime.split(' ~ ')[0];
|
|
|
|
|
param.endDayTime = param.valueTime.split(' ~ ')[1];
|
|
|
|
|
delete param.valueTime;
|
|
|
|
|
} else {
|
|
|
|
|
param.codePlural = codePlural;
|
|
|
|
|