5d0cb4b4 by 焦泽平

历史回溯提交

1 parent ad3c1b1b
......@@ -48,20 +48,20 @@
<el-row>
<el-col :span="6"><div class="grid-left">权利性质</div></el-col>
<el-col :span="18"
><div class="grid-right">{{ result.qlxzdm }}</div></el-col
><div class="grid-right">{{ result.qlxzmc }}</div></el-col
>
</el-row>
<el-row>
<el-col :span="6"><div class="grid-left">批准用途</div></el-col>
<el-col :span="18"
><div class="grid-right">{{ result.pzytdm }}</div></el-col
><div class="grid-right">{{ result.pzytmc }}</div></el-col
>
</el-row>
<el-row>
<el-col :span="6"><div class="grid-left">实际用途</div></el-col>
<el-col :span="18"
><div class="grid-right">{{ result.sjytdm }}</div></el-col
><div class="grid-right">{{ result.sjytmc }}</div></el-col
>
</el-row>
<el-row>
......@@ -293,7 +293,7 @@ export default {
},
fitView: true,
fitViewPadding: 160,
fitViewPadding: 100,
});
graph.data(data);
......@@ -312,6 +312,39 @@ export default {
getQjZdjbxxDetailByIdBylshs(e.item._cfg.id).then((res) => {
if (res.code === 200) {
self.result = res.result;
this.$store.state.qlxzList.forEach((item) => {
if(item.children!=null&&item.children.length!=0){
item.children.forEach((childitem)=>{
if (childitem.dm === res.result.qlxzdm) {
self.result.qlxzmc=childitem.mc;
}
})
}
if (item.dm === res.result.qlxzdm) {
self.result.qlxzmc=item.mc;
}
});
this.$store.state.tdytList.forEach((item) => {
if(item.children!=null&&item.children.length!=0){
item.children.forEach((childitem)=>{
if (childitem.dm === res.result.pzytdm) {
self.result.pzytmc=childitem.mc;
}
if (childitem.dm === res.result.sjytdm) {
self.result.sjytmc=childitem.mc;
}
})
}
if (item.dm === res.result.pzytdm) {
self.result.pzytmc=item.mc;
}
if (item.dm === res.result.sjytdm) {
self.result.sjytmc=item.mc;
}
});
}
});
break;
......@@ -384,6 +417,36 @@ export default {
getQjZdjbxxDetailByIdBylshs(this.bsm).then((res) => {
if (res.code === 200) {
this.result = res.result;
this.$store.state.qlxzList.forEach((item) => {
if(item.children!=null&&item.children.length!=0){
item.children.forEach((childitem)=>{
if (childitem.dm === res.result.qlxzdm) {
this.result.qlxzmc=childitem.mc;
}
})
}
if (item.dm === res.result.qlxzdm) {
this.result.qlxzmc=item.mc;
}
});
this.$store.state.tdytList.forEach((item1) => {
if(item1.children!=null&&item1.children.length!=0){
item1.children.forEach((childitem1)=>{
if (childitem1.dm === res.result.pzytdm) {
this.result.pzytmc=childitem1.mc;
}
if (childitem1.dm === res.result.sjytdm) {
this.result.sjytmc=childitem1.mc;
}
})
}
if (item1.dm === res.result.pzytdm) {
this.result.pzytmc=item1.mc;
}
if (item1.dm === res.result.sjytdm) {
this.result.sjytmc=item1.mc;
}
});
}
});
break;
......