wdHkClientMain.htm 996 B

123456789101112131415161718192021222324252627282930313233343536
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>wd</title>
  5. <script type="text/javascript">
  6. $(function(){
  7. if ($("#lqid").val() > 0) {
  8. var chartADiv = $("#chartA");
  9. $("#chartDiv_A").attr("style", "width:" + chartADiv.width() + "px");
  10. $("#chartDiv_A").attr("style", "height:" + (chartADiv.height() - 7) + "px");
  11. jQuery.ajax({
  12. type : "get",
  13. url : "getHkClientSnwdTjt.htm",
  14. data : {"lqid" : $("#lqid").val(), "jsms" : "$!jsms", "dbrq" : "$!dbrq"},
  15. dataType : "json",
  16. async : true,
  17. success : function(data) {
  18. if (data.color.length == 0) {
  19. /* $("#chartDiv_A").html("<img src='views/hkclient/sy/wd.jpg' width='100%' height='100%'/>"); */
  20. $("#chartDiv_A").html("<img src='views/hkclient/img/hkxx.png' width='100%' height='60%' style='margin-top:10%;'/>");
  21. } else {
  22. getHighchartTjt(data, "chartDiv_A");
  23. }
  24. }
  25. });
  26. }
  27. });
  28. </script>
  29. </head>
  30. <body>
  31. <input type="hidden" id="lqid" value="$!lqid"/>
  32. <div>
  33. <div id="chartDiv_A"></div>
  34. </div>
  35. </body>
  36. </html>