to_update.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. {extend name="layout/content"}
  2. {block name="content"}
  3. <style>
  4. .panel-heading{
  5. color:#333;
  6. background-color:#f5f5f5;
  7. border-color:#ddd
  8. }
  9. .spacing {
  10. margin-bottom: 10px;
  11. padding-right:4px;
  12. padding-left: 4px;
  13. }
  14. .has-feedback label~.form-control-feedback{
  15. top: 35px;
  16. }
  17. .table .td-label{
  18. display: block;
  19. text-align: left;
  20. border-bottom: 1px solid #ccc;
  21. margin-bottom: 10px;
  22. }
  23. .word-wrap{
  24. width:100%;
  25. white-space:normal;
  26. word-wrap:break-word;
  27. word-break:break-all;
  28. }
  29. </style>
  30. <div class="ibox float-e-margins">
  31. <div class="ibox-content">
  32. <form id="ecr_form" class="form-horizontal" target="hiddenIframe" action="" method="post" enctype="multipart/form-data">
  33. <input type="hidden" id="special" name="special" value="{$ecr.special}"/>
  34. <input type="hidden" id="enterprise_id" name="enterprise_id" value="{$ecr.mainId}"/>
  35. <input type="hidden" id="id" name="id" value="{$ecr.id}"/>
  36. <input type="hidden" id="type" name="type" value="{$ecr.type}"/>
  37. <input type="hidden" id="checkState" name="checkState" value="{$ecr.checkState}"/>
  38. <input type="hidden" id="fields" name="fields" value="{$ecr.modify_fields}"/>
  39. <input type="hidden" id="files" name="files" value="{$ecr.modify_files}"/>
  40. <div class="form-horizontal">
  41. <div class="panel panel-default">
  42. <div class="panel-heading">基础信息</div>
  43. <div class="panel-body">
  44. <table style="width: 100%;border-collapse: collapse;" class="table table-bordered">
  45. <tr>
  46. <td>
  47. <div class="rowGroup">
  48. <label class=" control-label spacing td-label"><span style="color: red">*</span>医院名称</label>
  49. <input autocomplete="off" type="text" class="form-control" id="newName" name="newName" value="{$ecr.newName}"/>
  50. </div>
  51. </td>
  52. <td>
  53. <div class="rowGroup">
  54. <label class=" control-label spacing td-label"><span style="color: red">*</span>登记号</label>
  55. <input autocomplete="off" type="text" class="form-control" id="newIdCard" name="newIdCard" value="{$ecr.newIdCard}"/>
  56. </div>
  57. </td>
  58. <td>
  59. <div class="rowGroup">
  60. <label class=" control-label spacing td-label"><span style="color: red">*</span>法人代表</label>
  61. <input autocomplete="off" type="text" class="form-control" id="newLegal" name="newLegal" value="{$ecr.newLegal}"/>
  62. </div>
  63. </td>
  64. <td rowspan="3" style="position:relative;">
  65. <button type="button" class="btn btn-info btn-sm" style="position:absolute;right:5px;top:5px;" onclick="$('#imgurl').click()"><i class="fa fa-upload" aria-hidden="true"></i>上传文件</button>
  66. <label class="control-label spacing"><span class="text-danger">*</span>医疗机构执业许可证</label>
  67. {if condition="$ecr['newImgurl']"}
  68. {eq name="ecr.imgurl_is_img" value="1"}
  69. <img src="{$ecr.newImgurl|getStoragePath}" style="height: 60px;" onclick="Feng.showImg(this)">
  70. {else/}
  71. <img src="/static/img/Pdf.png" style="height: 60px;" data-url="{$ecr.newImgurl|getStoragePath}">
  72. {/eq}
  73. {else/}
  74. <img src="/static/img/yyzz.png" style="height: 60px;">
  75. {/if}
  76. <input style="display: none" autocomplete="off" type="file" class="form-control" id="imgurl" name="imgurl" />
  77. </td>
  78. </tr>
  79. <tr>
  80. <td>
  81. <div class="rowGroup">
  82. <label class=" control-label spacing td-label"><span style="color: red">*</span>医共体</label>
  83. <select class="form-control" id="newMedicalCommunityId" name="newMedicalCommunityId" value="{$ecr.newMedicalCommunityId}">
  84. <option value=""></option>
  85. {volist name="medicalCommunities" id="mc"}
  86. <option value="{$mc.id}">{$mc.name}</option>
  87. {/volist}
  88. </select>
  89. </div>
  90. </td>
  91. <td>
  92. <div class="rowGroup">
  93. <label class=" control-label spacing td-label"><span style="color: red">*</span>是否总院</label>
  94. <select class="form-control" id="newIsGeneral" name="newIsGeneral" value="{$ecr.newIsGeneral}">
  95. <option value=""></option>
  96. <option value="2">否</option>
  97. <option value="1">是</option>
  98. </select>
  99. </div>
  100. </td>
  101. <td>
  102. <div class="rowGroup">
  103. <label class=" control-label spacing td-label"><span style="color: red">*</span>医院电话</label>
  104. <input autocomplete="off" type="text" class="form-control" id="newEphone" name="newEphone" placeholder="固话格式0595xxxx" value="{$ecr.newEphone}"/>
  105. </div>
  106. </td>
  107. </tr>
  108. <tr>
  109. <td colspan="3">
  110. <div class="rowGroup">
  111. <label class=" control-label spacing td-label"><span style="color: red">*</span>医院地址</label>
  112. <div class="col-sm-12">
  113. <div class="col-sm-2">
  114. <select class="form-control" id="newProvince" name="newProvince" onchange="EpChangeEdit.afterSelectProvince();" value="{$ecr.newProvince}">
  115. <option value="">---请选择---</option>
  116. </select>
  117. </div>
  118. <div class="col-sm-2">
  119. <select class="form-control" id="newCity" name="newCity" onchange="EpChangeEdit.afterSelectCity();" value="{$ecr.newCity}">
  120. <option value="">---请选择---</option>
  121. </select>
  122. </div>
  123. <div class="col-sm-2">
  124. <select class="form-control" id="newCounty" name="newCounty" value="{$ecr.newCounty}">
  125. <option value="">---请选择---</option>
  126. </select>
  127. </div>
  128. <div class="col-sm-6">
  129. <input autocomplete="off" type="text" class="form-control" id="newAddress" name="newAddress" placeholder="请填写详细地址" value="{$ecr.newAddress}"/>
  130. </div>
  131. </div>
  132. </div>
  133. </td>
  134. </tr>
  135. <tr>
  136. <td>
  137. <div class="rowGroup">
  138. <label class=" control-label spacing td-label"><span style="color: red">*</span>银行账号</label>
  139. <input autocomplete="off" type="text" class="form-control" id="newBankCard" name="newBankCard" value="{$ecr.newBankCard}"/>
  140. </div>
  141. </td>
  142. <td>
  143. <div class="rowGroup">
  144. <label class=" control-label spacing td-label"><span style="color: red">*</span>开户银行</label>
  145. <input autocomplete="off" type="text" class="form-control" id="newBank" name="newBank" value="{$ecr.newBank}"/>
  146. </div>
  147. </td>
  148. <td>
  149. <div class="rowGroup">
  150. <label class=" control-label spacing td-label"><span style="color: red">*</span>开户银行网点</label>
  151. <input autocomplete="off" type="text" class="form-control" id="newBankNetwork" name="newBankNetwork" value="{$ecr.newBankNetwork}"/>
  152. </div>
  153. </td>
  154. <td style="position:relative;">
  155. <button type="button" class="btn btn-info btn-sm" style="position:absolute;right:5px;top:5px;" onclick="$('#bankImg').click()"><i class="fa fa-upload" aria-hidden="true"></i>上传文件</button>
  156. <label class="control-label spacing"><span class="text-danger">*</span>开户许可证/基本存款账户信息</label>
  157. {if condition="$ecr['newBankImg']"}
  158. {eq name="ecr.bankImg_is_img" value="1"}
  159. <img src="{$ecr.newBankImg|getStoragePath}" style="height: 60px;" onclick="Feng.showImg(this)">
  160. {else/}
  161. <img src="/static/img/Pdf.png" style="height: 60px;" data-url="{$ecr.newBankImg|getStoragePath}">
  162. {/eq}
  163. {else/}
  164. <img src="/static/img/yyzz.png" style="height: 60px;">
  165. {/if}
  166. <input style="display: none" autocomplete="off" type="file" class="form-control" id="bankImg" name="bankImg" />
  167. </td>
  168. </tr>
  169. </table>
  170. </div>
  171. </div>
  172. <div class="panel panel-default">
  173. <div class="panel-heading">人才联络员信息</div>
  174. <div class="panel-body">
  175. <table style="width: 100%;border-collapse: collapse;" class="table table-bordered">
  176. <tr>
  177. <td>
  178. <div class="rowGroup">
  179. <label class="control-label spacing td-label"><span style="color: red">*</span>人才联络员</label>
  180. <input autocomplete="off" type="text" class="form-control" id="newAgentName" name="newAgentName" value="{$ecr.newAgentName}"/>
  181. </div>
  182. </td>
  183. <td>
  184. <div class="rowGroup">
  185. <label class="control-label spacing td-label"><span style="color: red">*</span>电子邮箱</label>
  186. <input autocomplete="off" type="text" class="form-control" id="newAgentEmail" name="newAgentEmail" value="{$ecr.newAgentEmail}"/>
  187. </div>
  188. </td>
  189. <td>
  190. <div class="rowGroup">
  191. <label class="control-label spacing td-label"><span style="color: red">*</span>人才联络员手机号</label>
  192. <input autocomplete="off" type="text" class="form-control" id="newAgentPhone" name="newAgentPhone" value="{$ecr.newAgentPhone}"/>
  193. </div>
  194. </td>
  195. <td style="position:relative;">
  196. <button type="button" class="btn btn-info btn-sm" style="position:absolute;right:5px;top:5px;" onclick="$('#beian').click()"><i class="fa fa-upload" aria-hidden="true"></i>上传文件</button>
  197. <label class="control-label spacing" style="text-align: center"><span style="color: red">*</span>人才联络员备案表<br /><a href="/beianbiao.doc" style="color: red">(点击此处下载模板)</a> </label>
  198. {if condition="$ecr['newBeian']"}
  199. {eq name="ecr.beian_is_img" value="1"}
  200. <img src="{$ecr.newBeian|getStoragePath}" style="height: 60px;" onclick="Feng.showImg(this)" >
  201. {else/}
  202. <img src="/static/img/Pdf.png" style="height: 60px;" data-url="{$ecr.newBeian|getStoragePath}">
  203. {/eq}
  204. {else/}
  205. <img src="/static/img/yyzz.png" style="height: 60px;">
  206. {/if}
  207. <input style="display: none" autocomplete="off" type="file" class="form-control" id="beian" name="beian" />
  208. </td>
  209. </tr>
  210. </table>
  211. </div>
  212. </div>
  213. </div>
  214. </form>
  215. </div>
  216. </div>
  217. <iframe style="display: none;" id="hiddenIframe" name="hiddenIframe"></iframe>
  218. <!--<script src="${ctxPath}/static/modular/gate/enterprise/enterprise_change_edit.js"></script>-->
  219. <script type="text/javascript">
  220. document.write('<script src="/static/modular/gate/enterprise/hospital/enterprise_change_edit.js?v=' + (new Date()).getTime() + '"><\/script>');
  221. </script>
  222. {/block}