to_update.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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="2" 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. <input autocomplete="off" type="text" class="form-control" id="newEphone" name="newEphone" placeholder="固话格式0595-xxxx" value="{$ecr.newEphone}"/>
  84. </div>
  85. </td>
  86. <td colspan="2">
  87. <div class="rowGroup">
  88. <label class=" control-label spacing td-label"><span style="color: red">*</span>学校地址</label>
  89. <div class="col-sm-12">
  90. <div class="col-sm-2">
  91. <select class="form-control" id="newProvince" name="newProvince" onchange="EpChangeEdit.afterSelectProvince();" value="{$ecr.newProvince}">
  92. <option value="">---请选择---</option>
  93. </select>
  94. </div>
  95. <div class="col-sm-2">
  96. <select class="form-control" id="newCity" name="newCity" onchange="EpChangeEdit.afterSelectCity();" value="{$ecr.newCity}">
  97. <option value="">---请选择---</option>
  98. </select>
  99. </div>
  100. <div class="col-sm-2">
  101. <select class="form-control" id="newCounty" name="newCounty" value="{$ecr.newCounty}">
  102. <option value="">---请选择---</option>
  103. </select>
  104. </div>
  105. <div class="col-sm-6">
  106. <input autocomplete="off" type="text" class="form-control" id="newAddress" name="newAddress" placeholder="请填写详细地址" value="{$ecr.newAddress}"/>
  107. </div>
  108. </div>
  109. </div>
  110. </td>
  111. </tr>
  112. </table>
  113. </div>
  114. </div>
  115. <div class="panel panel-default">
  116. <div class="panel-heading">人才联络员信息</div>
  117. <div class="panel-body">
  118. <table style="width: 100%;border-collapse: collapse;" class="table table-bordered">
  119. <tr>
  120. <td>
  121. <div class="rowGroup">
  122. <label class="control-label spacing td-label"><span style="color: red">*</span>人才联络员</label>
  123. <input autocomplete="off" type="text" class="form-control" id="newAgentName" name="newAgentName" value="{$ecr.newAgentName}"/>
  124. </div>
  125. </td>
  126. <td>
  127. <div class="rowGroup">
  128. <label class="control-label spacing td-label"><span style="color: red">*</span>电子邮箱</label>
  129. <input autocomplete="off" type="text" class="form-control" id="newAgentEmail" name="newAgentEmail" value="{$ecr.newAgentEmail}"/>
  130. </div>
  131. </td>
  132. <td>
  133. <div class="rowGroup">
  134. <label class="control-label spacing td-label"><span style="color: red">*</span>人才联络员手机号</label>
  135. <input autocomplete="off" type="text" class="form-control" id="newAgentPhone" name="newAgentPhone" value="{$ecr.newAgentPhone}"/>
  136. </div>
  137. </td>
  138. <td style="position:relative;">
  139. <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>
  140. <label class="control-label spacing" style="text-align: center"><span style="color: red">*</span>人才联络员备案表<br /><a href="/beianbiao.doc" style="color: red">(点击此处下载模板)</a> </label>
  141. {if condition="$ecr['newBeian']"}
  142. {eq name="ecr.beian_is_img" value="1"}
  143. <img src="{$ecr.newBeian|getStoragePath}" style="height: 60px;" onclick="Feng.showImg(this)" >
  144. {else/}
  145. <img src="/static/img/Pdf.png" style="height: 60px;" data-url="{$ecr.newBeian|getStoragePath}">
  146. {/eq}
  147. {else/}
  148. <img src="/static/img/yyzz.png" style="height: 60px;">
  149. {/if}
  150. <input style="display: none" autocomplete="off" type="file" class="form-control" id="beian" name="beian" />
  151. </td>
  152. </tr>
  153. </table>
  154. </div>
  155. </div>
  156. </div>
  157. </form>
  158. </div>
  159. </div>
  160. <iframe style="display: none;" id="hiddenIframe" name="hiddenIframe"></iframe>
  161. <!--<script src="${ctxPath}/static/modular/gate/enterprise/enterprise_change_edit.js"></script>-->
  162. <script type="text/javascript">
  163. document.write('<script src="/static/modular/gate/enterprise/school/enterprise_change_edit.js?v=' + (new Date()).getTime() + '"><\/script>');
  164. </script>
  165. {/block}