Files
SIPAIIS_WMS_JSSW/WebRoot/jsp/report/rptDayLogBrowseTree.jsp
2026-01-16 14:13:44 +08:00

86 lines
2.9 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"%>
<%@page import="com.sipai.entity.report.RptInfoSet" %>
<%request.setAttribute("TYPE_CATALOGUE", RptInfoSet.TYPE_CATALOGUE);%>
<%request.setAttribute("TYPE_SETTING", RptInfoSet.TYPE_SETTING);%>
<%request.setAttribute("Role_View", RptInfoSet.Role_View);%>
<!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">
var rptTypeStatic="";
var editFun = function(id) {
if (id.length<2) {
$("#rptDeptSetEdit").html("");
}else{
$.post(ext.contextPath + '/report/RptDayLog/showRptDayLogListBrowse.do', {rptdeptId: id} , function(data) {
$("#rptDeptSetEdit").html(data);
});
}
};
var initTreeView = function() {
$("#rptDeptSetEdit").html("");
$.post(ext.contextPath + '/report/rptDeptSet/getTree.do', {unitId:unitId,urlType:'${Role_View}'} , function(data) {
var treeData = data.result;
$('#tree').treeview({data: treeData,levels: 2});
$('#tree').on('nodeSelected', function(event, treeData) {
editFun(treeData.id);
});
},'json');
};
$(function() {
initTreeView();
});
</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">
<!-- Main content -->
<section class="content container-fluid">
<!-- <div id="equipmentClassSubDiv"></div> -->
<div id="mainAlertdiv"></div>
<div id="subDiv"></div>
<div class="row">
<div class="col-md-3">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">填报类型</h3>
<div class="box-tools" id="addDiv">
<!-- <button type="button" class="btn btn-box-tool" onclick="addFun();"><i class="fa fa-plus"></i>
</button> -->
</div>
</div>
<div class="box-body no-padding">
<div id="tree" style="height:700px;overflow:auto; "></div>
</div>
<!-- /.box-body -->
</div>
</div>
<div class="col-md-9" id="rptDeptSetEdit" ></div>
</div>
</section>
<!-- /.content -->
</div>
<%-- <jsp:include page="/jsp/bottom.jsp"></jsp:include> --%>
<%-- <jsp:include page="/jsp/side.jsp"></jsp:include> --%>
</div>
</body>
</html>