|  | @ -12,8 +12,6 @@
 | 
	
		
			
				|  |  |         $dictGrid: $("#dict_grid"),//字典datagrid
 | 
	
		
			
				|  |  |         $dictItemGrid: $("#dictItem_grid"),//字典datagrid
 | 
	
		
			
				|  |  |         $dialog:null,
 | 
	
		
			
				|  |  |         grid:null,
 | 
	
		
			
				|  |  |         grid1:null,
 | 
	
		
			
				|  |  |         init: function () {
 | 
	
		
			
				|  |  |             this.initLayout();
 | 
	
		
			
				|  |  |             this.initButton();
 | 
	
	
		
			
				|  | @ -35,20 +33,25 @@
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         },
 | 
	
		
			
				|  |  |         initButton: function () {
 | 
	
		
			
				|  |  |             $("#dictname").ligerSearch({
 | 
	
		
			
				|  |  |             resourceRest.$dictname.ligerSearch({
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |                 width: 200,onClick: function (value) {
 | 
	
		
			
				|  |  |                     resourceRest.grid.set({
 | 
	
		
			
				|  |  |                     resourceRest.$dictGrid.set({
 | 
	
		
			
				|  |  |                         parms: {categoryId: $("#dictname").val()}
 | 
	
		
			
				|  |  |                     });
 | 
	
		
			
				|  |  |                     resourceRest.grid.reload();
 | 
	
		
			
				|  |  |                     resourceRest.grid.changePage("first");
 | 
	
		
			
				|  |  |                     resourceRest.$dictGrid.reload();
 | 
	
		
			
				|  |  |                     resourceRest.$dictGrid.changePage("first");
 | 
	
		
			
				|  |  |                 }
 | 
	
		
			
				|  |  |             });
 | 
	
		
			
				|  |  |             this.$dictItemName.ligerSearch({
 | 
	
		
			
				|  |  |             resourceRest.$dictItemName.ligerSearch({
 | 
	
		
			
				|  |  |                 width: 200,onClick: function (value) {
 | 
	
		
			
				|  |  |                     var selectRow=resourceRest.$dictGrid.getSelectedRow();
 | 
	
		
			
				|  |  |                     var param={resourceRestName: $("#dictItemName").val()};
 | 
	
		
			
				|  |  |                     if(selectRow){
 | 
	
		
			
				|  |  |                         param.resourceRestId=selectRow.id;
 | 
	
		
			
				|  |  |                     }
 | 
	
		
			
				|  |  |                     resourceRest.$dictItemGrid.set({
 | 
	
		
			
				|  |  |                         parms: {resourceRestId: $("#dictItemName").val()}
 | 
	
		
			
				|  |  |                         parms: param
 | 
	
		
			
				|  |  |                     });
 | 
	
		
			
				|  |  |                     resourceRest.$dictItemGrid.reload();
 | 
	
		
			
				|  |  |                     resourceRest.$dictItemGrid.changePage("first");
 | 
	
	
		
			
				|  | @ -164,7 +167,7 @@
 | 
	
		
			
				|  |  |             this.$dialog.close();
 | 
	
		
			
				|  |  |         },
 | 
	
		
			
				|  |  |         initGrid: function () {
 | 
	
		
			
				|  |  |             this.grid=$("#dict_grid").ligerGrid({
 | 
	
		
			
				|  |  |             this.$dictGrid=this.$dictGrid.ligerGrid({
 | 
	
		
			
				|  |  |                 url: '${contextRoot}/resourceRest/getResourceRestList',
 | 
	
		
			
				|  |  |                 columns: [
 | 
	
		
			
				|  |  |                     {display: '业务资源名称', name: 'name', width: '25%'},
 | 
	
	
		
			
				|  | @ -183,7 +186,7 @@
 | 
	
		
			
				|  |  |                 checkbox: false,
 | 
	
		
			
				|  |  |                 heightDiff: -10,
 | 
	
		
			
				|  |  |                 headerRowHeight: 40,
 | 
	
		
			
				|  |  |                 height:"99%",
 | 
	
		
			
				|  |  |                 height:"96%",
 | 
	
		
			
				|  |  |                 rowHeight: 40,
 | 
	
		
			
				|  |  |                 onDblClickRow:function(data,rowid,rowdata) {
 | 
	
		
			
				|  |  |                     resourceRest.editorResourceRestDialog(data.id);
 | 
	
	
		
			
				|  | @ -210,7 +213,7 @@
 | 
	
		
			
				|  |  |                 ],
 | 
	
		
			
				|  |  |                 alternatingRow: false,
 | 
	
		
			
				|  |  |                 checkbox: false,
 | 
	
		
			
				|  |  |                 height:"99%",
 | 
	
		
			
				|  |  |                 height:"96%",
 | 
	
		
			
				|  |  |                 heightDiff: -10,
 | 
	
		
			
				|  |  |                 onDblClickRow:function(data,rowid,rowdata) {
 | 
	
		
			
				|  |  |                     resourceRest.editorResourceRestDetailDialog(data.id);
 |