afc989ef by 杨威

户合并分割数据来源修改

1 parent 0761c97e
......@@ -212,6 +212,7 @@
<script>
import lpbContent from "../../../zrz/lpb/bjlp/lpbContent/index";
import { getLpbMenuTree, batchScYcChange, getLpbTj,batchGeneratorBdcdyh,getLpbFwytAndQlxz ,batchCommit} from "@api/lpb";
import {getSearchList} from "@api/search";
export default {
name:"",
components:{lpbContent},
......@@ -224,11 +225,16 @@ export default {
data(){
return {
queryData:{
zddm:'',
bdcdyh:'',
bdcqzh:'',
bdcdyh: "",
bdcqzh: "",
dylxs: ['zrz'],
qlrmc: "",
qszt: [],
xmmc: "",
zddm: "",
zl: "",
pageNo:1,
pageSize:10
pageSize:15
},
tableData:[],
total:0,
......@@ -308,19 +314,25 @@ export default {
this.lpbContentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 270;
this.lpbContentwidth = this.$refs.lpbContentWrap.clientWidth - 34 - 6;
})
this.search();
},
methods:{
//查询
search(){
this.tableData = [
{
bdcdyh:'00111111111111111',
xmmc:'测试自然幢',
bdcqzh:'A12111111111111111',
dylx:'zrz',
zrzbsm:'1a94f3ab0f95ecc7137c5c3e51c15ac6'
}
]
getSearchList(this.queryData).then(res => {
this.tableData = res.result.records
this.total = res.result.total
})
// this.tableData = [
// {
// bdcdyh:'00111111111111111',
// xmmc:'测试自然幢',
// bdcqzh:'A12111111111111111',
// dylx:'zrz',
// zrzbsm:'1a94f3ab0f95ecc7137c5c3e51c15ac6'
// }
// ]
},
//重置
reset(){
......@@ -336,7 +348,7 @@ export default {
//办理
handleClick(row){
this.isSearch = false;
this.zrzbsm = row.zrzbsm;
this.zrzbsm = row.glbsm;
},
//分页
handleCurrentChange(val) {
......