From 352d7839f2f9100aff9ed1545138c80c3e62bc76 Mon Sep 17 00:00:00 2001
From: Sum1Dream <418471657@qq.com>
Date: Mon, 5 Apr 2021 17:51:55 +0800
Subject: [PATCH] 1
---
.../agent-edit/agent-edit.component.html | 87 ++++++
.../agent-edit/agent-edit.component.scss | 6 +
.../agent/agent-edit/agent-edit.component.ts | 122 +++++++++
.../agent-list/agent-list.component.html | 172 ++++++++++++
.../agent-list/agent-list.component.scss | 4 +
.../agent/agent-list/agent-list.component.ts | 191 +++++++++++++
src/app/admin/agent/agent-routing.module.ts | 16 ++
src/app/admin/agent/agent.module.ts | 29 ++
.../coupon-list/coupon-list.component.ts | 1 -
.../discount-coupon.component.html | 1 +
.../discount-coupon.component.scss | 0
.../discount-coupon.component.spec.ts | 25 ++
.../discount-coupon.component.ts | 15 ++
.../discount-detail.component.html | 22 ++
.../discount-detail.component.scss | 0
.../discount-detail.component.spec.ts | 25 ++
.../discount-detail.component.ts | 54 ++++
.../discount-edit.component.html | 108 ++++++++
.../discount-edit.component.scss | 6 +
.../discount-edit/discount-edit.component.ts | 161 +++++++++++
.../discount-list.component.html | 252 ++++++++++++++++++
.../discount-list.component.scss | 4 +
.../discount-list/discount-list.component.ts | 251 +++++++++++++++++
.../admin/discount/discount-routing.module.ts | 21 ++
src/app/admin/discount/discount.module.ts | 31 +++
.../merchant-edit/merchant-edit.component.ts | 2 +-
src/app/app-common.module.ts | 20 +-
src/app/app-routing.module.ts | 10 +
src/app/pipes/discount-status.pipe.ts | 19 ++
src/app/pipes/discount-type.pipe.ts | 19 ++
src/app/pipes/index.ts | 2 +
src/app/services/agent.service.ts | 106 ++++++++
src/app/services/discount.service.ts | 119 +++++++++
src/app/services/icon.service.ts | 2 +-
34 files changed, 1892 insertions(+), 11 deletions(-)
create mode 100644 src/app/admin/agent/agent-edit/agent-edit.component.html
create mode 100644 src/app/admin/agent/agent-edit/agent-edit.component.scss
create mode 100644 src/app/admin/agent/agent-edit/agent-edit.component.ts
create mode 100644 src/app/admin/agent/agent-list/agent-list.component.html
create mode 100644 src/app/admin/agent/agent-list/agent-list.component.scss
create mode 100644 src/app/admin/agent/agent-list/agent-list.component.ts
create mode 100644 src/app/admin/agent/agent-routing.module.ts
create mode 100644 src/app/admin/agent/agent.module.ts
create mode 100644 src/app/admin/discount/discount-coupon/discount-coupon.component.html
create mode 100644 src/app/admin/discount/discount-coupon/discount-coupon.component.scss
create mode 100644 src/app/admin/discount/discount-coupon/discount-coupon.component.spec.ts
create mode 100644 src/app/admin/discount/discount-coupon/discount-coupon.component.ts
create mode 100644 src/app/admin/discount/discount-detail/discount-detail.component.html
create mode 100644 src/app/admin/discount/discount-detail/discount-detail.component.scss
create mode 100644 src/app/admin/discount/discount-detail/discount-detail.component.spec.ts
create mode 100644 src/app/admin/discount/discount-detail/discount-detail.component.ts
create mode 100644 src/app/admin/discount/discount-edit/discount-edit.component.html
create mode 100644 src/app/admin/discount/discount-edit/discount-edit.component.scss
create mode 100644 src/app/admin/discount/discount-edit/discount-edit.component.ts
create mode 100644 src/app/admin/discount/discount-list/discount-list.component.html
create mode 100644 src/app/admin/discount/discount-list/discount-list.component.scss
create mode 100644 src/app/admin/discount/discount-list/discount-list.component.ts
create mode 100644 src/app/admin/discount/discount-routing.module.ts
create mode 100644 src/app/admin/discount/discount.module.ts
create mode 100644 src/app/pipes/discount-status.pipe.ts
create mode 100644 src/app/pipes/discount-type.pipe.ts
create mode 100644 src/app/services/agent.service.ts
create mode 100644 src/app/services/discount.service.ts
diff --git a/src/app/admin/agent/agent-edit/agent-edit.component.html b/src/app/admin/agent/agent-edit/agent-edit.component.html
new file mode 100644
index 0000000..a49418f
--- /dev/null
+++ b/src/app/admin/agent/agent-edit/agent-edit.component.html
@@ -0,0 +1,87 @@
+
+
discount-coupon works!
diff --git a/src/app/admin/discount/discount-coupon/discount-coupon.component.scss b/src/app/admin/discount/discount-coupon/discount-coupon.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/admin/discount/discount-coupon/discount-coupon.component.spec.ts b/src/app/admin/discount/discount-coupon/discount-coupon.component.spec.ts new file mode 100644 index 0000000..dc88035 --- /dev/null +++ b/src/app/admin/discount/discount-coupon/discount-coupon.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { DiscountCouponComponent } from './discount-coupon.component'; + +describe('DiscountCouponComponent', () => { + let component: DiscountCouponComponent; + let fixture: ComponentFixture