| | |
| | | <!-- 新增右侧按钮--> |
| | | <div v-loading="loading"> |
| | | <div style=" display: flex; justify-content: flex-end;"> |
| | | <el-button plain type="primary" @click="addHandler">配置</el-button> |
| | | <el-button plain type="primary" @click="addHandler" size="small">配置</el-button> |
| | | </div> |
| | | <!--新增对话框--> |
| | | <el-dialog :visible.sync="addVisible" append-to-body class="avue-dialog avue-dialog--top" title="配置数据统计分析" |
| | |
| | | </span> |
| | | </el-dialog> |
| | | <!--echarts组件--> |
| | | <div style="margin-top: 15px;padding-bottom: 35px"> |
| | | <div style="margin-top: 10px;padding-bottom: 35px"> |
| | | <lineChart |
| | | v-for="(item,index) in lineList" |
| | | :key="index" |
| | |
| | | import pieChart from "../../components/StatisticsComponent/pieChart" |
| | | import ColumnarChart from "../../components/StatisticsComponent/ColumnarChart" |
| | | import mixCart from "../../components/StatisticsComponent/mixCart" |
| | | import {getStatisticAnalysis, getBtmAndChart, saveStatisticAnalysis, deleteChartId} from "@/api/statistic/chart" |
| | | import {getStatisticAnalysis, getBtmAndChart, saveStatisticAnalysis} from "@/api/statistic/chart" |
| | | //配置表单主数据列表接口 |
| | | import {getList} from "@/api/system/statistic"; |
| | | |
| | | export default { |
| | |
| | | this.loading = false; |
| | | } catch (error) { |
| | | this.loading = false; |
| | | console.error('Error:', error); |
| | | // console.error('Error:', error); |
| | | } |
| | | }, |
| | | async handleStatisticAnalysis(btmNames, firstResponse) { |