From 5b17c4c12734275ff594f3182793833e058f594c Mon Sep 17 00:00:00 2001 From: xd <844539747@qq.com> Date: Thu, 20 Jun 2024 15:48:54 +0800 Subject: [PATCH 1/2] '123' --- .../ruoyi/web/utils/rbExcel/excelUtil.java | 24 ------------------- .../src/main/resources/application.yml | 2 +- ruoyi-ui/src/views/quot/quot/index.vue | 2 +- 3 files changed, 2 insertions(+), 26 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/utils/rbExcel/excelUtil.java b/ruoyi-admin/src/main/java/com/ruoyi/web/utils/rbExcel/excelUtil.java index 8dc64ed..930500d 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/utils/rbExcel/excelUtil.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/utils/rbExcel/excelUtil.java @@ -306,18 +306,6 @@ public class excelUtil { wsheet.getSettings().setLeftMargin(0.6d); wsheet.getSettings().setRightMargin(0.2d); - HeaderFooter footer = new HeaderFooter(); - footer.getCentre().append("第 "); - footer.getCentre().appendPageNumber(); - footer.getCentre().append(" 页,共 "); - footer.getCentre().appendTotalPages(); - footer.getCentre().append(" 页 "); - footer.getCentre().setFontName("ARIAL"); - footer.getCentre().setFontSize(13); - wsheet.getSettings().setFooter(footer); - - wsheet.getSettings().setPrintTitles(0, 8, 0, 7); - wwb.write(); wwb.close(); @@ -622,18 +610,6 @@ public class excelUtil { wsheet.getSettings().setLeftMargin(0.6d); wsheet.getSettings().setRightMargin(0.2d); - HeaderFooter footer = new HeaderFooter(); - footer.getCentre().append("第 "); - footer.getCentre().appendPageNumber(); - footer.getCentre().append(" 页,共 "); - footer.getCentre().appendTotalPages(); - footer.getCentre().append(" 页 "); - footer.getCentre().setFontName("ARIAL"); - footer.getCentre().setFontSize(13); - wsheet.getSettings().setFooter(footer); - - wsheet.getSettings().setPrintTitles(0, 8, 0, 7); - wwb.write(); wwb.close(); diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 758b175..8edc359 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -110,7 +110,7 @@ token: # 令牌密钥 secret: abcdefghijklmnopqrstuvwxyz # 令牌有效期(默认30分钟) - expireTime: 60 + expireTime: 120 # MyBatis配置 mybatis: diff --git a/ruoyi-ui/src/views/quot/quot/index.vue b/ruoyi-ui/src/views/quot/quot/index.vue index fbad762..eda3bae 100644 --- a/ruoyi-ui/src/views/quot/quot/index.vue +++ b/ruoyi-ui/src/views/quot/quot/index.vue @@ -1206,7 +1206,7 @@ export default { if(roles && roles.indexOf('SALES_MAN') !== -1 ){//营销经理默认查看待提交且按创建时间排序 单据 this.queryParams.orderByColumn = "a.create_time";//查询字段是表格中字段名字 this.queryParams.isAsc = "desc";//动态取值排序顺序 - this.queryParams.quotApprovalStatus = '0'; + //this.queryParams.quotApprovalStatus = '0'; } this.getList(); }, From 70d663dd85f9a3ebd5a10f4e868e094236b5804b Mon Sep 17 00:00:00 2001 From: xd <844539747@qq.com> Date: Thu, 20 Jun 2024 16:01:48 +0800 Subject: [PATCH 2/2] '123' --- ruoyi-ui/src/permission.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-ui/src/permission.js b/ruoyi-ui/src/permission.js index af9827a..81bcf35 100644 --- a/ruoyi-ui/src/permission.js +++ b/ruoyi-ui/src/permission.js @@ -9,7 +9,7 @@ import defaultSettings from '@/settings' NProgress.configure({ showSpinner: false }) -const whiteList = ['/login', '/register', '/ssoLogin'] +const whiteList = ['/login', '/register', '/ssoLogin','/ssoMobileLogin'] router.beforeEach((to, from, next) => { NProgress.start()