123456789101112131415161718192021222324252627282930313233343536 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <title>wd</title>
- <script type="text/javascript">
- $(function(){
- if ($("#lqid").val() > 0) {
- var chartADiv = $("#chartA");
- $("#chartDiv_A").attr("style", "width:" + chartADiv.width() + "px");
- $("#chartDiv_A").attr("style", "height:" + (chartADiv.height() - 7) + "px");
- jQuery.ajax({
- type : "get",
- url : "getHkClientSnwdTjt.htm",
- data : {"lqid" : $("#lqid").val(), "jsms" : "$!jsms", "dbrq" : "$!dbrq"},
- dataType : "json",
- async : true,
- success : function(data) {
- if (data.color.length == 0) {
- /* $("#chartDiv_A").html("<img src='views/hkclient/sy/wd.jpg' width='100%' height='100%'/>"); */
- $("#chartDiv_A").html("<img src='views/hkclient/img/hkxx.png' width='100%' height='60%' style='margin-top:10%;'/>");
- } else {
- getHighchartTjt(data, "chartDiv_A");
- }
- }
- });
- }
- });
- </script>
- </head>
- <body>
- <input type="hidden" id="lqid" value="$!lqid"/>
- <div>
- <div id="chartDiv_A"></div>
- </div>
- </body>
- </html>
|