解决冲突

pull/1/head
袁野 3 years ago
parent 56dcc41228
commit 1ffd85d186
  1. 11
      src/app/admin/order/order-h-list/order-h-list.component.html
  2. 1
      src/app/admin/order/order-h-list/order-h-list.component.ts
  3. 28
      src/app/admin/recharge-order/price-list/price-list.component.html
  4. 4
      src/app/admin/recharge-order/price-list/price-list.component.ts
  5. 14
      src/app/app-common.module.ts
  6. 3
      src/app/pipes/index.ts
  7. 11
      src/environments/environment.ts

@ -89,6 +89,17 @@
</nz-form-control> </nz-form-control>
</nz-form-item> </nz-form-item>
</div> </div>
<div nz-col nzSpan="8">
<nz-form-item>
<nz-form-label [nzSpan]="6">充值类型</nz-form-label>
<nz-form-control [nzSpan]="16">
<nz-select nzShowSearch nzAllowClear formControlName="rechargeType" nzPlaceHolder="请选择充值类型">
<nz-option nzLabel="快充" [nzValue]="1"></nz-option>
<nz-option nzLabel="慢充" [nzValue]="2"></nz-option>
</nz-select>
</nz-form-control>
</nz-form-item>
</div>
<!-- <div nz-col nzSpan="8">--> <!-- <div nz-col nzSpan="8">-->
<!-- <nz-form-item>--> <!-- <nz-form-item>-->
<!-- <nz-form-label [nzSpan]="6">创建时间</nz-form-label>--> <!-- <nz-form-label [nzSpan]="6">创建时间</nz-form-label>-->

