init
Showing
1 changed file
with
9 additions
and
6 deletions
| ... | @@ -76,8 +76,8 @@ | ... | @@ -76,8 +76,8 @@ |
| 76 | <th>申请金额</th> | 76 | <th>申请金额</th> |
| 77 | <th>审批金额</th> | 77 | <th>审批金额</th> |
| 78 | <th>客户经理</th> | 78 | <th>客户经理</th> |
| 79 | <th>期数</th> | 79 | <!-- <th>期数</th>--> |
| 80 | <th>当月应还(元)</th> | 80 | <!-- <th>当月应还(元)</th>--> |
| 81 | </tr> | 81 | </tr> |
| 82 | </thead> | 82 | </thead> |
| 83 | <tbody class="text-c"> | 83 | <tbody class="text-c"> |
| ... | @@ -105,9 +105,12 @@ | ... | @@ -105,9 +105,12 @@ |
| 105 | if(draw) { | 105 | if(draw) { |
| 106 | ret.draw = draw; | 106 | ret.draw = draw; |
| 107 | } | 107 | } |
| 108 | // ret.draw = parseInt(json.page.currentPage); | 108 | ret.recordsTotal = 0; |
| 109 | ret.recordsFiltered = 0; | ||
| 110 | if (json.page) { | ||
| 109 | ret.recordsTotal = parseInt(json.page.totalNumber); | 111 | ret.recordsTotal = parseInt(json.page.totalNumber); |
| 110 | ret.recordsFiltered = parseInt(json.page.totalNumber); | 112 | ret.recordsFiltered = parseInt(json.page.totalNumber); |
| 113 | } | ||
| 111 | return JSON.stringify(ret); | 114 | return JSON.stringify(ret); |
| 112 | }, | 115 | }, |
| 113 | data: function (data) { | 116 | data: function (data) { |
| ... | @@ -126,9 +129,9 @@ | ... | @@ -126,9 +129,9 @@ |
| 126 | {data: "productName"},//产品名称 | 129 | {data: "productName"},//产品名称 |
| 127 | {data: "applyMoney"},//申请金额 | 130 | {data: "applyMoney"},//申请金额 |
| 128 | {data: "agreeMoney"},//审批金额 | 131 | {data: "agreeMoney"},//审批金额 |
| 129 | {data: "createUser"},//客户经理 | 132 | {data: "createUser"}//客户经理 |
| 130 | {data: "statusDesc"},//期数 | 133 | // {data: "statusDesc"},//期数 |
| 131 | {data: "modifyTime"}//当月应还 | 134 | // {data: "modifyTime"}//当月应还 |
| 132 | ] | 135 | ] |
| 133 | }); | 136 | }); |
| 134 | 137 | ... | ... |
-
Please register or sign in to post a comment