|
@@ -109,7 +109,7 @@
|
|
|
var height=$(document).height();
|
|
|
$("#dg").height(height);
|
|
|
$('#dg').datagrid({
|
|
|
- url:"/manage/institution/datas',
|
|
|
+ url:"/manage/institution/datas",
|
|
|
idField:'id',method: 'get',rownumbers: true,showFooter: true,striped:true,singleSelect:true,selectOnCheck:false,
|
|
|
toolbar: '#tb', fitColumns : true,pageList: [dgRowSize,dgRowSize*2,100],pagination:true,pageSize:dgRowSize,
|
|
|
// title:"机构信息管理",
|
|
@@ -151,9 +151,9 @@
|
|
|
// 显示编辑窗口
|
|
|
function showEditWin(id){
|
|
|
if("undefined"== typeof id){
|
|
|
- $editWin.window('open');$('#editFrame').attr('src',"/manage/institution/edit');
|
|
|
+ $editWin.window('open');$('#editFrame').attr('src',"/manage/institution/edit");
|
|
|
}else{
|
|
|
- $editWin.window('open');$('#editFrame').attr('src',"/manage/institution/edit?id='+id);
|
|
|
+ $editWin.window('open');$('#editFrame').attr('src',"/manage/institution/edit?id="+id);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -161,7 +161,7 @@
|
|
|
if("undefined"== typeof id){
|
|
|
alert("请选择医院编辑科室!");
|
|
|
}else{
|
|
|
- $deptEditWin.window('open');$('#deptEditFrame').attr('src',"/manage/institution/deptview?insId='+id);
|
|
|
+ $deptEditWin.window('open');$('#deptEditFrame').attr('src',"/manage/institution/deptview?insId="+id);
|
|
|
}
|
|
|
}
|
|
|
|