This commit is contained in:
xd 2024-06-20 15:48:54 +08:00
parent e4cb8bad7c
commit 5b17c4c127
3 changed files with 2 additions and 26 deletions

View File

@ -306,18 +306,6 @@ public class excelUtil {
wsheet.getSettings().setLeftMargin(0.6d); wsheet.getSettings().setLeftMargin(0.6d);
wsheet.getSettings().setRightMargin(0.2d); 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.write();
wwb.close(); wwb.close();
@ -622,18 +610,6 @@ public class excelUtil {
wsheet.getSettings().setLeftMargin(0.6d); wsheet.getSettings().setLeftMargin(0.6d);
wsheet.getSettings().setRightMargin(0.2d); 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.write();
wwb.close(); wwb.close();

View File

@ -110,7 +110,7 @@ token:
# 令牌密钥 # 令牌密钥
secret: abcdefghijklmnopqrstuvwxyz secret: abcdefghijklmnopqrstuvwxyz
# 令牌有效期默认30分钟 # 令牌有效期默认30分钟
expireTime: 60 expireTime: 120
# MyBatis配置 # MyBatis配置
mybatis: mybatis:

View File

@ -1206,7 +1206,7 @@ export default {
if(roles && roles.indexOf('SALES_MAN') !== -1 ){// if(roles && roles.indexOf('SALES_MAN') !== -1 ){//
this.queryParams.orderByColumn = "a.create_time";// this.queryParams.orderByColumn = "a.create_time";//
this.queryParams.isAsc = "desc";// this.queryParams.isAsc = "desc";//
this.queryParams.quotApprovalStatus = '0'; //this.queryParams.quotApprovalStatus = '0';
} }
this.getList(); this.getList();
}, },