f4e97ca9 by jiaozeping@pashanhoo.com

申请记录查询详情修改

1 parent 4edb3a5b
1 import request from '@/utils/request'
2 // 获取申请查询记录详细信息
3 export function getJtfcInfo(params) {
4 return request({
5 url: '/sqcx/jtfc/getJtfcInfo/',
6 method: 'get',
7 params
8 })
9 }
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
31 <el-col> 31 <el-col>
32 <lb-table 32 <lb-table
33 :column="sqrData.columns" 33 :column="sqrData.columns"
34 border
34 :data="sqrData.data" 35 :data="sqrData.data"
35 :maxHeight="200" 36 :maxHeight="200"
36 heightNumSetting 37 heightNumSetting
...@@ -52,6 +53,7 @@ ...@@ -52,6 +53,7 @@
52 <el-col> 53 <el-col>
53 <lb-table 54 <lb-table
54 :column="qlrData.columns" 55 :column="qlrData.columns"
56 border
55 :data="qlrData.data" 57 :data="qlrData.data"
56 :maxHeight="200" 58 :maxHeight="200"
57 heightNumSetting 59 heightNumSetting
...@@ -77,6 +79,7 @@ ...@@ -77,6 +79,7 @@
77 <el-row> 79 <el-row>
78 <el-col> 80 <el-col>
79 <lb-table 81 <lb-table
82 border
80 :column="cxjgData.columns" 83 :column="cxjgData.columns"
81 :data="cxjgData.data" 84 :data="cxjgData.data"
82 :maxHeight="200" 85 :maxHeight="200"
...@@ -91,7 +94,7 @@ ...@@ -91,7 +94,7 @@
91 </template> 94 </template>
92 95
93 <script> 96 <script>
94 import { addJtfcCxjgXx } from "@/api/jtfc"; 97 import { getJtfcInfo } from "@/api/sqcxjl";
95 import { datas, sendThis } from "./sqcxjlInfodata"; 98 import { datas, sendThis } from "./sqcxjlInfodata";
96 99
97 export default { 100 export default {
...@@ -101,12 +104,9 @@ export default { ...@@ -101,12 +104,9 @@ export default {
101 // }, 104 // },
102 props: ["formData"], 105 props: ["formData"],
103 106
104 mounted() { 107 created() {
105 sendThis(this); 108 // debugger;
106 109 // alert(this.formData.sqcxBsm);
107
108 // var bdcdyid: this.formData.bdcdyid,
109
110 }, 110 },
111 111
112 data() { 112 data() {
...@@ -116,7 +116,7 @@ export default { ...@@ -116,7 +116,7 @@ export default {
116 ycyrgx: 1, 116 ycyrgx: 1,
117 cxlx: "1", //查询类型 1:房产查询 2:登记簿查询 117 cxlx: "1", //查询类型 1:房产查询 2:登记簿查询
118 }, 118 },
119 119
120 sqrData: { 120 sqrData: {
121 columns: datas.sqrcolumns(), 121 columns: datas.sqrcolumns(),
122 data: [], 122 data: [],
...@@ -133,6 +133,26 @@ export default { ...@@ -133,6 +133,26 @@ export default {
133 }, 133 },
134 }; 134 };
135 }, 135 },
136
137 mounted() {
138 debugger;
139 sendThis(this);
140 var sqcxBsm = this.formData.sqcxBsm;
141
142 getJtfcInfo({ sqcxBsm: sqcxBsm })
143 .then((res) => {
144 if (res.code == 200) {
145 this.sqrData.data = res.result.sqxx;
146 this.qlrData.data = res.result.qlrxx;
147 this.cxjgData.data = res.result.djSqcxCxjgDOList;
148
149 }
150 })
151 .catch((error) => {
152 console.log(error);
153 });
154 },
155
136 methods: {}, 156 methods: {},
137 }; 157 };
138 </script> 158 </script>
......
...@@ -100,23 +100,7 @@ export default { ...@@ -100,23 +100,7 @@ export default {
100 }, 100 },
101 // 查看 101 // 查看
102 handleView(scope) { 102 handleView(scope) {
103 debugger; 103 var sqcxBsm = scope.row.bsmSqcx;
104 // this.isDialog = true
105
106 var sqcxBsm = scope.row.bsmSqcx;
107
108
109 getLpb({ zrzbsm: zrzbsm })
110 .then((res) => {
111 if (res.code == 200) {
112 var lpbdata = res.result;
113 }
114 })
115 .catch((error) => {
116 console.log(error);
117 });
118
119 let that = this;
120 this.$popup({ 104 this.$popup({
121 title: "申请查询记录", 105 title: "申请查询记录",
122 width: "85%", 106 width: "85%",
...@@ -124,8 +108,7 @@ export default { ...@@ -124,8 +108,7 @@ export default {
124 editItem: "sqcx/sqcxjl/components/sqcxjlInfo", // 弹窗内容 108 editItem: "sqcx/sqcxjl/components/sqcxjlInfo", // 弹窗内容
125 height: "700px", 109 height: "700px",
126 formData: { 110 formData: {
127 bsmSlsq: this.bsmSlsq, 111 sqcxBsm: sqcxBsm,
128 dataList: this.unitData,
129 }, 112 },
130 cancel: function () {}, //取消事件的回调 113 cancel: function () {}, //取消事件的回调
131 confirm: function () { 114 confirm: function () {
......