tzfbTjt.htm 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>体重分布统计图</title>
  6. <script type="text/javascript" src="js/huimv/tjt.js"></script>
  7. <script type="text/javascript">
  8. $(function(){
  9. if ($("#lqid").val() > 0) {
  10. jQuery.ajax({
  11. type : "get",
  12. url : "getTzfbTjt.htm",
  13. data : {"lqid" : $("#lqid").val(), "dbrq" : $("#dbrq").val(), "yweb" : $("#yweb").val() },
  14. dataType : "json",
  15. async : true,
  16. success : function(data) {
  17. if (data) {
  18. getHighchartTjt2(data);
  19. }
  20. }
  21. });
  22. }
  23. });
  24. function getTzfbGtxxList(xValue) {
  25. if (xValue != "") {
  26. var mcid = $("#mcid").val();
  27. var zsid = $("#zsid").val();
  28. var lqid = $("#lqid").val();
  29. var time = $("#time").val();
  30. var gjz = "tzfb";
  31. var min = parseInt(xValue) - 0.50;
  32. var max = parseInt(xValue) + 0.49;
  33. getGtxxList(mcid, zsid, lqid, gjz, min, max, time);
  34. }
  35. }
  36. </script>
  37. </head>
  38. <body>
  39. <input type="hidden" id="mcid" name="mcid" value="$!mcid" />
  40. <input type="hidden" id="zsid" name="zsid" value="$!zsid" />
  41. <input type="hidden" id="lqid" name="lqid" value="$!lqid" />
  42. <input type="hidden" id="dbrq" name="dbrq" value="$!dbrq" />
  43. <input type="hidden" id="yweb" name="yweb" value="$!yweb" />
  44. <input type="hidden" id="time" name="time" value="$!time" />
  45. <div>
  46. <div id="chartDiv" style="height: 100%; width: 100%;"></div>
  47. </div>
  48. </body>
  49. </html>