疯狂的狮子li
2021-09-03 f566c39026d0141b2b7516b12b3bae90cc16cd13
ruoyi-ui/src/views/monitor/logininfor/index.vue
@@ -123,7 +123,7 @@
</template>
<script>
import { list, delLogininfor, cleanLogininfor, exportLogininfor } from "@/api/monitor/logininfor";
import { list, delLogininfor, cleanLogininfor } from "@/api/monitor/logininfor";
export default {
  name: "Logininfor",
@@ -153,7 +153,6 @@
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        reasonable: true,
        ipaddr: undefined,
        userName: undefined,
        status: undefined
@@ -229,18 +228,7 @@
    },
    /** 导出按钮操作 */
    handleExport() {
      const queryParams = this.queryParams;
      this.$confirm('是否确认导出所有操作日志数据项?', "警告", {
          confirmButtonText: "确定",
          cancelButtonText: "取消",
          type: "warning"
        }).then(() => {
          this.exportLoading = true;
          return exportLogininfor(queryParams);
        }).then(response => {
          this.download(response.msg);
          this.exportLoading = false;
        }).catch(() => {});
      this.downLoadExcel('/monitor/logininfor/export', this.queryParams);
    }
  }
};