地质所 沉降监测网建设项目
zmk
2024-05-15 9e3afc6d0fa514f986d3fea40fa23124e6fb5070
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('项目导航')" />
    <th:block th:include="include :: layout-latest-css" />
    <th:block th:include="include :: ztree-css" />
<style>
.active {
    background: #3c8dbc;
}
 
.active a {
    color: white;
}
.afont{font-size:14px;}
</style>
</head>
<body class="gray-bg">
    <div class="ui-layout-west">
        <div class="box box-main">
 
            <div class="box-header active">
                <div class="box-title">
                    <i class="fa fa-desktop"></i> <a class="afont" th:href="@{/geo/project/info(id=${project.ids})}" target="mainFrame" onclick="selected(this)">项目详情</a>                    
                </div> 
            </div>
            <div class="box-header ">
                <div class="box-title">
                    <i class="glyphicon glyphicon-map-marker"></i> <a class="afont" th:href="@{/geo/hole(id=${project.ids})}" target="mainFrame" onclick="selected(this)">勘探点</a>                    
                </div> 
            </div>     
            <div class="box-header ">
                <div class="box-title">
                    <i class="glyphicon glyphicon-user"></i> <a class="afont" th:href="@{/geo/person(id=${project.ids})}" target="mainFrame" onclick="selected(this)">参与人</a>                    
                </div> 
            </div>
 
            <div class="box-header ">
                <div class="box-title">
                    <i class="glyphicon glyphicon-adjust"></i> <a class="afont" th:href="@{/geo/yantu(id=${project.ids})}" target="mainFrame" onclick="selected(this)">岩土</a>
                </div>
            </div>
 
            <div class="box-header ">
                <div class="box-title">
                    <i class="glyphicon glyphicon-ban-circle"></i> <a class="afont" th:href="@{/geo/qutu(id=${project.ids})}" target="mainFrame" onclick="selected(this)">取土</a>
                </div>
            </div>
 
            <div class="box-header ">
                <div class="box-title">
                    <i class="glyphicon glyphicon-screenshot"></i> <a class="afont" th:href="@{/geo/huici(id=${project.ids})}" target="mainFrame" onclick="selected(this)">回次</a>
                </div>
            </div>
 
            <div class="box-header ">
                <div class="box-title">
                    <i class="glyphicon glyphicon-tint"></i> <a class="afont" th:href="@{/geo/shuiwei(id=${project.ids})}" target="mainFrame" onclick="selected(this)">水位</a>
                </div>
            </div>
 
            <div class="box-header ">
                <div class="box-title">
                    <i class="glyphicon glyphicon-tower"></i> <a class="afont" th:href="@{/geo/biaoguan(id=${project.ids})}" target="mainFrame" onclick="selected(this)">标贯/动探</a>
                </div>
            </div>
 
            <div class="box-header ">
                <div class="box-title">
                    <i class="glyphicon glyphicon-blackboard"></i> <a class="afont" th:href="@{/geo/projectwork/work(id=${project.ids})}" target="mainFrame" onclick="selected(this)">工作量</a>
                </div> 
            </div>         
            
        </div>
    </div>
    
    <div class="ui-layout-center" id="frame">
        <iframe id="mainFrame" name="mainFrame" class="ui-layout-content p0"
        th:src="@{/geo/project/info(id=${project.ids})}"></iframe>
    </div>
 
    
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: layout-latest-js" />
    <th:block th:include="include :: ztree-js" />
    <script th:inline="javascript">
 
        $(function() {
            var panehHidden = false;
            if ($(this).width() < 769) {
                panehHidden = true;
            }
            $('body').layout({ initClosed: panehHidden, west__size: 185 });
        
        });
        
        function selected(_this){
            $(".box").find(".box-header").removeClass("active");
            $(_this).parent().parent().addClass("active");
        }
 
    </script>
</body>
 
</html>