歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux技術 >> 第六章:密碼破解&系統修復

第六章:密碼破解&系統修復

日期:2017/3/3 13:04:08   编辑:Linux技術
//列表 跳轉 查看頁面
function hrefRender(value, cellmeta, record, rowIndex, columnIndex, store){
   var uuid = record.get("uuid");
     return '<a href="'+contextPath+'/messageCenterManagerAction.do?method=getObj&view=view&uuid='+uuid+'">'+value+'</a>';
  }
 
//建立時間
 function dateRender(value, cellmeta, record, rowIndex, columnIndex, store){
     if(value && 'NaN' != value){
      return value.substring(0,10);
     }else{
      return '';
     }
  }
 //日期處理
 function dateRender(value, cellmeta, record, rowIndex, columnIndex, store){
      try{
         var a = value.substring(0,10);
         return Date.parseDate(a,"Y-m-d").format('Y-m-d');
        }
        catch(e){
         return '';
        }
  } 
 
//日期處理
 function dateRender(value, cellmeta, record, rowIndex, columnIndex, store){
     try{
         var a = value.substring(0,10);
         return Date.parseDate(a,"Y-m-d").format('Y年m月d日');
        }
        catch(e){
         return '';
        }
 }
 
{header: "程度", width: 60, dataIndex: 'urgentName',sortable: false},
  store.on('load',function (store,records,options){
   for(var i=0;i<records.length;i++){
     var record= store.getAt(i);
     aacc(record);
   }
  });
 
    function aacc(re){
    if(re.data['urgentId']!=''){
      Ext.Ajax.request({
      url:contextPath+'/sendUpdate.do?method=ajxUrgentName&uuid='+re.data['urgentId'],
      method:'POST',
      callback:function(options,success,response){
       var data = response.responseXML;
       var urgentName='';
        if($(data).text()!=''){
         urgentName = $(data).find("urgentName").text();
        re.set('urgentName',urgentName);
        }
      }
     }
    );
    }
  }
 
 
 
 
 
 
Copyright © Linux教程網 All Rights Reserved