[{"__symbolic":"module","version":4,"metadata":{"HistoryOrderComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":88,"character":1},"arguments":[{"selector":"zx-history-order","template":"<zx-header-block [title]=\"'历史支付订单查询'\" [showBottomLine]=\"false\" [showBreadcrumb]=\"true\"><p>支付业务历史订单查询，用于订单的状态跟踪、查询。</p></zx-header-block><zx-content-block><ng-template #operations><span>历史支付订单列表</span></ng-template><ng-template #extra><nz-select style=\"width: 200px;\" [(ngModel)]=\"listView.params.orderState\" [nzPlaceHolder]=\"'请选择订单状态'\" [nzSize]=\"'large'\" nzAllowClear (ngModelChange)=\"filter()\"><nz-option *ngFor=\"let option of payOrderStateOptions\" [nzLabel]=\"option.text\" [nzValue]=\"option.value\"></nz-option></nz-select><nz-input [nzType]=\"'search'\" [(ngModel)]=\"listView.params.searchQuery\" [nzPlaceHolder]=\"'请输入订单号、标题查询'\" style=\"width: 300px;\" (nzOnSearch)=\"search($event)\" [nzSize]=\"'large'\"></nz-input></ng-template><ng-template #content><zx-list-view [listView]=\"listView\" (loadData)=\"loadAll()\"><ng-template #headColumn let-field=\"field\"><div *ngIf=\"field.name == 'orderId'\"><span><zx-list-view-th [field]=\"listView.fields['orderId']\"></zx-list-view-th></span><span>/</span> <span><zx-list-view-th [field]=\"listView.fields['orderTitle']\"></zx-list-view-th></span></div></ng-template><ng-template #dataColumn let-dataRow=\"dataRow\" let-field=\"field\" let-value=\"value\"><div *ngIf=\"field.name == 'orderId'\" style=\"display: flex;align-items: center;\"><div style=\"margin-right: 6px\"><i class=\"anticon anticon-clock-circle\" *ngIf=\"dataRow.orderState === 'NEW'\" title=\"订单已生成，等待发起支付\" style=\"color: #ccc\"></i> <i class=\"anticon anticon-pay-circle\" *ngIf=\"dataRow.orderState === 'PRE_ORDER_SUCCESS'\" title=\"已生成预支付订单，等待支付完成\" style=\"color: #ccc\"></i> <i class=\"anticon anticon-exclamation-circle\" *ngIf=\"dataRow.orderState === 'PRE_ORDER_ERROR'\" title=\"生成预支付订单失败\" style=\"color: red\"></i> <i class=\"anticon anticon-check-circle\" *ngIf=\"dataRow.orderState === 'PAY_SUCCESS'\" title=\"支付成功\" style=\"color: #52C41A\"></i> <i class=\"anticon anticon-close-circle\" *ngIf=\"dataRow.orderState === 'PAY_ERROR'\" title=\"支付失败\" style=\"color: red\"></i> <i class=\"anticon anticon-clock-circle\" *ngIf=\"dataRow.orderState === 'ORDER_EXPIRE'\" title=\"订单超时\" style=\"color: #ccc\"></i> <i class=\"anticon anticon-check-circle\" *ngIf=\"dataRow.orderState === 'BUSINESS_SUCCESS'\" title=\"业务回调处理成功\" style=\"color: #52C41A\"></i> <i class=\"anticon anticon-exclamation-circle\" *ngIf=\"dataRow.orderState === 'BUSINESS_ERROR'\" title=\"业务回调处理失败\" style=\"color: red\"></i> <i class=\"anticon anticon-bank\" *ngIf=\"dataRow.orderState === 'REFUND_SUCCESS'\" title=\"退款成功\" style=\"color: #52C41A\"></i> <i class=\"anticon anticon-exclamation-circle\" *ngIf=\"dataRow.orderState === 'REFUND_ERROR'\" title=\"退款失败\" style=\"color: red\"></i></div><div><div><a [routerLink]=\"['../history-order', dataRow.id]\">{{dataRow.orderId}}</a></div><div>{{dataRow.orderTitle}}</div></div></div><div *ngIf=\"field.name == 'openPayKind'\"><div><span>{{formate(dataRow.openPayKind)}}</span></div></div><div *ngIf=\"field.name == 'orderKind'\"><div><span>{{formateOrderKind(dataRow.orderKind)}}</span></div></div><div *ngIf=\"field.name == 'totleAmount'\"><div><span>{{dataRow.totleAmount!=null?'￥':''}}{{dataRow.totleAmount|number}}{{dataRow.totleAmount!=null?'元':''}}</span></div></div><div *ngIf=\"field.name == 'payTime'\"><div><span>{{dataRow.payTime | date:'yyyy-MM-dd HH:mm:ss'}}</span></div></div><div *ngIf=\"field.name == 'createTime'\"><div><span>{{dataRow.createTime | date:'yyyy-MM-dd HH:mm:ss'}}</span></div></div><div *ngIf=\"field.name == 'paySuccess'\"><div><span><i class=\"anticon anticon-close-circle\" *ngIf=\"dataRow.paySuccess === false\" style=\"color: red\"></i> <i class=\"anticon anticon-check-circle\" *ngIf=\"dataRow.paySuccess === true\" style=\"color: #52C41A\"></i> <i class=\"anticon anticon-clock-circle\" *ngIf=\"dataRow.paySuccess == undefined\" style=\"color: #ccc\"></i> </span><span>{{dataRow.payTime == null||dataRow.paySuccess==undefined? '未支付': (dataRow.paySuccess===true ? '支付成功' : '支付失败')}}</span></div></div></ng-template></zx-list-view></ng-template></zx-content-block>"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":102,"character":26},{"__symbolic":"reference","module":"../../service/data-source.helper","name":"DataSourceHelper","line":103,"character":34},{"__symbolic":"reference","module":"@wjya/ngx-webapp-fx","name":"DataDictService","line":104,"character":33}]}],"ngOnInit":[{"__symbolic":"method"}],"loadAll":[{"__symbolic":"method"}],"toDecimal":[{"__symbolic":"method"}],"formate":[{"__symbolic":"method"}],"formateOrderKind":[{"__symbolic":"method"}],"filter":[{"__symbolic":"method"}]}}}}]