76 lines
1.1 KiB
Vue
76 lines
1.1 KiB
Vue
|
<template>
|
||
|
<div class="app-container print-work">
|
||
|
<div class="level-title">
|
||
|
<h1>车辆信息</h1>
|
||
|
</div>
|
||
|
<table class="table-ui">
|
||
|
<tr>
|
||
|
<td class="bbg-transparent">车牌号</td>
|
||
|
<td >{{ infoname }}</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import { requestFN } from '@/utils/request'
|
||
|
import moment from 'moment/moment'
|
||
|
|
||
|
export default {
|
||
|
props: {
|
||
|
id: {
|
||
|
type: String,
|
||
|
default() {
|
||
|
return ''
|
||
|
}
|
||
|
},
|
||
|
type: {
|
||
|
type: String,
|
||
|
default() {
|
||
|
return ''
|
||
|
}
|
||
|
},
|
||
|
infoname: {
|
||
|
type: String,
|
||
|
default() {
|
||
|
return ''
|
||
|
}
|
||
|
},
|
||
|
position: {
|
||
|
type: String,
|
||
|
default() {
|
||
|
return ''
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
data() {
|
||
|
return {
|
||
|
config: config,
|
||
|
info: {},
|
||
|
ImgList: [],
|
||
|
measuresList: [],
|
||
|
gongdanList: []
|
||
|
}
|
||
|
},
|
||
|
created() {
|
||
|
this.getData()
|
||
|
},
|
||
|
methods: {
|
||
|
formatDate(date, format) {
|
||
|
if (date) {
|
||
|
return moment(date).format(format)
|
||
|
} else {
|
||
|
return ''
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
<style lang="scss" scoped>
|
||
|
|
||
|
.titles {
|
||
|
margin-top: 20px;
|
||
|
}
|
||
|
|
||
|
</style>
|