乡下人产国偷v产偷v自拍,国产午夜片在线观看,婷婷成人亚洲综合国产麻豆,久久综合给合久久狠狠狠9

  • <output id="e9wm2"></output>
    <s id="e9wm2"><nobr id="e9wm2"><ins id="e9wm2"></ins></nobr></s>

    • 分享

      dialog對(duì)話框

       走墨 2014-09-11
      打開的時(shí)候

                              var distributeRole1;
      function openRoleType(id){
      //top.distributeRoleType.close('distributeRoleType')parent.lhgdialog.list['distributeRoleType']
      distributeRole1=$.dialog({id:'distributeRoleType1', 
         title:'角色分配',
         background: '#FFF', /* 背景色 默認(rèn)的遮罩背景色為:#DCE2F1淺藍(lán)護(hù)眼色 */ 
         opacity: 0.5,       /* 透明度 */ 
         content: 'url:${root}/base/BaseOperateRole/show.jspx?id='+id+'&date='+new Date().getTime(), 
         max: false, 
         min: false,
         drag: false, 
         resize: false,
         width: 450, 
         height:180
      });
      }



      關(guān)閉的時(shí)候

      function saveRoleType(){
      var api = frameElement.api, W = api.opener;
      var flag=false;//選中時(shí)候?yàn)閏hecked
      //這里寫一個(gè)for循環(huán)算了
      var check=document.getElementsByName("roletype");
      for(var i=0;i<check.length;i++){
      if(check[i].checked==true){
      flag=true;
      break;
      }
      }
      if(flag ==false){
      W.$.dialog.tips('請(qǐng)選擇要分配的角色!',1,'alert.gif',function(){});
      return false;
      }else{
      $.ajax({
      type:'post',
      url:'${root}/base/BaseOperateUserRole/save.jspx?id=${id}&date='+new Date().getTime(),
      data:$("#frm").serialize(),
      success:function(){
      var api = frameElement.api, W = api.opener;
         parent.mainFrame.i51.document.location.href="${root}/base/BaseUser/operateList.jspx";
      W.lhgdialog.list['distributeRoleType1'].close();
      }
      });
      }
      //document.location.href="${root}/";
      }


      確認(rèn)對(duì)話框
      $.dialog.confirm('確定要對(duì)資源更新索引么?', function(){
                     //frm.submit();
                  $("#gxsy").replaceWith(textstr);
                  var params=$('#frm').serialize();
                 
                  $.ajax({
                      type:'post',
                      data:params,   //要傳遞的數(shù)據(jù);就是上面序列化的值  
                      url:'${root}/resource/SdResResource/updateIndexByGroup.jspx?&date=' +new Date().getTime(),
                      success:function(){

                                top.mainFrame.i91.document.location.reload();
                          }
               });
                  }, function(){
                  });

        本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
        轉(zhuǎn)藏 分享 獻(xiàn)花(0

        0條評(píng)論

        發(fā)表

        請(qǐng)遵守用戶 評(píng)論公約

        類似文章 更多