check.html 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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. #talentInfoForm label {
  10. font-size: xx-small;
  11. }
  12. .imgs li{
  13. list-style: none;
  14. float: left;
  15. border: 1px solid #d8d1d1;
  16. text-align: center;
  17. height: 30px;
  18. }
  19. .layui-layer-btn .layui-layer-btn1 {
  20. border-color: #009688;
  21. background-color: #009688;
  22. color: #fff;
  23. }
  24. #fileList li{width:80px;height:80px;float:left;margin:10px;overflow:hidden;}
  25. #fileList li img{width:80px;}
  26. </style>
  27. <div class="ibox float-e-margins">
  28. <div class="ibox-content">
  29. <div class="form-horizontal">
  30. <div class="row">
  31. <div class="col-sm-12" >
  32. <div class="tabs-container" >
  33. <ul class="nav nav-tabs">
  34. <li class="" style="float: right;">
  35. <button type="button" class="btn btn-sm btn-primary " onclick="TalentQuitInfoDlg.download()" >
  36. <i class="fa fa-download"></i>&nbsp;打包下载
  37. </button>
  38. </li>
  39. </ul>
  40. </div>
  41. <div class="tab-content">
  42. <div id="tab-1" class="tab-pane active">
  43. <div class="panel-body" >
  44. <div class="panel panel-default">
  45. <div class="panel-heading" onclick="$(this).next().toggle()">基础信息</div>
  46. <div class="panel-body">
  47. <form id="talentQuitForm">
  48. <div class="col-sm-12 form-group-sm">
  49. <input type="hidden" id="id" name="id" value="{$row.id}"/>
  50. <input type="hidden" id="type" name="type" value="{$row.type}"/>
  51. <input type="hidden" id="checkState" name="checkState" value="{$row.checkState}"/>
  52. <input type="hidden" id="enterpriseId" name="enterpriseId" value="{$row.enterpriseId}"/>
  53. <input type="hidden" id="talentId" name="talentId" value="{$row.talentId}"/>
  54. <input type="hidden" id="year" name="year" value="{$row.year}">
  55. <div class="rowGroup col-sm-12">
  56. <label class="col-sm-2 control-label spacing">
  57. {switch name="row.type"}
  58. {case value="5"}
  59. 医院名称
  60. {/case}
  61. {case value="6"}
  62. 学校名称
  63. {/case}
  64. {default/}
  65. 企业/单位名称
  66. {/switch}
  67. </label>
  68. <div class="col-sm-6 spacing">
  69. <input class="form-control" id="name" name="name" readonly="readonly" value="{$row.name}">
  70. </div>
  71. </div>
  72. <div class="rowGroup col-sm-12">
  73. <label class="col-sm-2 control-label spacing">账号</label>
  74. <div class="col-sm-6 spacing">
  75. <input class="form-control" id="username" readonly="readonly" name="username" value="{$row.username}"/>
  76. </div>
  77. </div>
  78. <div class="rowGroup col-sm-12">
  79. <label class="col-sm-2 control-label spacing">证件号码</label>
  80. <div class="col-sm-6 spacing">
  81. <input class="form-control" id="idCard" readonly="readonly" name="idCard" value="{$row.idCard}"/>
  82. </div>
  83. </div>
  84. <div class="rowGroup col-sm-12">
  85. <label class="col-sm-2 control-label spacing">注销原因</label>
  86. <div class="col-sm-6 spacing">
  87. <textarea class="form-control" id="reason" readonly="readonly" name="reason" rows="5">{$row.reason}</textarea>
  88. </div>
  89. </div>
  90. <div class="rowGroup col-sm-12">
  91. <label class="col-sm-2 control-label spacing">附件</label>
  92. <div class="col-sm-6 spacing" id="fileList">
  93. <ul>
  94. {volist name="row.files" id="file"}
  95. <li>
  96. {if condition="strtoupper($file['ext']) eq 'PDF'"}
  97. <img src="/static/img/Pdf.png" onclick="Feng.showPdf('{$file.path|getStoragePath}');"/>
  98. {else/}
  99. {if condition="in_array(strtoupper($file['ext']),['XLS','XLSX'])"}
  100. <img src="/static/img/File.png" onclick="Feng.showExcel('{$file.path|getStoragePath}');"/>
  101. {else/}
  102. <img src="{$file.path|getStoragePath}" onclick="Feng.showImg(this);"/>
  103. {/if}
  104. {/if}
  105. </li>
  106. {/volist}
  107. </ul>
  108. </div>
  109. </div>
  110. </div>
  111. </form>
  112. </div>
  113. </div>
  114. <div class="panel panel-default">
  115. <div class="panel-heading" onclick="$(this).next().toggle()">日志</div>
  116. <table id="logTable">
  117. </table>
  118. </div>
  119. </div>
  120. </div>
  121. <div id="tab-2" class="tab-pane ">
  122. <table id="fileTable" class="table-condensed" style="table-layout: fixed!important;" data-mobile-responsive="true" data-click-to-select="true">
  123. <thead>
  124. <tr>
  125. <th data-field="selectItem" data-checkbox="true"></th>
  126. </tr>
  127. </thead>
  128. </table>
  129. </div>
  130. </div>
  131. </div>
  132. </div>
  133. </div>
  134. </div>
  135. </div>
  136. <script type="text/javascript">
  137. document.write('<script src="/static/modular/enterprise/closeAccountRecord/closeAccount_info.js?v=' + (new Date()).getTime() + '"><\/script>');
  138. </script>
  139. {/block}