fuyu 5 yıl önce
ebeveyn
işleme
b4318c5a50
56 değiştirilmiş dosya ile 201 ekleme ve 202 silme
  1. 1 1
      application/manage/controller/Base.php
  2. 2 2
      application/manage/view/constant/edit.html
  3. 5 5
      application/manage/view/constant/index.html
  4. 4 4
      application/manage/view/counts/index.html
  5. 3 3
      application/manage/view/department/index.html
  6. 1 1
      application/manage/view/device/edit.html
  7. 4 4
      application/manage/view/device/index.html
  8. 1 1
      application/manage/view/doctorclass/edit.html
  9. 4 4
      application/manage/view/doctorclass/index.html
  10. 2 2
      application/manage/view/doctors/edit.html
  11. 8 8
      application/manage/view/doctors/index.html
  12. 3 3
      application/manage/view/doctors/permissions.html
  13. 1 1
      application/manage/view/exam/edit.html
  14. 8 8
      application/manage/view/exam/index.html
  15. 1 1
      application/manage/view/examclass/edit.html
  16. 5 5
      application/manage/view/examclass/index.html
  17. 1 1
      application/manage/view/examproject/edit.html
  18. 7 7
      application/manage/view/examproject/index.html
  19. 1 1
      application/manage/view/examsubclass/edit.html
  20. 7 7
      application/manage/view/examsubclass/index.html
  21. 3 3
      application/manage/view/frontmenu/index.html
  22. 6 6
      application/manage/view/index/agent.html
  23. 6 6
      application/manage/view/index/index.html
  24. 7 7
      application/manage/view/index/ins.html
  25. 1 1
      application/manage/view/insdoctors/edit.html
  26. 6 6
      application/manage/view/insdoctors/index.html
  27. 3 3
      application/manage/view/insdoctors/permissions.html
  28. 3 3
      application/manage/view/institution/dept.html
  29. 3 3
      application/manage/view/institution/edit.html
  30. 6 6
      application/manage/view/institution/index.html
  31. 3 3
      application/manage/view/login/index.html
  32. 3 3
      application/manage/view/manager/edit.html
  33. 5 5
      application/manage/view/manager/index.html
  34. 1 1
      application/manage/view/messages/edit.html
  35. 6 6
      application/manage/view/messages/index.html
  36. 6 6
      application/manage/view/order/local.html
  37. 6 6
      application/manage/view/order/remote.html
  38. 1 1
      application/manage/view/patientinfo/edit.html
  39. 5 5
      application/manage/view/patientinfo/index.html
  40. 3 3
      application/manage/view/remote/dept.html
  41. 1 1
      application/manage/view/remote/edit.html
  42. 6 6
      application/manage/view/remote/local.html
  43. 6 6
      application/manage/view/remote/remote.html
  44. 1 1
      application/manage/view/remoteapplication/edit.html
  45. 4 4
      application/manage/view/remoteapplication/index.html
  46. 1 1
      application/manage/view/remotereport/edit.html
  47. 4 4
      application/manage/view/remotereport/index.html
  48. 5 5
      application/manage/view/statistics/index.html
  49. 5 5
      application/manage/view/statistics/list.html
  50. 3 3
      application/manage/view/stats/insstat.html
  51. 2 2
      application/manage/view/studiesnums/index.html
  52. 1 1
      application/manage/view/syslog/index.html
  53. 3 3
      application/manage/view/sysmenu/index.html
  54. 1 1
      application/manage/view/template/edit.html
  55. 5 5
      application/manage/view/template/index.html
  56. 1 2
      application/route.php

+ 1 - 1
application/manage/controller/Base.php

