|
|
@@ -0,0 +1,321 @@
|
|
|
+<!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?.recource}]]</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 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>
|
|
|
+ </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">
|
|
|
+ <div class="col-xs-8 col-sm-9 col-xs-offset-2 col-sm-offset-1">
|
|
|
+ <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>
|
|
|
+ </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:text="${item.remain_time}"></td>
|
|
|
+ <td th:text="${item.feedback_time}"></td>
|
|
|
+ <td th:text="${item.consultation_time}"></td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </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.consultation_summary}">
|
|
|
+ </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.consultation_summary_file==null || data.consultation_summary_file.file_url== null}">
|
|
|
+ <a style="color: #0c80fe;" th:href="${fileUrl} + ${data.consultation_summary_file.file_url}"
|
|
|
+ target="_blank">[[${data.consultation_summary_file.file_name}]]</a>
|
|
|
+ </th:block>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="line">预审审批</div>
|
|
|
+ <div class="row cl">
|
|
|
+ <div class="col-xs-8 col-sm-9 col-xs-offset-2 col-sm-offset-1">
|
|
|
+ <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>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ <tr class="text-c">
|
|
|
+ <td>商务局分管领导</td>
|
|
|
+ <td th:text="${data.commerce_leader_pre_approve_operate}" class="viewComment"
|
|
|
+ th:data="*{data.commerce_leader_pre_approve_operate}"></td>
|
|
|
+ <td th:text="${data.commerce_leader_pre_approve_comment}" class="viewComment"
|
|
|
+ th:data="*{data.commerce_leader_pre_approve_comment}"></td>
|
|
|
+ <td>
|
|
|
+ <th:block
|
|
|
+ th:unless="${data.commerce_leader_pre_approve_file==null || data.commerce_leader_pre_approve_file.file_url== null}">
|
|
|
+ <a style="color: #0c80fe;"
|
|
|
+ th:href="${fileUrl} + ${data.commerce_leader_pre_approve_file.file_url}"
|
|
|
+ target="_blank">[[${data.commerce_leader_pre_approve_file.file_name}]]</a>
|
|
|
+ </th:block>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr class="text-c">
|
|
|
+ <td>管委会分管领导</td>
|
|
|
+ <td th:text="${data.committee_leader_pre_approve_operate}" class="viewComment"
|
|
|
+ th:data="*{data.committee_leader_pre_approve_operate}"></td>
|
|
|
+ <td th:text="${data.committee_leader_pre_approve_comment}" class="viewComment"
|
|
|
+ th:data="*{data.committee_leader_pre_approve_comment}"></td>
|
|
|
+ <td>
|
|
|
+ <th:block
|
|
|
+ th:unless="${data.committee_leader_pre_approve_file==null || data.committee_leader_pre_approve_file.file_url== null}">
|
|
|
+ <a style="color: #0c80fe;"
|
|
|
+ th:href="${fileUrl} + ${data.committee_leader_pre_approve_file.file_url}"
|
|
|
+ target="_blank">[[${data.committee_leader_pre_approve_file.file_name}]]</a>
|
|
|
+ </th:block>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ <form class="form form-horizontal" id="form-add">
|
|
|
+ <input id="id" name="id" type="hidden" th:value="${data.id}"/>
|
|
|
+ <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">
|
|
|
+ <textarea id="gs_feedback" name="gs_feedback" required>
|
|
|
+ [[${data.gs_feedback}]]
|
|
|
+ </textarea>
|
|
|
+ </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-thum-container">
|
|
|
+ <div id="fileListPre" class="uploader-list"></div>
|
|
|
+ <div id="filePicker">选择文件</div>
|
|
|
+ </div>
|
|
|
+ </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="save()" class="btn btn-secondary radius"><i class="Hui-iconfont"></i>提交</a>
|
|
|
+ <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 save() {
|
|
|
+ $("#form-add").ajaxSubmit({
|
|
|
+ type: 'post',
|
|
|
+ url: pagePath + "/land_supply/xingzheng_feedback",
|
|
|
+ dataType: "json",
|
|
|
+ success: function (data) {
|
|
|
+ if (data.success) {
|
|
|
+ succeedMessage(data.message);
|
|
|
+ setTimeClose();
|
|
|
+ } else {
|
|
|
+ // $(form).find(":submit").attr("disabled", false);
|
|
|
+ errorMessage(data.message);
|
|
|
+ }
|
|
|
+ },
|
|
|
+ error: function () {
|
|
|
+ errorMessage('系统错误!');
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
+ //添加相应name的文件
|
|
|
+ function addFileByName(url, obj) {
|
|
|
+ var name = $(obj).next().attr("name");
|
|
|
+ url += "?fileIdName=" + name;
|
|
|
+ layer_show('添加文件', pagePath + url, 800, 350);
|
|
|
+ }
|
|
|
+
|
|
|
+ function deleteFile(item) {
|
|
|
+ $(item).parent().find(".uploadFileName").val("上传文件")
|
|
|
+ $(item).parent().find(".uploadFileId").val(null)
|
|
|
+ // console.log($(item).parent().find(".uploadFileName").val("上传文件"))
|
|
|
+ // console.log($(item).parent().find(".uploadFileId").val(null))
|
|
|
+ // console.log($(item).parent().find(".departmentId"))
|
|
|
+ }
|
|
|
+
|
|
|
+ $(function () {
|
|
|
+ //查看完整意见
|
|
|
+ $(".viewComment").on("click", function () {
|
|
|
+ layer.alert(
|
|
|
+ $(this).attr('data'),
|
|
|
+ {area: ['800px', '500px']}
|
|
|
+ )
|
|
|
+ });
|
|
|
+ });
|
|
|
+
|
|
|
+ //富文本kindeditor初始化
|
|
|
+ var editor;
|
|
|
+ KindEditor.ready(function (K) {
|
|
|
+ editor = K.create('#gs_feedback', {
|
|
|
+ uploadJson: pagePath + '/upload/kindEditorUpload',
|
|
|
+ cssData: 'body {font-family: "微软雅黑"; font-size: 14px}',
|
|
|
+ allowFileManager: false,
|
|
|
+ allowUpload: true,
|
|
|
+ width: "100%",
|
|
|
+ height: "350px",
|
|
|
+ items: array,
|
|
|
+ syncType: "auto",
|
|
|
+ filterMode: false,
|
|
|
+ afterBlur: function () {
|
|
|
+ this.sync();
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
+
|
|
|
+ $(function () {
|
|
|
+
|
|
|
+ // 初始化上传
|
|
|
+ var options = {
|
|
|
+ uploadBtnId: '#filePicker',
|
|
|
+ picturePreId: 'fileListPre',
|
|
|
+ hiddenPictureUrl: 'img',
|
|
|
+ hiddenPictureName: 'imgName',
|
|
|
+ width: 81,
|
|
|
+ height: 81,
|
|
|
+ fileSizeLimit: 100 * 1024 * 1024,
|
|
|
+ fileSingleSizeLimit: 100 * 1024 * 1024
|
|
|
+ };
|
|
|
+
|
|
|
+ var webUploadDoc = new $WebUploadDoc(options);
|
|
|
+ webUploadDoc.init();
|
|
|
+ });
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 取消
|
|
|
+ */
|
|
|
+ function removeIframe() {
|
|
|
+ var index = parent.layer.getFrameIndex(window.name);
|
|
|
+ parent.layer.close(index);
|
|
|
+ }
|
|
|
+</script>
|
|
|
+</body>
|
|
|
+</html>
|