wangting
2024-10-23 dbcbde4397e0d0d28cf77a1cfafbe9a801d32182
Source/plt-web/plt-web-ui/src/views/system/log/index.vue
@@ -112,7 +112,7 @@
    // 表格请求
    getTableList() {
      this.tableLoading = true;
      getLogListByContion(this.page.currentPage, this.page.pageSize, {'logType': this.$route.query.logType, ...this.searchParams}).then(res => {
      getLogListByContion(this.page.currentPage, this.page.pageSize, {'logType': this.$route.query.logType,'roleType':this.$route.query.roleType, ...this.searchParams}).then(res => {
        this.tableData = res.data.data;
        this.page.total = res.data.total;
        this.tableLoading = false;
@@ -154,7 +154,7 @@
    // 导出
    exportClickHandler() {
      const loading = this.$loading({});
      exportLog().then(res => {
      exportLog({'pageNo':1,'pageSize':-1,'logType': this.$route.query.logType,'roleType':this.$route.query.roleType, ...this.searchParams}).then(res => {
        func.downloadFileByBlobHandler(res);
        this.createdLoading = false
        this.$message.success('导出成功');