truckActivateInfo.vue
3.06 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
<template>
<div v-loading="loading" >
<el-row >
<el-col :span="24" class="title">工地名称</el-col>
</el-row>
<el-row >
<el-col :span="24" class="content">{{truckObj.construction}}</el-col>
</el-row>
<el-row >
<el-col :span="24" class="title">施工地址</el-col>
</el-row>
<el-row >
<el-col :span="24" class="content">{{truckObj.address}}</el-col>
</el-row>
<el-row >
<el-col :span="24" class="title">运输车辆</el-col>
</el-row>
<el-row >
<el-col :span="24" class="content">{{truckObj.licensePlate}}</el-col>
</el-row>
<el-row >
<el-col :span="24" class="title">运输公司</el-col>
</el-row>
<el-row >
<el-col :span="24" class="content">{{truckObj.company}}</el-col>
</el-row>
<el-row >
<el-col :span="24" class="title">证照有效期起</el-col>
</el-row>
<el-row >
<el-col :span="24" class="content">{{truckObj.effectiveFrom}}</el-col>
</el-row>
<el-row >
<el-col :span="24" class="title" >证照有效期止</el-col>
</el-row>
<el-row >
<el-col :span="24" class="content">{{truckObj.effectiveEnd}}</el-col>
</el-row>
<el-row >
<el-col :span="24" class="title">运输开始时间</el-col> </el-row>
<el-row >
<el-col :span="24" class="content">{{truckObj.transportStartTime}}</el-col> </el-row>
<el-row >
<el-col :span="24" class="title" >运输结束时间</el-col> </el-row>
<el-row >
<el-col :span="24" class="content">{{truckObj.transportEndTime}}</el-col>
</el-row>
<el-row >
<el-col :span="24" class="title">路线描述</el-col>
</el-row>
<el-row >
<!-- v-if="truckObj.activateTime != null" -->
<el-col :span="24" class="content" ><span >{{truckObj.routeName}}</span></el-col>
</el-row>
<el-row >
<el-col :span="24" class="title">卸区描述</el-col>
</el-row>
<el-row >
<el-col :span="24" class="content"><span >{{truckObj.earthName}}</span></el-col>
</el-row>
</div>
</template>
<script >
import {
getArea,
truckList,
constructionLicenseById,
companyList,
} from "@/api/dict";
export default {
name: "truckActivateInfo",
props: {
truckObj: {
type: Object
}
},
data() {
return {
loading:false,
construction:null,
company:null,
}
},
created() {
let query = {
name:this.truckObj.company
};
// companyList(query).then(res=>{
// this.company = res.result.list[0];
// });
},
};
</script >
<style scope>
.title{
font-size: 14px;
font-weight: bold;
padding: 5px;
}
.content{
color:gray;
font-size: 14px;
padding: 5px;
border-bottom: 3px solid #ccc;
}
</style>