cs-fzsc10.html
13.3 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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
<!DOCTYPE html>
<html lang="en">
<!-- TODO: 废弃文件 -->
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
<link rel="stylesheet" type="text/css" href="/frontweb/view/reviewmanage/resultreview/css/font-awesome.css"/>
<link rel="stylesheet" type="text/css" href="/frontweb/view/reviewmanage/resultreview/css/bootstrap.min.css"/>
<link rel="stylesheet" href="/frontweb/view/reviewmanage/resultreview/js/layui-v2.5.5/css/layui.css">
<link rel="stylesheet" href="/frontweb/view/reviewmanage/resultreview/js/layui_ext/dtree/dtree.css">
<link rel="stylesheet" href="/frontweb/view/reviewmanage/resultreview/js/layui_ext/dtree/font/dtreefont.css">
<link rel="stylesheet" href="/frontweb/view/reviewmanage/resultreview/css/common.css">
<link rel="stylesheet" href="./css/style.css">
</head>
<body>
<div class="ghcg_l">
<div class="ghcg_right">
<div class="ghcg_right_nav">
<span class="ghcg_right_nav_left">某市国土空间规划成果</span>
<span class="ghcg_right_nav_right" id="back">
<img style="vertical-align:sub" src="./images/icon_back.png" alt="">
返回</span>
</div>
<div class="ghcg_right_footer">
<div class="ghcg_right_footer_left">
<div class="ghcg_right_footer_left_top">
资料目录
</div>
<div style="background: rgba(0,0,0,0.05);width: 80%;height: 1px;">
</div>
<!-- 树组件 -->
<div class="dtree-container upload div-attachment" id="ghcg_fj_view">
<ul id="demoTree" style="width:100%" class="dtree" data-id="0"></ul>
</div>
</div>
<!-- pdf文件 -->
<div class="ghcg_right_footer_middle">
<iframe id="ghcg_iframe" width="100%" height="100%" name="pdftofrist" scrolling="no" marginwidth="0" marginheight="0"
src="/frontweb/view/reviewmanage/resultreview/widgets/Review/Review/images/2.pdf"></iframe>
</div>
<div class="ghcg_right_footer_right">
<div class="ghcg_right_footer_right_top">
辅助审查
</div>
<div>
</div>
<!-- 辅助审查 -->
<div class="ghcg_right_footer_right_middle">
<div class="ghcg_right_footer_right_middle_ziti">
<button class="layui-btn layui-btn-normal">
指标符合性
</button>
<span class="ghcg_right_footer_right_middle_ziti_span">已审查</span>
</div>
<div class="ghcg_right_footer_right_middle_ziti">
<button class="layui-btn layui-btn-normal">
空间一致性
</button>
<span class="ghcg_right_footer_right_middle_ziti_span">未审查</span>
</div>
<div class="ghcg_right_footer_right_middle_ziti">
<button class="layui-btn layui-btn-normal">
函数一致性
</button>
<span class="ghcg_right_footer_right_middle_ziti_span">已审查</span>
</div>
<div class="ghcg_right_footer_right_middle_ziti">
<button class="layui-btn layui-btn-normal">
区域协调性
</button>
<span class="ghcg_right_footer_right_middle_ziti_span">未审查</span>
</div>
</div>
<div class="ghcg_right_footer_right_footer">
<button class="layui-btn layui-btn-normal ghcg_right_footer_right_footer_button" id="project_scbg">
<img src="./images/审查报告.png" alt="">审查报告</button>
</div>
</div>
</div>
</div>
</div>
</body>
<script src="/frontweb/view/reviewmanage/resultreview/js/layui-v2.5.5/layui.js"></script>
<script src="/frontweb/view/reviewmanage/resultreview/js/vue/vue.js"></script>
<script src="/frontweb/view/reviewmanage/resultreview/js/jquery.min.js"></script>
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<script src="/frontweb/common/js/config.js"></script>
<script src="/frontweb/view/reviewmanage/resultreview/js/common.js"></script>
<script src="./fjOperation.js"></script>
<script src="./Widget.js"></script>
</html>
<script>
$(function () {
// 测试数据
let _data = [
{
title: '01某市国土空间规划(2019-2035)——测试导入',
id: 1,
parentId: 0,
spread:true,
basicData: {
test: 0
},
children: [
{
title:'成果数据基本信息.txt',
id:1001,
parentId: 1,
// iconClass:"dtree-icon-null top-icon-bottom"
},
{
title:'数据库建设文档',
id:1002,
parentId: 1,
children: [],
iconClass:"dtree-icon-null top-icon"
},
{
title: '文档数据',
id: 1000,
parentId: 1,
spread:true,
children:[
{
title: '某某市国土规划(2019-2035).pdf',
parentId: 1000,
id: 100001
}
]
},
{
title: '栅格数据',
id: 1001,
parentId: 1,
spread:true,
children:[
{
title:'成果图',
id:100001,
parentId: 1001,
spread:true,
children:[
{
title:'附图1国土空间格局图.jpg',
id:1000001,
parentId: 100001,
}
]
}
]
},
{
title: '矢量数据',
id: 1002,
parentId: 1,
spread:true,
children:[
{
title:'市级国土空间规划分区0429.gdb.zip',
id:10001,
parentId: 1002,
}
]
},
{
title: '表格数据',
id: 1003,
parentId: 1,
spread:true,
children:[
{
title:'国土空间规划指标体系.mdb',
id:10001,
parentId: 1003,
},
{
title:'附表国土用途规划分类.xlsx',
id:10002,
parentId: 1003,
}
]
}
]}
]; // 使用data加载/ 使用url加载(可与data加载同时存在),
dTreeInit('demoTree', _data, res => {
debugger
}, (optres, nodename) => {
debugger
if (nodename === 'view') {
$('#ghcg_iframe').attr('src','/frontweb/view/reviewmanage/resultreview/widgets/Review/Review/images/icon_menu.png')
} else if (nodename === 'delete') {
} else if (nodename === 'download') {
}
});
//审查报告按钮监听
$('#project_scbg').click(function(){
$('#ghcg_iframe').attr('src','/frontweb/view/reviewmanage/resultreview/widgets/Review/Review/images/XXXXXX县国土空间规划成果初审报告.pdf')
})
})
</script>
<style scoped >
*{
margin: 0;
padding: 0;
}
html{
width: 100%;
height: 100%;
}
body{
width: 100%;
height: 100%;
}
.ghcg_l{
position: relative;
height: 100%;
}
.layui-nav-tree{
width: 164px;
}
.ghcg_right{
position: absolute;
width: calc(100% );
height: calc(100% );
/* margin-left: 150px; */
background-color: #fff;
}
.ghcg_right_nav{
height: 56px;
display: flex;
justify-content: space-between;
padding-left: 24px;
padding-right: 24px;
background: #FFFFFF;
box-shadow: 0 2px 8px 0 rgba(0,0,0,0.06);
}
.ghcg_right_nav_left{
font-family: PingFangSC-Medium;
font-size: 16px;
color: #000000;
text-align: center;
line-height: 56px;
font-weight: 600;
}
.ghcg_right_nav_right{
font-family: PingFangSC-Medium;
font-size: 14px;
color: #1890FF;
line-height: 56px;
cursor: pointer;
}
.ghcg_right_footer{
display: flex;
height: calc(100% - 58px);
}
.ghcg_right_footer_left{
width: 23%;
}
.ghcg_right_footer_left_top{
font-family: PingFangSC-Medium;
font-size: 14px;
color: #000000;
margin-left: 22px;
height: 47px;
font-weight: 600;
line-height: 47px;
}
.ghcg_right_footer_left_bottom>.dtree>.dtree-nav-item{
padding-left: 20px;
line-height: 36px;
height: 36px;
}
.dtree-nav-div{
height: 36px;
}
.dtree-nav-item{
line-height: 36px;
}
.top-icon::before{
content: '';
display: inline-block;
width: 14px ;
height: 13px ;
margin-right: 3px;
background: url('/frontweb/view/reviewmanage/resultreview/widgets/Review/Review/images/icon_file_list.png') ;
background-size: cover;
}
.top-icon-bottom::before{
content: '';
display: inline-block;
width: 13px ;
height: 13px ;
margin-right: 3px;
background: url('/frontweb/view/reviewmanage/resultreview/widgets/Review/Review/images/icon_page.png') ;
background-size: 100% 100%;
}
.dtree{
width: 100% !important;
margin-left: 3px;
font-size: 14px;
}
.dtree-zdy-item-this{background-color:rgba(24,144,255,0.10)!important;} /* 当前选中行样式*/
.dtree-zdy-item:hover{background-color:rgba(24,144,255,0.10)!important;} /* 行悬停样式*/
/* .dtree-zdy-item cite{font-size:14px!important;} 行文字样式 */
.dtree-zdy-item:hover cite{color:black} /* 行悬停文字样式*/
.ghcg_right_footer_middle{
flex: 1;
/* height: 100%; */
}
.ghcg_right_footer_right{
/* width: 20%; */
width: 18.4%;
font-size: 14px;
}
.ghcg_right_footer_right_top{
font-family: PingFangSC-Medium;
font-size: 14px;
color: #000000;
margin-left: 20px;
font-weight: 600;
height: 47px;
line-height: 47px;
}
.ghcg_right_footer_right_middle{
padding-left: 20px;
display: flex;
flex-direction: column;
}
.ghcg_right_footer_right_middle_ziti{
height:40px;
line-height: 40px;
}
.ghcg_right_footer_right_middle_ziti>.layui-btn{
width: 176px;
background: #FFFFFF;
border: 1px solid #0096EB;
border-radius: 2px;
color: #0096EB;
padding: 0;
}
.ghcg_right_footer_right_middle_ziti_span{
float: right;
padding-right: 20px;
font-family: "Microsoft YaHei", "微软雅黑",PingFangSC-Regular;
}
.ghcg_right_footer_right_footer{
margin-top: 40px;
margin-left: 50%;
}
.ghcg_right_footer_right_footer>.ghcg_right_footer_right_footer_button{
transform: translateX(-50%);
background: #0096EB;
border: 1px solid #0096EB;
border-radius: 2px;
color: white;
width: 96px;
padding: 0;
}
.ghcg_right_footer_right_footer>.ghcg_right_footer_right_footer_button>img{
width: 13px;
margin-right: 8.2px;
}
</style>