fuyu 5 年之前
父节点
当前提交
dcca7fe4d4

+ 3 - 3
application/manage/view/device/index.html

@@ -46,7 +46,7 @@
         function getDatas() {
             var institution = $("#institution").val();
             $('#gd').datagrid({
-                url: "/manage/device/getAll?institution=' + institution,
+                url: "/manage/device/getAll?institution=" + institution,
                 idField: 'id', method: 'get', rownumbers: true,singleSelect:true,selectOnCheck:false,
                 showFooter: true, toolbar: '#tb',
                 columns: [
@@ -84,10 +84,10 @@
         function showEditWin(id) {
             if ("undefined" == typeof id) {
                 $editWin.window('open');
-                $('#editFrame').attr('src', "/manage/device/goEdit');
+                $('#editFrame').attr('src', "/manage/device/goEdit");
             } else {
                 $editWin.window('open');
-                $('#editFrame').attr('src', "/manage/device/goEdit?id=' + id);
+                $('#editFrame').attr('src', "/manage/device/goEdit?id=" + id);
             }
         }
 

+ 3 - 3
application/manage/view/doctorclass/index.html

@@ -55,7 +55,7 @@
             $("#gd").height(height);
 
             $('#gd').datagrid({
-                url:"/manage/doctorclass/datas',
+                url:"/manage/doctorclass/datas",
                 idField:'id',method: 'get',rownumbers: true,showFooter: true,singleSelect:true,selectOnCheck:false,
                 toolbar: '#tb',pageList: [dgRowSize,dgRowSize*2,100],pagination:true,pageSize:dgRowSize,
                 columns:[[
@@ -79,9 +79,9 @@
         // 显示编辑窗口
         function showEditWin(id){
             if("undefined"== typeof id){
-                $editWin.window('open');$('#editFrame').attr('src',"/manage/doctorclass/edit');
+                $editWin.window('open');$('#editFrame').attr('src',"/manage/doctorclass/edit");
             }else{
-                $editWin.window('open');$('#editFrame').attr('src',"/manage/doctorclass/edit?id='+id);
+                $editWin.window('open');$('#editFrame').attr('src',"/manage/doctorclass/edit?id="+id);
             }
         }
 

+ 4 - 4
application/manage/view/doctors/index.html

@@ -72,7 +72,7 @@
         
         $(function(){
             $('#gd').datagrid({
-                url:"/manage/doctors/datas',
+                url:"/manage/doctors/datas",
                 idField:'id',method: 'get',rownumbers: true,showFooter: true,singleSelect:true,selectOnCheck:false,
                 toolbar: '#tb',fitColumns : true,pageList: [dgRowSize,dgRowSize*2,50,100],pagination:true,pageSize:dgRowSize,
                 columns:[[
@@ -121,15 +121,15 @@
         // 显示编辑窗口
         function showEditWin(id){
             if("undefined"== typeof id){
-                $editWin.window('open');$('#editFrame').attr('src',"/manage/doctors/edit');
+                $editWin.window('open');$('#editFrame').attr('src',"/manage/doctors/edit");
             }else{
-                $editWin.window('open');$('#editFrame').attr('src',"/manage/doctors/edit?id='+id);
+                $editWin.window('open');$('#editFrame').attr('src',"/manage/doctors/edit?id="+id);
             }
         }
         
         // 显示权限管理页面
         function showPermissionEdit(id){
-            $permitWin.window('open');$('#permitFrame').attr('src',"/manage/doctors/permissions?id='+id);
+            $permitWin.window('open');$('#permitFrame').attr('src',"/manage/doctors/permissions?id="+id);
         }
 
         function sendMessage(phone){

+ 3 - 3
application/manage/view/exam/index.html

@@ -101,7 +101,7 @@
                 $("#dg").height(height);
                                 
                 $('#dg').datagrid({
-                    url:"/manage/exam/datas',
+                    url:"/manage/exam/datas",
                     idField:'id',method: 'get',rownumbers: true,showFooter: true,singleSelect:true,selectOnCheck:false,
                     toolbar: '#tb',pageList: [dgRowSize,dgRowSize*2,50,100],pagination:true,pageSize:dgRowSize,
                     frozenColumns:[[
@@ -166,10 +166,10 @@
             // 显示编辑窗口
             function showEditWin(id){
                 if("undefined"== typeof id){
-                    $editWin.window('open');$('#editFrame').attr('src',"/manage/exam/edit');
+                    $editWin.window('open');$('#editFrame').attr('src',"/manage/exam/edit");
                 }else{
                     //$editWin.window('open');$('#editFrame').attr('src',"/manage/exam/edit?id='+id);
-                    window.parent.openSupperWin('诊断信息查看',"/manage/exam/edit?id='+id);
+                    window.parent.openSupperWin('诊断信息查看',"/manage/exam/edit?id="+id);
                 }
             }
             

+ 3 - 3
application/manage/view/examclass/index.html

@@ -47,7 +47,7 @@
             $("#dg").height(height);
 
             $('#dg').datagrid({
-                url:"/manage/examclass/datas',
+                url:"/manage/examclass/datas",
                 idField:'id',method: 'get',rownumbers: true,showFooter: true,singleSelect:true,selectOnCheck:false,
                 toolbar: '#tb',fitColumns:true,pageSize:200,pagination:true,pageList: [200],
                 columns:[[
@@ -79,9 +79,9 @@
         // 显示编辑窗口
         function showEditWin(id){
             if("undefined"== typeof id){
-                $editWin.window('open');$('#editFrame').attr('src',"/manage/examclass/edit');
+                $editWin.window('open');$('#editFrame').attr('src',"/manage/examclass/edit");
             }else{
-                $editWin.window('open');$('#editFrame').attr('src',"/manage/examclass/edit?id='+id);
+                $editWin.window('open');$('#editFrame').attr('src',"/manage/examclass/edit?id="+id);
             }
         }
 

+ 3 - 3
application/manage/view/examproject/index.html

@@ -47,7 +47,7 @@
             $("#dg").height(height);
 
             $('#dg').datagrid({
-                url:"/manage/examproject/datas',
+                url:"/manage/examproject/datas",
                 idField:'id',method: 'get',rownumbers: true,showFooter: true,singleSelect:true,selectOnCheck:false,
                 toolbar: '#tb',fitColumns:true,pageSize:dgRowSize,pagination:true,pageList: [dgRowSize,dgRowSize*2,100],
                 columns:[[
@@ -83,9 +83,9 @@
         // 显示编辑窗口
         function showEditWin(id){
             if("undefined"== typeof id){
-                $editWin.window('open');$('#editFrame').attr('src',"/manage/examproject/edit');
+                $editWin.window('open');$('#editFrame').attr('src',"/manage/examproject/edit");
             }else{
-                $editWin.window('open');$('#editFrame').attr('src',"/manage/examproject/edit?id='+id);
+                $editWin.window('open');$('#editFrame').attr('src',"/manage/examproject/edit?id="+id);
             }
         }
 

+ 3 - 3
application/manage/view/examsubclass/index.html

@@ -47,7 +47,7 @@
             $("#dg").height(height);
 
             $('#dg').datagrid({
-                url:"/manage/examsubclass/datas',
+                url:"/manage/examsubclass/datas",
                 idField:'id',method: 'get',rownumbers: true,showFooter: true,singleSelect:true,selectOnCheck:false,
                 toolbar: '#tb',fitColumns:true,pageSize:dgRowSize,pagination:true,pageList: [dgRowSize,dgRowSize*2,100],
                 columns:[[
@@ -83,9 +83,9 @@
         // 显示编辑窗口
         function showEditWin(id){
             if("undefined"== typeof id){
-                $editWin.window('open');$('#editFrame').attr('src',"/manage/examsubclass/edit');
+                $editWin.window('open');$('#editFrame').attr('src',"/manage/examsubclass/edit");
             }else{
-                $editWin.window('open');$('#editFrame').attr('src',"/manage/examsubclass/edit?id='+id);
+                $editWin.window('open');$('#editFrame').attr('src',"/manage/examsubclass/edit?id="+id);
             }
         }
 

+ 4 - 4
application/manage/view/insdoctors/index.html

@@ -72,7 +72,7 @@
         
         $(function(){
             $('#gd').datagrid({
-                url:"/manage/insdoctors/datas',
+                url:"/manage/insdoctors/datas",
                 idField:'id',method: 'get',rownumbers: true,showFooter: true,singleSelect:true,selectOnCheck:false,
                 toolbar: '#tb',fitColumns : true,pageList: [dgRowSize,dgRowSize*2,50,100],pagination:true,pageSize:dgRowSize,
                 columns:[[
@@ -119,15 +119,15 @@
         // 显示编辑窗口
         function showEditWin(id){
             if("undefined"== typeof id){
-                $editWin.window('open');$('#editFrame').attr('src',"/manage/insdoctors/edit');
+                $editWin.window('open');$('#editFrame').attr('src',"/manage/insdoctors/edit");
             }else{
-                $editWin.window('open');$('#editFrame').attr('src',"/manage/insdoctors/edit?id='+id);
+                $editWin.window('open');$('#editFrame').attr('src',"/manage/insdoctors/edit?id="+id);
             }
         }
         
         // 显示权限管理页面
         function showPermissionEdit(id){
-            $permitWin.window('open');$('#permitFrame').attr('src',"/manage/insdoctors/permissions?id='+id);
+            $permitWin.window('open');$('#permitFrame').attr('src',"/manage/insdoctors/permissions?id="+id);
         }
 
         function deleteRow(id){

+ 4 - 4
application/manage/view/institution/index.html

@@ -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);
                 }
             }
             

+ 3 - 3
application/manage/view/manager/index.html

@@ -86,7 +86,7 @@
                 $("#gd").height(height);
                                 
                 $('#gd').datagrid({
-                    url:"/manage/manager/datas',
+                    url:"/manage/manager/datas",
                     idField:'id',method: 'get',rownumbers: true,showFooter: true,singleSelect:true,selectOnCheck:false,
                     toolbar: '#tb',pageList: [dgRowSize,dgRowSize*2,100],pagination:true,pageSize:dgRowSize,
                     columns:[[
@@ -122,9 +122,9 @@
             // 显示编辑窗口
             function showEditWin(id){
                 if("undefined"== typeof id){
-                    $editWin.window('open');$('#editFrame').attr('src',"/manage/manager/edit');
+                    $editWin.window('open');$('#editFrame').attr('src',"/manage/manager/edit");
                 }else{
-                    $editWin.window('open');$('#editFrame').attr('src',"/manage/manager/edit?id='+id);
+                    $editWin.window('open');$('#editFrame').attr('src',"/manage/manager/edit?id="+id);
                 }
             }
             

+ 4 - 4
application/manage/view/order/local.html

@@ -144,7 +144,7 @@
                 var height=$(document).height();
                 $("#dg").height(height);
                 $('#dg').datagrid({
-                    url:"/manage/order/localdatas',
+                    url:"/manage/order/localdatas",
                     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:"机构信息管理",
@@ -192,9 +192,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);
                 }
             }
             
@@ -202,7 +202,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);
                 }
             }
             

+ 4 - 4
application/manage/view/order/remote.html

@@ -144,7 +144,7 @@
                 var height=$(document).height();
                 $("#dg").height(height);
                 $('#dg').datagrid({
-                    url:"/manage/order/remotedatas',
+                    url:"/manage/order/remotedatas",
                     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:"机构信息管理",
@@ -192,9 +192,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);
                 }
             }
             
@@ -202,7 +202,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);
                 }
             }
             

+ 3 - 3
application/manage/view/patientinfo/index.html

@@ -62,7 +62,7 @@
             $("#dg").height(height);
 
             $('#dg').datagrid({
-                url:"/manage/patientinfo/datas',
+                url:"/manage/patientinfo/datas",
                 idField:'id',method: 'get',rownumbers: true,showFooter: true,singleSelect:true,selectOnCheck:false,
                 toolbar: '#tb',pageList: [ dgRowSize , dgRowSize*2  , 100 ],pagination:true, pageSize: dgRowSize ,
                 columns:[[
@@ -111,9 +111,9 @@
         // 显示编辑窗口
         function showEditWin(id){
             if("undefined"== typeof id){
-                $editWin.window('open');$('#editFrame').attr('src',"/manage/patientinfo/edit');
+                $editWin.window('open');$('#editFrame').attr('src',"/manage/patientinfo/edit");
             }else{
-                $editWin.window('open');$('#editFrame').attr('src',"/manage/patientinfo/edit?id='+id);
+                $editWin.window('open');$('#editFrame').attr('src',"/manage/patientinfo/edit?id="+id);
             }
         }
 

+ 4 - 4
application/manage/view/remote/local.html

@@ -120,7 +120,7 @@
                 var height=$(document).height();
                 $("#dg").height(height);
                 $('#dg').datagrid({
-                    url:"/manage/remote/localdatas',
+                    url:"/manage/remote/localdatas",
                     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:"机构信息管理",
@@ -161,9 +161,9 @@
             // 显示编辑窗口
             function showEditWin(id){
                 if("undefined"== typeof id){
-                    $editWin.window('open');$('#editFrame').attr('src',"/manage/remote/edit');
+                    $editWin.window('open');$('#editFrame').attr('src',"/manage/remote/edit");
                 }else{
-                    $editWin.window('open');$('#editFrame').attr('src',"/manage/remote/edit?id='+id);
+                    $editWin.window('open');$('#editFrame').attr('src',"/manage/remote/edit?id="+id);
                 }
             }
             
@@ -171,7 +171,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);
                 }
             }
             

+ 4 - 4
application/manage/view/remote/remote.html

@@ -120,7 +120,7 @@
                 var height=$(document).height();
                 $("#dg").height(height);
                 $('#dg').datagrid({
-                    url:"/manage/remote/remotedatas',
+                    url:"/manage/remote/remotedatas",
                     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:"机构信息管理",
@@ -162,9 +162,9 @@
             // 显示编辑窗口
             function showEditWin(id){
                 if("undefined"== typeof id){
-                    $editWin.window('open');$('#editFrame').attr('src',"/manage/remote/edit');
+                    $editWin.window('open');$('#editFrame').attr('src',"/manage/remote/edit");
                 }else{
-                    $editWin.window('open');$('#editFrame').attr('src',"/manage/remote/edit?id='+id);
+                    $editWin.window('open');$('#editFrame').attr('src',"/manage/remote/edit?id="+id);
                 }
             }
             
@@ -172,7 +172,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);
                 }
             }
             

+ 3 - 3
application/manage/view/template/index.html

@@ -50,7 +50,7 @@
             $("#dg").height(height);
 
             $('#dg').datagrid({
-                url: "/manage/template/getDatas',
+                url: "/manage/template/getDatas",
                 idField: 'id', method: 'get', rownumbers: true, showFooter: true,fitColumns : true,singleSelect:true,selectOnCheck:false,
                 toolbar: '#tb', pageSize: dgRowSize, pageList: [dgRowSize, dgRowSize*2 , 100],pagination: true,
                 frozenColumns:[[
@@ -83,10 +83,10 @@
         function showEditWin(id) {
             if ("undefined" == typeof id) {
                 $editWin.window('open');
-                $('#editFrame').attr('src', '/manage/template/goEdit');
+                $('#editFrame').attr('src', "/manage/template/goEdit");
             } else {
                 $editWin.window('open');
-                $('#editFrame').attr('src', '/manage/template/goEdit?id=' + id);
+                $('#editFrame').attr('src', "/manage/template/goEdit?id=" + id);
             }
         }