|
|
<!DOCTYPE html>
|
|
|
<html lang="cn">
|
|
|
|
|
|
<head>
|
|
|
<meta charset="UTF-8">
|
|
|
<title>Title</title>
|
|
|
<link rel="stylesheet" href="../../lib/layui/css/layui.css">
|
|
|
<link rel="stylesheet" href="./questionReview.css">
|
|
|
</head>
|
|
|
|
|
|
<body>
|
|
|
<div style="position: absolute;right: 10px;top: 6px;"><button type="button" class="layui-btn layui-btn-xs"
|
|
|
onclick="back();">返回</button></div>
|
|
|
<div style="padding: 10px;">
|
|
|
<div class="out-title">问题信息</div>
|
|
|
<div id="questionInfoView">
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
<script type="text/html" id="questionInfoScript">
|
|
|
<div class="question-info">
|
|
|
<div>
|
|
|
<span class="question-level">{{d.data[0].question_level_name}}</span>
|
|
|
</div>
|
|
|
<div style="margin-top: 10px;">
|
|
|
<span style="font-weight: bolder;">问题描述:</span>{{d.data[0].question_content}}
|
|
|
</div>
|
|
|
<div style="margin-top: 5px;display: flex;">
|
|
|
{{# layui.each(d.data[0].files, function(index, item){ }}
|
|
|
{{# if(item.document_type_id === 31){ }}
|
|
|
<span style="display: flex;align-items: center;margin-right: 20px;"><i class="layui-icon layui-icon-list"
|
|
|
style="font-size: 20px;margin-right: 3px;color: #3963BC;"></i> <a style="color: #3963BC;" href="javascript:void(0)" onclick="downlaodFile('{{item.url}}','{{item.file_name}}')">{{item.file_name}}</a> </span>
|
|
|
{{# } }}
|
|
|
{{# }); }}
|
|
|
</div>
|
|
|
<div style="margin-top: 5px;">
|
|
|
<span style="font-weight: bolder;">整改意见:</span>
|
|
|
{{# if(d.data[0].repair_content.length === 0){ }}
|
|
|
--
|
|
|
{{# } else { }}
|
|
|
{{d.data[0].repair_content}}
|
|
|
{{# } }}
|
|
|
</div>
|
|
|
<div style="margin-top: 5px;display: flex;">
|
|
|
{{# layui.each(d.data[0].files, function(index, item){ }}
|
|
|
{{# if(item.document_type_id === 32){ }}
|
|
|
<span style="display: flex;align-items: center;margin-right: 20px;"><i class="layui-icon layui-icon-list"
|
|
|
style="font-size: 20px;margin-right: 3px;color: #3963BC;"></i> <a style="color: #3963BC;" href="javascript:void(0)" onclick="downlaodFile('{{item.url}}','{{item.file_name}}')">{{item.file_name}}</a> </span>
|
|
|
{{# } }}
|
|
|
{{# }); }}
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="questionList">
|
|
|
{{# layui.each(d.data, function(index, item){ }}
|
|
|
{{# if(index > 0){ }}
|
|
|
{{# if(index%2 ===0){ }}
|
|
|
<div class="questionItem">
|
|
|
<div style="font-weight: bolder;margin-bottom: 5px;display: flex;align-items: center;justify-content: space-between;">
|
|
|
<span>监理回复:</span>
|
|
|
<span style="color: #AAAAAA; font-weight: normal;">{{item.create_time.substring(0,10)}}</span>
|
|
|
</div>
|
|
|
{{item.repair_content}}
|
|
|
</div>
|
|
|
{{# } else { }}
|
|
|
<div class="questionItem">
|
|
|
<div style="font-weight: bolder;margin-bottom: 5px;display: flex;align-items: center;justify-content: space-between;">
|
|
|
<span>学校回复:</span>
|
|
|
<span style="color: #AAAAAA; font-weight: normal;">{{item.create_time.substring(0,10)}}</span>
|
|
|
</div>
|
|
|
{{item.repair_content}}
|
|
|
<div style="margin-top: 5px;display: flex;">
|
|
|
{{# layui.each(item.files, function(indexFile, itemFile){ }}
|
|
|
{{# if(itemFile.document_type_id === 33){ }}
|
|
|
<span style="display: flex;align-items: center;margin-right: 20px;"><i class="layui-icon layui-icon-list"
|
|
|
style="font-size: 20px;margin-right: 3px;color: #3963BC;"></i> <a style="color: #3963BC;" href="javascript:void(0)" onclick="downlaodFile('{{itemFile.url}}','{{itemFile.file_name}}')">{{itemFile.file_name}}</a> </span>
|
|
|
{{# } }}
|
|
|
{{# }); }}
|
|
|
</div>
|
|
|
</div>
|
|
|
{{# } }}
|
|
|
|
|
|
{{# } }}
|
|
|
{{# }); }}
|
|
|
</div>
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
<div style="margin: 20px 0 50px 0;">
|
|
|
<textarea placeholder="请输入复查意见" class="layui-textarea" id="questionResult" style="width: 100%;"></textarea>
|
|
|
</div>
|
|
|
|
|
|
<div class="di" >
|
|
|
<div style="display: flex;align-items: center;justify-content: center;margin-top: 5px;">
|
|
|
<button class="layui-btn layui-btn-primary layui-border-blue" id="back">退回</button>
|
|
|
    
|
|
|
<button type="button" class="layui-btn layui-btn-normal" id="save">通过</button>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
<script src="../../lib/layui/layui.js"></script>
|
|
|
<script src="../../lib/jquery.min.js"></script>
|
|
|
<script src="../../lib/layer/layer.js"></script>
|
|
|
<script src="../../lib/FileSaver.min.js"></script>
|
|
|
<script src="./questionReview.js"></script>
|
|
|
</body>
|
|
|
|
|
|
</html> |