|  | @ -22,7 +22,6 @@
 | 
	
		
			
				|  |  |         var u = adapterplan.attr;
 | 
	
		
			
				|  |  |         var type = $.Util.getUrlQueryString('type');
 | 
	
		
			
				|  |  |         adapterplan.attr._type = type;
 | 
	
		
			
				|  |  |         debugger
 | 
	
		
			
				|  |  |         this.event(type);
 | 
	
		
			
				|  |  |         if(type=="modify"){//修改
 | 
	
		
			
				|  |  |           $("#div_stdId").addClass("m-form-readonly");
 | 
	
	
		
			
				|  | @ -46,7 +45,6 @@
 | 
	
		
			
				|  |  |             dataType: "json",
 | 
	
		
			
				|  |  |             data: {schemeId: schemeId},
 | 
	
		
			
				|  |  |             success: function (data) {
 | 
	
		
			
				|  |  |               debugger
 | 
	
		
			
				|  |  |               if(data.successFlg){
 | 
	
		
			
				|  |  |                 u.$form.attrScan();
 | 
	
		
			
				|  |  |                 u.$form.Fields.fillValues({
 | 
	
	
		
			
				|  | @ -94,7 +92,6 @@
 | 
	
		
			
				|  |  |           }else{//新增
 | 
	
		
			
				|  |  |             _url = adapterplan.attr._url + "/adapterCenter/addScheme";
 | 
	
		
			
				|  |  |           }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |           $.ajax({
 | 
	
		
			
				|  |  |             url: _url,
 | 
	
		
			
				|  |  |             dataType: "json",
 | 
	
	
		
			
				|  | @ -122,12 +119,15 @@
 | 
	
		
			
				|  |  |           $("#btn_close").click(function () {
 | 
	
		
			
				|  |  |             parent.adapterplan.list.top.dialog_adapter_detail.close();
 | 
	
		
			
				|  |  |           });
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |           //平台标准名称
 | 
	
		
			
				|  |  |           $("#sel_stdId").ligerComboBox({url : adapterplan.attr._url+"/standardCenter/getStandards?condition={\"type\":0}" ,
 | 
	
		
			
				|  |  |           $("#sel_stdId").ligerComboBox({url : adapterplan.attr._url+"/standardCenter/getStandards" ,
 | 
	
		
			
				|  |  |             urlParms:{
 | 
	
		
			
				|  |  |                condition: encodeURIComponent(JSON.stringify({
 | 
	
		
			
				|  |  |                  "type":0
 | 
	
		
			
				|  |  |                }))
 | 
	
		
			
				|  |  |              },
 | 
	
		
			
				|  |  |             cancelable:false,
 | 
	
		
			
				|  |  |             onSuccess:function(data){
 | 
	
		
			
				|  |  |               
 | 
	
		
			
				|  |  |               if(type !="modify" && $("#sel_stdId").val()=="" && data!=null&&data.length>0)
 | 
	
		
			
				|  |  |               {
 | 
	
		
			
				|  |  |                 this.selectValue(data[0].code);
 | 
	
	
		
			
				|  | @ -137,14 +137,16 @@
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |           //平台标准名称change事件
 | 
	
		
			
				|  |  |           $("#sel_stdId").change(function(){
 | 
	
		
			
				|  |  |             var standardId = $("#sel_stdId").ligerGetComboBoxManager().getValue();
 | 
	
		
			
				|  |  |             if(!Util.isStrEmpty(standardId)){
 | 
	
		
			
				|  |  |               //平台标准版本
 | 
	
		
			
				|  |  |               $("#sel_stdVersion").ligerComboBox({url : adapterplan.attr._url+"/standardCenter/getVersions?standardId="+standardId+"&condition="+JSON.stringify({"publishStatus":1}) ,
 | 
	
		
			
				|  |  |               var standardId = $("#sel_stdId").ligerGetComboBoxManager().getValue();
 | 
	
		
			
				|  |  |               if(!Util.isStrEmpty(standardId)){
 | 
	
		
			
				|  |  |                 //平台标准版本
 | 
	
		
			
				|  |  |                 $("#sel_stdVersion").ligerComboBox({url : adapterplan.attr._url+"/standardCenter/getVersions" ,//?standardId="+standardId+"&condition="+JSON.stringify({"publishStatus":1})
 | 
	
		
			
				|  |  |                   urlParms:{
 | 
	
		
			
				|  |  |                     standardId:standardId,
 | 
	
		
			
				|  |  |                     condition: encodeURIComponent(JSON.stringify({"publishStatus":1}))
 | 
	
		
			
				|  |  |                   },
 | 
	
		
			
				|  |  |                 cancelable:false,
 | 
	
		
			
				|  |  |                 onSuccess:function(data){
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |                   if(type !="modify" && $("#sel_stdVersion").val()=="" && data!=null&&data.length>0)
 | 
	
		
			
				|  |  |                   {
 | 
	
		
			
				|  |  |                     this.selectValue(data[0].code);
 | 
	
	
		
			
				|  | @ -164,7 +166,6 @@
 | 
	
		
			
				|  |  |               }
 | 
	
		
			
				|  |  |               return false;
 | 
	
		
			
				|  |  |             }});
 | 
	
		
			
				|  |  |           debugger
 | 
	
		
			
				|  |  |           $("#sel_stdVersion").ligerComboBox({cancelable:false});
 | 
	
		
			
				|  |  |           $("#sel_adapterStdId").ligerComboBox({cancelable:false});
 | 
	
		
			
				|  |  |           $("#sel_adapterStdVersion").ligerComboBox({cancelable:false});
 | 
	
	
		
			
				|  | @ -175,7 +176,13 @@
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |             if(!Util.isStrEmpty(publisherOrgCode)){
 | 
	
		
			
				|  |  |               //应用标准名称
 | 
	
		
			
				|  |  |               $("#sel_adapterStdId").ligerComboBox({url : adapterplan.attr._url+"/standardCenter/getStandards?condition={\"type\":1,\"publisherOrgCode\":\""+publisherOrgCode+"\"}" ,
 | 
	
		
			
				|  |  |               $("#sel_adapterStdId").ligerComboBox({url : adapterplan.attr._url+"/standardCenter/getStandards" ,//?condition={\"type\":1,\"publisherOrgCode\":\""+publisherOrgCode+"\"}
 | 
	
		
			
				|  |  |                 urlParms:{
 | 
	
		
			
				|  |  |                   condition: encodeURIComponent(JSON.stringify({
 | 
	
		
			
				|  |  |                     "type":1,
 | 
	
		
			
				|  |  |                     "publisherOrgCode":publisherOrgCode
 | 
	
		
			
				|  |  |                   }))
 | 
	
		
			
				|  |  |                 },
 | 
	
		
			
				|  |  |                 cancelable:false,
 | 
	
		
			
				|  |  |                 onSuccess:function(data){
 | 
	
		
			
				|  |  |                   if(type !="modify" && $("#sel_adapterStdId").val()=="" &&data!=null&&data.length>0)
 | 
	
	
		
			
				|  | @ -192,10 +199,13 @@
 | 
	
		
			
				|  |  |             var standardId = $("#sel_adapterStdId").ligerGetComboBoxManager().getValue();
 | 
	
		
			
				|  |  |             //应用标准版本
 | 
	
		
			
				|  |  |             if(!Util.isStrEmpty(standardId)){
 | 
	
		
			
				|  |  |               $("#sel_adapterStdVersion").ligerComboBox({url : adapterplan.attr._url+"/standardCenter/getVersions?standardId="+standardId +"&condition="+JSON.stringify({"publishStatus":1}) ,
 | 
	
		
			
				|  |  |               $("#sel_adapterStdVersion").ligerComboBox({url : adapterplan.attr._url+"/standardCenter/getVersions" ,//?standardId="+standardId +"&condition="+JSON.stringify({"publishStatus":1})
 | 
	
		
			
				|  |  |                 urlParms:{
 | 
	
		
			
				|  |  |                   standardId:standardId,
 | 
	
		
			
				|  |  |                   condition:encodeURIComponent(JSON.stringify({"publishStatus":1}))
 | 
	
		
			
				|  |  |                 },
 | 
	
		
			
				|  |  |                 cancelable:false,
 | 
	
		
			
				|  |  |                 onSuccess:function(data){
 | 
	
		
			
				|  |  |                   debugger
 | 
	
		
			
				|  |  |                   if(type !="modify" && $("#sel_adapterStdVersion").val()=="" &&data!=null&&data.length>0)
 | 
	
		
			
				|  |  |                   {
 | 
	
		
			
				|  |  |                     this.selectValue(data[0].code);
 |