819527061@qq.com
2025-01-07 1fdb81a91f5f4092e927d2d9a7cc9ff4d231fca4
src/components/page/enterpark/index.vue
@@ -1,6 +1,6 @@
<template>
  <div class="mod-config">
      <el-form :inline="true" :model="dataForm" @keyup.enter.native="getDataList()">
  <div class="mod-config" style="padding: 10px 10px 0px 10px;">
      <el-form :inline="true" :model="dataForm" @keyup.enter.native="getDataList()" >
        <el-form-item label="车牌号">
          <el-input v-model="searchForm.carNo" clearable></el-input>
        </el-form-item>
@@ -70,6 +70,16 @@
                <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>
@@ -128,11 +138,11 @@
      },
      onPageSizeChange(val) {
        this.pageData.pageSize = val;
        this.loadData();
        this.getDataList();
      },
      onCurrentPageChange(val) {
        this.pageData.page = val;
        this.loadData();
        this.getDataList();
      },
    }
  }