共计 {{total}} 条数据
-
+
+
+
+
充值订单号
客户名称 |
生成时间 |
+ 支付时间 |
支付方式 |
充值状态 |
支付状态 |
@@ -152,6 +179,7 @@
{{data.orderNo}} |
{{data.userName == null ? '暂无' : data.userName}} |
{{data.createTimed | date: 'yyyy-MM-dd HH:mm:ss'}} |
+ {{data.payTime | date: 'yyyy-MM-dd HH:mm:ss'}} |
{{data.payType | rechargePayType}} |
{{data.rechargeStatus | rechargeStatus}} |
{{data.payStatus | payStatus}} |
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 3e8b8e6..87ae816 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
@@ -76,16 +76,17 @@ export class OrderListComponent implements OnInit , OnDestroy {
public init(): void {
this.searchForm = this.form.group({
- status: [null],
- orderNo: [null],
- rechargeModel: [null],
- idCard: [null],
- rechargeContent: [null],
- userPhone: [null],
- rechargeType: [null],
- payTime: [null],
- payType: [null],
- createTime: [null],
+ payStatus: [null], // 支付状态
+ rechargeStatus: [null], // 充值状态
+ orderNo: [null], // 订单号
+ operatorType: [null], // 运营商类型
+ laborUnionCard: [null], // 工会卡号
+ rechargeContent: [null], // 充值内容
+ userPhone: [null], // 用户电话
+ rechargeType: [null], // 充值类型
+ payTime: [null], // 支付时间
+ payType: [null], // 支付方式
+ createTime: [null], // 创建时间
});
this.validateForm = this.form.group({
type: [null, [Validators.required]],
@@ -149,57 +150,6 @@ export class OrderListComponent implements OnInit , OnDestroy {
}
- public getMobileRechargeByOrderId(id: number): void {
- this.common.showConfirm('确认订单是否再次充值', item => {
- if (item) {
- this.recharge.getMobileRechargeByOrderId(id, data => {
- if (data['return_code'] === '000000') {
- this.getRequest(false, this.searchForm.value);
- this.isVisible = false;
- this.message.success('充值成功');
- } else {
- this.message.error(data['return_msg']);
- }
- });
- }
- });
-
- }
-
- public orderToRefund(id): void {
- this.common.showConfirm('确认订单是否退款', item => {
- if (item) {
- this.recharge.orderToRefund(id, data => {
- if (data['return_code'] === '000000') {
- this.message.success('退款成功');
- this.getRequest(false, this.searchForm.value);
- } else {
- this.message.error(data['return_msg']);
- }
- });
- }
- });
- }
-
- public postRefund(orderNo): void {
- this.common.showConfirm('确认订单申请退款', item => {
- if (item) {
- this.recharge.postRefund({
- refundSource: 1 ,
- sourceOrderNo: orderNo
- }, data => {
- if (data['return_code'] === '000000') {
- this.message.success('申请成功');
- this.getRequest(false, this.searchForm.value);
- } else {
- this.message.error(data['return_msg']);
- }
- });
- }
- });
- }
-
-
// 下载模板
downloadTemplate(whereObject) {
diff --git a/src/environments/environment.ts b/src/environments/environment.ts
index 0f97376..a2d6d6f 100644
--- a/src/environments/environment.ts
+++ b/src/environments/environment.ts
@@ -6,8 +6,8 @@ export const environment = {
production: false,
baseUrl: 'http://localhost:9302/brest/', // 测试环境服务器地址(请求数据地址)
imageUrl: 'http://localhost:9302/filesystem/',
-/* baseUrl: 'https://hsgcs.dctpay.com/brest/', // 测试环境服务器地址(请求数据地址)
- imageUrl: 'https://hsgcs.dctpay.com/filesystem/',*/
+ // baseUrl: 'https://hsgcs.dctpay.com/brest/', // 测试环境服务器地址(请求数据地址)
+ // imageUrl: 'https://hsgcs.dctpay.com/filesystem/',
key: 'https://hsgcs.dctpay.com/phone-recharge-H5/index.html?codeValue=',
inviteUrl: 'https://hsgcs.dctpay.com/wx/?action=ic&id=',
};