afc989ef by 杨威

户合并分割数据来源修改

1 parent 0761c97e
...@@ -212,6 +212,7 @@ ...@@ -212,6 +212,7 @@
212 <script> 212 <script>
213 import lpbContent from "../../../zrz/lpb/bjlp/lpbContent/index"; 213 import lpbContent from "../../../zrz/lpb/bjlp/lpbContent/index";
214 import { getLpbMenuTree, batchScYcChange, getLpbTj,batchGeneratorBdcdyh,getLpbFwytAndQlxz ,batchCommit} from "@api/lpb"; 214 import { getLpbMenuTree, batchScYcChange, getLpbTj,batchGeneratorBdcdyh,getLpbFwytAndQlxz ,batchCommit} from "@api/lpb";
215 import {getSearchList} from "@api/search";
215 export default { 216 export default {
216 name:"", 217 name:"",
217 components:{lpbContent}, 218 components:{lpbContent},
...@@ -224,11 +225,16 @@ export default { ...@@ -224,11 +225,16 @@ export default {
224 data(){ 225 data(){
225 return { 226 return {
226 queryData:{ 227 queryData:{
227 zddm:'', 228 bdcdyh: "",
228 bdcdyh:'', 229 bdcqzh: "",
229 bdcqzh:'', 230 dylxs: ['zrz'],
231 qlrmc: "",
232 qszt: [],
233 xmmc: "",
234 zddm: "",
235 zl: "",
230 pageNo:1, 236 pageNo:1,
231 pageSize:10 237 pageSize:15
232 }, 238 },
233 tableData:[], 239 tableData:[],
234 total:0, 240 total:0,
...@@ -308,19 +314,25 @@ export default { ...@@ -308,19 +314,25 @@ export default {
308 this.lpbContentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 270; 314 this.lpbContentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 270;
309 this.lpbContentwidth = this.$refs.lpbContentWrap.clientWidth - 34 - 6; 315 this.lpbContentwidth = this.$refs.lpbContentWrap.clientWidth - 34 - 6;
310 }) 316 })
317 this.search();
311 }, 318 },
312 methods:{ 319 methods:{
313 //查询 320 //查询
314 search(){ 321 search(){
315 this.tableData = [ 322 getSearchList(this.queryData).then(res => {
316 { 323 this.tableData = res.result.records
317 bdcdyh:'00111111111111111', 324 this.total = res.result.total
318 xmmc:'测试自然幢', 325 })
319 bdcqzh:'A12111111111111111', 326 // this.tableData = [
320 dylx:'zrz', 327
321 zrzbsm:'1a94f3ab0f95ecc7137c5c3e51c15ac6' 328 // {
322 } 329 // bdcdyh:'00111111111111111',
323 ] 330 // xmmc:'测试自然幢',
331 // bdcqzh:'A12111111111111111',
332 // dylx:'zrz',
333 // zrzbsm:'1a94f3ab0f95ecc7137c5c3e51c15ac6'
334 // }
335 // ]
324 }, 336 },
325 //重置 337 //重置
326 reset(){ 338 reset(){
...@@ -336,7 +348,7 @@ export default { ...@@ -336,7 +348,7 @@ export default {
336 //办理 348 //办理
337 handleClick(row){ 349 handleClick(row){
338 this.isSearch = false; 350 this.isSearch = false;
339 this.zrzbsm = row.zrzbsm; 351 this.zrzbsm = row.glbsm;
340 }, 352 },
341 //分页 353 //分页
342 handleCurrentChange(val) { 354 handleCurrentChange(val) {
......