5d0cb4b4 by 焦泽平

历史回溯提交

1 parent ad3c1b1b
...@@ -48,20 +48,20 @@ ...@@ -48,20 +48,20 @@
48 <el-row> 48 <el-row>
49 <el-col :span="6"><div class="grid-left">权利性质</div></el-col> 49 <el-col :span="6"><div class="grid-left">权利性质</div></el-col>
50 <el-col :span="18" 50 <el-col :span="18"
51 ><div class="grid-right">{{ result.qlxzdm }}</div></el-col 51 ><div class="grid-right">{{ result.qlxzmc }}</div></el-col
52 > 52 >
53 </el-row> 53 </el-row>
54 <el-row> 54 <el-row>
55 <el-col :span="6"><div class="grid-left">批准用途</div></el-col> 55 <el-col :span="6"><div class="grid-left">批准用途</div></el-col>
56 <el-col :span="18" 56 <el-col :span="18"
57 ><div class="grid-right">{{ result.pzytdm }}</div></el-col 57 ><div class="grid-right">{{ result.pzytmc }}</div></el-col
58 > 58 >
59 </el-row> 59 </el-row>
60 60
61 <el-row> 61 <el-row>
62 <el-col :span="6"><div class="grid-left">实际用途</div></el-col> 62 <el-col :span="6"><div class="grid-left">实际用途</div></el-col>
63 <el-col :span="18" 63 <el-col :span="18"
64 ><div class="grid-right">{{ result.sjytdm }}</div></el-col 64 ><div class="grid-right">{{ result.sjytmc }}</div></el-col
65 > 65 >
66 </el-row> 66 </el-row>
67 <el-row> 67 <el-row>
...@@ -293,7 +293,7 @@ export default { ...@@ -293,7 +293,7 @@ export default {
293 }, 293 },
294 294
295 fitView: true, 295 fitView: true,
296 fitViewPadding: 160, 296 fitViewPadding: 100,
297 }); 297 });
298 298
299 graph.data(data); 299 graph.data(data);
...@@ -312,6 +312,39 @@ export default { ...@@ -312,6 +312,39 @@ export default {
312 getQjZdjbxxDetailByIdBylshs(e.item._cfg.id).then((res) => { 312 getQjZdjbxxDetailByIdBylshs(e.item._cfg.id).then((res) => {
313 if (res.code === 200) { 313 if (res.code === 200) {
314 self.result = res.result; 314 self.result = res.result;
315 this.$store.state.qlxzList.forEach((item) => {
316 if(item.children!=null&&item.children.length!=0){
317 item.children.forEach((childitem)=>{
318 if (childitem.dm === res.result.qlxzdm) {
319 self.result.qlxzmc=childitem.mc;
320 }
321 })
322 }
323 if (item.dm === res.result.qlxzdm) {
324 self.result.qlxzmc=item.mc;
325 }
326 });
327 this.$store.state.tdytList.forEach((item) => {
328 if(item.children!=null&&item.children.length!=0){
329 item.children.forEach((childitem)=>{
330 if (childitem.dm === res.result.pzytdm) {
331 self.result.pzytmc=childitem.mc;
332 }
333 if (childitem.dm === res.result.sjytdm) {
334 self.result.sjytmc=childitem.mc;
335 }
336 })
337 }
338
339 if (item.dm === res.result.pzytdm) {
340 self.result.pzytmc=item.mc;
341 }
342 if (item.dm === res.result.sjytdm) {
343 self.result.sjytmc=item.mc;
344 }
345 });
346
347
315 } 348 }
316 }); 349 });
317 break; 350 break;
...@@ -384,6 +417,36 @@ export default { ...@@ -384,6 +417,36 @@ export default {
384 getQjZdjbxxDetailByIdBylshs(this.bsm).then((res) => { 417 getQjZdjbxxDetailByIdBylshs(this.bsm).then((res) => {
385 if (res.code === 200) { 418 if (res.code === 200) {
386 this.result = res.result; 419 this.result = res.result;
420 this.$store.state.qlxzList.forEach((item) => {
421 if(item.children!=null&&item.children.length!=0){
422 item.children.forEach((childitem)=>{
423 if (childitem.dm === res.result.qlxzdm) {
424 this.result.qlxzmc=childitem.mc;
425 }
426 })
427 }
428 if (item.dm === res.result.qlxzdm) {
429 this.result.qlxzmc=item.mc;
430 }
431 });
432 this.$store.state.tdytList.forEach((item1) => {
433 if(item1.children!=null&&item1.children.length!=0){
434 item1.children.forEach((childitem1)=>{
435 if (childitem1.dm === res.result.pzytdm) {
436 this.result.pzytmc=childitem1.mc;
437 }
438 if (childitem1.dm === res.result.sjytdm) {
439 this.result.sjytmc=childitem1.mc;
440 }
441 })
442 }
443 if (item1.dm === res.result.pzytdm) {
444 this.result.pzytmc=item1.mc;
445 }
446 if (item1.dm === res.result.sjytdm) {
447 this.result.sjytmc=item1.mc;
448 }
449 });
387 } 450 }
388 }); 451 });
389 break; 452 break;
......