diff --git a/src/app/admin/api-merchants/list/list.component.html b/src/app/admin/api-merchants/list/list.component.html index 4a10d78..4c53c76 100644 --- a/src/app/admin/api-merchants/list/list.component.html +++ b/src/app/admin/api-merchants/list/list.component.html @@ -258,8 +258,6 @@ - - diff --git a/src/app/admin/config-manage/config-manage.module.ts b/src/app/admin/config-manage/config-manage.module.ts index 7012845..cf4c9ba 100644 --- a/src/app/admin/config-manage/config-manage.module.ts +++ b/src/app/admin/config-manage/config-manage.module.ts @@ -10,7 +10,7 @@ import {RegionSelectorModule} from '../../common/region-selector/region-selector import {NgZorroAntdModule} from 'ng-zorro-antd'; import {FormsModule, ReactiveFormsModule} from '@angular/forms'; import { ThirdProductComponent } from './third-product/third-product.component'; -import {AppCommonModule} from "../../app-common.module"; +import {AppCommonModule} from '../../app-common.module'; import { MemberProductComponent } from './member-product/member-product.component'; import { IntegralRebateComponent } from './integral-rebate/integral-rebate.component'; diff --git a/src/app/admin/index/index/index.component.ts b/src/app/admin/index/index/index.component.ts index ce5dc2b..d7319d7 100644 --- a/src/app/admin/index/index/index.component.ts +++ b/src/app/admin/index/index/index.component.ts @@ -62,15 +62,9 @@ export class IndexComponent implements OnInit { ngOnInit(): void { - this.http.jsonp('/areas_v3/bound/510000_full.json' , 'features').subscribe(data => { - console.log(data); - }); - - - - this.adminInfoObject = this.store.get(ADMIN_INFO_OBJECT); this.roleType = this.store.get(ADMIN_INFO_OBJECT)['secRole'].roleType; + console.log(this.roleType); if (this.roleType === 1) { this.getIndexCount(); this.getLineCount(); @@ -362,6 +356,12 @@ export class IndexComponent implements OnInit { yAxis: { type: 'value' }, + tooltip: { + trigger: 'axis', + axisPointer: { + type: 'shadow' + } + }, series: [ { data: sumData, @@ -410,6 +410,7 @@ export class IndexComponent implements OnInit { data: productData }, + series: [ { data: sumData, diff --git a/src/app/admin/login/login.module.ts b/src/app/admin/login/login.module.ts index 20e6060..f3095b5 100644 --- a/src/app/admin/login/login.module.ts +++ b/src/app/admin/login/login.module.ts @@ -5,6 +5,7 @@ import { LoginRoutingModule } from './login-routing.module'; import { LoginComponent } from './login/login.component'; import {NgZorroAntdModule} from 'ng-zorro-antd'; import {FormsModule, ReactiveFormsModule} from '@angular/forms'; +import { VerificationCodeModule } from 'src/app/common/verification-code/verification-code.module'; @NgModule({ @@ -13,6 +14,7 @@ import {FormsModule, ReactiveFormsModule} from '@angular/forms'; CommonModule, LoginRoutingModule, NgZorroAntdModule, + VerificationCodeModule, ReactiveFormsModule, FormsModule, ] diff --git a/src/app/admin/login/login/login.component.html b/src/app/admin/login/login/login.component.html index 40d020c..95b7cd0 100644 --- a/src/app/admin/login/login/login.component.html +++ b/src/app/admin/login/login/login.component.html @@ -7,9 +7,9 @@