list.html
6.0 KB
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>部门管理</title>
<script src="/inspection/js/jquery.js"></script>
<link href="/inspection/css/font-awesome.css" rel="stylesheet">
<link href="/inspection/css/bootstrap.css" rel="stylesheet">
<link href="/inspection/css/style-responsive.css" rel="stylesheet">
<link href="/inspection/css/default-theme.css" rel="stylesheet">
<link href="/inspection/css/style.css" rel="stylesheet">
<link href="/inspection/css/bootstrap-reset.css" rel="stylesheet">
<!-- 新增table样式 -->
<link rel="stylesheet" href="/inspection/css/xj-style.css">
<link rel="stylesheet" type="text/css" href="/inspection/css/xj_css.css"/>
<script src="https://cdn.staticfile.org/twitter-bootstrap/5.1.1/js/bootstrap.bundle.min.js"></script>
</head>
<body class="sticky-header">
<!-- 头部 -->
<div id="head">{include file='common/_header'}</div>
<!-- 头部 -->
<section>
<!-- 导航 -->
<div class="sidebar-left">{include file='common/_leftnav'}</div>
<!-- 导航 -->
<div class="body-content">
<!-- 当前位置 -->
<div class="page-head clearfix">
<ol class="breadcrumb pull-left">
<li><a href="index.html"><i class="fa fa-align-left"></i>部门管理</a></li>
</ol>
<div class="pull-right breadcrumbtn gg-i">
<button class="btn bt" style="outline: none;"><i class="fa fa-refresh"></i>刷新</button>
</div>
</div>
<!-- 当前位置 -->
<div class="wrapper">
<section class="panel">
<iframe @load="loading" class="ifm" id="ifm" src="https://www.ynzhsk.cn/EmezgwbSKJ.php/inspection/depart" style="width: 100%;height: 1000px;" onload="onload()"></iframe>
<!--<iframe style="visibility:hidden;" onload="this.style.visibility = 'visible';" src="https://www.codeku.run" id="icon"></iframe>-->
</section>
</div>
<!-- 底部 -->
<div class="bq">
<h4>云南腾亿融媒互联网有限公司</h4>
</div>
</div>
</section>
<!-- 模态框 -->
<div class="modal right fade" id="mymodal-data" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title jh-title">添加巡检区域</h4>
</div>
<div class="modal-body jh-content b- qy-mtk">
<ul>
<li>
<span><b>*</b>部门名称:</span>
<input type="text" class="form-control" placeholder="请输入部门名称"/>
</li>
<li>
<span><b>*</b>选择上级:</span>
<select name="" class="form-control">
<option value="">请选择上级</option>
<option value="">上级1</option>
<option value="">上级2</option>
</select>
</li>
</ul>
</div>
<div class="modal-footer rw-db">
<button type="button" class="btn rw-tj" style="outline: none; data-bs-dismiss="modal">提交</button>
<a href="#" class="btn" data-dismiss="modal">关闭</a>
</div>
</div>
</div>
</div>
<!-- 编辑 -->
<div class="modal right fade" id="edit" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title jh-title">添加巡检区域</h4>
</div>
<div class="modal-body jh-content b- qy-mtk">
<ul>
<li>
<span><b>*</b>部门名称:</span>
<input type="text" class="form-control" placeholder="请输入部门名称"/>
</li>
<li>
<span><b>*</b>选择上级:</span>
<select name="" class="form-control">
<option value="">请选择上级</option>
<option value="">上级1</option>
<option value="">上级2</option>
</select>
</li>
</ul>
</div>
<div class="modal-footer rw-db">
<button type="button" class="btn rw-tj" style="outline: none; data-bs-dismiss="modal">提交</button>
<a href="#" class="btn" data-dismiss="modal">关闭</a>
</div>
</div>
</div>
</div>
<style type="text/css">
.ifm{
width: 100%;
height: 1000px;
border:0;
border-radius: 20px;
}
.panel{
margin-top: 10px;
margin-left: 10px;
/* background-color: #FFFFFF; */
border-radius: 20px;
box-shadow: 4px 4px 4px 4px #A3A3A3;
}
.box{
background-color: #fff;
height: 100%;
width: 600px;
position: absolute;
right: 0;
border-radius: 8px;
}
</style>
<script type="text/javascript">
var btnedit = $("#ifm").contents().find(".btn-editone")
$(function(){
$(".btn").click(function(){
$("#mymodal").modal("toggle");
});
});
var iframe = document.getElementById("ifm");
// if (iframe.attachEvent){
// iframe.attachEvent("onload", function(){
// alert("Local iframe is now loaded.");
// });
// } else {
// iframe.onload = function(){
// alert("Local iframe is now loaded.");
// };
// }
window.onload = function(){
setTimeout(function(){
for(i=0;i<document.getElementById('ifm').contentWindow.document.getElementsByClassName("btn-editone").length;i++)
{
document.getElementById('ifm').contentWindow.document.getElementsByClassName("btn-editone")[i].style.backgroundColor="#3498DB";
}
},3000)
};
</script>
<script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript">
// 遮罩层
// function onload(){
// alert("Frame is loaded");
// }
</script>
<script src="/inspection/js/bootstrap.js"></script>
<script src="/inspection/js/echarts.min.js"></script>
<script src="/inspection/js/scripts.js"></script>
<script src="laydate/laydate.js"></script>
<!-- 公共内容 -->
<script type="text/javascript">
$("#head").load("common/head.html");
$(".sidebar-left").load("common/navs.html");
</script>
<!-- 公共内容 -->
</body>
</html>