| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198 |
- <!DOCTYPE HTML>
- <html xmlns:th="http://www.thymeleaf.org"
- xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
- layout:decorate="~{admin/common/common}">
- <head>
- <title>详情</title>
- <style>
- .line {
- display: block;
- text-align: left;
- background-color: #fff;
- color: #333;
- border-bottom: 1px solid #0a6999;
- border-color: #fff;
- border-bottom: 1px solid #0a6999;
- margin-top: 10px;
- vertical-align: middle;
- padding: 4px 12px;
- height: 31px;
- line-height: 31px;
- font-size: 14px;
- font-weight: bold;
- }
- </style>
- </head>
- <body layout:fragment="content">
- <article class="page-container">
- <form class="form form-horizontal">
- <div class="line">基本信息 <span style="float:right">项目来源:[[${data?.resource}]]</span></div>
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2">项目标题:</label>
- <div class="formControls col-xs-4 col-sm-2">
- <p>[[${data?.title}]]</p>
- </div>
- <label class="form-label col-xs-2 col-sm-2">项目阶段:</label>
- <div class="formControls col-xs-4 col-sm-2">
- <p>[[${data?.process_stage_desc}]]</p>
- </div>
- </div>
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2">项目用地:</label>
- <div class="formControls col-xs-8 col-sm-2">
- <p>[[${data?.location}]]</p>
- </div>
- <label class="form-label col-xs-2 col-sm-2">项目状态:</label>
- <div class="formControls col-xs-4 col-sm-2">
- <p>[[${data?.approve_status_desc}]]</p>
- </div>
- </div>
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2"><span>项目介绍:</span></label>
- <div class="formControls col-xs-8 col-sm-9">
- <div th:utext="${data.content}">
- </div>
- </div>
- </div>
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2"><span>附件:</span></label>
- <div class="formControls col-xs-8 col-sm-9">
- <!-- <div id="fileListPre" class="uploader-list">-->
- <!-- <th:block th:unless="${data.fileDown==null || data.fileDown.file_url== null}">-->
- <!-- <a style="color: #0c80fe;" th:href="${fileUrl} + ${data.fileDown.file_url}" target="_blank">[[${data.fileDown.file_name}]]</a>-->
- <!-- </th:block>-->
- <!-- </div>-->
- <div class="uploader-list">
- <th:block th:unless="${data.fileList==null}"
- th:each="item,itemStat: ${data.fileList}">
- <p><a style="color: #0c80fe;" th:href="${fileUrl} + ${item.file_url}" target="_blank">[[${item.file_name}]]</a></p>
- </th:block>
- </div>
- </div>
- </div>
- <div class="line">项目信息补充</div>
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2"><span>补充信息:</span></label>
- <div class="formControls col-xs-8 col-sm-9">
- <div th:utext="${data.supplement}">
- </div>
- </div>
- </div>
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2"><span>补充附件:</span></label>
- <div class="formControls col-xs-8 col-sm-9">
- <div class="uploader-list">
- <th:block th:unless="${data.supplement_file==null || data.supplement_file.file_url== null}">
- <a style="color: #0c80fe;" th:href="${fileUrl} + ${data.supplement_file.file_url}"
- target="_blank">[[${data.supplement_file.file_name}]]</a>
- </th:block>
- </div>
- </div>
- </div>
- <div class="line">咨询问题</div>
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2"></label>
- <div class="formControls col-xs-8 col-sm-9">
- <table class="table table-border table-bordered table-bg table-hover processTb">
- <thead>
- <tr class="text-c">
- <th>咨询部门</th>
- <th>咨询问题</th>
- <th>反馈内容</th>
- <th>反馈文件</th>
- <th>反馈状态</th>
- <th>剩余答复时间</th>
- <th>答复时间</th>
- <th>咨询时间</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody>
- <tr class="text-c" th:each="item : ${data.consultationList}">
- <td th:text="${item.department_name}"></td>
- <td th:text="${item.consultation}" class="viewComment" th:data="*{item.consultation}"></td>
- <td th:text="${item.feedback}" class="viewComment" th:data="*{item.feedback}"></td>
- <td>
- <th:block th:unless="${item.fileDown==null || item.fileDown.file_url== null}">
- <a style="color: #0c80fe;" th:href="${fileUrl} + ${item.fileDown.file_url}"
- target="_blank">[[${item.fileDown.file_name}]]</a>
- </th:block>
- </td>
- <td th:switch="*{item.canWithdraw}">
- <span th:case="true">待反馈</span>
- <span th:case="false">已反馈</span>
- </td>
- <td th:text="${item.remain_time}"></td>
- <td th:text="${item.feedback_time}"></td>
- <td th:text="${item.consultation_time}"></td>
- <td>
- <th:block th:if="${item.canWithdraw}">
- <a title="删除" href="javascript:;" class="ml-5" style="color: #0c80fe;text-decoration:none"
- th:onclick="'javascript:deleteProject(\''+*{item.id}+'\');'">撤回</a>
- </th:block>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <div class="row cl text-c" style="background-color: white">
- <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
- <a onClick="removeIframe();" class="btn btn-default radius" type="button"> 返回 </a>
- </div>
- </div>
- </form>
- </article>
- <script type="text/javascript" th:src="@{/h-ui/lib/webuploader/0.1.5/webuploader.min.js}"></script>
- <script th:inline="javascript">
- /*删除*/
- function deleteProject(id) {
- layer.confirm('确认要撤回吗?', function (index) {
- $.ajax({
- type: "GET",
- dataType: "json",
- url: pagePath + "/land_supply/withdraw_consul/" + id,
- success: function (result) {
- if (result.success) {
- smileMessage(result.message)
- setTimeClose();
- } else {
- errorMessage(result.message);
- }
- },
- error: function () {
- errorMessage('系统错误!');
- }
- });
- });
- }
- $(function () {
- //查看完整意见
- $(".viewComment").on("click", function () {
- layer.alert(
- $(this).attr('data'),
- {area: ['800px', '500px']}
- )
- });
- });
- /**
- * 取消
- */
- function removeIframe() {
- var index = parent.layer.getFrameIndex(window.name);
- parent.layer.close(index);
- }
- </script>
- </body>
- </html>
|