feedback_withdraw.html 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. <!DOCTYPE HTML>
  2. <html xmlns:th="http://www.thymeleaf.org"
  3. xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
  4. layout:decorate="~{admin/common/common}">
  5. <head>
  6. <title>详情</title>
  7. <style>
  8. .line {
  9. display: block;
  10. text-align: left;
  11. background-color: #fff;
  12. color: #333;
  13. border-bottom: 1px solid #0a6999;
  14. border-color: #fff;
  15. border-bottom: 1px solid #0a6999;
  16. margin-top: 10px;
  17. vertical-align: middle;
  18. padding: 4px 12px;
  19. height: 31px;
  20. line-height: 31px;
  21. font-size: 14px;
  22. font-weight: bold;
  23. }
  24. </style>
  25. </head>
  26. <body layout:fragment="content">
  27. <article class="page-container">
  28. <form class="form form-horizontal">
  29. <div class="line">基本信息 <span style="float:right">项目来源:[[${data?.resource}]]</span></div>
  30. <div class="row cl">
  31. <label class="form-label col-xs-4 col-sm-2">项目标题:</label>
  32. <div class="formControls col-xs-4 col-sm-2">
  33. <p>[[${data?.title}]]</p>
  34. </div>
  35. <label class="form-label col-xs-2 col-sm-2">项目阶段:</label>
  36. <div class="formControls col-xs-4 col-sm-2">
  37. <p>[[${data?.process_stage_desc}]]</p>
  38. </div>
  39. </div>
  40. <div class="row cl">
  41. <label class="form-label col-xs-4 col-sm-2">项目用地:</label>
  42. <div class="formControls col-xs-8 col-sm-2">
  43. <p>[[${data?.location}]]</p>
  44. </div>
  45. <label class="form-label col-xs-2 col-sm-2">项目状态:</label>
  46. <div class="formControls col-xs-4 col-sm-2">
  47. <p>[[${data?.approve_status_desc}]]</p>
  48. </div>
  49. </div>
  50. <div class="row cl">
  51. <label class="form-label col-xs-4 col-sm-2"><span>项目介绍:</span></label>
  52. <div class="formControls col-xs-8 col-sm-9">
  53. <div th:utext="${data.content}">
  54. </div>
  55. </div>
  56. </div>
  57. <div class="row cl">
  58. <label class="form-label col-xs-4 col-sm-2"><span>附件:</span></label>
  59. <div class="formControls col-xs-8 col-sm-9">
  60. <!-- <div id="fileListPre" class="uploader-list">-->
  61. <!-- <th:block th:unless="${data.fileDown==null || data.fileDown.file_url== null}">-->
  62. <!-- <a style="color: #0c80fe;" th:href="${fileUrl} + ${data.fileDown.file_url}" target="_blank">[[${data.fileDown.file_name}]]</a>-->
  63. <!-- </th:block>-->
  64. <!-- </div>-->
  65. <div class="uploader-list">
  66. <th:block th:unless="${data.fileList==null}"
  67. th:each="item,itemStat: ${data.fileList}">
  68. <p><a style="color: #0c80fe;" th:href="${fileUrl} + ${item.file_url}" target="_blank">[[${item.file_name}]]</a></p>
  69. </th:block>
  70. </div>
  71. </div>
  72. </div>
  73. <div class="line">项目信息补充</div>
  74. <div class="row cl">
  75. <label class="form-label col-xs-4 col-sm-2"><span>补充信息:</span></label>
  76. <div class="formControls col-xs-8 col-sm-9">
  77. <div th:utext="${data.supplement}">
  78. </div>
  79. </div>
  80. </div>
  81. <div class="row cl">
  82. <label class="form-label col-xs-4 col-sm-2"><span>补充附件:</span></label>
  83. <div class="formControls col-xs-8 col-sm-9">
  84. <div class="uploader-list">
  85. <th:block th:unless="${data.supplement_file==null || data.supplement_file.file_url== null}">
  86. <a style="color: #0c80fe;" th:href="${fileUrl} + ${data.supplement_file.file_url}"
  87. target="_blank">[[${data.supplement_file.file_name}]]</a>
  88. </th:block>
  89. </div>
  90. </div>
  91. </div>
  92. <div class="line">咨询问题</div>
  93. <div class="row cl">
  94. <label class="form-label col-xs-4 col-sm-2"></label>
  95. <div class="formControls col-xs-8 col-sm-9">
  96. <table class="table table-border table-bordered table-bg table-hover processTb">
  97. <thead>
  98. <tr class="text-c">
  99. <th>咨询部门</th>
  100. <th>咨询问题</th>
  101. <th>反馈内容</th>
  102. <th>反馈文件</th>
  103. <th>反馈状态</th>
  104. <th>剩余答复时间</th>
  105. <th>答复时间</th>
  106. <th>咨询时间</th>
  107. <th>操作</th>
  108. </tr>
  109. </thead>
  110. <tbody>
  111. <tr class="text-c" th:each="item : ${data.consultationList}">
  112. <td th:text="${item.department_name}"></td>
  113. <td th:text="${item.consultation}" class="viewComment" th:data="*{item.consultation}"></td>
  114. <td th:text="${item.feedback}" class="viewComment" th:data="*{item.feedback}"></td>
  115. <td>
  116. <th:block th:unless="${item.fileDown==null || item.fileDown.file_url== null}">
  117. <a style="color: #0c80fe;" th:href="${fileUrl} + ${item.fileDown.file_url}"
  118. target="_blank">[[${item.fileDown.file_name}]]</a>
  119. </th:block>
  120. </td>
  121. <td th:switch="*{item.canWithdraw}">
  122. <span th:case="true">待反馈</span>
  123. <span th:case="false">已反馈</span>
  124. </td>
  125. <td th:text="${item.remain_time}"></td>
  126. <td th:text="${item.feedback_time}"></td>
  127. <td th:text="${item.consultation_time}"></td>
  128. <td>
  129. <th:block th:if="${item.canWithdraw}">
  130. <a title="删除" href="javascript:;" class="ml-5" style="color: #0c80fe;text-decoration:none"
  131. th:onclick="'javascript:deleteProject(\''+*{item.id}+'\');'">撤回</a>
  132. </th:block>
  133. </td>
  134. </tr>
  135. </tbody>
  136. </table>
  137. </div>
  138. </div>
  139. <div class="row cl text-c" style="background-color: white">
  140. <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
  141. <a onClick="removeIframe();" class="btn btn-default radius" type="button">&nbsp;&nbsp;返回&nbsp;&nbsp;</a>
  142. </div>
  143. </div>
  144. </form>
  145. </article>
  146. <script type="text/javascript" th:src="@{/h-ui/lib/webuploader/0.1.5/webuploader.min.js}"></script>
  147. <script th:inline="javascript">
  148. /*删除*/
  149. function deleteProject(id) {
  150. layer.confirm('确认要撤回吗?', function (index) {
  151. $.ajax({
  152. type: "GET",
  153. dataType: "json",
  154. url: pagePath + "/land_supply/withdraw_consul/" + id,
  155. success: function (result) {
  156. if (result.success) {
  157. smileMessage(result.message)
  158. setTimeClose();
  159. } else {
  160. errorMessage(result.message);
  161. }
  162. },
  163. error: function () {
  164. errorMessage('系统错误!');
  165. }
  166. });
  167. });
  168. }
  169. $(function () {
  170. //查看完整意见
  171. $(".viewComment").on("click", function () {
  172. layer.alert(
  173. $(this).attr('data'),
  174. {area: ['800px', '500px']}
  175. )
  176. });
  177. });
  178. /**
  179. * 取消
  180. */
  181. function removeIframe() {
  182. var index = parent.layer.getFrameIndex(window.name);
  183. parent.layer.close(index);
  184. }
  185. </script>
  186. </body>
  187. </html>