text: /**
   * Created by root on 16-8-18.
   */
  //$(document).ready(function(){
  //    $("#friendPage").click(function(){
  //        $(this).siblings("ul").toggle();
  //    });
  //});
  $(document).on("click", "#quickPage", function() {
      $.actions({
          title: "选择操作",
          onClose: function() {
              console.log("close");
          },
          actions: [
              {
                  text: "添加设备分组",
                  className: "color-primary",
                  onClick: function() {
                      //$.alert("你选择了“编辑”");
                      var dm = window.location.host;
                      var tg = "/equipGroup/add";
                      var url = "http://"+dm+tg;
                      window.location.href=url;
  
                  }
              },
              {
                  text: "删除分组",
                  className: "color-primary",
                  onClick: function() {
                      //$.alert("你选择了“编辑”");
                      var dm = window.location.host;
                      var tg = "/equipGroup/delete";
                      var url = "http://"+dm+tg;
                      window.location.href=url;
  
                  }
              }
          ]
      });
  });
  