From ee6023348870ccd5eb936c27af33bc8a01565559 Mon Sep 17 00:00:00 2001
From: hurui <177768073@qq.com>
Date: Fri, 14 Jul 2023 14:56:39 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../goods-audit/goods-audit.component.ts | 4 +-
.../freight/freight.component.ts | 4 +-
src/app/admin/goods/goods.module.ts | 4 +-
src/app/admin/goods/list/list.component.ts | 3 +-
.../goods-child-order.component.ts | 4 +-
.../goods-order/goods-order.component.ts | 6 +-
.../mobile-recharge-order-list.component.ts | 3 +-
.../coupon-use/coupon-use.component.html | 64 +++++++
.../coupon-use/coupon-use.component.scss | 0
.../coupon-use/coupon-use.component.spec.ts | 25 +++
.../coupon-use/coupon-use.component.ts | 167 ++++++++++++++++++
.../statistics/statistics-routing.module.ts | 14 ++
src/app/admin/statistics/statistics.module.ts | 26 +++
src/app/app-routing.module.ts | 5 +
src/app/services/coupon.service.ts | 25 +++
src/app/services/goods/goods.service.ts | 2 +-
src/environments/environment.ts | 4 +-
17 files changed, 342 insertions(+), 18 deletions(-)
create mode 100644 src/app/admin/statistics/coupon-use/coupon-use.component.html
create mode 100644 src/app/admin/statistics/coupon-use/coupon-use.component.scss
create mode 100644 src/app/admin/statistics/coupon-use/coupon-use.component.spec.ts
create mode 100644 src/app/admin/statistics/coupon-use/coupon-use.component.ts
create mode 100644 src/app/admin/statistics/statistics-routing.module.ts
create mode 100644 src/app/admin/statistics/statistics.module.ts
diff --git a/src/app/admin/audit/goods-audit/goods-audit.component.ts b/src/app/admin/audit/goods-audit/goods-audit.component.ts
index d2abdfd..a506a9f 100644
--- a/src/app/admin/audit/goods-audit/goods-audit.component.ts
+++ b/src/app/admin/audit/goods-audit/goods-audit.component.ts
@@ -1,9 +1,9 @@
import { Component, OnInit } from '@angular/core';
-import {FormBuilder, FormGroup} from '_@angular_forms@9.0.7@@angular/forms';
import {AuditService} from '../../../services/audit.service';
import {IconService} from '../../../services/icon.service';
-import {NzMessageService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd';
import {CommonsService} from '../../../services/commons.service';
+import {FormBuilder, FormGroup} from '@angular/forms';
+import {NzMessageService} from 'ng-zorro-antd';
@Component({
selector: 'app-goods-audit',
diff --git a/src/app/admin/config-manage/freight/freight.component.ts b/src/app/admin/config-manage/freight/freight.component.ts
index ca321ca..0970046 100644
--- a/src/app/admin/config-manage/freight/freight.component.ts
+++ b/src/app/admin/config-manage/freight/freight.component.ts
@@ -1,9 +1,9 @@
import { Component, OnInit } from '@angular/core';
-import {FormBuilder, FormGroup, Validators} from '_@angular_forms@9.0.7@@angular/forms';
import {environment} from '../../../../environments/environment';
-import {NzModalService, NzNotificationService, NzUploadFile} from '_ng-zorro-antd@9.3.0@ng-zorro-antd';
import {CommonsService} from '../../../services/commons.service';
import {GoodsService} from '../../../services/goods/goods.service';
+import {FormBuilder, FormGroup, Validators} from '@angular/forms';
+import {NzModalService, NzNotificationService} from 'ng-zorro-antd';
@Component({
selector: 'app-freight',
diff --git a/src/app/admin/goods/goods.module.ts b/src/app/admin/goods/goods.module.ts
index f011a5e..50d50fb 100644
--- a/src/app/admin/goods/goods.module.ts
+++ b/src/app/admin/goods/goods.module.ts
@@ -3,13 +3,13 @@ import { CommonModule } from '@angular/common';
import { GoodsRoutingModule } from './goods-routing.module';
import { ListComponent } from './list/list.component';
-import {NgZorroAntdModule} from '_ng-zorro-antd@9.3.0@ng-zorro-antd';
import {SeparateModule} from '../../common/separate/separate.module';
-import {FormsModule, ReactiveFormsModule} from '_@angular_forms@9.0.7@@angular/forms';
import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module';
import {RegionSelectorModule} from '../../common/region-selector/region-selector.module';
import {AppCommonModule} from '../../app-common.module';
import {PreviewImageModule} from '../../common/preview-image/preview-image.module';
+import {NgZorroAntdModule} from 'ng-zorro-antd';
+import {FormsModule, ReactiveFormsModule} from '@angular/forms';
@NgModule({
diff --git a/src/app/admin/goods/list/list.component.ts b/src/app/admin/goods/list/list.component.ts
index 148090f..adb2072 100644
--- a/src/app/admin/goods/list/list.component.ts
+++ b/src/app/admin/goods/list/list.component.ts
@@ -2,8 +2,7 @@ import {Component, OnInit} from '@angular/core';
import {FormBuilder, FormGroup, Validators} from '@angular/forms';
import {GoodsService} from '../../../services/goods/goods.service';
import {environment} from '../../../../environments/environment';
-import {NzNotificationService, NzUploadFile} from 'ng-zorro-antd';
-import {NzModalService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd';
+import {NzModalService, NzNotificationService, NzUploadFile} from 'ng-zorro-antd';
import {CommonsService} from '../../../services/commons.service';
import {AgentService} from '../../../services/agent.service';
import {CouponService} from '../../../services/coupon.service';
diff --git a/src/app/admin/order-manage/goods-child-order/goods-child-order.component.ts b/src/app/admin/order-manage/goods-child-order/goods-child-order.component.ts
index df26d67..807fa21 100644
--- a/src/app/admin/order-manage/goods-child-order/goods-child-order.component.ts
+++ b/src/app/admin/order-manage/goods-child-order/goods-child-order.component.ts
@@ -1,13 +1,13 @@
import { Component, OnInit } from '@angular/core';
-import {FormBuilder, FormGroup} from '_@angular_forms@9.0.7@@angular/forms';
import {environment} from '../../../../environments/environment';
import {LocalStorageService} from '../../../services/local-storage.service';
-import {NzMessageService, NzNotificationService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd';
import {OrderThirdPartyService} from '../../../services/order/order-third-party.service';
import {GoodsService} from '../../../services/goods/goods.service';
import {CompanyService} from '../../../services/company.service';
import {CommonsService} from '../../../services/commons.service';
import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace';
+import {FormBuilder, FormGroup} from '@angular/forms';
+import {NzMessageService, NzNotificationService} from 'ng-zorro-antd';
@Component({
selector: 'app-goods-child-order',
diff --git a/src/app/admin/order-manage/goods-order/goods-order.component.ts b/src/app/admin/order-manage/goods-order/goods-order.component.ts
index 8ad7875..88ace19 100644
--- a/src/app/admin/order-manage/goods-order/goods-order.component.ts
+++ b/src/app/admin/order-manage/goods-order/goods-order.component.ts
@@ -1,14 +1,14 @@
import { Component, OnInit } from '@angular/core';
-import {FormBuilder, FormGroup} from '_@angular_forms@9.0.7@@angular/forms';
import {environment} from '../../../../environments/environment';
import {LocalStorageService} from '../../../services/local-storage.service';
-import {NzMessageService, NzNotificationService} from '_ng-zorro-antd@9.3.0@ng-zorro-antd';
import {OrderThirdPartyService} from '../../../services/order/order-third-party.service';
import {CompanyService} from '../../../services/company.service';
import {CommonsService} from '../../../services/commons.service';
import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace';
-import {animate, state, style, transition, trigger} from '_@angular_animations@9.0.7@@angular/animations';
import {GoodsService} from "../../../services/goods/goods.service";
+import {animate, state, style, transition, trigger} from '@angular/animations';
+import {FormBuilder, FormGroup} from '@angular/forms';
+import {NzMessageService, NzNotificationService} from 'ng-zorro-antd';
@Component({
selector: 'app-goods-order',
diff --git a/src/app/admin/order-manage/mobile-recharge-order-list/mobile-recharge-order-list.component.ts b/src/app/admin/order-manage/mobile-recharge-order-list/mobile-recharge-order-list.component.ts
index 4240ac3..5eb2c00 100644
--- a/src/app/admin/order-manage/mobile-recharge-order-list/mobile-recharge-order-list.component.ts
+++ b/src/app/admin/order-manage/mobile-recharge-order-list/mobile-recharge-order-list.component.ts
@@ -6,9 +6,8 @@ import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace';
import {CommonsService} from '../../../services/commons.service';
import {OrderMobileRechargeService} from '../../../services/order/order-mobile-recharge.service';
import {FormBuilder, FormGroup} from '@angular/forms';
-import {NzMessageService} from 'ng-zorro-antd';
+import {NzMessageService, NzNotificationService} from 'ng-zorro-antd';
import {animate, state, style, transition, trigger} from '@angular/animations';
-import {NzNotificationService} from "_ng-zorro-antd@9.3.0@ng-zorro-antd";
@Component({
selector: 'app-mobile-recharge-order-list',
diff --git a/src/app/admin/statistics/coupon-use/coupon-use.component.html b/src/app/admin/statistics/coupon-use/coupon-use.component.html
new file mode 100644
index 0000000..9e5761d
--- /dev/null
+++ b/src/app/admin/statistics/coupon-use/coupon-use.component.html
@@ -0,0 +1,64 @@
+
+