|
@@ -109,7 +109,7 @@
|
|
|
</div>
|
|
|
<div class="text">
|
|
|
<p>流入耕地</p>
|
|
|
- <span>{{ store.state.cockpit_gdbh.gdxz.title.st_mj }}</span>km²
|
|
|
+ <span>{{ zbpg_hz.jcpg.lrgd == '暂无' ? 0 : zbpg_hz.jcpg.lrgd }}</span>km²
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
@@ -121,7 +121,7 @@
|
|
|
</div>
|
|
|
<div class="text">
|
|
|
<p>流出耕地</p>
|
|
|
- <span>{{ store.state.cockpit_gdbh.gdxz.title.sjd_mj }}</span>km²
|
|
|
+ <span>{{ zbpg_hz.jcpg.lcgd == '暂无' ? 0 : zbpg_hz.jcpg.lcgd }}</span>km²
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
@@ -220,6 +220,13 @@ export default {
|
|
|
qzst: 0,
|
|
|
tslscn: 0,
|
|
|
mj: 0,
|
|
|
+ },
|
|
|
+ jcpg: {
|
|
|
+ lrgd: 0,
|
|
|
+ lcgd: 0,
|
|
|
+ lc_st: 0,
|
|
|
+ lc_hd: 0,
|
|
|
+ lc_sjd: 0
|
|
|
}
|
|
|
|
|
|
},
|
|
@@ -658,7 +665,21 @@ export default {
|
|
|
"地类编码名称",
|
|
|
],
|
|
|
});
|
|
|
- }
|
|
|
+ },
|
|
|
+ async init_jcpg_hz(params) {
|
|
|
+ let res = await QueryOne({
|
|
|
+ jscType: "jsc_gdbh_jcph_hz",
|
|
|
+ id: params ? params.id : '4602',
|
|
|
+ val0: store.state.cockpit_date[1].slice(0, 4)
|
|
|
+ });
|
|
|
+console.log(store.state.cockpit_date[1],"store.state.cockpit_date[1]");
|
|
|
+ this.zbpg_hz.jcpg.lrgd = res.data.lrgd
|
|
|
+ this.zbpg_hz.jcpg.lcgd = res.data.lcgd
|
|
|
+ this.zbpg_hz.jcpg.lc_st = res.data.lc_st
|
|
|
+ this.zbpg_hz.jcpg.lc_hd = res.data.lc_hd
|
|
|
+ this.zbpg_hz.jcpg.lc_sjd = res.data.lc_sjd
|
|
|
+
|
|
|
+ },
|
|
|
},
|
|
|
mounted() {
|
|
|
// const optionsData = [
|
|
@@ -677,7 +698,7 @@ export default {
|
|
|
this.init_jcpg();
|
|
|
this.init_zbph_hz();
|
|
|
// this.init_jcph_table();
|
|
|
-
|
|
|
+ this.init_jcpg_hz();
|
|
|
})
|
|
|
},
|
|
|
};
|