8ed191f7 by 杨威

楼盘表使用zrzbsm查询

1 parent b0431b8a
...@@ -105,3 +105,6 @@ ol, ul { list-style:none; } ...@@ -105,3 +105,6 @@ ol, ul { list-style:none; }
105 -webkit-box-shadow: 0px 4px 28px 0px rgba(0, 0, 0, 0.4); 105 -webkit-box-shadow: 0px 4px 28px 0px rgba(0, 0, 0, 0.4);
106 box-shadow: 0px 4px 28px 0px rgba(0, 0, 0, 0.4); 106 box-shadow: 0px 4px 28px 0px rgba(0, 0, 0, 0.4);
107 } 107 }
108 .el-tabs__content{
109 position: unset;
110 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -235,7 +235,8 @@ export default { ...@@ -235,7 +235,8 @@ export default {
235 this.getHeight(); 235 this.getHeight();
236 }, 236 },
237 mounted() { 237 mounted() {
238 this.getLpbMenuTree("1e0c83dfe2e73284f834a80a0947f0c9"); 238 // this.getLpbMenuTree("1e0c83dfe2e73284f834a80a0947f0c9");
239 this.getLpbMenuTree(this.$store.state.zrzbsm);
239 // 楼盘表绘制区域宽度计算:楼盘表区域宽度-图例宽度34-滚动条宽度6 240 // 楼盘表绘制区域宽度计算:楼盘表区域宽度-图例宽度34-滚动条宽度6
240 setTimeout(() => { 241 setTimeout(() => {
241 this.lpbContentwidth = this.$store.state.contentWidth - 34 - 6; 242 this.lpbContentwidth = this.$store.state.contentWidth - 34 - 6;
......
...@@ -79,298 +79,9 @@ export default { ...@@ -79,298 +79,9 @@ export default {
79 data() { 79 data() {
80 return { 80 return {
81 lpbData: { 81 lpbData: {
82 bsm: "e9d1d425c30dd51b72d6f9daacd65d51", 82 ljzs:[],
83 xmmc: "金星小区A幢", 83 cs:[],
84 type: "zrz", 84 zdys:[]
85 max_singlefloorhouse: "10",
86 zrzh: "600000 000 000 GB 00000 F0001",
87 total_floors: "10",
88 min_floor: "-2",
89 max_floor: "8",
90 ljzs: [
91 {
92 bsm: "ljzljz0101010101",
93 ljzmc: "地下车库",
94 type: "ljz",
95 max_singlefloorhouse: "10",
96 total_hs: "2",
97 min_c: "1",
98 max_c: "2",
99 zdys: [
100 {
101 bsm: "zdybsm01",
102 zdymc: "一单元",
103 type: "zdy",
104 max_singlefloorhouse: "2",
105 total_floors: "2",
106 min_floor: "1",
107 max_floor: "2",
108 cs: [
109 {
110 bsm: "c_01",
111 type: "c",
112 sjc: "1",
113 ch: "1",
114 maxhs: "2",
115 hs: [
116 {
117 BSM: "e9d1d425c30dd51b72d6f9daacd65d51",
118 SHBW: "S01-01(1)",
119 SJCS: "1",
120 SJHS: "1",
121 HH: "1",
122 BDCDYH: "F0001",
123 status: "10101011",
124 },
125 {
126 BSM: "e9d1d425c30dd51b72d6f9daacd65d51",
127 SHBW: "S01-02(2)",
128 SJCS: "2",
129 SJHS: "1",
130 HH: "2",
131 BDCDYH: "F0002",
132 status: "10101011",
133 },
134 ],
135 },
136 {
137 bsm: "c_02",
138 type: "c",
139 sjc: "2",
140 ch: "2",
141 maxhs: "2",
142 hs: [
143 {
144 BSM: "e9d1d425c30dd51b72d6f9daacd65d51",
145 SHBW: "S01-01(1)",
146 SJCS: "1",
147 SJHS: "1",
148 HH: "1",
149 BDCDYH: "F0001",
150 status: "10101011",
151 },
152 {
153 BSM: "e9d1d425c30dd51b72d6f9daacd65d51",
154 SHBW: "S01-02(2)",
155 SJCS: "2",
156 SJHS: "1",
157 HH: "2",
158 BDCDYH: "F0002",
159 status: "10101011",
160 },
161 ],
162 },
163 ],
164 },
165 ],
166 },
167 {
168 bsm: "ljzljz0101010101",
169 ljzmc: "商业",
170 type: "ljz",
171 max_singlefloorhouse: "10",
172 total_hs: "2",
173 min_c: "1",
174 max_c: "2",
175 },
176 {
177 bsm: "ljzljz0101010101",
178 ljzmc: "住宅",
179 type: "ljz",
180 max_singlefloorhouse: "10",
181 total_hs: "2",
182 min_c: "1",
183 max_c: "2",
184 },
185 ],
186 zdys: [
187 {
188 bsm: "zdybsm01",
189 zdymc: "一单元",
190 type: "zdy",
191 max_singlefloorhouse: "2",
192 total_floors: "2",
193 min_floor: "1",
194 max_floor: "2",
195 cs: [
196 {
197 bsm: "c_01",
198 type: "c",
199 sjc: "1",
200 ch: "1",
201 maxhs: "2",
202 hs: [
203 {
204 BSM: "e9d1d425c30dd51b72d6f9daacd65d51",
205 SHBW: "S01-01(1)",
206 SJCS: "1",
207 SJHS: "1",
208 HH: "1",
209 BDCDYH: "F0001",
210 status: "10101011",
211 },
212 {
213 BSM: "e9d1d425c30dd51b72d6f9daacd65d51",
214 SHBW: "S01-02(2)",
215 SJCS: "2",
216 SJHS: "1",
217 HH: "2",
218 BDCDYH: "F0002",
219 status: "10101011",
220 },
221 ],
222 },
223 {
224 bsm: "c_02",
225 type: "c",
226 sjc: "2",
227 ch: "2",
228 maxhs: "2",
229 hs: [
230 {
231 BSM: "e9d1d425c30dd51b72d6f9daacd65d51",
232 SHBW: "S01-01(1)",
233 SJCS: "1",
234 SJHS: "1",
235 HH: "1",
236 BDCDYH: "F0001",
237 status: "10101011",
238 },
239 {
240 BSM: "e9d1d425c30dd51b72d6f9daacd65d51",
241 SHBW: "S01-02(2)",
242 SJCS: "2",
243 SJHS: "1",
244 HH: "2",
245 BDCDYH: "F0002",
246 status: "10101011",
247 },
248 ],
249 },
250 ],
251 },
252 {
253 bsm: "zdybsm02",
254 zdymc: "二单元",
255 type: "zdy",
256 max_singlefloorhouse: "2",
257 total_floors: "2",
258 min_floor: "1",
259 max_floor: "2",
260 cs: [
261 {
262 bsm: "c_01",
263 type: "c",
264 sjc: "1",
265 ch: "1",
266 maxhs: "2",
267 hs: [
268 {
269 BSM: "e9d1d425c30dd51b72d6f9daacd65d51",
270 SHBW: "S01-01(1)",
271 SJCS: "1",
272 SJHS: "1",
273 HH: "1",
274 BDCDYH: "F0001",
275 status: "10101011",
276 },
277 {
278 BSM: "e9d1d425c30dd51b72d6f9daacd65d51",
279 SHBW: "S01-02(2)",
280 SJCS: "2",
281 SJHS: "1",
282 HH: "2",
283 BDCDYH: "F0002",
284 status: "10101011",
285 },
286 ],
287 },
288 {
289 bsm: "c_02",
290 type: "c",
291 sjc: "2",
292 ch: "2",
293 maxhs: "2",
294 hs: [
295 {
296 ID: "e9d1d425c30dd51b72d6f9daacd65d51",
297 RoomNo: "S01-01(2)",
298 SJCS: "2",
299 SJHS: "1",
300 SXH: "1",
301 REUN: "F0001",
302 status: "10101011",
303 },
304 {
305 ID: "e9d1d425c30dd51b72d6f9daacd65d51",
306 RoomNo: "S01-02",
307 SJCS: "1",
308 SJHS: "2",
309 SXH: "2",
310 REUN: "F0002",
311 status: "10101011",
312 },
313 ],
314 },
315 ],
316 },
317 ],
318 cs: [
319 {
320 bsm: "c_01",
321 type: "c",
322 sjc: "1",
323 ch: "1",
324 maxhs: "2",
325 hs: [
326 {
327 BSM: "e9d1d425c30dd51b72d6f9daacd65d51",
328 SHBW: "S01-01(1)",
329 SJCS: "1",
330 SJHS: "1",
331 HH: "1",
332 BDCDYH: "F0001",
333 status: "10101011",
334 },
335 {
336 BSM: "e9d1d425c30dd51b72d6f9daacd65d51",
337 SHBW: "S01-02(2)",
338 SJCS: "2",
339 SJHS: "1",
340 HH: "2",
341 BDCDYH: "F0002",
342 status: "10101011",
343 },
344 ],
345 },
346 {
347 bsm: "c_02",
348 type: "c",
349 sjc: "2",
350 ch: "2",
351 maxhs: "2",
352 hs: [
353 {
354 BSM: "e9d1d425c30dd51b72d6f9daacd65d51",
355 SHBW: "S01-01(1)",
356 SJCS: "1",
357 SJHS: "1",
358 HH: "1",
359 BDCDYH: "F0001",
360 status: "10101011",
361 },
362 {
363 BSM: "e9d1d425c30dd51b72d6f9daacd65d51",
364 SHBW: "S01-02(2)",
365 SJCS: "2",
366 SJHS: "1",
367 HH: "2",
368 BDCDYH: "F0002",
369 status: "10101011",
370 },
371 ],
372 },
373 ],
374 }, 85 },
375 lpbContentWidth: "", 86 lpbContentWidth: "",
376 ljzWidth:10000, 87 ljzWidth:10000,
...@@ -390,7 +101,7 @@ export default { ...@@ -390,7 +101,7 @@ export default {
390 //让滚动条滚动至最下面 -6是横向滚动条的高度 101 //让滚动条滚动至最下面 -6是横向滚动条的高度
391 this.$refs.lpbContent.scrollTop = this.$refs.lpbContent.scrollHeight - this.$refs.lpbContent.clientHeight -6; 102 this.$refs.lpbContent.scrollTop = this.$refs.lpbContent.scrollHeight - this.$refs.lpbContent.clientHeight -6;
392 }, 100); 103 }, 100);
393 this.getLpb('1e0c83dfe2e73284f834a80a0947f0c9'); 104 this.getLpb(this.$store.state.zrzbsm);
394 }, 105 },
395 methods: { 106 methods: {
396 //获取楼盘表数据 107 //获取楼盘表数据
...@@ -399,7 +110,7 @@ export default { ...@@ -399,7 +110,7 @@ export default {
399 .then((res => { 110 .then((res => {
400 if (res.code == 200) { 111 if (res.code == 200) {
401 this.loading = false; 112 this.loading = false;
402 this.lpbData = res.result; 113 this.lpbData = res.result == null ? this.lpbData:res.result;
403 setTimeout(() => { 114 setTimeout(() => {
404 //计算逻辑幢宽度 20为marginRight值 115 //计算逻辑幢宽度 20为marginRight值
405 this.ljzWidth -= 9980; 116 this.ljzWidth -= 9980;
......