Commit 4bd80689 by niuxiaolin

latest ui 08/20/2019 11:53:37

parent 55ff5c0c
...@@ -15,7 +15,6 @@ import { NgZorroAntdModule, NZ_I18N, zh_CN, NzIconModule } from "ng-zorro-antd"; ...@@ -15,7 +15,6 @@ import { NgZorroAntdModule, NZ_I18N, zh_CN, NzIconModule } from "ng-zorro-antd";
import { BrowserAnimationsModule } from "@angular/platform-browser/animations"; import { BrowserAnimationsModule } from "@angular/platform-browser/animations";
import { LoginComponent } from "./login/login.component"; import { LoginComponent } from "./login/login.component";
import { QsMarkComponent } from "./qs-mark/qs-mark.component"; import { QsMarkComponent } from "./qs-mark/qs-mark.component";
import { NgxEchartsModule } from "ngx-echarts";
@NgModule({ @NgModule({
declarations: [ declarations: [
AppComponent, AppComponent,
...@@ -34,7 +33,6 @@ import { NgxEchartsModule } from "ngx-echarts"; ...@@ -34,7 +33,6 @@ import { NgxEchartsModule } from "ngx-echarts";
FormsModule, FormsModule,
ReactiveFormsModule, ReactiveFormsModule,
ApiModule, ApiModule,
NgxEchartsModule,
NzIconModule, NzIconModule,
/** 导入 ng-zorro-antd 模块 **/ /** 导入 ng-zorro-antd 模块 **/
NgZorroAntdModule, NgZorroAntdModule,
......
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
<div class="main"> <div class="main">
<div class="aside"> <div class="aside">
<button class="ie-fix-button" (click)="back()">返回</button> <button class="ie-fix-button" >返回</button>
<nz-tree [nzShowIcon]="true" [nzTreeTemplate]="nzTreeTemplate" [nzData]="nodes" nzAsyncData <nz-tree [nzShowIcon]="true" [nzTreeTemplate]="nzTreeTemplate" [nzData]="nodes" nzAsyncData
(nzClick)="addVCR($event)" (nzExpandChange)="nzEvent($event)"> (nzExpandChange)="nzEvent($event)">
<ng-template #nzTreeTemplate let-node> <ng-template #nzTreeTemplate let-node>
<span *ngIf="node.isLeaf"> <span *ngIf="node.isLeaf">
<i nz-icon nzType="video-camera" nzTheme="outline"></i> <i nz-icon nzType="video-camera" nzTheme="outline"></i>
......
...@@ -2,7 +2,6 @@ import { Component, OnInit } from "@angular/core"; ...@@ -2,7 +2,6 @@ import { Component, OnInit } from "@angular/core";
import { HttpClient } from "@angular/common/http"; import { HttpClient } from "@angular/common/http";
import { NzFormatEmitEvent } from "ng-zorro-antd"; import { NzFormatEmitEvent } from "ng-zorro-antd";
import { DefaultService } from "../api"; import { DefaultService } from "../api";
import { EChartOption } from "echarts";
@Component({ @Component({
selector: "app-qs-mark", selector: "app-qs-mark",
templateUrl: "./qs-mark.component.html", templateUrl: "./qs-mark.component.html",
......
...@@ -4,9 +4,9 @@ import { platformBrowserDynamic } from "@angular/platform-browser-dynamic"; ...@@ -4,9 +4,9 @@ import { platformBrowserDynamic } from "@angular/platform-browser-dynamic";
import { AppModule } from "./app/app.module"; import { AppModule } from "./app/app.module";
import { environment } from "./environments/environment"; import { environment } from "./environments/environment";
/** echarts extensions: */ /** echarts extensions: */
import "echarts-gl"; // import "echarts-gl";
import "echarts/theme/macarons.js"; // import "echarts/theme/macarons.js";
import "echarts/dist/extension/bmap.min.js"; // import "echarts/dist/extension/bmap.min.js";
if (environment.production) { if (environment.production) {
enableProdMode(); enableProdMode();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment