|
|
@ -2,7 +2,8 @@ |
|
|
|
<Card2 class='Auditlists' title="审核列表"> |
|
|
|
<InputSearch style="width: 100%;" /> |
|
|
|
<div class="body"> |
|
|
|
<ListItem v-for="item in list" :key="item.id" :data="item" origin="left" class="middle-ratio" /> |
|
|
|
<ListItem v-for="item in list1" :key="item.id" :data="item" origin="left" class="middle-ratio" /> |
|
|
|
<ListItem v-for="item in list2" :key="item.id" :data="item" origin="left" class="middle-ratio" /> |
|
|
|
</div> |
|
|
|
<div class="footer"> |
|
|
|
<Pagination :total="90" /> |
|
|
@ -26,14 +27,20 @@ export default { |
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
list: Array.from({ length: 20 }).map(() => ({ |
|
|
|
list1: Array.from({ length: 3 }).map(() => ({ |
|
|
|
title: "异常天气", |
|
|
|
content: "2023.12.23 13:00:00 济南方向K100+000 交通事故", |
|
|
|
type: (() => { |
|
|
|
content: "2023.12.23 13:00:00 济南方向K100+000 中雪", |
|
|
|
type: 0, |
|
|
|
isverify: (() => { |
|
|
|
const min = 0; |
|
|
|
const max = 1; |
|
|
|
const max = 2; |
|
|
|
return Math.floor(Math.random() * (max - min + 1)) + min; |
|
|
|
})(), |
|
|
|
})() |
|
|
|
})), |
|
|
|
list2: Array.from({ length: 10 }).map(() => ({ |
|
|
|
title: "交通事故", |
|
|
|
content: "2023.12.23 13:00:00 济南方向K100+000 交通事故", |
|
|
|
type: 1, |
|
|
|
isverify: (() => { |
|
|
|
const min = 0; |
|
|
|
const max = 2; |
|
|
|