function shopIndex(){
|
//提交信息
|
var ajax = new $ax(Feng.ctxPath + "/indexReport/shopIndex", function (data) {
|
$("#doctorNumber").html(data.doctorNumber);
|
$("#goodsNumber").html(data.goodsNumber);
|
}, function (data) {
|
Feng.error("添加失败!" + data.responseJSON.message + "!");
|
});
|
ajax.start();
|
}
|
|
function orderIndex(){
|
//提交信息
|
var ajax = new $ax(Feng.ctxPath + "/indexReport/orderIndex", function (data) {
|
var html = "";
|
for (let i = 0; i < data.length; i++) {
|
var orderType = data[i];
|
html += '<div class="col-md-6">' +
|
'<div class="ibox float-e-margins">' +
|
'<div class="ibox-title">' +
|
'<h5>'+orderType['classifyName']+'</h5></div>' +
|
'<div class="ibox-content">' +
|
'<div class="row">' +
|
'<div class="col-md-12">' +
|
'<h1 class="no-margins">'+(orderType['orderPrice']?orderType['orderPrice']:0)+'</h1>' +
|
'</div></div></div></div></div>';
|
}
|
$("#typeOrderList").html(html);
|
}, function (data) {
|
Feng.error("添加失败!" + data.responseJSON.message + "!");
|
});
|
ajax.start();
|
}
|
|
function orderPriceIndex(){
|
//提交信息
|
var ajax = new $ax(Feng.ctxPath + "/indexReport/orderPriceIndex", function (data) {
|
$("#countOrder").html(data.countOrder);
|
$("#orderPrice").html(data.orderPrice);
|
$("#useNumber").html(data.useNumber);
|
}, function (data) {
|
Feng.error("添加失败!" + data.responseJSON.message + "!");
|
});
|
ajax.start();
|
}
|