From 644083361a13cb68b062563a36c33ca5e46c0213 Mon Sep 17 00:00:00 2001 From: Sum1Dream <418471657@qq.com> Date: Thu, 12 Jan 2023 15:15:19 +0800 Subject: [PATCH 1/3] =?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 --- src/environments/environment.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/environments/environment.ts b/src/environments/environment.ts index 496b4bd..3a8927e 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -4,12 +4,12 @@ export const environment = { production: false, - // baseUrl: 'http://localhost:9302/brest/', // 测试环境服务器地址(请求数据地址) + baseUrl: 'http://localhost:9302/brest/', // 测试环境服务器地址(请求数据地址) // imageUrl: 'https://hsgcs.dctpay.com/filesystem/', // baseUrl: 'https://hsgcs.dctpay.com/brest/', // 测试环境服务器地址(请求数据地址) // orderUrl: 'https://hsgcs.dctpay.com/order/', imageUrl: 'https://hsgcs.dctpay.com/filesystem/', - baseUrl: 'https://hsgcs.dctpay.com/brest/', // 测试环境服务器地址(请求数据地址) + // baseUrl: 'https://hsgcs.dctpay.com/brest/', // 测试环境服务器地址(请求数据地址) orderUrl: 'https://hsgcs.dctpay.com/order/', // 测试环境服务器地址(请求数据地址) // imageUrl: 'https://hsgcs.dctpay.com/filesystem/', key: 'https://hsgcs.dctpay.com/phone-recharge-H5/index.html?codeValue=', From 299cd034b3f1142d5f3e0913881cadd76c030f23 Mon Sep 17 00:00:00 2001 From: Sum1Dream <418471657@qq.com> Date: Wed, 18 Jan 2023 10:43:34 +0800 Subject: [PATCH 2/3] =?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 --- .../kfc-order/kfc-order-list/kfc-order-list.component.html | 2 -- .../kfc-order/kfc-order-list/kfc-order-list.component.ts | 2 +- .../member-charge-order-list.component.html | 2 -- src/app/admin/order-manage/order-manage-routing.module.ts | 4 ++-- src/app/admin/order-manage/order-manage.module.ts | 3 ++- .../starbucks-order-list.component.html | 2 -- .../recharge-order/order-list/order-list.component.ts | 6 +++--- src/app/pipes/recharge-status.pipe.ts | 2 ++ src/environments/environment.ts | 7 ++----- 9 files changed, 12 insertions(+), 18 deletions(-) diff --git a/src/app/admin/order-manage/kfc-order/kfc-order-list/kfc-order-list.component.html b/src/app/admin/order-manage/kfc-order/kfc-order-list/kfc-order-list.component.html index f7d9b14..02cd3c6 100644 --- a/src/app/admin/order-manage/kfc-order/kfc-order-list/kfc-order-list.component.html +++ b/src/app/admin/order-manage/kfc-order/kfc-order-list/kfc-order-list.component.html @@ -157,7 +157,6 @@ 订单金额 支付金额 支付方式 - 支付卡号 订单状态 创建时间 操作 @@ -171,7 +170,6 @@ ¥{{data.totalPrice}} ¥{{data.payPrice}} {{data.orderStatus == 1 || data.orderStatus == 5 ? '未支付' : data.payType | orderPayType}} - {{data.memCardNo}} {{data.orderStatus | orderStatus}} {{data.createTime | date : 'yyyy-MM-dd HH:mm:ss'}} diff --git a/src/app/admin/order-manage/kfc-order/kfc-order-list/kfc-order-list.component.ts b/src/app/admin/order-manage/kfc-order/kfc-order-list/kfc-order-list.component.ts index d96bc99..d79b04d 100644 --- a/src/app/admin/order-manage/kfc-order/kfc-order-list/kfc-order-list.component.ts +++ b/src/app/admin/order-manage/kfc-order/kfc-order-list/kfc-order-list.component.ts @@ -7,7 +7,7 @@ import {CommonsService} from '../../../../services/commons.service'; import {animate, state, style, transition, trigger} from '@angular/animations'; import {NzMessageService} from 'ng-zorro-antd'; import {OrderThirdPartyService} from '../../../../services/order/order-third-party.service'; -import {environment} from "../../../../../environments/environment"; +import {environment} from '../../../../../environments/environment'; @Component({ 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 88d481d..31b4b22 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 @@ -158,7 +158,6 @@ 订单金额 支付金额 支付方式 - 支付卡号 订单状态 创建时间 操作 @@ -172,7 +171,6 @@ ¥{{data.totalPrice}} ¥{{data.payPrice}} {{data.orderStatus == 1 || data.orderStatus == 5 ? '未支付' : data.payType | orderPayType}} - {{data.memCardNo}} {{data.orderStatus | orderStatus}} {{data.createTime | date : 'yyyy-MM-dd HH:mm:ss'}} 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 40cec00..3624604 100644 --- a/src/app/admin/order-manage/order-manage-routing.module.ts +++ b/src/app/admin/order-manage/order-manage-routing.module.ts @@ -10,7 +10,7 @@ import {MemberChargeOrderListComponent} from './member-charge-order/member-charg import {PreOrderComponent} from '../order/pre-order/pre-order.component'; import {DiscountUseConditionListComponent} from '../order/discount-use-condition-list/discount-use-condition-list.component'; import {DicountPackageOrderListComponent} from '../order/dicount-package-order-list/dicount-package-order-list.component'; -import {OrderListComponent} from '../recharge-order/order-list/order-list.component'; +import {MobileRechargeOrderListComponent} from './mobile-recharge-order-list/mobile-recharge-order-list.component'; const routes: Routes = [ @@ -21,7 +21,7 @@ const routes: Routes = [ { path: 'order-kfc-list', component: KfcOrderListComponent}, { path: 'order-starbucks--list', component: StarbucksOrderListComponent}, { path: 'order-member-charge--list', component: MemberChargeOrderListComponent}, - { path: 'mobile-recharge-order-list', component: OrderListComponent }, + { path: 'mobile-recharge-order-list', component: MobileRechargeOrderListComponent }, { path: 'pre-order', component: PreOrderComponent }, { path: 'discount-use-condition-list', component: DiscountUseConditionListComponent }, { path: 'discount-package-order-list', component: DicountPackageOrderListComponent}, diff --git a/src/app/admin/order-manage/order-manage.module.ts b/src/app/admin/order-manage/order-manage.module.ts index 92bc788..31a7344 100644 --- a/src/app/admin/order-manage/order-manage.module.ts +++ b/src/app/admin/order-manage/order-manage.module.ts @@ -13,9 +13,10 @@ import { OrderRefundListComponent } from './order-refund-list/order-refund-list. import {KfcOrderListComponent} from './kfc-order/kfc-order-list/kfc-order-list.component'; import { StarbucksOrderListComponent } from './starbucks-order/starbucks-order-list/starbucks-order-list.component'; import { MemberChargeOrderListComponent } from './member-charge-order/member-charge-order-list/member-charge-order-list.component'; +import { MobileRechargeOrderListComponent } from './mobile-recharge-order-list/mobile-recharge-order-list.component'; @NgModule({ - declarations: [OrderOilListComponent, OrderCouponListComponent, OrderIntegralRechargeComponent, OrderRefundListComponent, KfcOrderListComponent, StarbucksOrderListComponent, MemberChargeOrderListComponent], + declarations: [OrderOilListComponent, OrderCouponListComponent, OrderIntegralRechargeComponent, OrderRefundListComponent, KfcOrderListComponent, StarbucksOrderListComponent, MemberChargeOrderListComponent, MobileRechargeOrderListComponent], imports: [ CommonModule, OrderManageRoutingModule, diff --git a/src/app/admin/order-manage/starbucks-order/starbucks-order-list/starbucks-order-list.component.html b/src/app/admin/order-manage/starbucks-order/starbucks-order-list/starbucks-order-list.component.html index 88d481d..31b4b22 100644 --- a/src/app/admin/order-manage/starbucks-order/starbucks-order-list/starbucks-order-list.component.html +++ b/src/app/admin/order-manage/starbucks-order/starbucks-order-list/starbucks-order-list.component.html @@ -158,7 +158,6 @@ 订单金额 支付金额 支付方式 - 支付卡号 订单状态 创建时间 操作 @@ -172,7 +171,6 @@ ¥{{data.totalPrice}} ¥{{data.payPrice}} {{data.orderStatus == 1 || data.orderStatus == 5 ? '未支付' : data.payType | orderPayType}} - {{data.memCardNo}} {{data.orderStatus | orderStatus}} {{data.createTime | date : 'yyyy-MM-dd HH:mm:ss'}} diff --git a/src/app/admin/recharge-order/order-list/order-list.component.ts b/src/app/admin/recharge-order/order-list/order-list.component.ts index 5d098b5..a095bdc 100644 --- a/src/app/admin/recharge-order/order-list/order-list.component.ts +++ b/src/app/admin/recharge-order/order-list/order-list.component.ts @@ -8,9 +8,9 @@ import {IconService} from '../../../services/icon.service'; import {RechargeService} from '../../../services/recharge.service'; import {NzMessageService, NzModalService, NzUploadChangeParam} from 'ng-zorro-antd'; import {FormBuilder, FormGroup, Validators} from '@angular/forms'; -import {ADMIN_INFO_OBJECT} from "../../../services/local-storage.namespace"; -import {CompanyService} from "../../../services/company.service"; -import {LocalStorageService} from "../../../services/local-storage.service"; +import {ADMIN_INFO_OBJECT} from '../../../services/local-storage.namespace'; +import {CompanyService} from '../../../services/company.service'; +import {LocalStorageService} from '../../../services/local-storage.service'; @Component({ selector: 'app-order-list', diff --git a/src/app/pipes/recharge-status.pipe.ts b/src/app/pipes/recharge-status.pipe.ts index fced286..5a6e2bf 100644 --- a/src/app/pipes/recharge-status.pipe.ts +++ b/src/app/pipes/recharge-status.pipe.ts @@ -15,6 +15,8 @@ export class RechargeStatusPipe implements PipeTransform { return '充值失败'; case 204: return '未充值'; + case 205: + return '充值异常'; } } diff --git a/src/environments/environment.ts b/src/environments/environment.ts index 3a8927e..76173d9 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -5,13 +5,10 @@ export const environment = { production: false, baseUrl: 'http://localhost:9302/brest/', // 测试环境服务器地址(请求数据地址) - // imageUrl: 'https://hsgcs.dctpay.com/filesystem/', - // baseUrl: 'https://hsgcs.dctpay.com/brest/', // 测试环境服务器地址(请求数据地址) - // orderUrl: 'https://hsgcs.dctpay.com/order/', + orderUrl: 'http://localhost:9304/order/', // 测试环境服务器地址(请求数据地址) imageUrl: 'https://hsgcs.dctpay.com/filesystem/', // baseUrl: 'https://hsgcs.dctpay.com/brest/', // 测试环境服务器地址(请求数据地址) - orderUrl: 'https://hsgcs.dctpay.com/order/', // 测试环境服务器地址(请求数据地址) - // imageUrl: 'https://hsgcs.dctpay.com/filesystem/', + // 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 0295475e8bce23ae010f27e8eed23b32856b62ab Mon Sep 17 00:00:00 2001 From: Sum1Dream <418471657@qq.com> Date: Wed, 1 Feb 2023 14:18:13 +0800 Subject: [PATCH 3/3] =?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 --- .../api-merchants/list/list.component.html | 2 +- .../integral-rebate.component.html | 114 ++++-------------- .../third-product.component.html | 1 + src/app/pipes/integral/integral-type.pipe.ts | 18 ++- 4 files changed, 37 insertions(+), 98 deletions(-) diff --git a/src/app/admin/api-merchants/list/list.component.html b/src/app/admin/api-merchants/list/list.component.html index 07489a6..818db18 100644 --- a/src/app/admin/api-merchants/list/list.component.html +++ b/src/app/admin/api-merchants/list/list.component.html @@ -309,7 +309,7 @@ - + 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 d43eb2a..e5217e1 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 @@ -11,60 +11,19 @@ 产品类型 - - - - + + + + + + + + + -
- - 产品 - - - - - - -
-
- - 产品 - - - - - - -
-
- - 产品 - - - - - - - - -
-
- - 产品 - - - - - - - - -
- - @@ -88,6 +47,7 @@ 编号 积分返利比例 类型 - 产品 + 返利时间范围 创建时间 操作 @@ -114,7 +74,7 @@ {{i + 1}} {{data.percentage + "%"}} {{data.type | integralType}} - {{data.type | integralProduct : data.productId}} + {{data.startTime | date: 'yyyy-MM-dd HH:mm'}} - {{data.endTime | date: 'yyyy-MM-dd HH:mm'}} {{data.createTime | date: 'yyyy-MM-dd HH:mm'}} @@ -136,46 +96,15 @@ 产品类型 - - - - - - - - - 卡券产品 - - - - - - - - 在线加油产品 - - - - - - - - 话费产品 - - - - - - - - - - 第三方产品 - - - - - + + + + + + + + + @@ -185,7 +114,6 @@ - 积分返利比例 diff --git a/src/app/admin/config-manage/third-product/third-product.component.html b/src/app/admin/config-manage/third-product/third-product.component.html index 9330f1f..9676a12 100644 --- a/src/app/admin/config-manage/third-product/third-product.component.html +++ b/src/app/admin/config-manage/third-product/third-product.component.html @@ -37,6 +37,7 @@