|
@@ -55,7 +55,6 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
draw_vector_tdgy_gy_jd(data) {
|
|
|
- // tdsy.remove();
|
|
|
data.forEach((res) => {
|
|
|
res.type = this.title
|
|
|
if (res.geom) {
|
|
@@ -63,13 +62,14 @@ export default {
|
|
|
let arrayt = [];
|
|
|
if (res_coordinates.length == 1) {
|
|
|
arrayt = res_coordinates[0]
|
|
|
+ const twoDArray = arrayt;
|
|
|
+ const oneDArray = twoDArray.reduce((accumulator, currentValue) => accumulator.concat(currentValue), []);
|
|
|
+ tdsy.add(res, oneDArray);
|
|
|
} else {
|
|
|
- arrayt = res_coordinates
|
|
|
+ // arrayt = res_coordinates
|
|
|
}
|
|
|
|
|
|
- const twoDArray = arrayt;
|
|
|
- const oneDArray = twoDArray.reduce((accumulator, currentValue) => accumulator.concat(currentValue), []);
|
|
|
- tdsy.add(res, oneDArray);
|
|
|
+
|
|
|
})
|
|
|
}
|
|
|
})
|
|
@@ -305,6 +305,14 @@ export default {
|
|
|
obj.beginTime = undefined
|
|
|
obj.endTime = undefined
|
|
|
}
|
|
|
+ if (this.title == '进出平衡') {
|
|
|
+ obj.jscType = "jsc_gdbh_jcph_zbmc",
|
|
|
+ obj.val2 = 0,
|
|
|
+ obj.val1 = 50000,
|
|
|
+ obj.beginTime = store.state.cockpit_date[1].slice(0, 4),
|
|
|
+ obj.endTime = undefined
|
|
|
+
|
|
|
+ }
|
|
|
let data = await QueryList(obj);
|
|
|
data.data.map((res) => {
|
|
|
if (res.geom) {
|
|
@@ -312,6 +320,7 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
this.active_dableData = data.data
|
|
|
+
|
|
|
this.tableData = data.data
|
|
|
},
|
|
|
|