<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
<%
|
String path = request.getContextPath();
|
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
|
+ path + "/";
|
%>
|
<html lang="en">
|
<head>
|
<meta charset="UTF-8">
|
<title>浏览详情</title>
|
<base href="<%=basePath%>">
|
<meta name="viewport" charset="width=device-width, initial-scale=1.0">
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
<!--[if !IE]><!-->
|
<link href="static/plugins/font-awesome/css/font-awesome.css" rel="stylesheet" type="text/css">
|
|
<link href="static/plugins/jquery-easyui/themes/bootstrap/easyui.css" rel="stylesheet" type="text/css">
|
<link rel="stylesheet" href="static/styles/initialize.css" type="text/css">
|
<link rel="stylesheet" href="static/styles/common.css" type="text/css">
|
<link rel="stylesheet" href="static/plugins/layer/skin/default/layer.css" type="text/css">
|
<link rel="stylesheet" href="static/plugins/webuploader/webuploader.css" type="text/css">
|
<link rel="stylesheet" href="static/styles/archivesHN.css" type="text/css">
|
|
<script type="text/javascript" src="static/plugins/jquery/jquery.min.js"></script>
|
<script type="text/javascript" src="static/plugins/jquery-easyui/jquery.easyui.min.js"></script>
|
<script type="text/javascript" src="static/plugins/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>
|
<script type="text/javascript" src="static/scripts/easyuiExtend.js"></script>
|
<script type="text/javascript" src="static/scripts/jquery-extend.js"></script>
|
<script type="text/javascript" src="static/plugins/layer/layer.js"></script>
|
<script type="text/javascript" src="static/plugins/slimScroll/jquery.slimscroll.min.js"></script>
|
<script type="text/javascript" src="static/plugins/jquery-easyui-datagrid-dnd/datagrid-dnd.js"></script>
|
<script src="static/plugins/jquery.redirect.js" type="text/javascript"></script>
|
<script type="text/javascript" src="static/plugins/webuploader/webuploader.js"></script>
|
|
<!-- 弹窗加载组件 -->
|
<script type="text/javascript" src="static/plugins/layer/layer.js"></script>
|
<script type="text/javascript" src="static/plugins/spinjs/spin.js"></script>
|
<script type="text/javascript" src="static/plugins/spinjs/jquery.spin.js"></script>
|
<script type="text/javascript" src="static/plugins/jquery.blockUI.js"></script>
|
<%-- <!-- wcp组件 -->--%>
|
<script type="text/javascript" src="static/wcp/scripts/wcp.js"></script>
|
<script type="text/javascript" src="static/wcp/scripts/libs/wcp.layer.js"></script>
|
<script type="text/javascript" src="static/wcp/scripts/libs/wcp.blockUI.js"></script>
|
<script type="text/javascript" src="static/wcp/scripts/libs/wcp.spin.js"></script>
|
<script type="text/javascript" src="static/wcp/scripts/libs/wcp.jquery.js"></script>
|
|
<!--[if lt IE 9]>
|
<script type="text/javascript" src="static/plugins/json2.js"></script>
|
<![endif]-->
|
<script type="text/javascript" src="static/wcp/scripts/libs/wcp.infoPicker.js"></script>
|
<style>
|
html, body {
|
height: 100%;
|
overflow: auto;
|
background: url(static/styles/images/archivesHN/archives_resultbg_re.jpg) repeat;
|
}
|
|
.a_value {
|
color: blue;
|
text-decoration: underline;
|
}
|
</style>
|
</head>
|
<body>
|
<div class="archives_resultbg">
|
<div class="archives_details">
|
<h3 class="archives_details_tit">${zlmc}</h3>
|
<div class="archives_details_table">
|
<div class="archives_details_btn">
|
<a href="javascript:addPhysicalDetail();" class="listbtni5"><i
|
class="fa fa-cart-plus"></i>实物利用</a>
|
</div>
|
<table cellpadding="0" cellspacing="0" width="100%">
|
<tr>
|
<td class="greybg" width="15%">项目名称</td>
|
<td id="XMMC" width="35%"></td>
|
<td class="greybg" width="15%">项目编号</td>
|
<td id="XMBH"></td>
|
</tr>
|
<tr>
|
<td class="greybg" width="15%">实物资料档号</td>
|
<td id="SWZLDH"></td>
|
<td class="greybg" width="15%">实物资料题名</td>
|
<td id="SWZLTM"></td>
|
</tr>
|
<tr>
|
<td class="greybg" width="15%">形成单位</td>
|
<td id="XCDW"></td>
|
<td class="greybg" width="15%">汇交人</td>
|
<td id="HJR"></td>
|
</tr>
|
|
<tr>
|
<td class="greybg" width="15%">全国馆成果资料档号</td>
|
<td id="QGGCGZLDH"></td>
|
<td class="greybg" width="15%">省馆成果资料档号</td>
|
<td id="SGCGZLDH"></td>
|
</tr>
|
<tr>
|
<td class="greybg" width="15%">关键词</td>
|
<td colspan="3" id="GJC"></td>
|
</tr>
|
<tr>
|
<td class="greybg" width="15%">内容提要</td>
|
<td colspan="3" id="NRTY"></td>
|
</tr>
|
<tr>
|
<td class="greybg" width="15%">行政区</td>
|
<td id="XZQ"></td>
|
<td class="greybg" width="15%">工作性质</td>
|
<td id="GZXZ"></td>
|
</tr>
|
<tr>
|
<td class="greybg" width="15%">起始经度</td>
|
<td id="QSJD"></td>
|
<td class="greybg" width="15%">终止经度</td>
|
<td id="ZZJD"></td>
|
</tr>
|
<tr>
|
<td class="greybg" width="15%">起始纬度</td>
|
<td id="QSWD"></td>
|
<td class="greybg" width="15%">终止纬度</td>
|
<td id="ZZWD"></td>
|
</tr>
|
<tr>
|
<td class="greybg" width="15%">主要矿种</td>
|
<td id="ZYKZ"></td>
|
<td class="greybg" width="15%">入库时间</td>
|
<td id="RKSJ"></td>
|
</tr>
|
<tr>
|
<td colspan="4" id="TJ1" style="text-align: center;">
|
</td>
|
</tr>
|
<tr>
|
<td colspan="4" id="TJ2" style="text-align: center;">
|
</td>
|
</tr>
|
<tr>
|
<td class="greybg">钻孔目录</td>
|
<td colspan="3" id="ZKML"></td>
|
</tr>
|
</table>
|
</div>
|
</div>
|
</div>
|
</body>
|
<%--<script type="text/javascript" src="static/scripts/ResizeScroll.js"></script>--%>
|
<script>
|
var keyId = "${keyId}";
|
$(function () {
|
initForm();
|
})
|
|
function initForm() {
|
wcp.ui.setBusy("body", wcp.ajax({
|
url: "search/getPhysicalDetails?keyId=" + keyId,
|
}).done(function (data) {
|
if (data) {
|
initForms(data)
|
}
|
}));
|
}
|
|
function initForms(formData) {
|
var tj1 = "<a>";
|
var tj2 = "<a>";
|
$.map(formData, function (value, key) {
|
if ($("#" + key + "").length > 0 && value != null) {
|
if (key == "ZKML") {
|
var html = "";
|
for (let i = 0; i < value.length; i++) {
|
var values = value[i].split("_");
|
if (i > 0) {
|
html += "<br>";
|
}
|
html += "<a class='a_value' href='fileView/physicalView?id=" + values[1] + "' target='_blank'>" + values[0] + "</a>";
|
}
|
$("#" + key + "").html(html);
|
} else {
|
$("#" + key + "").text(value);
|
}
|
}
|
if (key == "ZKSL" && value != null) {
|
tj1 += "  钻孔数量:" + value + "  ";
|
} else if (key == "ZJC" && value != null) {
|
tj1 += "  总进尺(米):" + value + "  ";
|
} else if (key == "QXSL" && value != null) {
|
tj1 += "  取心数量(米):" + value + "  ";
|
} else if (key == "YXSL" && value != null) {
|
tj1 += "  岩屑数量(袋):" + value + "  ";
|
} else if (key == "YBSLK" && value != null) {
|
tj1 += "  标本数量(块):" + value + "  ";
|
} else if (key == "GPSLJ" && value != null) {
|
tj2 += "  光片数量(件):" + value + "  ";
|
} else if (key == "YBDSD" && value != null) {
|
tj2 += "  样品数量(袋):" + value + "  ";
|
} else if (key == "BPSLJ" && value != null) {
|
tj2 += "  薄片数量(件):" + value + "  ";
|
} else if (key == "QTSWSLJ" && value != null) {
|
tj2 += "  其他实物数量(件):" + value + "  ";
|
}
|
}
|
)
|
tj1 += "</a>";
|
tj2 += "</a>";
|
$("#TJ1").html(tj1);
|
$("#TJ2").html(tj2);
|
}
|
|
|
//添加实物利用
|
function addPhysicalDetail() {
|
wcp.ui.setBusy("body", wcp.ajax({
|
url: "physical/addPhysicalDetail?keyId=" + keyId
|
}).done(function (result) {
|
if (result && result.jsExpression) {
|
eval(result.jsExpression);
|
}
|
}));
|
}
|
</script>
|
</html>
|