|
|
@ -671,16 +671,16 @@ export default { |
|
|
|
...mapGetters(["clientHeight", "iframeHeight"]), |
|
|
|
}, |
|
|
|
watch: {}, |
|
|
|
async mounted() { |
|
|
|
mounted() { |
|
|
|
this.user = this.$store.state.user; |
|
|
|
this.agencyId = this.user.agencyId; |
|
|
|
await this.getOrgData(); |
|
|
|
this.getOrgData(); |
|
|
|
this.agencyLevel = localStorage.getItem("level", this.orgData.level); |
|
|
|
await this.getTableData(); |
|
|
|
await this.initEcharts(); |
|
|
|
await this.EventCategoryAnalysis(); |
|
|
|
await this.EventCate(); |
|
|
|
await this.getCategoryTree() |
|
|
|
this.getTableData(); |
|
|
|
// this.initEcharts(); |
|
|
|
this.EventCategoryAnalysis(); |
|
|
|
this.EventCate(); |
|
|
|
this.getCategoryTree() |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
calculateRowspan(item) { |
|
|
@ -831,15 +831,15 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
// 搜索事件 |
|
|
|
async handleSearch(val) { |
|
|
|
handleSearch(val) { |
|
|
|
console.log(this.formData); |
|
|
|
// 清空数据 |
|
|
|
this.cleanReportData(); |
|
|
|
await this.getTableData(); |
|
|
|
await this.initEcharts(); |
|
|
|
await this.EventCategoryAnalysis(); |
|
|
|
await this.EventCate(); |
|
|
|
await this.getCategoryTree() |
|
|
|
this.getTableData(); |
|
|
|
// await this.initEcharts(); |
|
|
|
this.EventCategoryAnalysis(); |
|
|
|
this.EventCate(); |
|
|
|
this.getCategoryTree() |
|
|
|
}, |
|
|
|
//事件类型统计 |
|
|
|
async getCategoryTree(){ |
|
|
|