88 lines
3.3 KiB
Plaintext
88 lines
3.3 KiB
Plaintext
|
|
<%@ page language="java" pageEncoding="UTF-8" %>
|
||
|
|
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
|
||
|
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
|
||
|
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
|
||
|
|
<%@ page import="com.sipai.entity.base.ServerObject" %>
|
||
|
|
<%@ taglib uri="http://www.springsecurity.org/jsp" prefix="security" %>
|
||
|
|
|
||
|
|
<!DOCTYPE html>
|
||
|
|
<!-- <html lang="zh-CN"> -->
|
||
|
|
<!-- BEGIN HEAD -->
|
||
|
|
<head>
|
||
|
|
<title><%= ServerObject.atttable.get("TOPTITLE")%>
|
||
|
|
</title>
|
||
|
|
|
||
|
|
<!-- 引用页头及CSS页-->
|
||
|
|
<jsp:include page="/jsp/inc.jsp"></jsp:include>
|
||
|
|
|
||
|
|
|
||
|
|
<script type="text/javascript">
|
||
|
|
$(function () {
|
||
|
|
var iWidth = $(window).width();
|
||
|
|
var iHeight = $(window).height();
|
||
|
|
|
||
|
|
$('#main').css('width', iWidth);
|
||
|
|
$('#main').css('height', iHeight);
|
||
|
|
|
||
|
|
let type = "${type}";
|
||
|
|
|
||
|
|
$.ajax({
|
||
|
|
type: 'GET',
|
||
|
|
url: ext.contextPath + "/data/healthDiagnosis/isNet.do?nowUrl=" + window.location.host,
|
||
|
|
async: false,
|
||
|
|
globle: false,
|
||
|
|
dataType: 'json',
|
||
|
|
error: function () {
|
||
|
|
return false;
|
||
|
|
},
|
||
|
|
success: function (data) {
|
||
|
|
let hostUrl = window.location.href;
|
||
|
|
if (hostUrl.substring(0, 5) == 'https') {
|
||
|
|
data.url = data.url.replace('ws', 'wss');
|
||
|
|
}
|
||
|
|
// console.log(data)
|
||
|
|
let url = data.url;
|
||
|
|
if (type == '001') {
|
||
|
|
url = "http://" + url + "/work/health-diagnosis-view";
|
||
|
|
} else if (type == '002') {
|
||
|
|
url = "http://" + url + "/work/mpoint/show-kpi-list?unitId=FS_SK11_C&userId=emp01&ng";
|
||
|
|
} else if (type == '003') {
|
||
|
|
url = "http://" + url + "/timeefficiency/scoring-library/scoring-library-list?type=W&signaltag=health&userId=emp01";
|
||
|
|
}
|
||
|
|
|
||
|
|
document.getElementById("main").src = url;
|
||
|
|
}
|
||
|
|
});
|
||
|
|
});
|
||
|
|
|
||
|
|
</script>
|
||
|
|
|
||
|
|
</head>
|
||
|
|
<body onload="initMenu()" class="hold-transition ${cu.themeclass} sidebar-mini">
|
||
|
|
<div class="wrapper">
|
||
|
|
<!-- 引用top -->
|
||
|
|
<%-- <jsp:include page="/jsp/top.jsp"></jsp:include> --%>
|
||
|
|
<!-- 菜单栏 -->
|
||
|
|
<%-- <jsp:include page="/jsp/left.jsp"></jsp:include> --%>
|
||
|
|
<div class="content-wrapper">
|
||
|
|
<!-- Content Header (Page header) -->
|
||
|
|
<%-- <section class="content-header">--%>
|
||
|
|
<%-- <h1 id="head_title"></h1>--%>
|
||
|
|
<%-- <ol class="breadcrumb">--%>
|
||
|
|
<%-- <li><a id='head_firstlevel' href="#"><i class="fa fa-dashboard"></i> </a></li>--%>
|
||
|
|
<%-- <!-- <li class="active">Here</li> -->--%>
|
||
|
|
<%-- </ol>--%>
|
||
|
|
<%-- </section>--%>
|
||
|
|
<!-- Main content -->
|
||
|
|
<section class="content container-fluid">
|
||
|
|
<iframe id="main" scrolling="auto" allowtransparency="yes" src=""
|
||
|
|
style="width: 100%;height: 100%;border:0px;padding:0px;margin:0px;"></iframe>
|
||
|
|
</section>
|
||
|
|
<!-- /.content -->
|
||
|
|
</div>
|
||
|
|
<%-- <jsp:include page="/jsp/bottom.jsp"></jsp:include> --%>
|
||
|
|
<%-- <jsp:include page="/jsp/side.jsp"></jsp:include> --%>
|
||
|
|
</div>
|
||
|
|
</body>
|
||
|
|
|
||
|
|
</html>
|