前端请求数据并显示 // 非信用业务概况-客户情况-数据 function render_third(data) { var r = data; if (r) { // Cs.info('r------',r); document.getElementById('gfxywgm').innerHTML = r[0].SUM; document.getElementById('gfxzb').innerHTML = r[2].SUM; } else { alert('你所查询日期暂时无值'); } } Wb.request({ url: 'm?xwl=clientinfo1.2.1/same_business/CIF50000/CIF50000_4_Q', // params: { // I_BUSI_DATE: app.I_BUSI_DATE.getValue(), // }, showMask: false, success: function(r) { var rec = Wb.decode(r.responseText).rows; // Cs.info('rec999------',rec); render_third(rec); } });