puzhibing
2023-10-08 22199bbdda579861736420fe26c2873ab0f5d21c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
 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();
 }