|
@@ -333,6 +333,9 @@ export default {
|
|
|
const that = this;
|
|
|
charts.getZr().off("click"); //防止触发两次点击事件
|
|
|
charts.getZr().on("click", async function(params) {
|
|
|
+ console.log(this.loading, this.handleStatus, "handleStatus");
|
|
|
+ if (this.loading) return;
|
|
|
+
|
|
|
let op = charts.getOption();
|
|
|
// console.log(op, params);
|
|
|
let pointInPixel = [params.offsetX, params.offsetY];
|
|
@@ -350,6 +353,7 @@ export default {
|
|
|
that.organId = item.organId;
|
|
|
}
|
|
|
});
|
|
|
+ this.loading = true;
|
|
|
await that.FetchDetail();
|
|
|
}
|
|
|
});
|
|
@@ -365,6 +369,7 @@ export default {
|
|
|
});
|
|
|
this.dataCoop = res.data || [];
|
|
|
this.handleStatus = true;
|
|
|
+ this.loading = false;
|
|
|
} catch (error) {
|
|
|
console.log(error);
|
|
|
}
|