|
@@ -17,15 +17,18 @@
|
17
|
17
|
ref="tree"
|
18
|
18
|
>
|
19
|
19
|
<span class="custom-tree-node" slot-scope="{ node, data }">
|
20
|
|
- <span> <i :class="node.icon"></i>{{ node.label }} </span>
|
|
20
|
+ <span v-if="node.level==1"> <i :class="node.icon"></i>{{ node.label }} </span>
|
|
21
|
+ <span v-if="node.level==2"> <i :class="node.icon"></i>{{ node.label }} </span>
|
|
22
|
+ <span v-if="node.level==3"> <i :class="node.icon"></i>{{ node.label }} </span>
|
|
23
|
+ <span v-if="node.level==4"> <i></i>{{ node.label }} </span>
|
21
|
24
|
</span>
|
22
|
25
|
</el-tree>
|
23
|
26
|
</div>
|
24
|
27
|
<div class="right">
|
25
|
28
|
<!-- <template slot="header">首页/数据查询</template> -->
|
26
|
|
- <div class="nav">首页/数据查询</div>
|
|
29
|
+ <div class="nav">当前所在位置:首页>数据查询</div>
|
27
|
30
|
<div class="right_main">
|
28
|
|
- <div class="right_title">数据查询</div>
|
|
31
|
+ <div class="right_title"><i class="fa fa-bar-chart" aria-hidden="true" style="padding-right:5px"></i>数据查询</div>
|
29
|
32
|
<div class="right_table">
|
30
|
33
|
<el-form :inline="true" :model="formInline" class="demo-form-inline">
|
31
|
34
|
<el-form-item label="扫描时间">
|
|
@@ -56,7 +59,7 @@
|
56
|
59
|
>
|
57
|
60
|
</el-form-item>
|
58
|
61
|
</el-form>
|
59
|
|
- <el-table :data="dataSearchList" border style="width: 100%">
|
|
62
|
+ <el-table :data="dataSearchList" border style="width: 100%" :header-cell-style="{background:'#0064b9',color:'#c9f5fa'}">
|
60
|
63
|
<el-table-column
|
61
|
64
|
prop="directLibrary"
|
62
|
65
|
label="所属直属库"
|
|
@@ -121,6 +124,7 @@ export default {
|
121
|
124
|
// 默认展开的节点
|
122
|
125
|
defaultProps: {
|
123
|
126
|
children: 'children',
|
|
127
|
+ data:'',
|
124
|
128
|
label: 'label'
|
125
|
129
|
},
|
126
|
130
|
// 左侧树数据
|
|
@@ -276,16 +280,20 @@ export default {
|
276
|
280
|
padding: 10px 0 10px 10px;
|
277
|
281
|
color:#FFF;
|
278
|
282
|
|
|
283
|
+ font-size:14px;
|
|
284
|
+
|
279
|
285
|
background: #004a93;
|
280
|
286
|
}
|
281
|
287
|
.right_main{
|
282
|
|
- border:1px solid #0a3e6b;
|
|
288
|
+ border:1px solid #67a7df;
|
283
|
289
|
background:#112f5d;
|
|
290
|
+
|
284
|
291
|
margin-top:10px;
|
285
|
292
|
.right_title{
|
286
|
293
|
color:#FFF;
|
287
|
|
- border-bottom:1px solid #0a3e6b;
|
|
294
|
+ border-bottom:1px solid #67a7df;
|
288
|
295
|
padding:10px;
|
|
296
|
+ font-size:14px;
|
289
|
297
|
}
|
290
|
298
|
.right_table{
|
291
|
299
|
padding:20px;
|