dmzxsHomep_bm.ss.jsp 1.9 KB

1
  1. <html> <head> <meta charset="UTF-8"> <js.ss file="/ss/growHeight.js"/> <js.ss file="/ss/jquery/jquery.ellipsis.js"/> <js.ss file="/ss/datePicker/WdatePicker.js"/> <js.ss file="/ss/edit.js"/> <js.ss file="/ss/echarts/echarts.js"/> <js.ss file="/ss/myEcharts.js"/> <style> #big_pie_bm > .ss-placeholder-child, #small_pie > .ss-placeholder-child{ background: transparent; } #big_pie_bm { display: block; position: relative; height: 100% !important; width: 100%; overflow-y: hidden !important; } #big_pie_bm .pie { position: absolute !important; height: 100%; width: 100%; } </style> </head> <body class="drawer drawer--right" style="background-color: #f2f2f2;overflow-x: hidden;"> <div id="sybj"> <div class="plugin-component-div"> <div id="sybjBody" style="height: calc(100% - 50px)!important;width: 100%;box-sizing: border-box;"> <div id="sybjBodyInner" style="height: 100%;"> <div class="smallScrollbar" style="height: 100%;"> <div id="big_pie_bm" class="graph-list scrollbar"> </div> </div> </div> </div> </div> </div> <script> initPie_bm(); function initPie_bm(val) { var vals = val || {}; $.ajax({ type : "get", url : "/service?ssServ=dmzxsHomep_statByBm&dmType=${dmType}", // ?wdService=bjdmTj_Bm&。Lin data : vals, async : false, dataType:"json", success : function(res) { var obj = {id:"big_pie_bm",name:'部门点名',dataList:res,clickFunction:openDetail_bm}; MyECharts.init(obj); } }); } function openDetail_bm(params){ <%-- 改,去掉 bjdmTj_tjtz("统计跳转") 空服务。Lin var url = '@service{name:"bjdmTj_tjtz",dest:"bjdm_zy",show:"wdDialog",param:{bmid:"wdVal{bmid}",dmType:"${dmType}"},width:880,height:600}@'; --%> var url = '<serv.ss dlg="true" dest="dmzxsHomep_zy" parm="{bmid:&quot;ssVal{bmid}&quot;,dmType:&quot;${dmType}&quot;}" width="880" height="600"/>'; url = wd.display.replaceDynamicParam(url, params.data); eval(url); } </script> </body> </html>