Blame view

src/views/xxba/qyxxba/index.vue 2.19 KB
renchao@pashanhoo.com committed
1
<!--
2
 * @Description:
renchao@pashanhoo.com committed
3
 * @Autor: renchao
4
 * @LastEditTime: 2023-09-01 10:17:48
renchao@pashanhoo.com committed
5 6
-->
<template>
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
  <div class="from-clues">
    <!-- 表单部分 -->
    <div class="from-clues-header">
      <el-form :model="queryForm" ref="queryForm" @submit.native.prevent label-width="80px">
        <el-row>
          <el-col :span="5">
            <el-form-item label="姓名/名称">
              <el-input placeholder="姓名/名称" v-model="queryForm.sqrmc" clearable class="width100">
              </el-input>
            </el-form-item>
          </el-col>
          <el-col :span="5">
            <el-form-item label="证件号">
              <el-input placeholder="证件号" v-model="queryForm.zjh" clearable class="width100">
              </el-input>
            </el-form-item>
          </el-col>
          <el-col :span="14" class="btnColRight">
            <el-form-item>
              <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button>
            </el-form-item>
          </el-col>
        </el-row>
      </el-form>
    </div>
    <div class="from-clues-content">
      <lb-table :page-size="pageData.size" border :current-page.sync="pageData.currentPage" :heightNum="280"
        :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
        :column="tableData.columns" :data="tableData.data">
      </lb-table>
    </div>
  </div>
renchao@pashanhoo.com committed
39 40
</template>
<script>
41 42
  import table from "@/utils/mixin/table"
  import { datas, sendThis } from "./data"
renchao@pashanhoo.com committed
43
  export default {
44
    name: "cwrz",
renchao@pashanhoo.com committed
45
    components: {},
46 47 48 49 50 51
    mixins: [table],
    mounted () {
      sendThis(this);
    },
    computed: {
    },
renchao@pashanhoo.com committed
52 53
    data () {
      return {
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
        queryForm: {
          sqrmc: "",
          zjh: "",
        },
        pageData: {
          current: 1,
          size: 10,
        },
        tableData: {
          total: 0,
          columns: datas.columns(),
          data: [],
        },
      };
    },
    methods: {
      /**
       * @description: queryClick
       * @author: renchao
       */
      queryClick () {
      },
      handleSearch () { },
      handleDelete () { }
renchao@pashanhoo.com committed
78 79 80
    }
  }
</script>
81 82 83 84
<style scoped lang="scss">
  @import "~@/styles/public.scss";
</style>