袁野 7 months ago
parent e0530a38e3
commit 1923371f10
  1. 4
      src/app/pages/account/sys-account/sys-account.component.ts
  2. 4
      src/app/pages/account/sys-role/sys-role.component.ts
  3. 4
      src/app/pages/body/index/index.component.ts
  4. 6
      src/app/pages/login/login/login.component.ts
  5. 2
      src/app/pages/merchant/mer-add/mer-add.component.ts
  6. 6
      src/app/pages/system/menu/menu.component.ts
  7. 0
      src/app/services/account/sys-account.service.ts
  8. 0
      src/app/services/common/common.service.ts
  9. 9
      src/app/services/goods/goods.service.ts
  10. 0
      src/app/services/login/login.service.ts
  11. 0
      src/app/services/menu/menu.service.ts
  12. 0
      src/app/services/merchant/mer.service.ts
  13. 0
      src/app/services/role/role.service.ts

@ -2,7 +2,6 @@ import { Component } from '@angular/core';
import {FormGroup, NonNullableFormBuilder, ReactiveFormsModule, Validators} from "@angular/forms";
import {NzMessageService} from "ng-zorro-antd/message";
import {NzModalComponent, NzModalModule, NzModalService} from "ng-zorro-antd/modal";
import {SysAccountService} from "../../../servies/account/sys-account.service";
import {DatePipe, NgForOf, NgIf} from "@angular/common";
import {NzButtonComponent} from "ng-zorro-antd/button";
import {NzColDirective, NzRowDirective} from "ng-zorro-antd/grid";
@ -21,9 +20,10 @@ import {NzTreeComponent} from "ng-zorro-antd/tree";
import {NzOptionComponent, NzSelectComponent} from "ng-zorro-antd/select";
import {NzDropDownModule} from "ng-zorro-antd/dropdown";
import {NzIconDirective} from "ng-zorro-antd/icon";
import {RoleService} from "../../../servies/role/role.service";
import {DictionaryPipe} from "../../../pipes/common/dictionary.pipe";
import {Dictionary} from "../../../data/common/dictionary.namespace";
import {SysAccountService} from "../../../services/account/sys-account.service";
import {RoleService} from "../../../services/role/role.service";
@Component({
selector: 'app-sys-account',

@ -19,13 +19,13 @@ import {NzIconDirective} from "ng-zorro-antd/icon";
import {NzInputDirective} from "ng-zorro-antd/input";
import {NzFlexDirective} from "ng-zorro-antd/flex";
import {DatePipe, NgForOf, NgIf} from "@angular/common";
import {RoleService} from "../../../servies/role/role.service";
import {NzModalComponent, NzModalModule, NzModalService} from "ng-zorro-antd/modal";
import {NzMessageService} from "ng-zorro-antd/message";
import {NzInputNumberComponent} from "ng-zorro-antd/input-number";
import {NzOptionComponent, NzSelectComponent} from "ng-zorro-antd/select";
import {MenuService} from "../../../servies/menu/menu.service";
import {NzTreeComponent, NzTreeNodeOptions} from "ng-zorro-antd/tree";
import {RoleService} from "../../../services/role/role.service";
import {MenuService} from "../../../services/menu/menu.service";
@Component({
selector: 'app-sys-role',

@ -17,10 +17,10 @@ import {TabComponent} from "../tab/tab.component";
import {BrowserStorageService} from "../../../utils/localStorage.service";
import {DATA, INIT_FLAG, LOGIN_DATA, USER_TOKEN} from "../../../data/login/localStorage.namespace";
import {NzDropDownDirective, NzDropdownMenuComponent} from "ng-zorro-antd/dropdown";
import {LoginService} from "../../../servies/login/login.service";
import {NzMessageService} from "ng-zorro-antd/message";
import {CommonService} from "../../../servies/common/common.service";
import {dictionaryData} from "../../../data/common/dictionary.namespace";
import {CommonService} from "../../../services/common/common.service";
import {LoginService} from "../../../services/login/login.service";
@Component({
selector: 'app-index',

@ -1,12 +1,10 @@
import {Component} from '@angular/core';
import {NzCarouselComponent, NzCarouselContentDirective} from "ng-zorro-antd/carousel";
import {NgForOf, NgOptimizedImage} from "@angular/common";
import {fork} from "child_process";
import {NzFormControlComponent, NzFormDirective, NzFormItemComponent, NzFormLabelComponent} from "ng-zorro-antd/form";
import {NzFormControlComponent, NzFormDirective, NzFormItemComponent} from "ng-zorro-antd/form";
import {
FormControl,
FormGroup,
FormsModule,
NonNullableFormBuilder,
ReactiveFormsModule,
Validators
@ -19,10 +17,10 @@ import {backgroundImage} from "../../../data/login/login.namespace";
import {NzSliderComponent} from "ng-zorro-antd/slider";
import {MathUtils} from "../../../utils/mathUtils.service";
import {NzMessageService} from "ng-zorro-antd/message";
import {LoginService} from "../../../servies/login/login.service";
import {DATA, INIT_FLAG, LOGIN_DATA, USER_TOKEN} from "../../../data/login/localStorage.namespace";
import {Router} from "@angular/router";
import {BrowserStorageService} from "../../../utils/localStorage.service";
import {LoginService} from "../../../services/login/login.service";

@ -1,5 +1,4 @@
import { Component } from '@angular/core';
import {MerService} from "../../../servies/merchant/mer.service";
import {NzModalModule, NzModalService} from "ng-zorro-antd/modal";
import {FormGroup, FormsModule, NonNullableFormBuilder, ReactiveFormsModule, Validators} from "@angular/forms";
import {NgForOf, NgIf} from "@angular/common";
@ -19,6 +18,7 @@ import {NzUploadFile, NzUploadModule} from "ng-zorro-antd/upload";
import {NzIconDirective} from "ng-zorro-antd/icon";
import {Observable, Observer} from "rxjs";
import {NzMessageService} from "ng-zorro-antd/message";
import {MerService} from "../../../services/merchant/mer.service";
@Component({
selector: 'app-mer-add',

@ -1,9 +1,8 @@
import {ChangeDetectorRef, Component, ViewChild} from '@angular/core';
import {NzFormatEmitEvent, NzTreeComponent, NzTreeNode, NzTreeService} from "ng-zorro-antd/tree";
import {Component} from '@angular/core';
import {NzTreeComponent} from "ng-zorro-antd/tree";
import {NgForOf, NgIf} from "@angular/common";
import {NzIconDirective} from "ng-zorro-antd/icon";
import {NzDropdownMenuComponent} from "ng-zorro-antd/dropdown";
import {MenuService} from "../../../servies/menu/menu.service";
import {
NzTreeNodeCheckboxComponent,
NzTreeNodeComponent,
@ -26,6 +25,7 @@ import {NzSpinComponent} from "ng-zorro-antd/spin";
import {NzTreeSelectComponent} from "ng-zorro-antd/tree-select";
import {DictionaryPipe} from "../../../pipes/common/dictionary.pipe";
import {Dictionary} from "../../../data/common/dictionary.namespace";
import {MenuService} from "../../../services/menu/menu.service";
@Component({
selector: 'app-menu',

@ -0,0 +1,9 @@
import { Injectable } from '@angular/core';
@Injectable({
providedIn: 'root'
})
export class GoodsService {
constructor() { }
}
Loading…
Cancel
Save