@@ -27,7 +27,7 @@ class Base extends Controller {
     public function _initialize() {
         $admin = Session::get('session_manager');
         if (!$admin) {
-            $this->error('对不起,您还未进行登录,请先登录', './manage/login/index');
+            $this->error('对不起,您还未进行登录,请先登录', '/manage/login/index');
         }
     }
 

+ 2 - 2
application/manage/view/constant/edit.html

@@ -27,7 +27,7 @@
             function save(){
                 var data=$("#myform").serialize();
                 $.ajax({
-                        url:"./manage/constant/save",
+                        url:"/manage/constant/save",
                         data:data,type:"get",
                         success:function(rs){
                             if(rs.indexOf("insert_ok")>=0){
@@ -106,7 +106,7 @@
                     <a type="button" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" onclick="window.parent.closeEditWin('reload');" >关闭</a>
                     {if isset($constant) && $constant['id'] != null  }
                     <a type="button" class="easyui-linkbutton" data-options="iconCls:'icon-remove'" onclick="deleteData('${keywords.id}');" >删除</a>
-                    <a type="button" class="easyui-linkbutton" data-options="iconCls:'icon-add'" onclick="document.location="./manage/constant/edit'" >添加</a>
+                    <a type="button" class="easyui-linkbutton" data-options="iconCls:'icon-add'" onclick="document.location="/manage/constant/edit'" >添加</a>
                     <script >
                     function deleteData(id){
                             if(confirm('你真的要删除这条信息吗?')){

+ 5 - 5
application/manage/view/constant/index.html

@@ -29,7 +29,7 @@
                     $('#parent_id').combotree({
                         required:true,multiple:false,
                         valueField:'id',textField:'text',
-                        url:"./manage/constant/combs"
+                        url:"/manage/constant/combs"
                     });
             })
             
@@ -68,7 +68,7 @@
                 $("#treeGrid").height(height);
                                 
                 $('#treeGrid').treegrid({
-                    url:"./manage/constant/datas', singleSelect:true,selectOnCheck:false,
+                    url:"/manage/constant/datas', singleSelect:true,selectOnCheck:false,
                     idField:'id',method: 'get',rownumbers: true,showFooter: true,
                     treeField: 'name',toolbar: '#tb',
                    // title:"机构信息管理",
@@ -98,9 +98,9 @@
             // 显示编辑窗口
             function showEditWin(id){
                 if("undefined"== typeof id){
-                    $editWin.window('open');$('#editFrame').attr('src',"./manage/constant/edit');
+                    $editWin.window('open');$('#editFrame').attr('src',"/manage/constant/edit');
                 }else{
-                    $editWin.window('open');$('#editFrame').attr('src',"./manage/constant/edit?id='+id);
+                    $editWin.window('open');$('#editFrame').attr('src',"/manage/constant/edit?id='+id);
                 }
             }
             
@@ -108,7 +108,7 @@
                 $.messager.confirm('Confirm','确定要删除这条记录吗?',function(r){
                     if(r){
                         $.ajax({
-                            url:"./manage/constant/delete",
+                            url:"/manage/constant/delete",
                             data:"ids="+id+"&t="+new Date(),
                             success:function(rs){
                                 if(rs=="delete_ok"){

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

@@ -100,7 +100,7 @@
             $("#dg").height(height);
 
             $('#dg').datagrid({
-                url:"./manage/counts/datas',
+                url:"/manage/counts/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,
                 columns:[[
@@ -132,7 +132,7 @@
             var exam2 = $("#exam2").val();
             var exam=$('#exam_class').val();
             var ins = $('#institution option:selected') .val();
-            var url="./manage/counts/datas?exam_class="+(exam==null?"":exam)+"&upload1="+(upload1==null?"":upload1)+"&upload2="+(upload2==null?"":upload2)+"&exam1="+(exam1==null?"":exam1)+"&exam2="+(exam2==null?"":exam2)+"&institution="+(institution==null?"":ins);
+            var url="/manage/counts/datas?exam_class="+(exam==null?"":exam)+"&upload1="+(upload1==null?"":upload1)+"&upload2="+(upload2==null?"":upload2)+"&exam1="+(exam1==null?"":exam1)+"&exam2="+(exam2==null?"":exam2)+"&institution="+(institution==null?"":ins);
             $('#dg').datagrid("reload",url);
         }
 
@@ -144,7 +144,7 @@
             var exam2 = $("#exam2").val();
             var exam=$('#exam_class').val();
             var ins = $('#institution option:selected') .val();
-            var url="./manage/counts/out?exam_class="+(exam==null?"":exam)+"&upload1="+(upload1==null?"":upload1)+"&upload2="+(upload2==null?"":upload2)+"&exam1="+(exam1==null?"":exam1)+"&exam2="+(exam2==null?"":exam2)+"&institution="+(institution==null?"":ins);
+            var url="/manage/counts/out?exam_class="+(exam==null?"":exam)+"&upload1="+(upload1==null?"":upload1)+"&upload2="+(upload2==null?"":upload2)+"&exam1="+(exam1==null?"":exam1)+"&exam2="+(exam2==null?"":exam2)+"&institution="+(institution==null?"":ins);
             form.attr('action',url);
             form.submit();
         }
@@ -153,7 +153,7 @@
             $('#institution_id').combotree({
                 required:true,multiple:false,editable:false,
                 valueField:'id',textField:'name',panelWidth:550,
-                url:"./manage/institution/insCombobox"
+                url:"/manage/institution/insCombobox"
             });
         });
 

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

@@ -31,7 +31,7 @@
 			},
 			async: {
 				enable: true,
-				url:"./manage/department/datas",
+				url:"/manage/department/datas",
 				autoParam:["id", "pId=pid", "name=n", "level=lv"],
 				otherParam:{"otherParam":"zTreeAsyncTest"},
 				dataFilter: filter
@@ -49,7 +49,7 @@
 		function beforeRemove(treeId, treeNode){
 			if(confirm("确定删除节点("+treeNode.name+")?")){
 				$.ajax({
-					url:"./manage/department/delete",
+					url:"/manage/department/delete",
 					data:"id="+treeNode.id+"&t="+new Date(),
 					success:function(rs){
 						if(rs=="delete_ok"){
@@ -114,7 +114,7 @@
 		function save(){
 			var data=$("#myform").serialize();
 			$.ajax({
-				url:"./manage/department/update",
+				url:"/manage/department/update",
 				contentType: "application/x-www-form-urlencoded; charset=utf-8",
 				data:data+"&t="+new Date(),
 				success:function(rs){

+ 1 - 1
application/manage/view/device/edit.html

@@ -10,7 +10,7 @@
         function save() {
             var data = $("#myform").serialize();
             $.ajax({
-                url: "./manage/device/save",
+                url: "/manage/device/save",
                 data: data,
                 type: "get",
                 success: function(rs) {

+ 4 - 4
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);
             }
         }
 
@@ -95,7 +95,7 @@
             $.messager.confirm('Confirm', '确定要删除这条记录吗?', function(r) {
                 if (r) {
                     $.ajax({
-                        url: "./manage/device/del",
+                        url: "/manage/device/del",
                         data: "id=" + id + "&t=" + new Date(),
                         success: function(rs) {
                             if (rs == "delete_ok") {

+ 1 - 1
application/manage/view/doctorclass/edit.html

@@ -10,7 +10,7 @@
             function save(){
                 var data=$("#myform").serialize();
                 $.ajax({
-                        url:"./manage/doctorclass/save",
+                        url:"/manage/doctorclass/save",
                         data:data,type:"get",
                         success:function(rs){
                             if(rs.indexOf("insert_ok")>=0){

+ 4 - 4
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);
             }
         }
 
@@ -89,7 +89,7 @@
             $.messager.confirm('Confirm','确定要删除这条记录吗?',function(r){
                 if(r){
                     $.ajax({
-                        url:"./manage/doctorclass/delete",
+                        url:"/manage/doctorclass/delete",
                         data:"ids="+id+"&t="+new Date(),
                         success:function(rs){
                             if(rs=="delete_ok"){

+ 2 - 2
application/manage/view/doctors/edit.html

@@ -9,7 +9,7 @@
         function save() {
             var data = $("#myform").serialize();
             $.ajax({
-                url: "./manage/doctors/save",
+                url: "/manage/doctors/save",
                 data: data,
                 type: "get",
                 success: function(rs) {
@@ -33,7 +33,7 @@
             $('#institution_id').combotree({
                 required:true,multiple:false,editable:false,
                 valueField:'id',textField:'name',panelWidth:350,
-                url:"./manage/doctors/insCombobox"
+                url:"/manage/doctors/insCombobox"
             });
 
         });

+ 8 - 8
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:[[
@@ -114,27 +114,27 @@
             var insId=$('#institution_id').combotree("getValue");
             var status=$('#status').combobox("getValue");
             var username=$('#username').textbox("getValue");
-            var url="./manage/doctors/datas?status="+(status==null?"":status)+"&insId="+(insId==null?"":insId)+"&username="+(username==null?"":username)+"&t="+new Date();
+            var url="/manage/doctors/datas?status="+(status==null?"":status)+"&insId="+(insId==null?"":insId)+"&username="+(username==null?"":username)+"&t="+new Date();
             $('#gd').datagrid("reload",url);
         }
 
         // 显示编辑窗口
         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){
             $.ajax({
-                url:"./manage/doctors/sendMessage",
+                url:"/manage/doctors/sendMessage",
                 data:"phone="+phone,
                 success:function(rs){
                     if(rs=="ok"){
@@ -151,7 +151,7 @@
             $.messager.confirm('Confirm','确定要删除这条记录吗?',function(r){
                 if(r){
                     $.ajax({
-                        url:"./manage/doctors/delete",
+                        url:"/manage/doctors/delete",
                         data:"ids="+id+"&t="+new Date(),
                         success:function(rs){
                             if(rs=="delete_ok"){
@@ -197,7 +197,7 @@
             $('#institution_id').combotree({
                 required:true,multiple:false,editable:false,
                 valueField:'id',textField:'name',panelWidth:350,
-                url:"./manage/doctors/insCombobox"
+                url:"/manage/doctors/insCombobox"
             });
             $("#reset").click(function(){
                 $('#institution_id').combotree("setValue","");

+ 3 - 3
application/manage/view/doctors/permissions.html

@@ -25,7 +25,7 @@
 			},
 			async: {
 				enable: true,
-				url:"./manage/frontmenu/menudata",
+				url:"/manage/frontmenu/menudata",
 				autoParam:["id", "pId=pid", "name=n", "level=lv"],
 				otherParam:{"otherParam":"zTreeAsyncTest"},
 				dataFilter: filter
@@ -62,7 +62,7 @@
                                     ids+=n.id+",";
                             }
                             $.ajax({
-                                    url:"./manage/doctors/saveMenuPermit",
+                                    url:"/manage/doctors/saveMenuPermit",
                                     data:"id={$id}&ids="+ids+"&t="+new Date(),
                                     success:function(rs){
                                             if(rs=="ok"){
@@ -85,7 +85,7 @@
                     var reportPermit=$("input[name='permit_report']:checked").val();
                     if(reportPermit!=null){
                         $.ajax({
-                                url:"./manage/insdoctors/saveReportPermit",
+                                url:"/manage/insdoctors/saveReportPermit",
                                 data:"id={$id}&report="+reportPermit+"&t="+new Date(),
                                 success:function(rs){
                                         if(rs=="ok"){

+ 1 - 1
application/manage/view/exam/edit.html

@@ -9,7 +9,7 @@
             function save(){
                 var data=$("#myform").serialize();
                 $.ajax({
-                        url:"./manage/exam/save",
+                        url:"/manage/exam/save",
                         data:data,type:"get",
                         success:function(rs){
                             if(rs=="update_ok"){

+ 8 - 8
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);
+                    //$editWin.window('open');$('#editFrame').attr('src',"/manage/exam/edit?id='+id);
+                    window.parent.openSupperWin('诊断信息查看',"/manage/exam/edit?id='+id);
                 }
             }
             
@@ -177,7 +177,7 @@
                 $.messager.confirm('Confirm','确定要删除这条记录吗?',function(r){
                     if(r){
                         $.ajax({
-                            url:"./manage/manager/delete",
+                            url:"/manage/manager/delete",
                             data:"ids="+id+"&t="+new Date(),
                             success:function(rs){
                                 if(rs=="delete_ok"){
@@ -204,14 +204,14 @@
                 $('#dept_id').combotree({
                     required:true,multiple:false,editable:false,
                     valueField:'id',textField:'name',panelWidth:250,
-                    url:"./manage/institution/insDept"
+                    url:"/manage/institution/insDept"
                 });
                 $('#institution_id').combotree({
                     required:true,multiple:false,editable:false,
                     valueField:'id',textField:'name',panelWidth:550,
-                    url:"./manage/institution/insCombobox",
+                    url:"/manage/institution/insCombobox",
                     onChange:function(newVal,oldVal){
-                        var url="./manage/institution/insDept?insid="+newVal;
+                        var url="/manage/institution/insDept?insid="+newVal;
                         $('#dept_id').combotree("setValue","");
                         $('#dept_id').combotree("reload",url);
                     }

+ 1 - 1
application/manage/view/examclass/edit.html

@@ -27,7 +27,7 @@
             function save(){
                 var data=$("#myform").serialize();
                 $.ajax({
-                        url:"./manage/examclass/save",
+                        url:"/manage/examclass/save",
                         data:data,type:"get",
                         success:function(rs){
                             if(rs.indexOf("insert_ok")>=0){

+ 5 - 5
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);
             }
         }
 
@@ -89,7 +89,7 @@
             $.messager.confirm('Confirm','确定要删除这条记录吗?',function(r){
                 if(r){
                     $.ajax({
-                        url:"./manage/examproject/delete",
+                        url:"/manage/examproject/delete",
                         data:"ids="+id+"&t="+new Date(),
                         success:function(rs){
                             if(rs=="delete_ok"){
@@ -116,7 +116,7 @@
             $('#institution_id').combotree({
                 required:true,multiple:false,editable:false,
                 valueField: 'id', textField: 'name', panelWidth: 550,
-                url: "./manage/institution/insCombobox"
+                url: "/manage/institution/insCombobox"
             });
         });
 

+ 1 - 1
application/manage/view/examproject/edit.html

@@ -10,7 +10,7 @@
             function save(){
                 var data=$("#myform").serialize();
                 $.ajax({
-                        url:"./manage/examproject/save",
+                        url:"/manage/examproject/save",
                         data:data,type:"get",
                         success:function(rs){
                             if(rs.indexOf("insert_ok")>=0){

+ 7 - 7
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);
             }
         }
 
@@ -93,7 +93,7 @@
             $.messager.confirm('Confirm','确定要删除这条记录吗?',function(r){
                 if(r){
                     $.ajax({
-                        url:"./manage/examproject/delete",
+                        url:"/manage/examproject/delete",
                         data:"ids="+id+"&t="+new Date(),
                         success:function(rs){
                             if(rs=="delete_ok"){
@@ -120,14 +120,14 @@
             $('#class_id').combotree({
                 required:true,multiple:false,editable:false,
                 valueField:'id',textField:'name',panelWidth:250,
-                url:"./manage/institution/examclass"
+                url:"/manage/institution/examclass"
             });
             $('#institution_id').combotree({
                 required:true,multiple:false,editable:false,
                 valueField:'id',textField:'name',panelWidth:550,
-                url:"./manage/institution/insCombobox",
+                url:"/manage/institution/insCombobox",
                 onChange:function(newVal,oldVal){
-                    var url="./manage/institution/examclass?insid="+newVal;
+                    var url="/manage/institution/examclass?insid="+newVal;
                     $('#class_id').combotree("setValue","");
                     $('#class_id').combotree("reload",url);
                 }

+ 1 - 1
application/manage/view/examsubclass/edit.html

@@ -10,7 +10,7 @@
             function save(){
                 var data=$("#myform").serialize();
                 $.ajax({
-                        url:"./manage/examsubclass/save",
+                        url:"/manage/examsubclass/save",
                         data:data,type:"get",
                         success:function(rs){
                             if(rs.indexOf("insert_ok")>=0){

+ 7 - 7
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);
             }
         }
 
@@ -93,7 +93,7 @@
             $.messager.confirm('Confirm','确定要删除这条记录吗?',function(r){
                 if(r){
                     $.ajax({
-                        url:"./manage/examsubclass/delete",
+                        url:"/manage/examsubclass/delete",
                         data:"ids="+id+"&t="+new Date(),
                         success:function(rs){
                             if(rs=="delete_ok"){
@@ -120,14 +120,14 @@
             $('#class_id').combotree({
                 required:true,multiple:false,editable:false,
                 valueField:'id',textField:'name',panelWidth:250,
-                url:"./manage/institution/examclass"
+                url:"/manage/institution/examclass"
             });
             $('#institution_id').combotree({
                 required:true,multiple:false,editable:false,
                 valueField:'id',textField:'name',panelWidth:550,
-                url:"./manage/institution/insCombobox",
+                url:"/manage/institution/insCombobox",
                 onChange:function(newVal,oldVal){
-                    var url="./manage/institution/examclass?insid="+newVal;
+                    var url="/manage/institution/examclass?insid="+newVal;
                     $('#class_id').combotree("setValue","");
                     $('#class_id').combotree("reload",url);
                 }

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

@@ -31,7 +31,7 @@
 			},
 			async: {
 				enable: true,
-				url:"./manage/frontmenu/menudata",
+				url:"/manage/frontmenu/menudata",
 				autoParam:["id", "pId=pid", "name=n", "level=lv"],
 				otherParam:{"otherParam":"zTreeAsyncTest"},
 				dataFilter: filter
@@ -49,7 +49,7 @@
 		function beforeRemove(treeId, treeNode){
 			if(confirm("确定删除节点("+treeNode.name+")?")){
 				$.ajax({
-					url:"./manage/frontmenu/delete",
+					url:"/manage/frontmenu/delete",
 					data:"id="+treeNode.id+"&t="+new Date(),
 					success:function(rs){
 						if(rs=="delete_ok"){
@@ -114,7 +114,7 @@
 		function save(){
 			var data=$("#myform").serialize();
 			$.ajax({
-				url:"./manage/frontmenu/update",
+				url:"/manage/frontmenu/update",
 				contentType: "application/x-www-form-urlencoded; charset=utf-8",
 				data:data+"&t="+new Date(),
 				success:function(rs){

+ 6 - 6
application/manage/view/index/agent.html

@@ -51,12 +51,12 @@
                treeData.push({"id":"1","text":"第一个菜单"});
                
                var msgChildTreeData=new Array();
-               msgChildTreeData.push({"id":"sys_menu","text":"菜单管理","url":"./manage/menu/index","target":"tabindex" });
+               msgChildTreeData.push({"id":"sys_menu","text":"菜单管理","url":"/manage/menu/index","target":"tabindex" });
                
                treeData.push({"id":"sys","text":"系统管理","children":msgChildTreeData});
                
                 $('#menutree').tree({
-                    url:"./manage/index/menudata",
+                    url:"/manage/index/menudata",
                     onClick:function(menuEl){
                         if(menuEl.href!=null){
                             open_panel(menuEl.text,menuEl.href);
@@ -94,11 +94,11 @@
             
             function logout(){
                 $.ajax({
-                    url:"./manage/login/logout",
+                    url:"/manage/login/logout",
                     data:"t="+new Date(),
                     success:function(rs){
                         if(rs=="ok"){
-                            document.location="./manage/login/index";
+                            document.location="/manage/login/index";
                         }
                     },error:function(e,e1,e2){
                         alert(e2);
@@ -110,7 +110,7 @@
             function save(){
                 var data=$("#myform").serialize();
                 $.ajax({
-                        url:"./manage/index/saveUserInfo",
+                        url:"/manage/index/saveUserInfo",
                         data:data,type:"get",
                         success:function(rs){
                             if(rs=="ok"){
@@ -157,7 +157,7 @@
 		<div data-options="region:'center',split:false,border:false" >
                     <div id="mainTabs" data-options="fit:true,border:false" class="easyui-tabs" >
                         <div title="欢迎使用" style="overflow: hidden;">
-                            <iframe id="tabindex" name="tabindex" src="./manage/index/welcome" style="width: 100%; height: 100%; border: 0;" scrolling="no" ></iframe>
+                            <iframe id="tabindex" name="tabindex" src="/manage/index/welcome" style="width: 100%; height: 100%; border: 0;" scrolling="no" ></iframe>
                         </div>
                     </div>
 		</div>

+ 6 - 6
application/manage/view/index/index.html

@@ -55,12 +55,12 @@
                treeData.push({"id":"1","text":"第一个菜单"});
                
                var msgChildTreeData=new Array();
-               msgChildTreeData.push({"id":"sys_menu","text":"菜单管理","url":"./manage/menu/index","target":"tabindex" });
+               msgChildTreeData.push({"id":"sys_menu","text":"菜单管理","url":"/manage/menu/index","target":"tabindex" });
                
                treeData.push({"id":"sys","text":"系统管理","children":msgChildTreeData});
                
                 $('#menutree').tree({
-                    url:"./manage/index/menudata",
+                    url:"/manage/index/menudata",
                     onClick:function(menuEl){
                         if(menuEl.href!=null){
                             open_panel(menuEl.text,menuEl.href);
@@ -98,11 +98,11 @@
             
             function logout(){
                 $.ajax({
-                    url:"./manage/login/logout",
+                    url:"/manage/login/logout",
                     data:"t="+new Date(),
                     success:function(rs){
                         if(rs=="ok"){
-                            document.location="./manage/login/index";
+                            document.location="/manage/login/index";
                         }
                     },error:function(e,e1,e2){
                         alert(e2);
@@ -114,7 +114,7 @@
             function save(){
                 var data=$("#myform").serialize();
                 $.ajax({
-                        url:"./manage/index/saveUserInfo",
+                        url:"/manage/index/saveUserInfo",
                         data:data,type:"get",
                         success:function(rs){
                             if(rs=="ok"){
@@ -162,7 +162,7 @@
 		<div data-options="region:'center',split:false,border:false" >
                     <div id="mainTabs" data-options="fit:true,border:false" class="easyui-tabs" >
                         <div title="欢迎使用" style="overflow: hidden;">
-                            <iframe id="tabindex" name="tabindex" src="./manage/index/welcome" style="width: 100%; height: 100%; border: 0;" scrolling="no" ></iframe>
+                            <iframe id="tabindex" name="tabindex" src="/manage/index/welcome" style="width: 100%; height: 100%; border: 0;" scrolling="no" ></iframe>
                         </div>
                     </div>
 		</div>

+ 7 - 7
application/manage/view/index/ins.html

@@ -57,11 +57,11 @@
             
             function logout(){
                 $.ajax({
-                    url:"./manage/login/logout",
+                    url:"/manage/login/logout",
                     data:"t="+new Date(),
                     success:function(rs){
                         if(rs=="ok"){
-                            document.location="./manage/login/index";
+                            document.location="/manage/login/index";
                         }
                     },error:function(e,e1,e2){
                         alert(e2);
@@ -73,7 +73,7 @@
             function save(){
                 var data=$("#myform").serialize();
                 $.ajax({
-                        url:"./manage/index/saveUserInfo",
+                        url:"/manage/index/saveUserInfo",
                         data:data,type:"get",
                         success:function(rs){
                             if(rs=="ok"){
@@ -88,10 +88,10 @@
             }
             
             var urls=new Array();
-            urls[0]={ name :"医生管理", url :"./manage/insdoctors/index"};
-            urls[1]={"name":"科室管理","url":"./manage/insdoctors/deptview"};
-            urls[2]={"name":"数据统计信息","url":"./manage/counts/index"};
-            urls[3]={"name":"医院远程报告统计","url":"./manage/statistics/index"};
+            urls[0]={ name :"医生管理", url :"/manage/insdoctors/index"};
+            urls[1]={"name":"科室管理","url":"/manage/insdoctors/deptview"};
+            urls[2]={"name":"数据统计信息","url":"/manage/counts/index"};
+            urls[3]={"name":"医院远程报告统计","url":"/manage/statistics/index"};
             var intV=null;
             
             function openUserPanels(){

+ 1 - 1
application/manage/view/insdoctors/edit.html

@@ -9,7 +9,7 @@
         function save() {
             var data = $("#myform").serialize();
             $.ajax({
-                url: "./manage/insdoctors/save",
+                url: "/manage/insdoctors/save",
                 data: data,
                 type: "get",
                 success: function(rs) {

+ 6 - 6
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:[[
@@ -112,29 +112,29 @@
         function reload(){
             var status=$('#status').combobox("getValue");
             var username=$('#username').textbox("getValue");
-            var url="./manage/insdoctors/datas?status="+(status==null?"":status)+"&&username="+(username==null?"":username)+"&t="+new Date();
+            var url="/manage/insdoctors/datas?status="+(status==null?"":status)+"&&username="+(username==null?"":username)+"&t="+new Date();
             $('#gd').datagrid("reload",url);
         }
 
         // 显示编辑窗口
         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){
             $.messager.confirm('Confirm','确定要删除这条记录吗?',function(r){
                 if(r){
                     $.ajax({
-                        url:"./manage/insdoctors/delete",
+                        url:"/manage/insdoctors/delete",
                         data:"ids="+id+"&t="+new Date(),
                         success:function(rs){
                             if(rs=="delete_ok"){

+ 3 - 3
application/manage/view/insdoctors/permissions.html

@@ -25,7 +25,7 @@
 			},
 			async: {
 				enable: true,
-				url:"./manage/frontmenu/menudata",
+				url:"/manage/frontmenu/menudata",
 				autoParam:["id", "pId=pid", "name=n", "level=lv"],
 				otherParam:{"otherParam":"zTreeAsyncTest"},
 				dataFilter: filter
@@ -62,7 +62,7 @@
                                     ids+=n.id+",";
                             }
                             $.ajax({
-                                    url:"./manage/insdoctors/saveMenuPermit",
+                                    url:"/manage/insdoctors/saveMenuPermit",
                                     data:"id={$id}&ids="+ids+"&t="+new Date(),
                                     success:function(rs){
                                             if(rs=="ok"){
@@ -85,7 +85,7 @@
                     var reportPermit=$("input[name='permit_report']:checked").val();
                     if(reportPermit!=null){
                         $.ajax({
-                                url:"./manage/insdoctors/saveReportPermit",
+                                url:"/manage/insdoctors/saveReportPermit",
                                 data:"id={$id}&report="+reportPermit+"&t="+new Date(),
                                 success:function(rs){
                                         if(rs=="ok"){

+ 3 - 3
application/manage/view/institution/dept.html

@@ -31,7 +31,7 @@
 			},
 			async: {
 				enable: true,
-				url:"./manage/institution/deptdatas?insId={$insId}",
+				url:"/manage/institution/deptdatas?insId={$insId}",
 				autoParam:["id", "pId=pid", "name=n", "level=lv"],
 				otherParam:{"otherParam":"zTreeAsyncTest"},
 				dataFilter: filter
@@ -49,7 +49,7 @@
 		function beforeRemove(treeId, treeNode){
 			if(confirm("确定删除节点("+treeNode.name+")?")){
 				$.ajax({
-					url:"./manage/institution/deptdel",
+					url:"/manage/institution/deptdel",
 					data:"id="+treeNode.id+"&t="+new Date(),
 					success:function(rs){
 						if(rs=="delete_ok"){
@@ -112,7 +112,7 @@
 		function save(){
 			var data=$("#myform").serialize();
 			$.ajax({
-				url:"./manage/institution/deptupd",
+				url:"/manage/institution/deptupd",
 				contentType: "application/x-www-form-urlencoded; charset=utf-8",
 				data:data+"&t="+new Date(),
 				success:function(rs){

+ 3 - 3
application/manage/view/institution/edit.html

@@ -34,7 +34,7 @@
                 
                 $('#agent_id').combobox({
                     required:true,multiple:false, valueField:'id',textField:'text',
-                    url:"./manage/institution/agents"
+                    url:"/manage/institution/agents"
                 });
                 
                 
@@ -49,7 +49,7 @@
                 }
                 var data=$("#myform").serialize();
                 $.ajax({
-                        url:"./manage/institution/save",
+                        url:"/manage/institution/save",
                         data:data,type:"get",
                         success:function(rs){
                             if(rs.indexOf("insert_ok")>=0){
@@ -158,7 +158,7 @@
                     <a type="button" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" onclick="window.parent.closeEditWin('reload');" >关闭</a>
                     {if isset($institution) && $institution['id'] != null  }
                     <a type="button" class="easyui-linkbutton" data-options="iconCls:'icon-remove'" onclick="deleteData('${keywords.id}');" >删除</a>
-                    <a type="button" class="easyui-linkbutton" data-options="iconCls:'icon-add'" onclick="document.location="./manage/institution/edit'" >添加</a>
+                    <a type="button" class="easyui-linkbutton" data-options="iconCls:'icon-add'" onclick="document.location="/manage/institution/edit'" >添加</a>
                     <script >
                     function deleteData(id){
                             if(confirm('你真的要删除这条信息吗?')){

+ 6 - 6
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);
                 }
             }
             
@@ -169,7 +169,7 @@
                 $.messager.confirm('Confirm','确定要删除这条记录吗?',function(r){
                     if(r){
                         $.ajax({
-                            url:"./manage/institution/delete",
+                            url:"/manage/institution/delete",
                             data:"ids="+id+"&t="+new Date(),
                             success:function(rs){
                                 if(rs=="delete_ok"){
@@ -196,7 +196,7 @@
                 $('#institution_id').combotree({
                     required:true,multiple:false,editable:false,
                     valueField:'id',textField:'name',panelWidth:350,
-                    url:"./manage/institution/insCombobox"
+                    url:"/manage/institution/insCombobox"
                 });
                 $("#reset").click(function(){
                     $('#institution_id').combotree("setValue","");

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

@@ -57,7 +57,7 @@
            // 重新加载验证码
            function reloadVcode(){
                $("#vcode").val("");
-               $("#vcodeImg").attr("src","./manage/login/vcode?t="+new Date());
+               $("#vcodeImg").attr("src","/manage/login/vcode?t="+new Date());
            }
            
            function logins(){
@@ -66,14 +66,14 @@
                var vcode=$("#vcode").val();
                var formData="username="+username+"&password="+password+"&vcode="+vcode+"&t="+new Date();
                $.ajax({
-                   url:"./manage/login/logins",
+                   url:"/manage/login/logins",
                    data:formData,
                    type:"get",
                    success:function(rs){
                        $("#vcode").val("");
                        if(rs=="ok"){
                            $("#loginInfoSpan").text("登录成功!");
-                           document.location="./manage/index/index";
+                           document.location="/manage/index/index";
                        }else if(rs=="fail:vcode"){
                            $("#loginInfoSpan").text("登录失败,验证码错误!");
                            $("#vcode").textbox("setValue","");

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

@@ -20,7 +20,7 @@
                 $('#institution_id').combotree({
                     required:true,multiple:true,cascadeCheck: false,
                     valueField:'id',textField:'name',panelWidth:350,
-                    url:"./manage/doctors/insCombobox"
+                    url:"/manage/doctors/insCombobox"
                 });
                 $('#role_id').combotree({
                     required:true,multiple:false,cascadeCheck: false,
@@ -33,7 +33,7 @@
             function save(){
                 var data=$("#myform").serialize();
                 $.ajax({
-                        url:"./manage/manager/save",
+                        url:"/manage/manager/save",
                         data:data,type:"get",
                         success:function(rs){
                             if(rs.indexOf("insert_ok")>=0){
@@ -138,7 +138,7 @@
                     <a type="button" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" onclick="window.parent.closeEditWin('reload');" >关闭</a>
                     {if isset($manager) && $manager['id'] != null  }
                     <a type="button" class="easyui-linkbutton" data-options="iconCls:'icon-remove'" onclick="deleteData('${keywords.id}');" >删除</a>
-                    <a type="button" class="easyui-linkbutton" data-options="iconCls:'icon-add'" onclick="document.location="./manage/institution/edit'" >添加</a>
+                    <a type="button" class="easyui-linkbutton" data-options="iconCls:'icon-add'" onclick="document.location="/manage/institution/edit'" >添加</a>
                     <script >
                     function deleteData(id){
                             if(confirm('你真的要删除这条信息吗?')){

+ 5 - 5
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:[[
@@ -115,16 +115,16 @@
             function reload(){
                 var status=$("#status").val();
                 var username=$("#username").val();
-                var url="./manage/manager/datas?status="+(status==null?"":status)+"&username="+(username==null?"":username)+"&t="+new Date();
+                var url="/manage/manager/datas?status="+(status==null?"":status)+"&username="+(username==null?"":username)+"&t="+new Date();
                 $('#gd').datagrid("reload",url);
             }
             
             // 显示编辑窗口
             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);
                 }
             }
             
@@ -132,7 +132,7 @@
                 $.messager.confirm('Confirm','确定要删除这条记录吗?',function(r){
                     if(r){
                         $.ajax({
-                            url:"./manage/manager/delete",
+                            url:"/manage/manager/delete",
                             data:"ids="+id+"&t="+new Date(),
                             success:function(rs){
                                 if(rs=="delete_ok"){

+ 1 - 1
application/manage/view/messages/edit.html

@@ -10,7 +10,7 @@
             function save(){
                 var data=$("#myform").serialize();
                 $.ajax({
-                        url:"./manage/messages/save",
+                        url:"/manage/messages/save",
                         data:data,type:"get",
                         success:function(rs){
                             if(rs.indexOf("insert_ok")>=0){

+ 6 - 6
application/manage/view/messages/index.html

@@ -52,7 +52,7 @@
             $("#dg").height(height);
 
             $('#dg').datagrid({
-                url:"./manage/messages/datas',
+                url:"/manage/messages/datas',
                 idField:'id',method: 'get',rownumbers: true,showFooter: true,
                 toolbar: '#tb',pageList: [dgRowSize,dgRowSize*2,100],pagination:true,pageSize:dgRowSize,
                 columns:[[
@@ -74,7 +74,7 @@
             $('#institution_id').combotree({
                 required:true,multiple:false,editable:false,
                 valueField:'id',textField:'name',panelWidth:350,
-                url:"./manage/doctors/insCombobox"
+                url:"/manage/doctors/insCombobox"
             });
 
 
@@ -83,16 +83,16 @@
         function reload(){
             var insId=$('#institution_id').combotree("getValue");
             var status=$('#status').combobox("getValue");
-            var url="./manage/messages/datas?status="+(status==null?"":status)+"&insId="+(insId==null?"":insId)+"&t="+new Date();
+            var url="/manage/messages/datas?status="+(status==null?"":status)+"&insId="+(insId==null?"":insId)+"&t="+new Date();
             $('#dg').datagrid("reload",url);
         }
 
         // 显示编辑窗口
         function showEditWin(id){
             if("undefined"== typeof id){
-                $editWin.window('open');$('#editFrame').attr('src',"./manage/messages/edit');
+                $editWin.window('open');$('#editFrame').attr('src',"/manage/messages/edit');
             }else{
-                $editWin.window('open');$('#editFrame').attr('src',"./manage/messages/edit?id='+id);
+                $editWin.window('open');$('#editFrame').attr('src',"/manage/messages/edit?id='+id);
             }
         }
 
@@ -100,7 +100,7 @@
             $.messager.confirm('Confirm','确定要删除这条记录吗?',function(r){
                 if(r){
                     $.ajax({
-                        url:"./manage/messages/delete",
+                        url:"/manage/messages/delete",
                         data:"ids="+id+"&t="+new Date(),
                         success:function(rs){
                             if(rs=="delete_ok"){

+ 6 - 6
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);
                 }
             }
             
@@ -210,7 +210,7 @@
                 $.messager.confirm('Confirm','确定要删除这条记录吗?',function(r){
                     if(r){
                         $.ajax({
-                            url:"./manage/institution/delete",
+                            url:"/manage/institution/delete",
                             data:"ids="+id+"&t="+new Date(),
                             success:function(rs){
                                 if(rs=="delete_ok"){
@@ -237,7 +237,7 @@
                 $('#institution_id').combotree({
                     required:true,multiple:false,editable:false,
                     valueField:'id',textField:'name',panelWidth:350,
-                    url:"./manage/institution/insCombobox"
+                    url:"/manage/institution/insCombobox"
                 });
                 $("#reset").click(function(){
                     $('#institution_id').combotree("setValue","");

+ 6 - 6
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);
                 }
             }
             
@@ -210,7 +210,7 @@
                 $.messager.confirm('Confirm','确定要删除这条记录吗?',function(r){
                     if(r){
                         $.ajax({
-                            url:"./manage/institution/delete",
+                            url:"/manage/institution/delete",
                             data:"ids="+id+"&t="+new Date(),
                             success:function(rs){
                                 if(rs=="delete_ok"){
@@ -237,7 +237,7 @@
                 $('#institution_id').combotree({
                     required:true,multiple:false,editable:false,
                     valueField:'id',textField:'name',panelWidth:350,
-                    url:"./manage/institution/insCombobox"
+                    url:"/manage/institution/insCombobox"
                 });
                 $("#reset").click(function(){
                     $('#institution_id').combotree("setValue","");

+ 1 - 1
application/manage/view/patientinfo/edit.html

@@ -9,7 +9,7 @@
             function save(){
                 var data=$("#myform").serialize();
                 $.ajax({
-                        url:"./manage/patientinfo/save",
+                        url:"/manage/patientinfo/save",
                         data:data,type:"get",
                         success:function(rs){
                             if(rs.indexOf("insert_ok")>=0){

+ 5 - 5
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);
             }
         }
 
@@ -121,7 +121,7 @@
             $.messager.confirm('Confirm','确定要删除这条记录吗?',function(r){
                 if(r){
                     $.ajax({
-                        url:"./manage/patientinfo/delete",
+                        url:"/manage/patientinfo/delete",
                         data:"ids="+id+"&t="+new Date(),
                         success:function(rs){
                             if(rs=="delete_ok"){
@@ -148,7 +148,7 @@
             $('#institution_id').combotree({
                 required:true,multiple:false,editable:false,
                 valueField: 'id', textField: 'name', panelWidth: 550,
-                url: "./manage/institution/insCombobox"
+                url: "/manage/institution/insCombobox"
             });
         });
 

+ 3 - 3
application/manage/view/remote/dept.html

@@ -31,7 +31,7 @@
 			},
 			async: {
 				enable: true,
-				url:"./manage/institution/deptdatas?insId={$insId}",
+				url:"/manage/institution/deptdatas?insId={$insId}",
 				autoParam:["id", "pId=pid", "name=n", "level=lv"],
 				otherParam:{"otherParam":"zTreeAsyncTest"},
 				dataFilter: filter
@@ -49,7 +49,7 @@
 		function beforeRemove(treeId, treeNode){
 			if(confirm("确定删除节点("+treeNode.name+")?")){
 				$.ajax({
-					url:"./manage/institution/deptdel",
+					url:"/manage/institution/deptdel",
 					data:"id="+treeNode.id+"&t="+new Date(),
 					success:function(rs){
 						if(rs=="delete_ok"){
@@ -112,7 +112,7 @@
 		function save(){
 			var data=$("#myform").serialize();
 			$.ajax({
-				url:"./manage/institution/deptupd",
+				url:"/manage/institution/deptupd",
 				contentType: "application/x-www-form-urlencoded; charset=utf-8",
 				data:data+"&t="+new Date(),
 				success:function(rs){

+ 1 - 1
application/manage/view/remote/edit.html

@@ -11,7 +11,7 @@
             function save(){
                 var data=$("#myform").serialize();
                 $.ajax({
-                        url:"./manage/remote/save",
+                        url:"/manage/remote/save",
                         data:data,type:"get",
                         success:function(rs){
                             if(rs.indexOf("insert_ok")>=0){

+ 6 - 6
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);
                 }
             }
             
@@ -179,7 +179,7 @@
                 $.messager.confirm('Confirm','确定要删除这条记录吗?',function(r){
                     if(r){
                         $.ajax({
-                            url:"./manage/remote/delete",
+                            url:"/manage/remote/delete",
                             data:"ids="+id+"&t="+new Date(),
                             success:function(rs){
                                 if(rs=="delete_ok"){
@@ -206,7 +206,7 @@
                 $('#institution_id').combotree({
                     required:true,multiple:false,editable:false,
                     valueField:'id',textField:'name',panelWidth:350,
-                    url:"./manage/institution/insCombobox"
+                    url:"/manage/institution/insCombobox"
                 });
                 $("#reset").click(function(){
                     $('#institution_id').combotree("setValue","");

+ 6 - 6
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);
                 }
             }
             
@@ -180,7 +180,7 @@
                 $.messager.confirm('Confirm','确定要删除这条记录吗?',function(r){
                     if(r){
                         $.ajax({
-                            url:"./manage/remote/delete",
+                            url:"/manage/remote/delete",
                             data:"ids="+id+"&t="+new Date(),
                             success:function(rs){
                                 if(rs=="delete_ok"){
@@ -207,7 +207,7 @@
                 $('#institution_id').combotree({
                     required:true,multiple:false,editable:false,
                     valueField:'id',textField:'name',panelWidth:350,
-                    url:"./manage/institution/insCombobox"
+                    url:"/manage/institution/insCombobox"
                 });
                 $("#reset").click(function(){
                     $('#institution_id').combotree("setValue","");

+ 1 - 1
application/manage/view/remoteapplication/edit.html

@@ -10,7 +10,7 @@
             function save(){
                 var data=$("#myform").serialize();
                 $.ajax({
-                        url:"./manage/remoteapplication/save",
+                        url:"/manage/remoteapplication/save",
                         data:data,type:"get",
                         success:function(rs){
                             if(rs.indexOf("insert_ok")>=0){

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

@@ -67,7 +67,7 @@
             $("#gd").height(height);
 
             $('#gd').datagrid({
-                url:"./manage/remoteapplication/datas',
+                url:"/manage/remoteapplication/datas',
                 idField:'id',method: 'get',rownumbers: true,showFooter: true,
                 toolbar: '#tb',pageList: [ dgRowSize , dgRowSize*2 , 100 ] , pagination:true, pageSize: dgRowSize ,
                 columns:[[
@@ -107,9 +107,9 @@
         // 显示编辑窗口
         function showEditWin(id){
             if("undefined"== typeof id){
-                $editWin.window('open');$('#editFrame').attr('src','./manage/remoteapplication/edit');
+                $editWin.window('open');$('#editFrame').attr('src','/manage/remoteapplication/edit');
             }else{
-                $editWin.window('open');$('#editFrame').attr('src','./manage/remoteapplication/edit?id='+id);
+                $editWin.window('open');$('#editFrame').attr('src','/manage/remoteapplication/edit?id='+id);
             }
         }
 
@@ -117,7 +117,7 @@
             $.messager.confirm('Confirm','确定要删除这条记录吗?',function(r){
                 if(r){
                     $.ajax({
-                        url:"./manage/remoteapplication/delete",
+                        url:"/manage/remoteapplication/delete",
                         data:"ids="+id+"&t="+new Date(),
                         success:function(rs){
                             if(rs=="delete_ok"){

+ 1 - 1
application/manage/view/remotereport/edit.html

@@ -10,7 +10,7 @@
             function save(){
                 var data=$("#myform").serialize();
                 $.ajax({
-                        url:"./manage/remotereport/save",
+                        url:"/manage/remotereport/save",
                         data:data,type:"get",
                         success:function(rs){
                             if(rs.indexOf("insert_ok")>=0){

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

@@ -53,7 +53,7 @@
             $("#gd").height(height);
 
             $('#gd').datagrid({
-                url:'./manage/remotereport/datas',
+                url:'/manage/remotereport/datas',
                 idField:'id',method: 'get',rownumbers: true,showFooter: true,
                 toolbar: '#tb',pageList: [ dgRowSize ,dgRowSize*2 , 100 ], pagination:true, pageSize: dgRowSize ,
                 columns:[[
@@ -75,9 +75,9 @@
         // 显示编辑窗口
         function showEditWin(id){
             if("undefined"== typeof id){
-                $editWin.window('open');$('#editFrame').attr('src','./manage/remotereport/edit');
+                $editWin.window('open');$('#editFrame').attr('src','/manage/remotereport/edit');
             }else{
-                $editWin.window('open');$('#editFrame').attr('src','./manage/remotereport/edit?id='+id);
+                $editWin.window('open');$('#editFrame').attr('src','/manage/remotereport/edit?id='+id);
             }
         }
 
@@ -85,7 +85,7 @@
             $.messager.confirm('Confirm','确定要删除这条记录吗?',function(r){
                 if(r){
                     $.ajax({
-                        url:"./manage/remotereport/delete",
+                        url:"/manage/remotereport/delete",
                         data:"ids="+id+"&t="+new Date(),
                         success:function(rs){
                             if(rs=="delete_ok"){

+ 5 - 5
application/manage/view/statistics/index.html

@@ -37,7 +37,7 @@
             // 显示编辑窗口
             function showEditWin(id){
                 if("undefined"== typeof id){
-                    $editWin.window('open');$('#editFrame').attr('src','./manage/statistics/list');
+                    $editWin.window('open');$('#editFrame').attr('src','/manage/statistics/list');
                 }
             }
             function statusFormatter(status){
@@ -87,7 +87,7 @@
                 $("#dg").height(height);
                                 
                 $('#dg').datagrid({
-                    url:'./manage/statistics/datas',
+                    url:'/manage/statistics/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,
                     columns:[[
@@ -106,7 +106,7 @@
             function reload(){
                 var upload1 = $("#upload1").val();
                 var upload2 = $("#upload2").val();
-                var url="./manage/Statistics/datas?upload1="+(upload1==null?"":upload1)+"&upload2="+(upload2==null?"":upload2);
+                var url="/manage/Statistics/datas?upload1="+(upload1==null?"":upload1)+"&upload2="+(upload2==null?"":upload2);
                 $('#dg').datagrid("reload",url);
             }
 
@@ -114,7 +114,7 @@
                 var form = $("#form");
                 var upload1 = $("#upload1").val();
                 var upload2 = $("#upload2").val();
-                var url="./manage/Statistics/out?upload1="+(upload1==null?"":upload1)+"&upload2="+(upload2==null?"":upload2);
+                var url="/manage/Statistics/out?upload1="+(upload1==null?"":upload1)+"&upload2="+(upload2==null?"":upload2);
                 form.attr('action',url);
                 form.submit();
             }
@@ -123,7 +123,7 @@
                 $('#institution_id').combotree({
                     required:true,multiple:false,editable:false,
                     valueField:'id',textField:'name',panelWidth:550,
-                    url:"./manage/institution/insCombobox"
+                    url:"/manage/institution/insCombobox"
                 });
             });
             

+ 5 - 5
application/manage/view/statistics/list.html

@@ -37,7 +37,7 @@
             // 显示编辑窗口
             function showEditWin(id){
                 if("undefined"== typeof id){
-                    $editWin.window('open');$('#editFrame').attr('src','./manage/statistics/edit');
+                    $editWin.window('open');$('#editFrame').attr('src','/manage/statistics/edit');
                 }
             }
             function statusFormatter(status){
@@ -87,7 +87,7 @@
                 $("#dg").height(height);
                                 
                 $('#dg').datagrid({
-                    url:'./manage/statistics/infos',
+                    url:'/manage/statistics/infos',
                     idField:'id',method: 'get',rownumbers: true,showFooter: true,singleSelect:true,selectOnCheck:false,
                     toolbar: '#tb',pageList: [dgRowSize,dgRowSize*2,50,100],pagination:true,pageSize:dgRowSize,
                     columns:[[
@@ -112,7 +112,7 @@
             function reload(){
                 var upload1 = $("#upload1").val();
                 var upload2 = $("#upload2").val();
-                var url="./manage/Statistics/infos?upload1="+(upload1==null?"":upload1)+"&upload2="+(upload2==null?"":upload2);
+                var url="/manage/Statistics/infos?upload1="+(upload1==null?"":upload1)+"&upload2="+(upload2==null?"":upload2);
                 $('#dg').datagrid("reload",url);
             }
 
@@ -120,7 +120,7 @@
                 var form = $("#form");
                 var upload1 = $("#upload1").val();
                 var upload2 = $("#upload2").val();
-                var url="./manage/Statistics/outs?upload1="+(upload1==null?"":upload1)+"&upload2="+(upload2==null?"":upload2);
+                var url="/manage/Statistics/outs?upload1="+(upload1==null?"":upload1)+"&upload2="+(upload2==null?"":upload2);
                 form.attr('action',url);
                 form.submit();
             }
@@ -129,7 +129,7 @@
                 $('#institution_id').combotree({
                     required:true,multiple:false,editable:false,
                     valueField:'id',textField:'name',panelWidth:550,
-                    url:"./manage/institution/insCombobox"
+                    url:"/manage/institution/insCombobox"
                 });
             });
             

+ 3 - 3
application/manage/view/stats/insstat.html

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

+ 2 - 2
application/manage/view/studiesnums/index.html

@@ -70,7 +70,7 @@
                 $("#dg").height(height);
                                 
                 $('#dg').datagrid({
-                    url:'./manage/studiesnums/datas',
+                    url:'/manage/studiesnums/datas',
                     idField:'id',method: 'get',rownumbers: true,showFooter: true,singleSelect:true,selectOnCheck:false,
                     toolbar: '#tb',pageList: [dgRowSize,dgRowSize*2,50,100],pagination:false,pageSize:dgRowSize,
                     columns:[[
@@ -87,7 +87,7 @@
             
             function reload(){
                 var search = $("#exam1").val();
-                var url="./manage/studiesnums/datas?search="+(search==null?"":search);
+                var url="/manage/studiesnums/datas?search="+(search==null?"":search);
                 $('#dg').datagrid("reload",url);
             }
             

+ 1 - 1
application/manage/view/syslog/index.html

@@ -26,7 +26,7 @@
             $("#dg").height(height);
 
             $('#dg').datagrid({
-                url:'./manage/syslog/datas',
+                url:'/manage/syslog/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,
                 columns:[[

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

@@ -31,7 +31,7 @@
 			},
 			async: {
 				enable: true,
-				url:"./manage/sysmenu/menudata",
+				url:"/manage/sysmenu/menudata",
 				autoParam:["id", "pId=pid", "name=n", "level=lv"],
 				otherParam:{"otherParam":"zTreeAsyncTest"},
 				dataFilter: filter
@@ -49,7 +49,7 @@
 		function beforeRemove(treeId, treeNode){
 			if(confirm("确定删除节点("+treeNode.name+")?")){
 				$.ajax({
-					url:"./manage/sysmenu/delete",
+					url:"/manage/sysmenu/delete",
 					data:"id="+treeNode.id+"&t="+new Date(),
 					success:function(rs){
 						if(rs=="delete_ok"){
@@ -112,7 +112,7 @@
 		function save(){
 			var data=$("#myform").serialize();
 			$.ajax({
-				url:"./manage/sysmenu/update",
+				url:"/manage/sysmenu/update",
 				contentType: "application/x-www-form-urlencoded; charset=utf-8",
 				data:data+"&t="+new Date(),
 				success:function(rs){

+ 1 - 1
application/manage/view/template/edit.html

@@ -9,7 +9,7 @@
         function save() {
             var data = $("#myform").serialize();
             $.ajax({
-                url: "./manage/template/save",
+                url: "/manage/template/save",
                 data: data,
                 type: "get",
                 success: function(rs) {

+ 5 - 5
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:[[
@@ -75,7 +75,7 @@
             var examcla = $('#examcla').combobox("getValue");
             var is_public = $('#is_public').combobox("getValue");
             var userid = $('#userid').textbox("getValue");
-            var url="./manage/template/getDatas?examcla="+(examcla==null?"":examcla)+"&is_public="+(is_public==null?"":is_public)+"&userid="+(userid==null?"":userid)+"&t="+new Date();
+            var url="/manage/template/getDatas?examcla="+(examcla==null?"":examcla)+"&is_public="+(is_public==null?"":is_public)+"&userid="+(userid==null?"":userid)+"&t="+new Date();
             $('#dg').datagrid("reload",url);
         }
 
@@ -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);
             }
         }
 
@@ -94,7 +94,7 @@
             $.messager.confirm('Confirm', '确定要删除这条记录吗?', function(r) {
                 if (r) {
                     $.ajax({
-                    url: "./manage/template/del",
+                    url: "/manage/template/del",
                     data: "id=" + id + "&t=" + new Date(),
                     success: function(rs) {
                         if (rs == "delete_ok") {

+ 1 - 2
application/route.php

@@ -16,6 +16,5 @@ return [
     '[hello]'     => [
         ':id'   => ['index/hello', ['method' => 'get'], ['id' => '\d+']],
         ':name' => ['index/hello', ['method' => 'post']],
-    ],
-
+    ]
 ];