d1cab37e by 田浩浩
2 parents fd9df7c7 46d5d83a
1 import request from '@/utils/request'
2 import SERVER from './config'
3
4 /*
5 楼盘查询
6 */
7 // 根据条件进行列表查询
8 export function getLpZrz (data) {
9 return request({
10 // url: SERVER.SERVERAPI + '/rest/zhcx/lpcx/getLpZrz',
11 url: 'service-lpb/rest/zhcx/lpcx/getLpZrz',
12 method: 'post',
13 data: data
14 })
15 }
16
17 // 获取楼盘表
18 export function getLpb (zrzbsm) {
19 return request({
20 url: 'service-lpb/rest/zhcx/lpcx/getLpb?zrzbsm=' + zrzbsm,
21 method: 'get'
22 })
23 }
...@@ -142,22 +142,3 @@ export function getJdcxBysearch (data) { ...@@ -142,22 +142,3 @@ export function getJdcxBysearch (data) {
142 } 142 }
143 143
144 144
145 /*
146 楼盘查询
147 */
148 // 根据条件进行列表查询
149 export function getLpZrz (data) {
150 return request({
151 url: SERVER.SERVERAPI + '/rest/zhcx/lpcx/getLpZrz',
152 method: 'post',
153 data: data
154 })
155 }
156
157 // 获取楼盘表
158 export function getLpb (zrzbsm) {
159 return request({
160 url: SERVER.SERVERAPI + '/rest/zhcx/lpcx/getLpb?zrzbsm=' + zrzbsm,
161 method: 'get'
162 })
163 }
......
...@@ -189,7 +189,7 @@ ...@@ -189,7 +189,7 @@
189 </div> 189 </div>
190 </template> 190 </template>
191 <script> 191 <script>
192 import { getLpb } from '@/api/zhcx' 192 import { getLpb } from '@/api/lpb'
193 export default { 193 export default {
194 name: "", 194 name: "",
195 components: { }, 195 components: { },
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
50 <script> 50 <script>
51 import table from "@/utils/mixin/table"; 51 import table from "@/utils/mixin/table";
52 import { datas, sendThis } from "./lpcxdata"; 52 import { datas, sendThis } from "./lpcxdata";
53 import { getLpZrz, getLpb } from "@/api/zhcx.js"; 53 import { getLpZrz } from "@/api/lpb.js";
54 export default { 54 export default {
55 name: "lpcx", 55 name: "lpcx",
56 components: {}, 56 components: {},
...@@ -103,15 +103,6 @@ export default { ...@@ -103,15 +103,6 @@ export default {
103 bsm: scope.row.bsm 103 bsm: scope.row.bsm
104 } 104 }
105 }) 105 })
106 // getLpb({ zrzbsm: zrzbsm })
107 // .then((res) => {
108 // if (res.code == 200) {
109 // var lpbdata = res.result;
110 // }
111 // })
112 // .catch((error) => {
113 // console.log(error);
114 // });
115 }, 106 },
116 }, 107 },
117 }; 108 };
......