center_page.html 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437
  1. {extend name="layout/content"}
  2. {block name="content"}
  3. <style type="text/css">
  4. .spacing {
  5. margin-bottom: 10px;
  6. padding-right: 4px;
  7. padding-left: 4px;
  8. }
  9. table {
  10. word-wrap: break-word;
  11. word-break: break-all
  12. }
  13. .layui-layer-btn .layui-layer-btn1 {
  14. border-color: #009688;
  15. background-color: #009688;
  16. color: #fff;
  17. }
  18. .key{
  19. width: 150px;
  20. text-align: right;
  21. background-color: #f0f9eb;
  22. }
  23. .value1{
  24. width: 240px;
  25. }
  26. </style>
  27. <div class="ibox float-e-margins">
  28. <div class="ibox-title">
  29. <h5>用户中心</h5>
  30. </div>
  31. <div class="ibox-content">
  32. <div class="form-horizontal">
  33. <div class="row">
  34. <div class="col-sm-12">
  35. <div class="tabs-container">
  36. <ul class="nav nav-tabs">
  37. <li class="active"><a data-toggle="tab" href="#tab-1" aria-expanded="true">基本信息</a></li>
  38. <li class=""><a data-toggle="tab" href="#tab-2" aria-expanded="false">医院信息变更</a></li>
  39. <li class=""><a data-toggle="tab" href="#tab-3" aria-expanded="false">修改密码</a></li>
  40. <li class=""><a data-toggle="tab" href="#tab-5" aria-expanded="false">账号注销</a></li>
  41. <!-- <li class="" ><a data-toggle="tab" href="#tab-4" aria-expanded="false">绑定聚才网账号</a></li>-->
  42. </ul>
  43. <div class="tab-content">
  44. <div id="tab-1" class="tab-pane active">
  45. <div class="panel-body">
  46. <div class="panel panel-default">
  47. <div class="panel-heading">医院信息</div>
  48. <div class="panel-body">
  49. <table style="width:100%" class="table table-bordered">
  50. <tr>
  51. <td class="key">
  52. 账号
  53. </td>
  54. <td class="value1">
  55. {$ep.username}
  56. </td>
  57. <td class="key">
  58. 医院名称
  59. </td>
  60. <td class="value1" style="border-right: 1px solid #c0a16b">
  61. {$ep.name}{eq name="ep.isGeneral" value="1"}(总院){/eq}
  62. </td>
  63. <td rowspan="4" style="border: 1px solid #c0a16b">
  64. <label>医疗机构执业许可证</label>
  65. {if condition="$ep['imgurl']"}
  66. {if condition="$ep['imgurl_is_img'] eq 1"}
  67. <img onclick="Feng.showImg(this)" id="yyzz" src="{$ep.imgurl|getStoragePath}" style="max-height:60px">
  68. {else/}
  69. <img onclick="Feng.showPdf('{$ep.imgurl|getStoragePath}', 'imgurl')" src="/static/img/Pdf.png" style="max-height:60px">
  70. {/if}
  71. {/if}
  72. </td>
  73. </tr>
  74. <tr>
  75. <td class="key">
  76. 登记证
  77. </td>
  78. <td>
  79. {$ep.idCard}
  80. </td>
  81. <td class="key">
  82. 法人代表
  83. </td>
  84. <td style="border-right: 1px solid #c0a16b">
  85. {$ep.legal}
  86. </td>
  87. </tr>
  88. <tr>
  89. <td class="key">
  90. 医共体
  91. </td>
  92. <td>
  93. {$ep.medicalCommunityName}
  94. </td>
  95. <td class="key">
  96. 医院电话
  97. </td>
  98. <td style="border-right: 1px solid #c0a16b">
  99. {$ep.ephone}
  100. </td>
  101. </tr>
  102. <tr>
  103. <td class="key">
  104. 医院地址
  105. </td>
  106. <td colspan="3" style="border-right: 1px solid #c0a16b">
  107. {$ep.fullLocationName} {$ep.address}
  108. </td>
  109. </tr>
  110. <tr>
  111. <td class="key">
  112. 银行账号
  113. </td>
  114. <td>
  115. {$ep.bankCard}
  116. </td>
  117. <td class="key">
  118. 开户银行
  119. </td>
  120. <td style="border-right: 1px solid #c0a16b">
  121. {$ep.bank}
  122. </td>
  123. <td rowspan="2" style="border: 1px solid #c0a16b">
  124. <label>开户许可证/基本存款账户信息</label>
  125. {if condition="$ep['bankImg']"}
  126. {if condition="$ep['bankImg_is_img'] eq 1"}
  127. <img onclick="Feng.showImg(this)" id="yyzz" src="{$ep.bankImg|getStoragePath}" style="max-height:60px">
  128. {else/}
  129. <img onclick="Feng.showPdf('{$ep.bankImg|getStoragePath}', 'bankImg')" src="/static/img/Pdf.png" style="max-height:60px">
  130. {/if}
  131. {/if}
  132. </td>
  133. </tr>
  134. <tr>
  135. <td class="key">
  136. 开户银行网点
  137. </td>
  138. <td colspan="3" style="border-right: 1px solid #c0a16b">
  139. {$ep.bankNetwork}
  140. </td>
  141. </tr>
  142. </table>
  143. </div>
  144. </div>
  145. </div>
  146. <div class="panel-body">
  147. <div class="panel panel-default">
  148. <div class="panel-heading">人才联络员信息</div>
  149. <div class="panel-body">
  150. <table style="width:100%" class="table table-bordered">
  151. <tr>
  152. <td class="key">
  153. 姓名
  154. </td>
  155. <td class="value1">
  156. {$ep.agentName}
  157. </td>
  158. <td class="key">
  159. 人才联络员电话
  160. </td>
  161. <td class="value1" style="border-right: 1px solid #c0a16b">
  162. {$ep.agentPhone}
  163. </td>
  164. <td rowspan="2" style="border: 1px solid #c0a16b">
  165. <label>人才联络员信息备案表</label>
  166. {if condition="$ep['beian']"}
  167. {if condition="$ep['beian_is_img'] eq 1"}
  168. <img onclick="Feng.showImg(this)" id="domainImg" src="{$ep.beian|getStoragePath}" style="max-height:60px">
  169. {else/}
  170. <img onclick="Feng.showPdf('{$ep.beian|getStoragePath}', 'beian')" src="/static/img/Pdf.png" style="max-height:60px">
  171. {/if}
  172. {/if}
  173. </td>
  174. </tr>
  175. <tr>
  176. <td class="key">
  177. 人才联络员邮箱
  178. </td>
  179. <td class="value1">
  180. {$ep.agentEmail}
  181. </td>
  182. <td colspan="2" style="border-right: 1px solid #c0a16b"></td>
  183. </tr>
  184. </table>
  185. </div>
  186. </div>
  187. </div>
  188. </div>
  189. <div id="tab-2" class="tab-pane">
  190. <br/>
  191. <div class="row">
  192. <div class="hidden-xs" id="tableToolbar" role="group">
  193. <button type="button" class="btn btn-sm btn-primary"
  194. onclick="EnterpriseCenter.addEnterprisechangeRecord()"><i
  195. class="fa fa-plus"></i>申请变更
  196. </button>
  197. <button type="button" class="btn btn-sm btn-primary"
  198. onclick="EnterpriseCenter.updateEnterprisechangeRecord()"><i
  199. class="fa fa-edit"></i>修改
  200. </button>
  201. <button type="button" class="btn btn-sm btn-primary"
  202. onclick="EnterpriseCenter.showEnterprisechangeRecordDetail()"><i
  203. class="fa fa-info"></i>查看详情
  204. </button>
  205. </div>
  206. <table id="table">
  207. </table>
  208. </div>
  209. </div>
  210. <div id="tab-3" class="tab-pane">
  211. <div class="panel-body" style="width:900px;">
  212. <br/>
  213. <div class="row">
  214. <div class="col-sm-12 b-r">
  215. <div class="rowGroup" style="margin-bottom: 0px;">
  216. <label class="col-sm-2 control-label">原密码</label>
  217. <div class="col-sm-10">
  218. <input type="password" class="form-control"
  219. autocomplete='new-password' name="password"/>
  220. </div>
  221. </div>
  222. </div>
  223. </div>
  224. <div class="hr-line-dashed"></div>
  225. <div class="row">
  226. <div class="col-sm-12 b-r">
  227. <div class="rowGroup" style="margin-bottom: 0px;">
  228. <label class="col-sm-2 control-label">新密码</label>
  229. <div class="col-sm-10">
  230. <input type="password" class="form-control"
  231. autocomplete='new-password' name="newPassword"/>
  232. </div>
  233. </div>
  234. </div>
  235. </div>
  236. <div class="hr-line-dashed"></div>
  237. <div class="row">
  238. <div class="col-sm-12 b-r">
  239. <div class="rowGroup" style="margin-bottom: 0px;">
  240. <label class="col-sm-2 control-label">重复新密码</label>
  241. <div class="col-sm-10">
  242. <input type="password" class="form-control"
  243. autocomplete='new-password' name="newRePassword"/>
  244. </div>
  245. </div>
  246. </div>
  247. </div>
  248. <br/>
  249. <div style="width:100%; text-align: center;">
  250. <button type="button" class="btn btn-w-m btn-primary" style="width:200px;"
  251. onclick="EnterpriseCenter.changePwd()">确认修改
  252. </button>
  253. </div>
  254. </div>
  255. </div>
  256. <div id="tab-4" class="tab-pane">
  257. <div class="panel-body" style="width:900px;">
  258. <br/>
  259. <div class="row">
  260. <div class="col-sm-12 ">
  261. <div class="rowGroup" style="margin-bottom: 0px;">
  262. <label class="col-sm-2 control-label">聚才网账号</label>
  263. <div class="col-sm-10">
  264. <input type="text" class="form-control" id="username"
  265. name="username"/>
  266. </div>
  267. </div>
  268. </div>
  269. </div>
  270. <br/>
  271. <div class="row">
  272. <div class="col-sm-12">
  273. <div class="rowGroup" style="margin-bottom: 0px;">
  274. <label class="col-sm-2 control-label">聚才网账号密码</label>
  275. <div class="col-sm-10">
  276. <input type="password" class="form-control"
  277. autocomplete='new-password' id="password" name="password"/>
  278. </div>
  279. </div>
  280. </div>
  281. </div>
  282. <br/>
  283. <div class="row">
  284. <div class="col-sm-12 ">
  285. <div class="rowGroup form-inline" style="margin-bottom: 0px;">
  286. <label class="col-sm-2 control-label">人才联络员手机验证码</label>
  287. <div class="col-sm-10">
  288. <input autocomplete="off" type="text" style="width: 80%"
  289. class="form-control" id="verificationCode"
  290. name="verificationCode"/>
  291. <button id="enterprise_sms_btn"
  292. style="margin-bottom: 0px;width: 18%"
  293. onclick="EnterpriseCenter.getEnterpriseSms()" type="button"
  294. class="btn btn-sm btn-info">获取验证码
  295. </button>
  296. </div>
  297. </div>
  298. </div>
  299. </div>
  300. <br/>
  301. <div style="width:100%; text-align: center;">
  302. <button type="button" class="btn btn-w-m btn-primary" style="width:200px;"
  303. onclick="EnterpriseCenter.bindJcAccount()">确认绑定
  304. </button>
  305. </div>
  306. </div>
  307. </div>
  308. <div id="tab-5" class="tab-pane">
  309. <div class="panel-body" style="width:900px;">
  310. <form id="EpCloseForm" autocomplete="off" action="/enterprise/api/closeAccount" method="post" enctype="multipart/form-data" target="hiddenIframe">
  311. <input type="hidden" id="closeAccountState" value="{$closeAccountRecord.checkState}"/>
  312. {eq name="closeAccountRecord.checkState" value="2"}
  313. <div class="row m-b-sm">
  314. <div class="col-sm-12">
  315. <div class="rowGroup">
  316. <label class="col-sm-2 control-label">驳回意见</label>
  317. <div class="col-sm-10">
  318. <div class="form-control" style="color:#ff0000;">
  319. {$closeAccountRecord.checkMsg}
  320. </div>
  321. </div>
  322. </div>
  323. </div>
  324. </div>
  325. {/eq}
  326. <div class="row m-b-sm">
  327. <div class="col-sm-12">
  328. <div class="rowGroup">
  329. <label class="col-sm-2 control-label">账号</label>
  330. <div class="col-sm-10">
  331. <div class="form-control" style="background:#f2f2f2;">
  332. {$ep.username}
  333. </div>
  334. </div>
  335. </div>
  336. </div>
  337. </div>
  338. <div class="row m-b-sm">
  339. <div class="col-sm-12">
  340. <div class="rowGroup">
  341. <label class="col-sm-2 control-label">医院名称</label>
  342. <div class="col-sm-10">
  343. <div class="form-control" style="background:#f2f2f2;">
  344. {$ep.name}
  345. </div>
  346. </div>
  347. </div>
  348. </div>
  349. </div>
  350. <div class="row m-b-sm">
  351. <div class="col-sm-12">
  352. <div class="rowGroup">
  353. <label class="col-sm-2 control-label">登记号</label>
  354. <div class="col-sm-10">
  355. <div class="form-control" style="background:#f2f2f2;">
  356. {$ep.idCard}
  357. </div>
  358. </div>
  359. </div>
  360. </div>
  361. </div>
  362. <br/>
  363. <div class="hr-line-dashed"></div>
  364. <div class="row m-b-sm">
  365. <div class="col-sm-12">
  366. <div class="rowGroup">
  367. <label class="col-sm-2 control-label">注销原因</label>
  368. <div class="col-sm-10">
  369. <textarea class="form-control" rows="5" id="reason" name="reason" {if condition="in_array($closeAccountRecord['checkState'],[1,9])"}readonly{/if}>{$closeAccountRecord.reason}</textarea>
  370. </div>
  371. </div>
  372. </div>
  373. </div>
  374. <div class="row">
  375. <div class="col-sm-12">
  376. <div class="rowGroup">
  377. <label class="col-sm-2 control-label">附件</label>
  378. <div class="col-sm-10">
  379. <button type="button" id="close-uploader-btn" class="btn" onclick="$('#close-uploader').click();" {if condition="in_array($closeAccountRecord['checkState'],[1,9])"}disabled{/if}>上传附件</button>
  380. <input type="file" multiple="" id="close-uploader" name="closeAccountFiles[]" class="btn" style="display:none;" />
  381. </div>
  382. <div id="fileList">
  383. <ul>
  384. {volist name="closeAccountRecord.files" id="file"}
  385. <li>
  386. {if condition="strtoupper($file['ext']) eq 'PDF'"}
  387. <img src="/static/img/Pdf.png" onclick="Feng.showPdf('{$file.path|getStoragePath}');"/>
  388. {else/}
  389. {if condition="in_array(strtoupper($file['ext']),['XLS','XLSX'])"}
  390. <img src="/static/img/File.png" onclick="Feng.showExcel('{$file.path|getStoragePath}');"/>
  391. {else/}
  392. <img src="{$file.path|getStoragePath}" onclick="Feng.showImg(this);"/>
  393. {/if}
  394. {/if}
  395. </li>
  396. {/volist}
  397. </ul>
  398. </div>
  399. </div>
  400. </div>
  401. </div>
  402. <br/>
  403. <div style="width:100%; text-align: center;">
  404. {switch name="closeAccountRecord.checkState"}
  405. {case value="1"}
  406. <button type="button" id="closeAccountBtn" class="btn btn-w-m btn-primary" style="width:200px;" disabled>审核中</button>
  407. {/case}
  408. {case value="9"}
  409. <button type="button" id="closeAccountBtn" class="btn btn-w-m btn-primary" style="width:200px;" disabled>审核中</button>
  410. {/case}
  411. {case value="2"}
  412. <button type="button" id="closeAccountBtn" class="btn btn-w-m btn-primary" style="width:200px;" onclick="EnterpriseCenter.closeAccount()">重新提交</button>
  413. {/case}
  414. {default/}
  415. <button type="button" id="closeAccountBtn" class="btn btn-w-m btn-primary" style="width:200px;" onclick="EnterpriseCenter.closeAccount()">注销账号</button>
  416. {/switch}
  417. </div>
  418. </form>
  419. <iframe id="hiddenIframe" name="hiddenIframe" style="display: none;"></iframe>
  420. </div>
  421. </div>
  422. </div>
  423. </div>
  424. </div>
  425. </div>
  426. </div>
  427. </div>
  428. </div>
  429. <script type="text/javascript">
  430. document.write('<script src="/static/modular/gate/enterprise/hospital/enterprise_center.js?v=' + (new Date()).getTime() + '"><\/script>');
  431. </script>
  432. <!--<script src='{$ctxPath}/static/modular/gate/enterprise/enterprise_center.js?v='></script>-->
  433. {/block}