添加菜单栏目的地方不查询户的信息
Showing
8 changed files
with
36 additions
and
15 deletions
... | @@ -122,6 +122,7 @@ | ... | @@ -122,6 +122,7 @@ |
122 | zl: "", | 122 | zl: "", |
123 | pageNo: 1, | 123 | pageNo: 1, |
124 | pageSize: 10, | 124 | pageSize: 10, |
125 | type:'all', | ||
125 | }, | 126 | }, |
126 | Data: [], | 127 | Data: [], |
127 | isVisible: false | 128 | isVisible: false |
... | @@ -165,7 +166,8 @@ | ... | @@ -165,7 +166,8 @@ |
165 | zddm: "", | 166 | zddm: "", |
166 | zl: "", | 167 | zl: "", |
167 | pageNo: 1, | 168 | pageNo: 1, |
168 | pageSize: 10 | 169 | pageSize: 10, |
170 | type:'all', | ||
169 | }; | 171 | }; |
170 | this.getData(this.queryData) | 172 | this.getData(this.queryData) |
171 | }, | 173 | }, | ... | ... |
... | @@ -75,7 +75,7 @@ | ... | @@ -75,7 +75,7 @@ |
75 | <el-checkbox label="zd" name="type">宗地</el-checkbox> | 75 | <el-checkbox label="zd" name="type">宗地</el-checkbox> |
76 | <el-checkbox label="dz" name="type">多幢</el-checkbox> | 76 | <el-checkbox label="dz" name="type">多幢</el-checkbox> |
77 | <el-checkbox label="zrz" name="type">自然幢</el-checkbox> | 77 | <el-checkbox label="zrz" name="type">自然幢</el-checkbox> |
78 | <el-checkbox label="h" name="type">户</el-checkbox> | 78 | <el-checkbox label="h" name="type" v-show="type !== 'add'">户</el-checkbox> |
79 | <!-- <el-checkbox label="gzw" name="type">构筑物</el-checkbox> | 79 | <!-- <el-checkbox label="gzw" name="type">构筑物</el-checkbox> |
80 | <el-checkbox label="lq" name="type">林权</el-checkbox> | 80 | <el-checkbox label="lq" name="type">林权</el-checkbox> |
81 | <el-checkbox label="zh" name="type">宗海</el-checkbox> --> | 81 | <el-checkbox label="zh" name="type">宗海</el-checkbox> --> |
... | @@ -94,7 +94,13 @@ | ... | @@ -94,7 +94,13 @@ |
94 | export default { | 94 | export default { |
95 | name: "", | 95 | name: "", |
96 | components: {}, | 96 | components: {}, |
97 | props: {}, | 97 | props: { |
98 | type:{ | ||
99 | type:String, | ||
100 | default:'all', | ||
101 | required:true | ||
102 | } | ||
103 | }, | ||
98 | data() { | 104 | data() { |
99 | return { | 105 | return { |
100 | offset: 22, | 106 | offset: 22, |
... | @@ -108,6 +114,7 @@ export default { | ... | @@ -108,6 +114,7 @@ export default { |
108 | xmmc: "", | 114 | xmmc: "", |
109 | zddm: "", | 115 | zddm: "", |
110 | zl: "", | 116 | zl: "", |
117 | type:this.type | ||
111 | }, | 118 | }, |
112 | }; | 119 | }; |
113 | }, | 120 | }, | ... | ... |
1 | <template> | 1 | <template> |
2 | <div class="main"> | 2 | <div class="main"> |
3 | <SearchHead @getSearchCondition="geQuerytData"></SearchHead> | 3 | <SearchHead @getSearchCondition="geQuerytData" :type="type"></SearchHead> |
4 | <div class="dataGrid" ref="dataGrid"> | 4 | <div class="dataGrid" ref="dataGrid"> |
5 | <el-table | 5 | <el-table |
6 | :data="tableData" | 6 | :data="tableData" |
... | @@ -60,6 +60,7 @@ | ... | @@ -60,6 +60,7 @@ |
60 | props: {}, | 60 | props: {}, |
61 | data() { | 61 | data() { |
62 | return { | 62 | return { |
63 | type:'add', | ||
63 | total: 0, | 64 | total: 0, |
64 | pageNo: 1, | 65 | pageNo: 1, |
65 | pageSize: 15, | 66 | pageSize: 15, |
... | @@ -91,6 +92,7 @@ | ... | @@ -91,6 +92,7 @@ |
91 | }, | 92 | }, |
92 | getData(data) { | 93 | getData(data) { |
93 | data['qszt'] = this.qszt | 94 | data['qszt'] = this.qszt |
95 | data['type'] = this.type | ||
94 | getSearchList(data).then(res => { | 96 | getSearchList(data).then(res => { |
95 | this.tableData = res.result.records | 97 | this.tableData = res.result.records |
96 | this.total = res.result.total | 98 | this.total = res.result.total | ... | ... |
... | @@ -131,6 +131,7 @@ export default { | ... | @@ -131,6 +131,7 @@ export default { |
131 | zl: "", | 131 | zl: "", |
132 | pageNo: 1, | 132 | pageNo: 1, |
133 | pageSize: 12, | 133 | pageSize: 12, |
134 | type:'add', | ||
134 | }, | 135 | }, |
135 | Data: [], | 136 | Data: [], |
136 | dylxs: ["zd"], | 137 | dylxs: ["zd"], |
... | @@ -181,6 +182,7 @@ export default { | ... | @@ -181,6 +182,7 @@ export default { |
181 | zl: "", | 182 | zl: "", |
182 | pageNo: 1, | 183 | pageNo: 1, |
183 | pageSize: 12, | 184 | pageSize: 12, |
185 | type:'add', | ||
184 | }; | 186 | }; |
185 | this.getData(this.queryData); | 187 | this.getData(this.queryData); |
186 | }, | 188 | }, | ... | ... |
1 | <template> | 1 | <template> |
2 | <div class="main"> | 2 | <div class="main"> |
3 | <SearchHead @getSearchCondition="geQuerytData"></SearchHead> | 3 | <SearchHead @getSearchCondition="geQuerytData" :type="type"></SearchHead> |
4 | <div class="dataGrid" ref="dataGrid"> | 4 | <div class="dataGrid" ref="dataGrid"> |
5 | <el-table | 5 | <el-table |
6 | :data="tableData" | 6 | :data="tableData" |
... | @@ -75,6 +75,7 @@ export default { | ... | @@ -75,6 +75,7 @@ export default { |
75 | props: {}, | 75 | props: {}, |
76 | data() { | 76 | data() { |
77 | return { | 77 | return { |
78 | type:'fwsxbg', | ||
78 | qszt: ['2'], | 79 | qszt: ['2'], |
79 | total: 0, | 80 | total: 0, |
80 | pageNo: 1, | 81 | pageNo: 1, |
... | @@ -110,6 +111,7 @@ export default { | ... | @@ -110,6 +111,7 @@ export default { |
110 | this.getData(this.queryData); | 111 | this.getData(this.queryData); |
111 | }, | 112 | }, |
112 | getData(data) { | 113 | getData(data) { |
114 | data['type'] = this.type | ||
113 | data["qszt"] = this.qszt; | 115 | data["qszt"] = this.qszt; |
114 | getSearchList(data).then((res) => { | 116 | getSearchList(data).then((res) => { |
115 | this.tableData = res.result.records; | 117 | this.tableData = res.result.records; | ... | ... |
... | @@ -226,13 +226,14 @@ export default { | ... | @@ -226,13 +226,14 @@ export default { |
226 | return { | 226 | return { |
227 | queryData:{ | 227 | queryData:{ |
228 | bdcdyh: "", | 228 | bdcdyh: "", |
229 | bdcqzh: "", | 229 | bdcqzh: "", |
230 | dylxs: ['zrz'], | 230 | dylxs: ['zrz'], |
231 | qlrmc: "", | 231 | qlrmc: "", |
232 | qszt: [], | 232 | qszt: [], |
233 | xmmc: "", | 233 | xmmc: "", |
234 | zddm: "", | 234 | zddm: "", |
235 | zl: "", | 235 | zl: "", |
236 | type:'all', | ||
236 | pageNo:1, | 237 | pageNo:1, |
237 | pageSize:15 | 238 | pageSize:15 |
238 | }, | 239 | }, |
... | @@ -341,7 +342,8 @@ export default { | ... | @@ -341,7 +342,8 @@ export default { |
341 | bdcdyh:'', | 342 | bdcdyh:'', |
342 | bdcqzh:'', | 343 | bdcqzh:'', |
343 | pageNo:1, | 344 | pageNo:1, |
344 | pageSize:10 | 345 | pageSize:10, |
346 | type:'all' | ||
345 | }; | 347 | }; |
346 | this.search() | 348 | this.search() |
347 | }, | 349 | }, | ... | ... |
1 | <template> | 1 | <template> |
2 | <div class="main"> | 2 | <div class="main"> |
3 | <SearchHead @getSearchCondition="geQuerytData"></SearchHead> | 3 | <SearchHead @getSearchCondition="geQuerytData" :type="type"></SearchHead> |
4 | <div class="dataGrid" ref="dataGrid"> | 4 | <div class="dataGrid" ref="dataGrid"> |
5 | <el-table | 5 | <el-table |
6 | :data="tableData" | 6 | :data="tableData" |
... | @@ -68,6 +68,7 @@ | ... | @@ -68,6 +68,7 @@ |
68 | props: {}, | 68 | props: {}, |
69 | data() { | 69 | data() { |
70 | return { | 70 | return { |
71 | type:'modify', | ||
71 | qszt: ['1'], | 72 | qszt: ['1'], |
72 | total: 0, | 73 | total: 0, |
73 | pageNo: 1, | 74 | pageNo: 1, |
... | @@ -99,6 +100,7 @@ | ... | @@ -99,6 +100,7 @@ |
99 | this.getData(this.queryData); | 100 | this.getData(this.queryData); |
100 | }, | 101 | }, |
101 | getData(data) { | 102 | getData(data) { |
103 | data['type'] = this.type | ||
102 | data['qszt'] = this.qszt | 104 | data['qszt'] = this.qszt |
103 | getSearchList(data).then(res => { | 105 | getSearchList(data).then(res => { |
104 | this.tableData = res.result.records | 106 | this.tableData = res.result.records | ... | ... |
1 | <template> | 1 | <template> |
2 | <div class="main"> | 2 | <div class="main"> |
3 | <SearchHead @getSearchCondition="geQuerytData"></SearchHead> | 3 | <SearchHead @getSearchCondition="geQuerytData" :type="type"></SearchHead> |
4 | <div class="dataGrid" ref="dataGrid"> | 4 | <div class="dataGrid" ref="dataGrid"> |
5 | <el-table | 5 | <el-table |
6 | :data="tableData" | 6 | :data="tableData" |
... | @@ -64,6 +64,7 @@ | ... | @@ -64,6 +64,7 @@ |
64 | props: {}, | 64 | props: {}, |
65 | data() { | 65 | data() { |
66 | return { | 66 | return { |
67 | type:'all', | ||
67 | total: 0, | 68 | total: 0, |
68 | pageNo: 1, | 69 | pageNo: 1, |
69 | pageSize: 15, | 70 | pageSize: 15, |
... | @@ -100,6 +101,7 @@ | ... | @@ -100,6 +101,7 @@ |
100 | this.getData(this.queryData); | 101 | this.getData(this.queryData); |
101 | }, | 102 | }, |
102 | getData(data) { | 103 | getData(data) { |
104 | data['type'] = this.type | ||
103 | getSearchList(data).then(res => { | 105 | getSearchList(data).then(res => { |
104 | this.tableData = res.result.records | 106 | this.tableData = res.result.records |
105 | this.total = res.result.total | 107 | this.total = res.result.total | ... | ... |
-
Please register or sign in to post a comment