c2ff905e by 任超

style:监管

1 parent 4d286ba4
...@@ -66,6 +66,6 @@ export default { ...@@ -66,6 +66,6 @@ export default {
66 <style scoped> 66 <style scoped>
67 #jgChart { 67 #jgChart {
68 width: 100%; 68 width: 100%;
69 height: 360px; 69 height: 330px;
70 } 70 }
71 </style> 71 </style>
......
...@@ -134,6 +134,6 @@ export default { ...@@ -134,6 +134,6 @@ export default {
134 .map-box { 134 .map-box {
135 display: inline-block; 135 display: inline-block;
136 width: 100%; 136 width: 100%;
137 height: 80vh; 137 height: 79.6vh;
138 } 138 }
139 </style> 139 </style>
......
1 import filter from '@/utils/filter.js'
2 class data extends filter {
3 constructor() {
4 super()
5 }
6 columns () {
7 return [
8 {
9 type: 'index',
10 label: "序号",
11 },
12 {
13 prop: "xzqmc",
14 label: "行政区名称",
15 },
16 {
17 prop: "xzqzs",
18 label: "行政区总数",
19 },
20 {
21 prop: "jrl",
22 label: "接入量",
23 },
24 {
25 prop: 'jscgl',
26 label: '接收成功率',
27 render: (h, scope) => {
28 return (
29 <div>
30 {scope.row.jscgl} %
31 </div>
32 )
33 }
34 },
35 {
36 prop: "dk",
37 label: "成功率得分",
38 },
39 {
40 prop: "wjrqx",
41 label: "未接入区县",
42 },
43 {
44 prop: "jrdf",
45 label: "接入得分",
46 },
47 {
48 prop: "jrdf",
49 label: "未上传登薄日志区县",
50 },
51 {
52 prop: "jrdf",
53 label: "登薄日志得分",
54 },
55 {
56 prop: "jrdf",
57 label: "总评分",
58 }
59 ]
60 }
61 }
62 export default new data()
...@@ -2,6 +2,16 @@ ...@@ -2,6 +2,16 @@
2 display: flex; 2 display: flex;
3 justify-content: space-between; 3 justify-content: space-between;
4 4
5 .bottom10 {
6 margin-bottom: 10px;
7 }
8
9 .paddingbtm0 {
10 /deep/.el-card__body {
11 padding-bottom: 0;
12 }
13 }
14
5 &-left, 15 &-left,
6 &-right { 16 &-right {
7 width: 30%; 17 width: 30%;
......
...@@ -34,16 +34,24 @@ ...@@ -34,16 +34,24 @@
34 </el-card> 34 </el-card>
35 </div> 35 </div>
36 <div class="jgHome-right"> 36 <div class="jgHome-right">
37 <el-card> 37 <el-card class="bottom10 paddingbtm0">
38 <jgChart />
39 </el-card>
40 <el-card class="box-card paddingbtm0">
38 <div slot="header"> 41 <div slot="header">
39 <jgChart /> 42 <span>违规总计</span>
43 <el-button style="float: right;" type="text">更多</el-button>
40 </div> 44 </div>
45 <lb-table ref="table" :pagination="false" :heightNum="595" :column="tableData.columns" :data="tableData.data">
46 </lb-table>
41 </el-card> 47 </el-card>
42 </div> 48 </div>
43 </div> 49 </div>
44 </template> 50 </template>
45 51
46 <script> 52 <script>
53 // 引入表格数据
54 import data from "./data"
47 import barChart from './components/barChart' 55 import barChart from './components/barChart'
48 import hzMap from './components/map' 56 import hzMap from './components/map'
49 import jgChart from './components/jgChart' 57 import jgChart from './components/jgChart'
...@@ -52,6 +60,13 @@ export default { ...@@ -52,6 +60,13 @@ export default {
52 components: { barChart, hzMap, jgChart }, 60 components: { barChart, hzMap, jgChart },
53 data () { 61 data () {
54 return { 62 return {
63 // 表格数据
64 tableData: {
65 // 表格头部信息
66 columns: data.columns(),
67 // 表格列表数据
68 data: [{}]
69 }
55 } 70 }
56 }, 71 },
57 methods: {} 72 methods: {}
......