bf4bc937 by zhaoqian

添加菜单栏目的地方不查询户的信息

1 parent 07f6455e
......@@ -122,6 +122,7 @@
zl: "",
pageNo: 1,
pageSize: 10,
type:'all',
},
Data: [],
isVisible: false
......@@ -165,7 +166,8 @@
zddm: "",
zl: "",
pageNo: 1,
pageSize: 10
pageSize: 10,
type:'all',
};
this.getData(this.queryData)
},
......
......@@ -75,7 +75,7 @@
<el-checkbox label="zd" name="type">宗地</el-checkbox>
<el-checkbox label="dz" name="type">多幢</el-checkbox>
<el-checkbox label="zrz" name="type">自然幢</el-checkbox>
<el-checkbox label="h" name="type"></el-checkbox>
<el-checkbox label="h" name="type" v-show="type !== 'add'"></el-checkbox>
<!-- <el-checkbox label="gzw" name="type">构筑物</el-checkbox>
<el-checkbox label="lq" name="type">林权</el-checkbox>
<el-checkbox label="zh" name="type">宗海</el-checkbox> -->
......@@ -94,7 +94,13 @@
export default {
name: "",
components: {},
props: {},
props: {
type:{
type:String,
default:'all',
required:true
}
},
data() {
return {
offset: 22,
......@@ -108,6 +114,7 @@ export default {
xmmc: "",
zddm: "",
zl: "",
type:this.type
},
};
},
......
<template>
<div class="main">
<SearchHead @getSearchCondition="geQuerytData"></SearchHead>
<SearchHead @getSearchCondition="geQuerytData" :type="type"></SearchHead>
<div class="dataGrid" ref="dataGrid">
<el-table
:data="tableData"
......@@ -60,6 +60,7 @@
props: {},
data() {
return {
type:'add',
total: 0,
pageNo: 1,
pageSize: 15,
......@@ -91,6 +92,7 @@
},
getData(data) {
data['qszt'] = this.qszt
data['type'] = this.type
getSearchList(data).then(res => {
this.tableData = res.result.records
this.total = res.result.total
......
......@@ -131,6 +131,7 @@ export default {
zl: "",
pageNo: 1,
pageSize: 12,
type:'add',
},
Data: [],
dylxs: ["zd"],
......@@ -181,6 +182,7 @@ export default {
zl: "",
pageNo: 1,
pageSize: 12,
type:'add',
};
this.getData(this.queryData);
},
......
<template>
<div class="main">
<SearchHead @getSearchCondition="geQuerytData"></SearchHead>
<SearchHead @getSearchCondition="geQuerytData" :type="type"></SearchHead>
<div class="dataGrid" ref="dataGrid">
<el-table
:data="tableData"
......@@ -75,6 +75,7 @@ export default {
props: {},
data() {
return {
type:'fwsxbg',
qszt: ['2'],
total: 0,
pageNo: 1,
......@@ -110,6 +111,7 @@ export default {
this.getData(this.queryData);
},
getData(data) {
data['type'] = this.type
data["qszt"] = this.qszt;
getSearchList(data).then((res) => {
this.tableData = res.result.records;
......
......@@ -226,13 +226,14 @@ export default {
return {
queryData:{
bdcdyh: "",
bdcqzh: "",
dylxs: ['zrz'],
qlrmc: "",
qszt: [],
xmmc: "",
zddm: "",
zl: "",
bdcqzh: "",
dylxs: ['zrz'],
qlrmc: "",
qszt: [],
xmmc: "",
zddm: "",
zl: "",
type:'all',
pageNo:1,
pageSize:15
},
......@@ -341,7 +342,8 @@ export default {
bdcdyh:'',
bdcqzh:'',
pageNo:1,
pageSize:10
pageSize:10,
type:'all'
};
this.search()
},
......
<template>
<div class="main">
<SearchHead @getSearchCondition="geQuerytData"></SearchHead>
<SearchHead @getSearchCondition="geQuerytData" :type="type"></SearchHead>
<div class="dataGrid" ref="dataGrid">
<el-table
:data="tableData"
......@@ -68,6 +68,7 @@
props: {},
data() {
return {
type:'modify',
qszt: ['1'],
total: 0,
pageNo: 1,
......@@ -99,6 +100,7 @@
this.getData(this.queryData);
},
getData(data) {
data['type'] = this.type
data['qszt'] = this.qszt
getSearchList(data).then(res => {
this.tableData = res.result.records
......
<template>
<div class="main">
<SearchHead @getSearchCondition="geQuerytData"></SearchHead>
<SearchHead @getSearchCondition="geQuerytData" :type="type"></SearchHead>
<div class="dataGrid" ref="dataGrid">
<el-table
:data="tableData"
......@@ -64,6 +64,7 @@
props: {},
data() {
return {
type:'all',
total: 0,
pageNo: 1,
pageSize: 15,
......@@ -100,6 +101,7 @@
this.getData(this.queryData);
},
getData(data) {
data['type'] = this.type
getSearchList(data).then(res => {
this.tableData = res.result.records
this.total = res.result.total
......