f4e97ca9 by jiaozeping@pashanhoo.com

申请记录查询详情修改

1 parent 4edb3a5b
import request from '@/utils/request'
// 获取申请查询记录详细信息
export function getJtfcInfo(params) {
return request({
url: '/sqcx/jtfc/getJtfcInfo/',
method: 'get',
params
})
}
......@@ -31,6 +31,7 @@
<el-col>
<lb-table
:column="sqrData.columns"
border
:data="sqrData.data"
:maxHeight="200"
heightNumSetting
......@@ -52,6 +53,7 @@
<el-col>
<lb-table
:column="qlrData.columns"
border
:data="qlrData.data"
:maxHeight="200"
heightNumSetting
......@@ -77,6 +79,7 @@
<el-row>
<el-col>
<lb-table
border
:column="cxjgData.columns"
:data="cxjgData.data"
:maxHeight="200"
......@@ -91,7 +94,7 @@
</template>
<script>
import { addJtfcCxjgXx } from "@/api/jtfc";
import { getJtfcInfo } from "@/api/sqcxjl";
import { datas, sendThis } from "./sqcxjlInfodata";
export default {
......@@ -101,12 +104,9 @@ export default {
// },
props: ["formData"],
mounted() {
sendThis(this);
// var bdcdyid: this.formData.bdcdyid,
created() {
// debugger;
// alert(this.formData.sqcxBsm);
},
data() {
......@@ -116,7 +116,7 @@ export default {
ycyrgx: 1,
cxlx: "1", //查询类型 1:房产查询 2:登记簿查询
},
sqrData: {
columns: datas.sqrcolumns(),
data: [],
......@@ -133,6 +133,26 @@ export default {
},
};
},
mounted() {
debugger;
sendThis(this);
var sqcxBsm = this.formData.sqcxBsm;
getJtfcInfo({ sqcxBsm: sqcxBsm })
.then((res) => {
if (res.code == 200) {
this.sqrData.data = res.result.sqxx;
this.qlrData.data = res.result.qlrxx;
this.cxjgData.data = res.result.djSqcxCxjgDOList;
}
})
.catch((error) => {
console.log(error);
});
},
methods: {},
};
</script>
......
......@@ -100,23 +100,7 @@ export default {
},
// 查看
handleView(scope) {
debugger;
// this.isDialog = true
var sqcxBsm = scope.row.bsmSqcx;
getLpb({ zrzbsm: zrzbsm })
.then((res) => {
if (res.code == 200) {
var lpbdata = res.result;
}
})
.catch((error) => {
console.log(error);
});
let that = this;
var sqcxBsm = scope.row.bsmSqcx;
this.$popup({
title: "申请查询记录",
width: "85%",
......@@ -124,8 +108,7 @@ export default {
editItem: "sqcx/sqcxjl/components/sqcxjlInfo", // 弹窗内容
height: "700px",
formData: {
bsmSlsq: this.bsmSlsq,
dataList: this.unitData,
sqcxBsm: sqcxBsm,
},
cancel: function () {}, //取消事件的回调
confirm: function () {
......