to_add.html 15 KB

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