edit.html 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>TODO supply a title</title>
  5. {include file="../application/manage/view/commons/headers.html" }
  6. <script >
  7. // 保存信息
  8. function save(){
  9. var data=$("#myform").serialize();
  10. $.ajax({
  11. url:"/manage/remoteapplication/save",
  12. data:data,type:"get",
  13. success:function(rs){
  14. if(rs.indexOf("insert_ok")>=0){
  15. document.location.href="edit?id="+rs.split(";")[1];
  16. }else if(rs=="success"){
  17. alert('保存成功');
  18. document.location.reload();
  19. }else{
  20. alert("保存失败!");
  21. }
  22. },error:function(e,e1,e2){
  23. alert(e2);
  24. }
  25. });
  26. }
  27. $(function(){
  28. });
  29. </script>
  30. </head>
  31. <body >
  32. <form id="myform" action="" method="get" >
  33. <input name="id" type="hidden" value="{if isset($remote_application) }{$remote_application.id}{/if}" />
  34. <table class="editform" width="99%" border="0" style="margin: 5px auto;" cellpadding="1" cellspacing="1" >
  35. <tr>
  36. <th width="105" height="38" align="right" >属性&nbsp;</th>
  37. <th colspan="3" >信息</th>
  38. </tr>
  39. <tr>
  40. <th height="32" align="right" >申请的目标医院:</th>
  41. <td colspan="3" >
  42. <input readonly="true" type="text" size="55" value="{if isset($remote_application) }{$remote_application.remote_institution_name}{/if}" />
  43. </td>
  44. </tr>
  45. <tr>
  46. <th height="32" align="right" >申请的目标医生:</th>
  47. <td colspan="3" >
  48. <input readonly="true" type="text" size="55" value="{if isset($remote_application) }{$remote_application.remote_doctor_name}{/if}" />
  49. </td>
  50. </tr>
  51. <tr>
  52. <th height="32" align="right" >发起申请医院:</th>
  53. <td colspan="3" >
  54. <input readonly="true" type="text" size="55" value="{if isset($remote_application) }{$remote_application.local_institution_name}{/if}" />
  55. </td>
  56. </tr>
  57. <tr>
  58. <th height="32" align="right" >发起时间:</th>
  59. <td colspan="3" >
  60. <input readonly="true" type="text" size="55" value="{if isset($remote_application) }{$remote_application.req_date_time}{/if}" />
  61. </td>
  62. </tr>
  63. <tr>
  64. <th height="32" align="right" >申请医生:</th>
  65. <td colspan="3" >
  66. <input readonly="true" type="text" size="55" value="{if isset($remote_application) }{$remote_application.req_doctor_name}{/if}" />
  67. </td>
  68. </tr>
  69. <tr>
  70. <th height="32" align="right" >主诉:</th>
  71. <td colspan="3" >
  72. <textarea name="illness_desc" id="" style="width: 413px;height: 50px;">{if isset($remote_application) }{$remote_application.illness_desc}{/if}</textarea>
  73. </td>
  74. </tr>
  75. <tr>
  76. <th height="32" align="right" >临床症状:</th>
  77. <td colspan="3" >
  78. <textarea name="clin_symp" id="" style="width: 413px;height: 50px;">{if isset($remote_application) }{$remote_application.clin_symp}{/if}</textarea>
  79. </td>
  80. </tr>
  81. <tr>
  82. <th height="32" align="right" >体征:</th>
  83. <td colspan="3" >
  84. <textarea name="phys_sign" id="" style="width: 413px;height: 50px;">{if isset($remote_application) }{$remote_application.phys_sign}{/if}</textarea>
  85. </td>
  86. </tr>
  87. <tr>
  88. <th height="32" align="right" >临床诊断:</th>
  89. <td colspan="3" >
  90. <textarea name="clin_diag" id="" style="width: 413px;height: 50px;">{if isset($remote_application) }{$remote_application.clin_diag}{/if}</textarea>
  91. </td>
  92. </tr>
  93. <tr>
  94. <th height="32" align="right" >既往史:</th>
  95. <td colspan="3" >
  96. <textarea name="anamnesis" id="" style="width: 413px;height: 50px;">{if isset($remote_application) }{$remote_application.anamnesis}{/if}</textarea>
  97. </td>
  98. </tr>
  99. <tr>
  100. <th height="32" align="right" >家族史:</th>
  101. <td colspan="3" >
  102. <textarea name="family_ill" id="" style="width: 413px;height: 50px;">{if isset($remote_application) }{$remote_application.family_ill}{/if}</textarea>
  103. </td>
  104. </tr>
  105. <tr>
  106. <th height="32" align="right" >婚姻史:</th>
  107. <td colspan="3" >
  108. <textarea name="marrital" id="" style="width: 413px;height: 50px;">{if isset($remote_application) }{$remote_application.marrital}{/if}</textarea>
  109. </td>
  110. </tr>
  111. <tr>
  112. <th height="32" align="right" >是否急诊:</th>
  113. <td colspan="3" >
  114. <input name="is_urgent" type="radio" size="35" value="1" {if isset($remote_application) && $remote_application.is_urgent=='1' }checked="check"{/if} /><label>是</label>
  115. <input name="is_urgent" type="radio" size="35" value="0" {if isset($remote_application) && $remote_application.is_urgent=='0' }checked="check"{/if} /><label>否</label>
  116. </td>
  117. </tr>
  118. <tr>
  119. <th height="32" align="right" >远程申请状态:</th>
  120. <td colspan="3" >
  121. <select name="application_status" >
  122. <option value="1" {if isset($remote_application) && $remote_application.application_status=='1' }selected{/if}>未申请</option>
  123. <option value="2" {if isset($remote_application) && $remote_application.application_status=='2' }selected{/if}>已申请,待接受</option>
  124. <option value="3" {if isset($remote_application) && $remote_application.application_status=='3' }selected{/if}>诊断中</option>
  125. <option value="4" {if isset($remote_application) && $remote_application.application_status=='4' }selected{/if}>诊断完成,待确认</option>
  126. <option value="5" {if isset($remote_application) && $remote_application.application_status=='5' }selected{/if}>已确认</option>
  127. <option value="6" {if isset($remote_application) && $remote_application.application_status=='6' }selected{/if}>已打印</option>
  128. <option value="7" {if isset($remote_application) && $remote_application.application_status=='7' }selected{/if}>驳回</option>
  129. </select>
  130. </td>
  131. </tr>
  132. <tr>
  133. <th height="32" align="right" >备注:</th>
  134. <td colspan="3" >
  135. <textarea name="remark" id="" style="width: 413px;height: 50px;">{if isset($remote_application) }{$remote_application.remark}{/if}</textarea>
  136. </td>
  137. </tr>
  138. <tr>
  139. <th height="32" >&nbsp;</th>
  140. <td>
  141. <a type="button" class="easyui-linkbutton" data-options="iconCls:'icon-save'" icon="icon-save" onclick="save()" >保存</a>
  142. <a type="button" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" onclick="window.parent.closeEditWin('reload');" >关闭</a>
  143. </td>
  144. </tr>
  145. <tr >
  146. <th height="32" >&nbsp;</th>
  147. <td colspan="3" >
  148. &nbsp;
  149. </td>
  150. </tr>
  151. </table>
  152. </form>
  153. </body>
  154. </html>