eabb9c85 by 田浩浩

修改功能

1 parent 504b577b
......@@ -122,9 +122,10 @@ export default {
},
// 高级查询
moreQueryClick () { },
openDialog (scope) {
openDialog (scroll) {
//debugger;
let _this = this;
let bsm = scope.row.bsmQlxx;
let bsm = scroll.bsmQlxx;
axios
.all([
getDjbfm(bsm),
......@@ -145,17 +146,17 @@ export default {
_this.isDialog = true;
// 弹窗打开,自动切换到对应的登记类型
if (scope.row.qllxmc == "国有建设用地使用权") {
if (scroll.qllxmc == "国有建设用地使用权") {
this.$refs.djbxxDialog.showType = "JSYDSYQ";
} else if (scope.row.qllxmc == "抵押权") {
} else if (scroll.qllxmc == "抵押权") {
this.$refs.djbxxDialog.showType = "DYAQ";
} else if (scope.row.qllxmc == "地役权") {
} else if (scroll.qllxmc == "地役权") {
this.$refs.djbxxDialog.showType = "DYIQ";
} else if (scope.row.qllxmc == "预告登记") {
} else if (scroll.qllxmc == "预告登记") {
this.$refs.djbxxDialog.showType = "YGDJ";
} else if (scope.row.qllxmc == "异议登记") {
} else if (scroll.qllxmc == "异议登记") {
this.$refs.djbxxDialog.showType = "YYDJ";
} else if (scope.row.qllxmc == "查封登记") {
} else if (scroll.qllxmc == "查封登记") {
this.$refs.djbxxDialog.showType = "CFDJ";
}
});
......
......@@ -101,8 +101,8 @@ class data extends filter {
render: (h, scope) => {
return (
<div>
<el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openDialog(scope) }}>登记薄</el-button>
<el-button type="text" icon="el-icon-film" onClick={() => { vm.openDialog(scope) }}>楼盘表</el-button>
<el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openDialog(scope.row) }}>登记薄</el-button>
<el-button type="text" icon="el-icon-film" onClick={() => { vm.openDialog(scope.row) }}>楼盘表</el-button>
</div>
)
}
......