| | |
| | | <p v-if="scope.row.status==1" style="color: red">有违章</p> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="isAdd" |
| | | header-align="center" |
| | | align="center" |
| | | label="手动添加"> |
| | | <template slot-scope="scope"> |
| | | <p v-if="scope.row.isAdd==0 || scope.row.isAdd==null">否</p> |
| | | <p v-if="scope.row.isAdd==1" style="color: red">是</p> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <el-pagination background @size-change="onPageSizeChange" @current-change="onCurrentPageChange" :current-page="pageData.currentPage" :page-size="pageData.pageSize" :total="pageData.total" style="float: right"></el-pagination> |
| | | |
| | |
| | | size: this.pageSize, |
| | | carNo:'', |
| | | parkId:'', |
| | | date: new Date, |
| | | date: this.getDateStr(new Date()), |
| | | }, |
| | | dataList: [], |
| | | pageIndex: 1, |
| | |
| | | computed: { |
| | | }, |
| | | methods: { |
| | | getDateStr(date){ |
| | | const y = date.getFullYear() |
| | | const m = String(date.getMonth()+1).padStart(2,'0') |
| | | const d = String(date.getDate()).padStart(2,'0') |
| | | return `${y}-${m}-${d}` |
| | | }, |
| | | // 获取数据列表 |
| | | getDataList () { |
| | | this.dataListLoading = true |