疯狂的狮子li
2021-10-27 695cb6d76b838b1e4cb161bae335faa948dca12a
ruoyi-ui/src/views/monitor/operlog/index.vue
@@ -196,7 +196,7 @@
</template>
<script>
import { list, delOperlog, cleanOperlog, exportOperlog } from "@/api/monitor/operlog";
import { list, delOperlog, cleanOperlog } from "@/api/monitor/operlog";
export default {
  name: "Operlog",
@@ -303,14 +303,7 @@
    },
    /** 导出按钮操作 */
    handleExport() {
      const queryParams = this.queryParams;
      this.$modal.confirm('是否确认导出所有操作日志数据项?').then(() => {
        this.exportLoading = true;
        return exportOperlog(queryParams);
      }).then(response => {
        this.download(response.msg);
        this.exportLoading = false;
      }).catch(() => {});
      this.$download.excel('/monitor/operlog/export', this.queryParams);
    }
  }
};