xxTjt.htm 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. var type = $("#type").val();
  10. var lqmc = $("#lqmc").val();
  11. var lqmc2 = $("#lqmc2").val();
  12. var jsms = $("#jsms").val();
  13. var tjtksrq = $("#tjtksrq").val();
  14. var tjtjsrq = $("#tjtjsrq").val();
  15. var tjtksrq2 = $("#tjtksrq2").val();
  16. var tjtjsrq2 = $("#tjtjsrq2").val();
  17. jQuery.ajax({
  18. type : "get",
  19. url : "getDb" + type + "Tjt.htm",
  20. data : {"lqmc" : lqmc, "lqmc2" : lqmc2, "jsms" : jsms, "tjtksrq" : tjtksrq, "tjtjsrq" : tjtjsrq, "tjtksrq2" :tjtksrq2, "tjtjsrq2" : tjtjsrq2 },
  21. dataType : "json",
  22. async : true,
  23. success : function(data) {
  24. getHighchartTjt(data);
  25. }
  26. });
  27. });
  28. </script>
  29. </head>
  30. <body>
  31. <input type="hidden" id="type" name="type" value="$!type" />
  32. <input type="hidden" id="lqmc" name="lqmc" value="$!lqmc" />
  33. <input type="hidden" id="lqmc2" name="lqmc2" value="$!lqmc2" />
  34. <input type="hidden" id="jsms" name="jsms" value="$!jsms" />
  35. <input type="hidden" id="tjtksrq" name="tjtksrq" value="$!tjtksrq" />
  36. <input type="hidden" id="tjtjsrq" name="tjtjsrq" value="$!tjtjsrq" />
  37. <input type="hidden" id="tjtksrq2" name="tjtksrq2" value="$!tjtksrq2" />
  38. <input type="hidden" id="tjtjsrq2" name="tjtjsrq2" value="$!tjtjsrq2" />
  39. <div>
  40. <div id="chartDiv" style="height: 100%; width: 100%;"></div>
  41. </div>
  42. </body>
  43. </html>