疯狂的狮子li
2021-09-18 2f18d0d7094b10e169b77a0ea741bd101dbbf1f8
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",
@@ -311,18 +311,7 @@
    },
    /** 导出按钮操作 */
    handleExport() {
      const queryParams = this.queryParams;
      this.$confirm('是否确认导出所有操作日志数据项?', "警告", {
          confirmButtonText: "确定",
          cancelButtonText: "取消",
          type: "warning"
        }).then(() => {
          this.exportLoading = true;
          return exportOperlog(queryParams);
        }).then(response => {
          this.download(response.msg);
          this.exportLoading = false;
        }).catch(() => {});
      this.downLoadExcel('/monitor/operlog/export', this.queryParams);
    }
  }
};