qinbo
2021-11-29 a6a644e94b86e724407724f6b7bc49c1fd22a947
bug fix
5个文件已修改
33 ■■■■■ 已修改文件
widgetsTS/taxiRouteReplay/view.html 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
widgetsTS/widget_search/view.css 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
widgetsTS/widget_search/widget.js 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
widgetsTS/widget_summary/view.css 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
widgetsTS/widget_summary/view.js 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
widgetsTS/taxiRouteReplay/view.html
@@ -55,15 +55,14 @@
    </tr>
    <tr>
      <td>
        <button type="button" id="SprinkleQueryTaxiData" class="btn btn-primary" style="width:80px;"><span
            id="SprinkleQueryTaxiDataText">撒点查询</span></button>
      </td>
      <td>
        <button type="button" id="startQueryTaxiData" class="btn btn-primary" style="width:130px;"><span
            id="startQueryTaxiDataText">轨迹查询</span></button>
      </td>
    </tr>
  </table>
  <div>
  </div>
  <div class="line"></div>
  <div class="route_box" id="route_box" style="display: none">
@@ -78,6 +77,10 @@
              id="btnSuspendDHText">暂停回放</span></button>
        </td>
        <td>
          <button type="button" id="SprinkleQueryTaxiData" class="btn btn-primary" style="width:80px;"><span
              id="SprinkleQueryTaxiDataText">撒点显示</span></button>
        </td>
        <td>
          <span class="span_sjgs"><input class="sjgs" id="checkbox_sjgs" type="checkbox">视角跟随</span>
        </td>
      </tr>
widgetsTS/widget_search/view.css
@@ -36,6 +36,10 @@
    border-bottom: 1px solid rgba(77,255,255,.5);
}
.top_10_table td,
.top_10_table th{
   padding: 9px 10px;
}
.cnt_div{
    color: #fff;
widgetsTS/widget_search/widget.js
@@ -122,6 +122,7 @@
            var primitive = new mars3d.graphic.PolygonEntity({
                positions: positions,
                style: {
                    opacity:0.3,
                    height: 50,
                    diffHeight: 200,
                    materialType: mars3d.MaterialType.PolyGradient,
widgetsTS/widget_summary/view.css
@@ -16,6 +16,11 @@
    /* border-radius: 10px; */
}
.top_10_table td,
.top_10_table th{
   padding: 9px 9px;
}
.no_bgc_table{
    width: 100%;
    height: 50%;
widgetsTS/widget_summary/view.js
@@ -19,7 +19,7 @@
        current_selected_monitor_type = $(this).attr("_code");
        current_selected_monitor_name = $(this).attr("_name");
        changeQindexSelection();
        reloadData();
        throttling()
    });
    $("#selectedALL").click(function() { 
@@ -37,6 +37,16 @@
}
// 节流,防止用户点击多次请求多次
let timeout;
//需要定义在方法外
function throttling(){
    //先清理
    clearTimeout(timeout)
    timeout = setTimeout(() => {
        reloadData()
    }, 500)
}
//加载count
function loadCountByUserid() {
    var backend_url = thisWidget.nodejs_url_predix + "dataapi/Bdata?bid=get_all_count_by_id&userid=" + thisWidget.userid;