pull/1/head
袁野 4 years ago
parent 58fc503405
commit c640afd895
  1. 1
      src/app/admin/coupon/coupon-list/coupon-list.component.ts
  2. 2
      src/app/admin/coupon/sales-code-list/sales-code-list.component.html
  3. 8
      src/app/admin/merchant/merchant-edit/merchant-edit.component.html
  4. 1
      src/app/admin/merchant/merchant-edit/merchant-edit.component.ts
  5. 4
      src/environments/environment.test.ts

@ -195,6 +195,7 @@ export class CouponListComponent implements OnInit {
// 查看门店列表 // 查看门店列表
public getList(id: number , couponName: string , couponType: number): void { public getList(id: number , couponName: string , couponType: number): void {
console.log(couponType);
this.router.navigate(['/admin/coupon/salesCode-list'], { this.router.navigate(['/admin/coupon/salesCode-list'], {
queryParams: { queryParams: {
couponId: id, couponId: id,

@ -46,7 +46,7 @@
<span>共计 {{total}} 条数据</span> <span>共计 {{total}} 条数据</span>
<span *ngIf="id != null" style="margin-left: 30px;;"> <span *ngIf="id != null" style="margin-left: 30px;;">
卡券名称: 卡券名称:
<span style="font-weight: bold; font-size: 20px">{{name}}({{type === 1 ? '内部卷' : '外部卷'}})</span> <span style="font-weight: bold; font-size: 20px">{{name}}({{type === 1 ? '内部券' : '外部券'}})</span>
</span> </span>
<div class="operating-button"> <div class="operating-button">
<button *ngIf="type === 1" nz-button nzType="primary" class="right-btn" (click)="showModal()"><i nz-icon <button *ngIf="type === 1" nz-button nzType="primary" class="right-btn" (click)="showModal()"><i nz-icon

@ -34,14 +34,6 @@
</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 [nzFor]="'merchantKey'" nzRequired>商户编号</nz-form-label>
<nz-form-control nzErrorTip="请输入商户编号!">
<input nz-input placeholder="请输入商户编号..." [formControlName]="'merchantKey'" id="'merchantKey'" />
</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 [nzFor]="'merchantName'" nzRequired>商户名称</nz-form-label> <nz-form-label [nzFor]="'merchantName'" nzRequired>商户名称</nz-form-label>

@ -51,7 +51,6 @@ export class MerchantEditComponent implements OnInit {
this.validateForm = this.fb.group({ this.validateForm = this.fb.group({
loginTelephone: [null, [Validators.required, ValidatorsService.mobile]], loginTelephone: [null, [Validators.required, ValidatorsService.mobile]],
password: [null, [Validators.required, ValidatorsService.minLength(6)]], password: [null, [Validators.required, ValidatorsService.minLength(6)]],
merchantKey: [null, [Validators.required, ValidatorsService.maxLength(10)]],
merchantName: [null, [Validators.required, ValidatorsService.pwdLength(2, 12)]], merchantName: [null, [Validators.required, ValidatorsService.pwdLength(2, 12)]],
telephone: [null, [Validators.required]], telephone: [null, [Validators.required]],
address: [null, [Validators.required]], address: [null, [Validators.required]],

@ -1,5 +1,5 @@
export const environment = { export const environment = {
production: true, production: true,
baseUrl: 'https://newhigh.shinwoten.cn/crest/', // 测试环境服务器地址(请求数据地址) baseUrl: 'https://hsgcs.dctpay.com/brest/', // 测试环境服务器地址(请求数据地址)
imageUrl: 'http://newhigh.shinwoten.cn/filesystem/', imageUrl: 'https://hsgcs.dctpay.com/filesystem/',
}; };

Loading…
Cancel
Save