|
@@ -97,62 +97,16 @@ export default {
|
|
|
this.$refs.wpjg_ref.setData(this.params);
|
|
|
this.$refs.tdsc_ref.init_scjd(this.params);
|
|
|
this.$refs.tdgy_ref.init_tdgy_gy_jd(this.params);
|
|
|
+ this.$refs.hysy_ref.init_info(this.params);
|
|
|
|
|
|
|
|
|
+
|
|
|
},
|
|
|
dateChange(date) {
|
|
|
this.params.beginTime = date[0]
|
|
|
this.params.endTime = date[1]
|
|
|
this.setDatas()
|
|
|
},
|
|
|
- async hysyq(address) {
|
|
|
- // 选中xzqh查询
|
|
|
- let obj = {
|
|
|
- beginTime: store.state.cockpit_date[0],
|
|
|
- endTime: store.state.cockpit_date[1],
|
|
|
- jscType: 'jsc_hysyq_ztsh',
|
|
|
- id: address
|
|
|
- };
|
|
|
- let data = await cockpitInfo(obj);
|
|
|
-
|
|
|
- let obg_text = {
|
|
|
- xzqhdm_number: data.data[0].xzqhdm_number,
|
|
|
- zhmj: data.data[0].zhmj == undefined ? 0 : data.data[0].zhmj,
|
|
|
-
|
|
|
- }
|
|
|
- obg_text.zhmj == null ? 0 : obg_text.zhmj;
|
|
|
- store.setCockpitHysyText(obg_text);
|
|
|
-
|
|
|
- // 图表数据
|
|
|
- let obj_echart = {
|
|
|
- beginTime: store.state.cockpit_date[0],
|
|
|
- endTime: store.state.cockpit_date[1],
|
|
|
- jscType: 'jsc_hysyq_yelx',
|
|
|
- id: address
|
|
|
- };
|
|
|
- let data_echart = await cockpitInfo(obj_echart);
|
|
|
-
|
|
|
- let obg_echart = {
|
|
|
- x: data_echart.data.map(item => item.yhlx_name),
|
|
|
- bar: data_echart.data.map(item => item.zhmj)
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- obg_echart.x.length == 0 ? obg_echart.x = ['渔业基础设施用海', '开放式养殖用海', '旅游基础设施用海', '浴场用海',
|
|
|
- '游乐场用海'] : obg_echart.x = obg_echart.x;
|
|
|
-
|
|
|
- obg_echart.bar.length == 0 ? obg_echart.bar = [0, 0, 0, 0, 0,] : obg_echart.bar = obg_echart.bar;
|
|
|
-
|
|
|
- store.setCockpitHysyEchart(obg_echart);
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- // getRenKou();
|
|
|
-
|
|
|
- },
|
|
|
- hysyq_xzqh() {
|
|
|
- const that = this;
|
|
|
- },
|
|
|
async gkzb_xzqh(address) {
|
|
|
let obj = {
|
|
|
// beginTime: store.state.cockpit_date[0],
|
|
@@ -232,8 +186,6 @@ export default {
|
|
|
let adcode = obj.adcode
|
|
|
that.params.id = adcode
|
|
|
that.setDatas()
|
|
|
- // 驾驶舱海域使用权
|
|
|
- that.hysyq(adcode);
|
|
|
// 管控指标
|
|
|
that.gkzb_xzqh(adcode);
|
|
|
viewer.entities.values.forEach((res) => {
|
|
@@ -260,10 +212,7 @@ export default {
|
|
|
if (res.billboard != undefined)
|
|
|
res.billboard.show._value = false
|
|
|
})
|
|
|
- // 海域使用
|
|
|
- that.hysyq_xzqh();
|
|
|
- // 土地收储
|
|
|
- that.tdsc();
|
|
|
+
|
|
|
// 管控指标
|
|
|
that.gkzb();
|
|
|
|
|
@@ -316,6 +265,7 @@ export default {
|
|
|
init_xzqh() {
|
|
|
const that = this;
|
|
|
xzqh.features.forEach((res) => {
|
|
|
+ console.log('res: ', res);
|
|
|
|
|
|
let obj = {
|
|
|
'type': "cockpit",
|
|
@@ -390,6 +340,8 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
init_hyqy() {
|
|
|
+ console.log(1111);
|
|
|
+
|
|
|
const that = this;
|
|
|
|
|
|
hyqy.features.forEach((res) => {
|