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
| <template>
| <div>
| <el-card class="box-card float-left" shadow="hover">
| <div slot="header" class="clearfix">
| <span>概览</span>
| </div>
| <div>
| <el-row>
| <el-col :span="8"><div class="grid-content bg-purple"></div></el-col>
| <el-col :span="8"><div class="grid-content bg-purple-light"></div></el-col>
| <el-col :span="8"><div class="grid-content bg-purple"></div></el-col>
| </el-row>
| </div>
| </el-card>
|
| <el-card class="box-card" shadow="hover">
| <div slot="header" class="clearfix">
| <span>项目总览</span>
| </div>
| <div>
| <el-row>
| <el-col :span="8"><div class="grid-content bg-purple"></div></el-col>
| <el-col :span="8"><div class="grid-content bg-purple-light"></div></el-col>
| <el-col :span="8"><div class="grid-content bg-purple"></div></el-col>
| </el-row>
| </div>
| </el-card>
| </div>
| </template>
|
| <script>
| export default {
|
| created() {
| this.init();
| },
| methods: {
| init() {
| let url = "/api/scheme/addOrUpdate";
| this.axios.get(url,{
| params: {
| reseachType: "1",
| name: "2",
| startTime: "2020-01-01",
| endTime: "2020-01-12",
| id: null
| }
| }).then(data_ => {
| console.log(data_);
|
| this.add_Step = 1;
| }).catch(error =>{
| console.log(error);
| })
| },
| },
| }
| </script>
|
| <style>
| .grid-content {
| border-radius: 4px;
| min-height: 36px;
| }
| .box-card{
| width: 40%;
| }
| .float-left{
| float: left;
| }
| </style>
|
|