Blame view

src/views/zhcx/zslqcx/zslqcx.vue 2.62 KB
任超 committed
1 2 3 4
<template>
  <div class="from-clues">
    <!-- 表单部分 -->
    <div class="from-clues-header">
任超 committed
5
      <el-form :model="queryForm" @submit.native.prevent ref="queryForm" label-width="70px">
任超 committed
6 7
        <el-row>
          <el-col :span="5">
任超 committed
8 9
            <el-form-item label="不动产权证号" label-width="100px">
              <el-input placeholder="请输入不动产权证号" class="width100" @clear="queryClick()" v-model="queryForm.bdcqzh">
任超 committed
10 11 12 13
              </el-input>
            </el-form-item>
          </el-col>
          <el-col :span="5">
任超 committed
14 15
            <el-form-item label="印刷序列号" label-width="100px">
              <el-input placeholder="请输入印刷序列号" class="width100" @clear="queryClick()" v-model="queryForm.ysxlh">
任超 committed
16 17 18 19 20
              </el-input>
            </el-form-item>
          </el-col>
          <el-col :span="5">
            <el-form-item label="业务号">
任超 committed
21
              <el-input placeholder="请输入业务号" class="width100" @clear="queryClick()" v-model="queryForm.ywh">
任超 committed
22 23 24 25 26
              </el-input>
            </el-form-item>
          </el-col>
          <el-col :span="5">
            <el-form-item label="领取人">
任超 committed
27
              <el-input placeholder="请输入领取人" class="width100" @clear="queryClick()" v-model="queryForm.lqr">
任超 committed
28 29 30 31
              </el-input>
            </el-form-item>
          </el-col>

32
          <el-col :span="4" class="btnColRight">
任超 committed
33
            <el-form-item>
任超 committed
34
              <el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button>
任超 committed
35 36 37 38 39 40 41 42
              <el-button @click="moreQueryClick()">高级查询</el-button>
            </el-form-item>
          </el-col>
        </el-row>
      </el-form>
    </div>
    <!-- 表格 -->
    <div class="from-clues-content">
任超 committed
43 44 45
      <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total"
        @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
        :data="tableData.data">
任超 committed
46 47 48 49 50 51 52 53 54 55
      </lb-table>
    </div>
  </div>
</template>
<script>
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./zslqcx";
export default {
  components: {},
  mixins: [table],
任超 committed
56
  mounted () {
任超 committed
57 58
    sendThis(this);
  },
任超 committed
59
  data () {
任超 committed
60 61
    return {
      queryForm: {
1  
jiaozeping@pashanhoo.com committed
62 63 64 65
        bdcqzh: "",
        ysxlh: "",
        ywh: "",
        lqr: "",
任超 committed
66 67 68
      },
      tableData: {
        columns: datas.columns(),
1  
jiaozeping@pashanhoo.com committed
69 70 71
        data: [],
      },
    };
任超 committed
72 73
  },
  methods: {
1  
jiaozeping@pashanhoo.com committed
74
    // 查询
任超 committed
75
    queryClick () {
1  
jiaozeping@pashanhoo.com committed
76 77 78
      this.fetchData();
    },

任超 committed
79
    // 初始化数据
任超 committed
80
    fetchData () {
1  
jiaozeping@pashanhoo.com committed
81 82 83
    },
  },
};
任超 committed
84 85 86 87
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
</style>