@ -56,6 +56,7 @@ export class OrderHListComponent implements OnInit {
status: [null], status: [null],
orderNo: [null], orderNo: [null],
rechargeModel: [null], rechargeModel: [null],
rechargeType: [null],
rechargeContent: [null], rechargeContent: [null],
idCard: [null], idCard: [null],
userPhone: [null], userPhone: [null],

@ -21,20 +21,23 @@
</div> </div>
<div nz-col nzSpan="8"> <div nz-col nzSpan="8">
<nz-form-item> <nz-form-item>
<<<<<<< HEAD
<nz-form-label [nzSpan]="6">充值类型</nz-form-label>
<nz-form-control [nzSpan]="16">
<nz-select nzShowSearch nzAllowClear formControlName="rechargeType" nzPlaceHolder="请选择充值类型">
<nz-option nzLabel="快充" nzValue="1"></nz-option>
<nz-option nzLabel="慢充" nzValue="2"></nz-option>
=======
<nz-form-label [nzSpan]="6">展示区域</nz-form-label> <nz-form-label [nzSpan]="6">展示区域</nz-form-label>
<nz-form-control [nzSpan]="16"> <nz-form-control [nzSpan]="16">
<nz-select nzShowSearch nzAllowClear formControlName="showType" nzPlaceHolder="请选择展示区域"> <nz-select nzShowSearch nzAllowClear formControlName="showType" nzPlaceHolder="请选择展示区域">
<nz-option nzLabel="小程序" [nzValue]="1"></nz-option> <nz-option nzLabel="小程序" [nzValue]="1"></nz-option>
<nz-option nzLabel="H5" [nzValue]="2"></nz-option> <nz-option nzLabel="H5" [nzValue]="2"></nz-option>
<nz-option nzLabel="银联" [nzValue]="3"></nz-option> <nz-option nzLabel="银联" [nzValue]="3"></nz-option>
>>>>>>> 79b068eb5f3f130730e5c51b857b9cc72de104f9 </nz-select>
</nz-form-control>
</nz-form-item>
</div>
<div nz-col nzSpan="8">
<nz-form-item>
<nz-form-label [nzSpan]="6">充值类型</nz-form-label>
<nz-form-control [nzSpan]="16">
<nz-select nzShowSearch nzAllowClear formControlName="rechargeType" nzPlaceHolder="请选择充值类型">
<nz-option nzLabel="快充" [nzValue]="1"></nz-option>
<nz-option nzLabel="慢充" [nzValue]="2"></nz-option>
</nz-select> </nz-select>
</nz-form-control> </nz-form-control>
</nz-form-item> </nz-form-item>
@ -76,10 +79,7 @@
<tr> <tr>
<th>编号</th> <th>编号</th>
<th>金额类型</th> <th>金额类型</th>
<<<<<<< HEAD
<th>充值类型</th> <th>充值类型</th>
=======
>>>>>>> 79b068eb5f3f130730e5c51b857b9cc72de104f9
<th>展示区域</th> <th>展示区域</th>
<!-- <th>供货商编号</th>--> <!-- <th>供货商编号</th>-->
<!-- <th>商品ID</th>--> <!-- <th>商品ID</th>-->
@ -93,14 +93,8 @@
<tr *ngFor="let data of ajaxTable.data; let i = index"> <tr *ngFor="let data of ajaxTable.data; let i = index">
<td>{{i + 1}}</td> <td>{{i + 1}}</td>
<td>{{data.type | rechargePrice}}</td> <td>{{data.type | rechargePrice}}</td>
<<<<<<< HEAD
<td>{{data.rechargeType== 1? '快充':'慢充'}}</td> <td>{{data.rechargeType== 1? '快充':'慢充'}}</td>
<td>{{data.showType | showType}}</td> <td>{{data.showType | showType}}</td>
=======
<td>{{data.showType | priceShow}}</td>
<!-- <td>{{data.channel}}</td>-->
>>>>>>> 79b068eb5f3f130730e5c51b857b9cc72de104f9
<!-- <td>{{data.goodsId}}</td>-->
<td>{{data.price}}</td> <td>{{data.price}}</td>
<td>{{data.realPrice}}</td> <td>{{data.realPrice}}</td>
<td>{{data.createTime | date: 'yyyy-MM-dd HH:mm'}}</td> <td>{{data.createTime | date: 'yyyy-MM-dd HH:mm'}}</td>

@ -50,11 +50,8 @@ export class PriceListComponent implements OnInit {
public init(): void { public init(): void {
this.searchForm = this.form.group({ this.searchForm = this.form.group({
type: [null], type: [null],
<<<<<<< HEAD
rechargeType: [null], rechargeType: [null],
=======
showType: [null], showType: [null],
>>>>>>> 79b068eb5f3f130730e5c51b857b9cc72de104f9
}); });
this.validateForm = this.form.group({ this.validateForm = this.form.group({
type: [null, [Validators.required]], type: [null, [Validators.required]],
@ -62,7 +59,6 @@ export class PriceListComponent implements OnInit {
price: [null, [Validators.required]], price: [null, [Validators.required]],
rechargeType: [null, [Validators.required]], rechargeType: [null, [Validators.required]],
realPrice: [{value: null, disabled: true}, [Validators.required]], realPrice: [{value: null, disabled: true}, [Validators.required]],
showType: [null, [Validators.required]],
discount: [null, [Validators.required]], discount: [null, [Validators.required]],
sort: [null, [Validators.required]], sort: [null, [Validators.required]],
// channel: [null, [Validators.required]], // channel: [null, [Validators.required]],

@ -35,16 +35,11 @@ import {
PreOrderStatusPipe, PreOrderStatusPipe,
ButtonPipe, ButtonPipe,
DiscountPackageStatusPipe, DiscountPackageStatusPipe,
PriceShowPipe PriceShowPipe,
ShowTypePipe
} from './pipes'; } from './pipes';
<<<<<<< HEAD
import { PreOrderStatusPipe } from './pipes/order/pre-order-status.pipe';
import { ButtonPipe } from './pipes/commons/button.pipe';
import { DiscountPackageStatusPipe } from './pipes/discount-package-status.pipe';
import { ShowTypePipe } from './pipes/show-type.pipe';
=======
>>>>>>> 79b068eb5f3f130730e5c51b857b9cc72de104f9
@ -75,11 +70,8 @@ const PIPES = [
PreOrderStatusPipe, PreOrderStatusPipe,
ButtonPipe, ButtonPipe,
DiscountPackageStatusPipe, DiscountPackageStatusPipe,
<<<<<<< HEAD
ShowTypePipe, ShowTypePipe,
=======
PriceShowPipe, PriceShowPipe,
>>>>>>> 79b068eb5f3f130730e5c51b857b9cc72de104f9
]; ];

@ -23,8 +23,5 @@ export * from './audit/refund-status.pipe';
export * from './order/pre-order-status.pipe'; export * from './order/pre-order-status.pipe';
export * from './commons/button.pipe'; export * from './commons/button.pipe';
export * from './discount-package-status.pipe'; export * from './discount-package-status.pipe';
<<<<<<< HEAD
export * from './show-type.pipe'; export * from './show-type.pipe';
=======
export * from './price-show.pipe'; export * from './price-show.pipe';
>>>>>>> 79b068eb5f3f130730e5c51b857b9cc72de104f9

@ -4,17 +4,10 @@
export const environment = { export const environment = {
production: false, production: false,
<<<<<<< HEAD
// baseUrl: 'http://localhost:9302/brest/', // 测试环境服务器地址(请求数据地址) // baseUrl: 'http://localhost:9302/brest/', // 测试环境服务器地址(请求数据地址)
// imageUrl: 'http://localhost:9302/filesystem/', // imageUrl: 'http://localhost:9302/filesystem/',
baseUrl: 'https://hsgcs.dctpay.com/brest/', // 测试环境服务器地址(请求数据地址) baseUrl: 'https://hsg.dctpay.com/brest/', // 测试环境服务器地址(请求数据地址)
imageUrl: 'https://hsgcs.dctpay.com/filesystem/', imageUrl: 'https://hsg.dctpay.com/filesystem/',
=======
baseUrl: 'http://localhost:9302/brest/', // 测试环境服务器地址(请求数据地址)
imageUrl: 'http://localhost:9302/filesystem/',
// baseUrl: 'https://hsg.dctpay.com/brest/', // 测试环境服务器地址(请求数据地址)
// imageUrl: 'https://hsg.dctpay.com/filesystem/',
>>>>>>> 79b068eb5f3f130730e5c51b857b9cc72de104f9
key: 'https://hsgcs.dctpay.com/phone-recharge-H5/index.html?codeValue=', key: 'https://hsgcs.dctpay.com/phone-recharge-H5/index.html?codeValue=',
inviteUrl: 'https://hsgcs.dctpay.com/wx/?action=ic&id=', inviteUrl: 'https://hsgcs.dctpay.com/wx/?action=ic&id=',
}; };

Loading…
Cancel
Save