|  | @ -48,17 +48,17 @@
 | 
	
		
			
				|  |  |             html += "<a class=\"m-btn-view\" onclick='standard.list.addPublisher(\"" + rowdata.id + "\", \"modify\")'></a> ";
 | 
	
		
			
				|  |  | //            html += "<a class=\"m-btn-delete\" onclick='standard.list.deleted(\"" + rowdata.id + "\",\"" + rowdata.name + "\",\"" + rowindex + "\")'></a>";
 | 
	
		
			
				|  |  |           } else if(rowdata.type=="1"){//行数据为标准数据
 | 
	
		
			
				|  |  |             html += "<a href='#' style=\"width: 80px;\" onclick='standard.list.addVersion(\"" + rowdata.id + "\",\"" + rowdata.name + "\",\"" + rowdata.code + "\",\"" + rowindex + "\", \"0\")'>新增版本</a>";
 | 
	
		
			
				|  |  |             html += "<a href='#' style=\"width: 80px;\" onclick='standard.list.addVersion(\"" + rowdata.pid + "\",\"" + rowdata.id + "\",\"" + rowdata.name + "\",\"" + rowdata.code + "\",\"" + rowindex + "\", \"0\")'>新增版本</a>";
 | 
	
		
			
				|  |  |             html +=  "<a class=\"m-btn-edit\" onclick='standard.list.add(\"" + rowdata.id + "\",\"" + rowdata.name + "\",\"" + rowdata.code + "\",\"" + rowdata.description + "\", \"modify\")'></a> ";
 | 
	
		
			
				|  |  |             html +=  "<a class=\"m-btn-delete\"  onclick='standard.list.deleted(\"" + rowdata.id + "\",\"" + rowdata.name + "\",\"" + rowindex + "\")'></a>";
 | 
	
		
			
				|  |  |           } else if(rowdata.type=="2"){//版本数据
 | 
	
		
			
				|  |  |             if(rowdata.status!=0){//已发布版本
 | 
	
		
			
				|  |  |               html +=  "<a href='#' style=\"width: 80px;\" onclick='standard.list.config(\"" + rowdata.code + "\",\"" + rowdata.pid + "\",\"" + rowdata.status + "\",\"" + rowindex + "\")'>查看配置</a>";
 | 
	
		
			
				|  |  |               html +=  "<a href='#' class=\"m-btn-view\"  onclick='standard.list.addVersion(\"" + rowdata.id + "\",\"" + rowdata.name + "\",\"" + rowdata.code + "\",\"" + rowindex + "\", \"\")'></a>";
 | 
	
		
			
				|  |  |               html +=  "<a href='#' class=\"m-btn-view\"  onclick='standard.list.addVersion(\"" + rowdata.pid + "\",\"" + rowdata.id + "\",\"" + rowdata.name + "\",\"" + rowdata.code + "\",\"" + rowindex + "\", \"\")'></a>";
 | 
	
		
			
				|  |  |             }else{//未发布版本
 | 
	
		
			
				|  |  |               html += "<a href='#' style=\"width: 55px;\" onclick='standard.list.releaseVersion(\"" + rowdata.id + "\", \"" + rowdata.publisher + "\")'>发布</a>";
 | 
	
		
			
				|  |  |               html += "<a href='#' onclick='standard.list.config(\"" + rowdata.code + "\",\"" + rowdata.pid + "\",\"" + rowdata.status + "\",\"" + rowindex + "\")'>配置</a>";
 | 
	
		
			
				|  |  |               html += "<a class=\"m-btn-edit\" onclick='standard.list.addVersion(\"" + rowdata.id + "\",\"" + rowdata.name + "\",\"" + rowdata.code + "\",\"" + rowindex + "\", \"1\")'></a> ";
 | 
	
		
			
				|  |  |               html += "<a class=\"m-btn-edit\" onclick='standard.list.addVersion(\"" + rowdata.pid + "\",\"" + rowdata.id + "\",\"" + rowdata.name + "\",\"" + rowdata.code + "\",\"" + rowindex + "\", \"1\")'></a> ";
 | 
	
		
			
				|  |  |               html += "<a class=\"m-btn-delete\" onclick='standard.list.deleted(\"" + rowdata.id + "\",\"" + rowdata.name + "\",\"" + rowindex + "\")'></a>";
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  |           }
 | 
	
	
		
			
				|  | @ -172,7 +172,7 @@
 | 
	
		
			
				|  |  |       };
 | 
	
		
			
				|  |  |       standard.list.showDialog(_tital, _url, 500, 500, callback);
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     addVersion: function (id,name,code,rowindex,type) {
 | 
	
		
			
				|  |  |     addVersion: function (pid,id,name,code,rowindex,type) {
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |       var _tital = "";
 | 
	
		
			
				|  |  |       if(type =="0"){
 | 
	
	
		
			
				|  | @ -188,7 +188,8 @@
 | 
	
		
			
				|  |  |       if(row!=null){//是父节点
 | 
	
		
			
				|  |  |         name = $.parseJSON(JSON.stringify(row)).name;//获取父节点的标准名称
 | 
	
		
			
				|  |  |       }
 | 
	
		
			
				|  |  |       var _url = standard.list._url + "/integration/versionUpdate?id=" + id+"&name="+name+"&type="+type+"&code="+code;
 | 
	
		
			
				|  |  |       debugger;
 | 
	
		
			
				|  |  |       var _url = standard.list._url + "/integration/versionUpdate?standardId="+pid+"&id=" + id+"&name="+name+"&type="+type+"&code="+code;
 | 
	
		
			
				|  |  |       var callback = function () {
 | 
	
		
			
				|  |  |         standard.list.getTypeList();
 | 
	
		
			
				|  |  |       };
 |