| | |
| | | |
| | | mounted() { |
| | | this.form.name = ''; |
| | | this.fetchData() |
| | | }, |
| | | methods: { |
| | | // 功能:导出为Excel |
| | |
| | | this.form.endTime = dayjs(val[1]).format('YYYY-MM-DD HH:mm:ss'); |
| | | }, |
| | | |
| | | |
| | | |
| | | |
| | | // 点击统计按钮 |
| | | fetchData() { |
| | | let params = {}; |
| | |
| | | } |
| | | this.loading = true; |
| | | this.queryButton = true |
| | | this.isNoData = false |
| | | this.$http |
| | | .get('/dust/analysistime', { params: params }) |
| | | .then((response) => { |
| | |
| | | </el-form-item> |
| | | |
| | | <el-form-item> |
| | | <ButtonClick style="margin-right: 12px;" content="风险排名" type="primary" :loading="queryButton" @do-search="fetchData" ></ButtonClick> |
| | | <ButtonClick style="margin-right: 12px;" content="数据排名" type="primary" :loading="queryButton" @do-search="fetchData" ></ButtonClick> |
| | | <ButtonExportExcel content="导出数据" type="success" :loading="exportButton" @do-export="exportData"></ButtonExportExcel> |
| | | </el-form-item> |
| | | </el-form> |