From 7f2f7049e42f8271083acd3721aabe92ac5ac2e2 Mon Sep 17 00:00:00 2001
From: Sum1Dream <418471657@qq.com>
Date: Fri, 3 Feb 2023 10:08:23 +0800
Subject: [PATCH 1/5] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=90=86?=
=?UTF-8?q?=E5=95=86=E8=AE=A2=E5=8D=95=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../cms/cms-category/cms-category.component.ts | 1 -
.../admin/cms/cms-content/cms-content.component.ts | 4 +---
.../integral-rebate/integral-rebate.component.html | 6 ++++--
.../order-manage/order-manage-routing.module.ts | 4 ++--
src/app/services/cms.service.ts | 13 +++++++++++++
5 files changed, 20 insertions(+), 8 deletions(-)
diff --git a/src/app/admin/cms/cms-category/cms-category.component.ts b/src/app/admin/cms/cms-category/cms-category.component.ts
index 4333b05..c553822 100644
--- a/src/app/admin/cms/cms-category/cms-category.component.ts
+++ b/src/app/admin/cms/cms-category/cms-category.component.ts
@@ -104,7 +104,6 @@ export class CmsCategoryComponent implements OnInit {
goRequest() {
this.http.get(this.WEB_SERVE_URL + '/cmsCategory/getCategoryTree').subscribe(data => {
- console.log(data);
if (data['return_code'] === '000000') {
this.nodes = data['return_data'];
if (this.nodes.length !== 0) {
diff --git a/src/app/admin/cms/cms-content/cms-content.component.ts b/src/app/admin/cms/cms-content/cms-content.component.ts
index f54c81b..d07b877 100644
--- a/src/app/admin/cms/cms-content/cms-content.component.ts
+++ b/src/app/admin/cms/cms-content/cms-content.component.ts
@@ -89,7 +89,6 @@ export class CmsContentComponent implements OnInit {
whereObject['pageNum'] = this.pageNum;
whereObject['pageSize'] = this.pageSize;
this.cms.getListCmsContent(whereObject, data => {
- console.log(data);
this.loading = false;
if (data['return_code'] === '000000') {
this.requestData = data['return_data'].list;
@@ -107,7 +106,7 @@ export class CmsContentComponent implements OnInit {
// 查询分类树
findCategoryTree(roleType) {
- this.cms.getOwnCategoryTree(roleType, data => {
+ this.cms.getCategoryTree( data => {
if (data['return_code'] === '000000') {
this.nodes = data['return_data'];
if (this.nodes.length !== 0) {
@@ -142,7 +141,6 @@ export class CmsContentComponent implements OnInit {
}
}
this.nodes = data;
- console.log(this.nodes);
}
// 新增
diff --git a/src/app/admin/config-manage/integral-rebate/integral-rebate.component.html b/src/app/admin/config-manage/integral-rebate/integral-rebate.component.html
index e5217e1..4c1f490 100644
--- a/src/app/admin/config-manage/integral-rebate/integral-rebate.component.html
+++ b/src/app/admin/config-manage/integral-rebate/integral-rebate.component.html
@@ -62,8 +62,9 @@
{{i + 1}} |
{{data.percentage + "%"}} |
+ {{data.firstDistribution + "%"}} |
+ {{data.secondDistribution + "%"}} |
{{data.type | integralType}} |
-
{{data.startTime | date: 'yyyy-MM-dd HH:mm'}} - {{data.endTime | date: 'yyyy-MM-dd HH:mm'}} |
{{data.createTime | date: 'yyyy-MM-dd HH:mm'}} |
diff --git a/src/app/admin/order-manage/order-manage-routing.module.ts b/src/app/admin/order-manage/order-manage-routing.module.ts
index 3624604..43756e7 100644
--- a/src/app/admin/order-manage/order-manage-routing.module.ts
+++ b/src/app/admin/order-manage/order-manage-routing.module.ts
@@ -19,8 +19,8 @@ const routes: Routes = [
{ path: 'order-integral-recharge-list', component: OrderIntegralRechargeComponent },
{ path: 'order-refund-list', component: OrderRefundListComponent },
{ path: 'order-kfc-list', component: KfcOrderListComponent},
- { path: 'order-starbucks--list', component: StarbucksOrderListComponent},
- { path: 'order-member-charge--list', component: MemberChargeOrderListComponent},
+ { path: 'order-starbucks-list', component: StarbucksOrderListComponent},
+ { path: 'order-member-charge-list', component: MemberChargeOrderListComponent},
{ path: 'mobile-recharge-order-list', component: MobileRechargeOrderListComponent },
{ path: 'pre-order', component: PreOrderComponent },
{ path: 'discount-use-condition-list', component: DiscountUseConditionListComponent },
diff --git a/src/app/services/cms.service.ts b/src/app/services/cms.service.ts
index 4a9aaa0..a130054 100644
--- a/src/app/services/cms.service.ts
+++ b/src/app/services/cms.service.ts
@@ -48,6 +48,19 @@ export class CmsService {
});
}
+ /**
+ * @Author Sum1Dream
+ * @methodName getCategoryTree
+ * @Description // 获取分类树数据
+ * @Date 16:37 2023/2/1
+ * @Param callBack
+ */
+ public getCategoryTree( callBack) {
+ this.http.get(environment.baseUrl + '/cmsCategory/getCategoryTree').subscribe(data => {
+ callBack(data);
+ });
+ }
+
/**
* 新增cms内容
*
From d8b8e7c77f5f8b3269f75af3cdf8e99ebcfc050e Mon Sep 17 00:00:00 2001
From: Sum1Dream <418471657@qq.com>
Date: Fri, 3 Feb 2023 17:37:08 +0800
Subject: [PATCH 2/5] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=90=86?=
=?UTF-8?q?=E5=95=86=E8=AE=A2=E5=8D=95=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../price-list/price-list.component.html | 124 ++++++++----------
src/environments/environment.ts | 8 +-
2 files changed, 56 insertions(+), 76 deletions(-)
diff --git a/src/app/admin/recharge-order/price-list/price-list.component.html b/src/app/admin/recharge-order/price-list/price-list.component.html
index 95864b4..94832d5 100644
--- a/src/app/admin/recharge-order/price-list/price-list.component.html
+++ b/src/app/admin/recharge-order/price-list/price-list.component.html
@@ -196,18 +196,18 @@
-
- 展示平台
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
充值平台
@@ -216,18 +216,18 @@
-
- 支付方式
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
充值方式
@@ -237,63 +237,43 @@
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
- 折扣比例
-
-
-
-
-
- 积分支付比例
-
-
-
-
-
-
-
+
+
+
-
-
-
+
+
+
-
+
+
+
+
+
+
排序
diff --git a/src/environments/environment.ts b/src/environments/environment.ts
index 76173d9..0082f1d 100644
--- a/src/environments/environment.ts
+++ b/src/environments/environment.ts
@@ -4,11 +4,11 @@
export const environment = {
production: false,
- baseUrl: 'http://localhost:9302/brest/', // 测试环境服务器地址(请求数据地址)
- orderUrl: 'http://localhost:9304/order/', // 测试环境服务器地址(请求数据地址)
+ // baseUrl: 'http://localhost:9302/brest/', // 测试环境服务器地址(请求数据地址)
+ // orderUrl: 'http://localhost:9304/order/', // 测试环境服务器地址(请求数据地址)
imageUrl: 'https://hsgcs.dctpay.com/filesystem/',
- // baseUrl: 'https://hsgcs.dctpay.com/brest/', // 测试环境服务器地址(请求数据地址)
- // orderUrl: 'https://hsgcs.dctpay.com/order/', // 测试环境服务器地址(请求数据地址)
+ baseUrl: 'https://hsgcs.dctpay.com/brest/', // 测试环境服务器地址(请求数据地址)
+ orderUrl: 'https://hsgcs.dctpay.com/order/', // 测试环境服务器地址(请求数据地址)
key: 'https://hsgcs.dctpay.com/phone-recharge-H5/index.html?codeValue=',
inviteUrl: 'https://hsgcs.dctpay.com/wx/?action=ic&id=',
};
From da7ec43abed42680a33958342ae8217b6dca3ead Mon Sep 17 00:00:00 2001
From: Sum1Dream <418471657@qq.com>
Date: Mon, 6 Feb 2023 11:00:53 +0800
Subject: [PATCH 3/5] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=90=86?=
=?UTF-8?q?=E5=95=86=E8=AE=A2=E5=8D=95=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../member-charge-order-list.component.html | 3 ---
.../order-integral-recharge.component.html | 18 ------------------
.../order-integral-recharge.component.ts | 10 +++++-----
.../order-manage-routing.module.ts | 3 ++-
.../admin/order-manage/order-manage.module.ts | 3 ++-
src/environments/environment.ts | 8 ++++----
6 files changed, 13 insertions(+), 32 deletions(-)
diff --git a/src/app/admin/order-manage/member-charge-order/member-charge-order-list/member-charge-order-list.component.html b/src/app/admin/order-manage/member-charge-order/member-charge-order-list/member-charge-order-list.component.html
index 31b4b22..e92fa77 100644
--- a/src/app/admin/order-manage/member-charge-order/member-charge-order-list/member-charge-order-list.component.html
+++ b/src/app/admin/order-manage/member-charge-order/member-charge-order-list/member-charge-order-list.component.html
@@ -87,9 +87,6 @@
-
-
-
创建时间
diff --git a/src/app/admin/order-manage/order-integral-recharge/order-integral-recharge.component.html b/src/app/admin/order-manage/order-integral-recharge/order-integral-recharge.component.html
index 01625c5..9ddca3d 100644
--- a/src/app/admin/order-manage/order-integral-recharge/order-integral-recharge.component.html
+++ b/src/app/admin/order-manage/order-integral-recharge/order-integral-recharge.component.html
@@ -75,24 +75,6 @@
-
-
-
diff --git a/src/app/admin/order-manage/order-integral-recharge/order-integral-recharge.component.ts b/src/app/admin/order-manage/order-integral-recharge/order-integral-recharge.component.ts
index d183476..03c790f 100644
--- a/src/app/admin/order-manage/order-integral-recharge/order-integral-recharge.component.ts
+++ b/src/app/admin/order-manage/order-integral-recharge/order-integral-recharge.component.ts
@@ -53,16 +53,16 @@ export class OrderIntegralRechargeComponent implements OnInit {
ngOnInit(): void {
- let currentDate = new Date();
+ const currentDate = new Date();
currentDate.setHours(0);
currentDate.setMinutes(0);
currentDate.setSeconds(0);
- let createTimeS = currentDate.getTime();
+ const createTimeS = currentDate.getTime();
currentDate.setHours(23);
currentDate.setMinutes(59);
currentDate.setSeconds(59);
- let createTimeE = currentDate.getTime();
+ const createTimeE = currentDate.getTime();
this.whereObject = { createTimeS: createTimeS, createTimeE: createTimeE};
this.searchForm = this.form.group({
@@ -71,7 +71,7 @@ export class OrderIntegralRechargeComponent implements OnInit {
couponName: [null],
payType: [null],
status: [null],
- createTime: [[createTimeS,createTimeE]],
+ createTime: [[createTimeS, createTimeE]],
payTime: [null],
finishTime: [null],
});
@@ -189,7 +189,7 @@ export class OrderIntegralRechargeComponent implements OnInit {
*/
pageSizeChang(pageSize: number) {
this.pageSize = pageSize;
- this.requestData(1)
+ this.requestData(1);
}
}
diff --git a/src/app/admin/order-manage/order-manage-routing.module.ts b/src/app/admin/order-manage/order-manage-routing.module.ts
index f1eff2d..ba5dbd9 100644
--- a/src/app/admin/order-manage/order-manage-routing.module.ts
+++ b/src/app/admin/order-manage/order-manage-routing.module.ts
@@ -11,7 +11,7 @@ import {DiscountUseConditionListComponent} from './discount-use-condition-list/d
import {DicountPackageOrderListComponent} from './dicount-package-order-list/dicount-package-order-list.component';
import {PreOrderComponent} from './pre-order/pre-order.component';
import {MobileRechargeOrderListComponent} from './mobile-recharge-order-list/mobile-recharge-order-list.component';
-
+import {HltChargeOrderComponent} from './hlt-charge-order/hlt-charge-order.component';
const routes: Routes = [
@@ -26,6 +26,7 @@ const routes: Routes = [
{ path: 'pre-order', component: PreOrderComponent },
{ path: 'discount-use-condition-list', component: DiscountUseConditionListComponent },
{ path: 'discount-package-order-list', component: DicountPackageOrderListComponent},
+ { path: 'hlt-order-list', component: HltChargeOrderComponent},
];
@NgModule({
diff --git a/src/app/admin/order-manage/order-manage.module.ts b/src/app/admin/order-manage/order-manage.module.ts
index abaeec8..18ccb4d 100644
--- a/src/app/admin/order-manage/order-manage.module.ts
+++ b/src/app/admin/order-manage/order-manage.module.ts
@@ -20,9 +20,10 @@ import {SeparateModule} from '../../common/separate/separate.module';
import {NzSpaceModule} from 'ng-zorro-antd/space';
import {RegionSelectorModule} from '../../common/region-selector/region-selector.module';
import {MobileRechargeOrderListComponent} from './mobile-recharge-order-list/mobile-recharge-order-list.component';
+import { HltChargeOrderComponent } from './hlt-charge-order/hlt-charge-order.component';
@NgModule({
- declarations: [OrderOilListComponent, OrderCouponListComponent, OrderIntegralRechargeComponent, OrderRefundListComponent, KfcOrderListComponent, StarbucksOrderListComponent, MemberChargeOrderListComponent, MobileRechargeOrderListComponent, PreOrderComponent,DicountPackageOrderListComponent, MemberChargeOrderListComponent, DiscountUseConditionListComponent],
+ declarations: [OrderOilListComponent, OrderCouponListComponent, OrderIntegralRechargeComponent, OrderRefundListComponent, KfcOrderListComponent, StarbucksOrderListComponent, MemberChargeOrderListComponent, MobileRechargeOrderListComponent, PreOrderComponent,DicountPackageOrderListComponent, MemberChargeOrderListComponent, DiscountUseConditionListComponent, HltChargeOrderComponent],
imports: [
CommonModule,
OrderManageRoutingModule,
diff --git a/src/environments/environment.ts b/src/environments/environment.ts
index 0082f1d..76173d9 100644
--- a/src/environments/environment.ts
+++ b/src/environments/environment.ts
@@ -4,11 +4,11 @@
export const environment = {
production: false,
- // baseUrl: 'http://localhost:9302/brest/', // 测试环境服务器地址(请求数据地址)
- // orderUrl: 'http://localhost:9304/order/', // 测试环境服务器地址(请求数据地址)
+ baseUrl: 'http://localhost:9302/brest/', // 测试环境服务器地址(请求数据地址)
+ orderUrl: 'http://localhost:9304/order/', // 测试环境服务器地址(请求数据地址)
imageUrl: 'https://hsgcs.dctpay.com/filesystem/',
- baseUrl: 'https://hsgcs.dctpay.com/brest/', // 测试环境服务器地址(请求数据地址)
- orderUrl: 'https://hsgcs.dctpay.com/order/', // 测试环境服务器地址(请求数据地址)
+ // baseUrl: 'https://hsgcs.dctpay.com/brest/', // 测试环境服务器地址(请求数据地址)
+ // orderUrl: 'https://hsgcs.dctpay.com/order/', // 测试环境服务器地址(请求数据地址)
key: 'https://hsgcs.dctpay.com/phone-recharge-H5/index.html?codeValue=',
inviteUrl: 'https://hsgcs.dctpay.com/wx/?action=ic&id=',
};
From ecfadda8987299c480de9f19485c2bef891c3eab Mon Sep 17 00:00:00 2001
From: Sum1Dream <418471657@qq.com>
Date: Tue, 7 Feb 2023 10:21:07 +0800
Subject: [PATCH 4/5] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=90=86?=
=?UTF-8?q?=E5=95=86=E8=AE=A2=E5=8D=95=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../dicount-package-order-list.component.html | 396 ++++++++++--------
.../dicount-package-order-list.component.scss | 3 +
.../dicount-package-order-list.component.ts | 286 ++++++-------
.../price-list/price-list.component.html | 118 +++---
src/environments/environment.prod.ts | 1 +
src/environments/environment.ts | 8 +-
6 files changed, 416 insertions(+), 396 deletions(-)
diff --git a/src/app/admin/order-manage/dicount-package-order-list/dicount-package-order-list.component.html b/src/app/admin/order-manage/dicount-package-order-list/dicount-package-order-list.component.html
index a95a9d6..4b54738 100644
--- a/src/app/admin/order-manage/dicount-package-order-list/dicount-package-order-list.component.html
+++ b/src/app/admin/order-manage/dicount-package-order-list/dicount-package-order-list.component.html
@@ -2,181 +2,235 @@
-
- |