365betway
";
})
$(".list-common-content ul").append(html);
html="";
console.log(html)
}
},
error: function () {
console.log('fail');
}
})
}
//获取回复率
function ResponseRate(){
$.ajax({
url: 'https://jyhpt.tj.gov.cn/zmljl/stats?resultDeptType=2',
success: function (data) {
var items = JSON.parse(data).datas["data"];
var questionType="";
var flowStatus = "";
var ifDelay = "";
var createTime = "";
var html = "";
$.each(items, function (i, json) {
if(json.deptID==1001022000000000){
$("#lys").text(json.messageCount);
$("#yhf").text(json.replyCount);
$("#hfl").text(json.replyRate);
}
});
},
error: function () {
console.log('fail');
}
});
}
// url 为获取列表的接口
$.ajax({
url: 'https://jyhpt.tj.gov.cn/zmljl/statisdate',
success: function (data) {
var items = JSON.parse(data).datas;
var questionType="";
var flowStatus = "";
var ifDelay = "";
var createTime = "";
var html = "";
var start = items.beginDate.split("-");
var end = items.endDate.split("-");
$("#tjzq").text(start[1]+"月"+start[2]+"日~"+end[1]+"月"+end[2]+"日");
},
error: function () {
console.log('fail');
}
});
var box = new CustomPagination('#page', options);
ResponseRate();
})