|
@ -142,7 +142,7 @@
|
|
|
}
|
|
|
// 自适应宽度
|
|
|
// u.grid.adjustToWidth();
|
|
|
u.grid.collapseAll();//展开全部expandAll(); 收缩全部collapseAll()
|
|
|
u.grid.expandAll();//展开全部expandAll(); 收缩全部collapseAll()
|
|
|
window.grid = u.grid;
|
|
|
},
|
|
|
showDialog: function (_tital, _url, _height, _width, callback) {
|
|
@ -182,13 +182,14 @@
|
|
|
}else{
|
|
|
_tital = "标准版本信息";
|
|
|
}
|
|
|
|
|
|
standard.list.grid.select(rowindex);//选中行
|
|
|
var row = standard.list.grid.getParent(standard.list.grid.getSelectedRow());
|
|
|
if(row!=null){//是父节点
|
|
|
name = $.parseJSON(JSON.stringify(row)).name;//获取父节点的标准名称
|
|
|
if(type != "0") {
|
|
|
standard.list.grid.select(rowindex);//选中行
|
|
|
var row = standard.list.grid.getParent(standard.list.grid.getSelectedRow());
|
|
|
if(row!=null){//是父节点
|
|
|
name = $.parseJSON(JSON.stringify(row)).name;//获取父节点的标准名称
|
|
|
}
|
|
|
}
|
|
|
debugger;
|
|
|
|
|
|
var _url = standard.list._url + "/integration/versionUpdate?standardId="+pid+"&id=" + id+"&name="+name+"&type="+type+"&code="+code;
|
|
|
var callback = function () {
|
|
|
standard.list.getTypeList();
|