sYHkClientMain.htm 845 B

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