From 594f3bb5d3097f3be6e970bb1094e48f78af2242 Mon Sep 17 00:00:00 2001 From: weiyu Date: Fri, 29 Apr 2022 15:37:17 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/order-reporting/order-reporting.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/routes/tax-management/components/order-reporting/order-reporting.component.ts b/src/app/routes/tax-management/components/order-reporting/order-reporting.component.ts index 1ff984b0..53e0f9f0 100644 --- a/src/app/routes/tax-management/components/order-reporting/order-reporting.component.ts +++ b/src/app/routes/tax-management/components/order-reporting/order-reporting.component.ts @@ -445,7 +445,8 @@ export class TaxManagementOrderReportingComponent implements OnInit { this.service.msgSrv.warning('选择了已上传,请重新勾选!'); return; } - // if(this.selectedRows.find(item => item.checkStatus !== '1')) { + + // if(this.selectedRows.find(item => item.checkStatus !== 1)) { // this.service.msgSrv.warning('选择了未通过校验的订单,请重新勾选!'); // return; // } From 0c230c92da4d663c448cfed15bb0d2d86e4ff3da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BD=98=E6=99=93=E4=BA=91?= Date: Fri, 29 Apr 2022 16:05:14 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/layout/pro/styles/app/_menu.less | 40 +++++++++++++++++++++--- 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/src/app/layout/pro/styles/app/_menu.less b/src/app/layout/pro/styles/app/_menu.less index 4f548617..ccb5da67 100644 --- a/src/app/layout/pro/styles/app/_menu.less +++ b/src/app/layout/pro/styles/app/_menu.less @@ -1,26 +1,33 @@ @{alain-pro-prefix} { &__menu { display: block; + &-item { &--disabled { pointer-events: none; } } + &-only-icon { @{alain-pro-prefix}__menu-item { padding-right: 8px !important; padding-left: 8px !important; + &:first-child { padding-left: 0; } } + @{alain-pro-prefix}__menu-icon { margin-right: 0; font-size: @alain-pro-top-nav-only-icon-fs; + min-width: 14px; } } + &-title { position: relative; + &-badge { display: flex; justify-content: center; @@ -31,27 +38,34 @@ line-height: 18px; background: @alain-pro-header-title-badge-bg; border-radius: 50%; - > em { + + >em { color: @alain-pro-header-title-badge-color; font-style: normal; } } } + &-img { - width: @alain-pro-sider-menu-img-wh !important; - height: @alain-pro-sider-menu-img-wh !important; + width: @alain-pro-sider-menu-img-wh !important; + height: @alain-pro-sider-menu-img-wh !important; } + } + &__side-nav { @{alain-pro-prefix}__menu { &-title { display: flex; align-items: center; + &-text { flex: 1; + // opacity: 0; } } } + .@{ant-prefix}-menu-inline-collapsed { @{alain-pro-prefix}__menu-title-badge { position: absolute; @@ -59,10 +73,28 @@ right: -16px; width: 8px; height: 8px; - > em { + + >em { display: none; } } } } } + +@{aside-collapsed-prefix} { + @{alain-pro-prefix} { + &__menu { + &-icon { + overflow: inherit; + } + + &-title { + &-text { + opacity: 0; + } + } + } + } + +}