| | |
| | | html += '<div class="item">'; |
| | | html += '<div class="pic">'; |
| | | html += '<img src="' + item.imgName + '" alt="">'; |
| | | html += '</div><div class="tit">' + item.snapTime + '</div>'; |
| | | html += '</div><div class="tit">' + item.time + '</div>'; |
| | | html += '<div class="tit" style="white-space: nowrap;">' + deptListMap[item.deptId] + '</div>'; |
| | | html += '</div></li>'; |
| | | }) |
| | |
| | | $("#depotBankNum").html(data.depotBankNum); |
| | | |
| | | /*----- 监管数量信息 -----*/ |
| | | if (data.foodSum.length > 8 || data.packFoodSum.length > 8) { |
| | | // if (data.foodSum.length > 8 || data.packFoodSum.length > 8) { |
| | | // $("#foodSum").css("font-size", "32px"); |
| | | // $("#packFoodSum").css("font-size", "32px"); |
| | | // } |
| | | if (data.foodSum.length > 8) { |
| | | $("#foodSum").css("font-size", "32px"); |
| | | $("#packFoodSum").css("font-size", "32px"); |
| | | } |
| | | $("#foodSum").html(data.foodSum); |
| | | $("#packFoodSum").html(data.packFoodSum); |
| | | // $("#packFoodSum").html(data.packFoodSum); |
| | | |
| | | /*----- 分品种柱状图 -----*/ |
| | | if (data.xaxis.length > 0 && data.seriesData.length > 0) { |