Blame view

src/views/zhcx/zxgcdycx/zxgcdycx.vue 2.48 KB
任超 committed
1 2 3 4
<template>
  <div class="from-clues">
    <!-- 表单部分 -->
    <div class="from-clues-header">
1  
jiaozeping@pashanhoo.com committed
5
      <el-form :model="queryForm" ref="queryForm" label-width="80px">
任超 committed
6 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
        <el-row>
          <el-col :span="5">
            <el-form-item label="项目名称">
              <el-input placeholder="请输入项目名称" v-model="queryForm.xmmc">
              </el-input>
            </el-form-item>
          </el-col>
          <el-col :span="5">
            <el-form-item label="项目编号">
              <el-input placeholder="请输入项目编号" v-model="queryForm.xmbh">
              </el-input>
            </el-form-item>
          </el-col>
          <el-col :span="5">
            <el-form-item label="自然幢号">
              <el-input placeholder="请输入自然幢号" v-model="queryForm.zrzh">
              </el-input>
            </el-form-item>
          </el-col>
          <el-col :span="5">
            <el-form-item label="宗地代码">
              <el-input placeholder="请输入宗地代码" v-model="queryForm.zddm">
              </el-input>
            </el-form-item>
          </el-col>

32
          <el-col :span="4" class="btnColRight">
任超 committed
33
            <el-form-item>
1  
jiaozeping@pashanhoo.com committed
34 35 36 37 38
              <el-button
                type="primary"
                @click="queryClick()"
                >查询</el-button
              >
任超 committed
39 40 41 42 43 44 45 46
              <el-button @click="moreQueryClick()">高级查询</el-button>
            </el-form-item>
          </el-col>
        </el-row>
      </el-form>
    </div>
    <!-- 表格 -->
    <div class="from-clues-content">
1  
jiaozeping@pashanhoo.com committed
47 48 49 50 51 52 53 54 55
      <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
56 57 58 59 60 61 62 63 64 65
      </lb-table>
    </div>
  </div>
</template>
<script>
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./zxgcdycx";
export default {
  components: {},
  mixins: [table],
1  
jiaozeping@pashanhoo.com committed
66
  mounted() {
任超 committed
67 68
    sendThis(this);
  },
1  
jiaozeping@pashanhoo.com committed
69
  data() {
任超 committed
70 71
    return {
      queryForm: {
1  
jiaozeping@pashanhoo.com committed
72 73 74 75
        xmmc: "",
        xmbh: "",
        zrzh: "",
        zddm: "",
任超 committed
76 77 78
      },
      tableData: {
        columns: datas.columns(),
1  
jiaozeping@pashanhoo.com committed
79 80 81
        data: [],
      },
    };
任超 committed
82 83
  },
  methods: {
1  
jiaozeping@pashanhoo.com committed
84 85 86 87 88
    // 查询
    queryClick() {
      this.fetchData();
    },

任超 committed
89
    // 初始化数据
1  
jiaozeping@pashanhoo.com committed
90 91 92
    fetchData() {},
  },
};
任超 committed
93 94 95 96
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
</style>