7b22bc55 by jiaozeping@pashanhoo.com

12

1 parent 6fab4126
......@@ -13,3 +13,14 @@ export function getLpZrz(data) {
})
}
// 获取楼盘表
export function getLpb(params) {
return request({
url: '/zhcx/lpcx/getLpb/',
method: 'get',
params
})
}
......
......@@ -50,7 +50,7 @@
<script>
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./lpcxdata";
import { getLpZrz } from "@/api/lpb.js"
import { getLpZrz,getLpb } from "@/api/lpb.js"
export default {
name: "lpcx",
components: {},
......@@ -78,8 +78,7 @@ export default {
};
},
methods: {
//查询
queryClick(){
this.fetchData();
},
......@@ -93,11 +92,24 @@ export default {
}
})
},
handleSort (name, sort) {
console.log(name, sort);
},
openDialog () {
console.log(999999999999999);
//打开楼盘表
openlpbDialog (scope) {
debugger;
var zrzbsm=scope.row.bsm;
getLpb({zrzbsm:zrzbsm}).then(res => {
if(res.code == 200){
var lpbdata = res.result;
}
})
.catch((error) => {
console.log(error);
});
},
},
};
......
......@@ -57,7 +57,7 @@ class data extends filter {
align: 'center',
fixed: 'right',
render: (h, scope) => {
return <el-button type="text" icon="el-icon-film" onClick={() => { vm.openDialog(scope) }}>楼盘表</el-button>
return <el-button type="text" icon="el-icon-film" onClick={() => { vm.openlpbDialog(scope) }}>楼盘表</el-button>
}
}
]
......