qtXscscsTjt.htm 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. <script type="text/javascript" src="js/huimv/tjt.js"></script>
  6. <title>小时采食次数统计图</title>
  7. <script type="text/javascript">
  8. $(function(){
  9. if ($("#lqid").val() > 0) {
  10. huimv.showProcessModel('查询数据中');
  11. jQuery.ajax({
  12. type : "get",
  13. url : "getQtXsscsTjt.htm",
  14. data : {"lqid" : $("#lqid").val(), "dbrq" : $("#dbrq").val(), "fwfb" : $("#fwfb").val()},
  15. dataType : "json",
  16. async : true,
  17. success : function(data) {
  18. huimv.hideProcessModel();
  19. if (data) {
  20. getHighchartTjt2(data);
  21. }
  22. }
  23. });
  24. }
  25. });
  26. function getFwfbGtxxList(xValue) {
  27. if (xValue != "") {
  28. var mcid = $("#mcid").val();
  29. var zsid = $("#zsid").val();
  30. var lqid = $("#lqid").val();
  31. var time = 0;
  32. var gjz = "drwfw";
  33. var min = "";
  34. var max = "";
  35. var str = xValue.split("-");
  36. if (str.length == 1) {
  37. min = 48;
  38. max = 9999;
  39. } else {
  40. min = parseInt(str[0]);
  41. max = parseInt(str[1]);
  42. }
  43. getGtxxList(mcid, zsid, lqid, gjz, min, max, time);
  44. }
  45. }
  46. </script>
  47. </head>
  48. <body>
  49. <input type="hidden" id="mcid" name="mcid" value="$!mcid" />
  50. <input type="hidden" id="zsid" name="zsid" value="$!zsid" />
  51. <input type="hidden" id="lqid" name="lqid" value="$!lqid" />
  52. <input type="hidden" id="dbrq" name="dbrq" value="$!dbrq" />
  53. <input type="hidden" id="fwfb" name="fwfb" value="$!fwfb" />
  54. <div>
  55. <div id="chartDiv" style="height: 100%; width: 100%;"></div>
  56. </div>
  57. </body>
  58. </html>