6 files deleted
22 files modified
| | |
| | | "scripts": [ |
| | | "../node_modules/@antv/g2/dist/g2.min.js", |
| | | "../node_modules/@antv/data-set/dist/data-set.min.js", |
| | | "../node_modules/@antv/g2-plugin-slider/dist/g-2.0.0.min.js" |
| | | "../node_modules/@antv/g2-plugin-slider/dist/g2-plugin-slider.min.js" |
| | | ], |
| | | "environmentSource": "environments/environment.ts", |
| | | "environments": { |
| | |
| | | "@delon/acl": "0.6.1", |
| | | "@delon/auth": "0.6.1", |
| | | "@delon/theme": "0.6.1", |
| | | "@delon/mock": "0.6.1", |
| | | "@delon/cache": "0.6.1", |
| | | "@ngx-translate/core": "^9.0.0", |
| | | "@ngx-translate/http-loader": "^2.0.0", |
| | |
| | | import { AlainAuthModule } from '@delon/auth'; |
| | | import { AlainACLModule } from '@delon/acl'; |
| | | import { DelonCacheModule } from '@delon/cache'; |
| | | // mock |
| | | import { DelonMockModule } from '@delon/mock'; |
| | | import * as MOCKDATA from '../../_mock'; |
| | | import { environment } from '@env/environment'; |
| | | const MOCKMODULE = !environment.production || environment.chore === true ? |
| | | [ DelonMockModule.forRoot({ data: MOCKDATA }) ] : []; |
| | | |
| | | |
| | | @NgModule({ |
| | | imports: [ |
| | |
| | | // acl |
| | | AlainACLModule.forRoot(), |
| | | // cache |
| | | DelonCacheModule.forRoot(), |
| | | // mock |
| | | ...MOCKMODULE |
| | | DelonCacheModule.forRoot() |
| | | ] |
| | | }) |
| | | export class DelonModule { |
| | |
| | | </div> |
| | | <nz-card [nzBordered]="false"> |
| | | <div class="mb-md"> |
| | | <button nz-button (click)="addOrModify()" [nzType]="'primary'" [nzSize]="'large'"> |
| | | <button nz-button (click)="addOrModify($event)" [nzType]="'primary'" [nzSize]="'large'"> |
| | | <i class="anticon anticon-plus"></i><span>新建</span> |
| | | </button> |
| | | <ng-container *ngIf="selectedRows.length > 0"> |
| | |
| | | styles: [] |
| | | }) |
| | | export class DeviceEditComponent implements OnInit { |
| | | private monitorPoints:any [] = []; |
| | | private deviceVersions:any [] = []; |
| | | private operateUsers:any [] = []; |
| | | private isSaving = false; |
| | | public monitorPoints:any [] = []; |
| | | public deviceVersions:any [] = []; |
| | | public operateUsers:any [] = []; |
| | | public isSaving = false; |
| | | constructor( |
| | | private subject: NzModalSubject, |
| | | private formBuilder: FormBuilder, |
| | |
| | | <pro-header [title]="grid.title"></pro-header> |
| | | <nz-card [nzBordered]="false"> |
| | | <div class="mb-md"> |
| | | <button nz-button (click)="addOrModify()" [nzType]="'primary'" [nzSize]="'large'"> |
| | | <button nz-button (click)="addOrModify($event)" [nzType]="'primary'" [nzSize]="'large'"> |
| | | <i class="anticon anticon-plus"></i><span>新建</span> |
| | | </button> |
| | | <ng-container *ngIf="grid.selectedIndexs.length > 0"> |
| | |
| | | </nz-table> |
| | | <div class="modal-footer"> |
| | | <button nz-button type="button" (click)="close()">关闭</button> |
| | | <button nz-button [nzType]="'primary'" (click)="save($event)" [nzLoading]="isSaving"> |
| | | <button nz-button [nzType]="'primary'" (click)="save($event,null,null)" [nzLoading]="isSaving"> |
| | | <span > |
| | | 保存<span *ngIf="isSaving" >中</span> |
| | | </span> |
| | |
| | | <pro-header [title]="grid.title"></pro-header> |
| | | <nz-card [nzBordered]="false"> |
| | | <div class="mb-md"> |
| | | <button nz-button (click)="addOrModify()" [nzType]="'primary'" [nzSize]="'large'"> |
| | | <button nz-button (click)="addOrModify($event)" [nzType]="'primary'" [nzSize]="'large'"> |
| | | <i class="anticon anticon-plus"></i><span>新建</span> |
| | | </button> |
| | | <ng-container *ngIf="grid.selectedIndexs.length > 0"> |
| | |
| | | </nz-input> |
| | | </div> |
| | | <div nz-col [nzSpan]="1"> |
| | | <button nz-button [nzType]="'primary'" [disabled]="disabled" (click)="mapSearch($event)" class="mr-sm"> |
| | | <button nz-button [nzType]="'primary'" (click)="mapSearch($event)" class="mr-sm"> |
| | | <i class="anticon anticon-search"></i><span>搜索</span> |
| | | </button> |
| | | </div> |
| | |
| | | export class CoordinatesPickerComponent{ |
| | | Default_LNG = 121; |
| | | Default_LAT = 31.4; |
| | | isSaving = false; |
| | | markerOption:{ |
| | | point:Point, |
| | | options:MarkerOptions |
| | |
| | | this.subject.destroy(); |
| | | } |
| | | save() { |
| | | this.isSaving = true; |
| | | this.subject.next(); |
| | | this.subject.destroy(); |
| | | } |
| | |
| | | <pro-header [title]="grid.title"></pro-header> |
| | | <nz-card [nzBordered]="false"> |
| | | <div class="mb-md"> |
| | | <button nz-button (click)="addOrModify()" [nzType]="'primary'" [nzSize]="'large'"> |
| | | <button nz-button (click)="addOrModify($event)" [nzType]="'primary'" [nzSize]="'large'"> |
| | | <i class="anticon anticon-plus"></i><span>新建</span> |
| | | </button> |
| | | <ng-container *ngIf="grid.selectedIndexs.length > 0"> |
| | | <button nz-button [nzSize]="'large'" (click)="deleteSelected()">批量删除</button> |
| | | <button nz-button [nzSize]="'large'" (click)="deleteSelected($event)">批量删除</button> |
| | | </ng-container> |
| | | <nz-input [ngStyle]="{'width': '280px','float':'right'}" [(ngModel)]="queryMap.value" name="" [nzPlaceHolder]="queryMap.text" |
| | | (keyup)="queryTextChanged($event)" (change)="queryTextChanged($event)" ></nz-input> |
| | |
| | | </div> |
| | | <div class="modal-footer"> |
| | | <button nz-button type="button" (click)="close()">关闭</button> |
| | | <button nz-button [nzLoading]="http.loading" [nzType]="'primary'" [disabled]="!validateForm.valid">保存</button> |
| | | <button nz-button [nzType]="'primary'" [disabled]="!validateForm.valid">保存</button> |
| | | </div> |
| | | </form> |
| | |
| | | |
| | | export class AccountComponent implements OnInit { |
| | | |
| | | private isDeleteOptions = [ |
| | | public isDeleteOptions = [ |
| | | {value: '1', label: '是'}, |
| | | {value: '0', label: '否'} |
| | | ]; |
| | |
| | | ngOnDestroy(): void { |
| | | this.backToList(); |
| | | } |
| | | private organization: Organization; |
| | | public organization: Organization; |
| | | grid: Grid<object> = new Grid<object>(null); |
| | | validateForm: FormGroup; |
| | | constructor( |
| | |
| | | } |
| | | } |
| | | } |
| | | private hasDegression = false; |
| | | refreshHasDegression(value){ |
| | | public hasDegression = false; |
| | | public refreshHasDegression(value){ |
| | | if(value){ |
| | | this.hasDegression = true; |
| | | }else{ |
| | |
| | | <nz-card [nzBordered]="false"> |
| | | <div class="mb-md"> |
| | | <button nz-button (click)="addOrModify()" [nzType]="'primary'" [nzSize]="'large'"> |
| | | <button nz-button (click)="addOrModify($event)" [nzType]="'primary'" [nzSize]="'large'"> |
| | | <i class="anticon anticon-plus"></i><span>新建</span> |
| | | </button> |
| | | <ng-container *ngIf="grid.selectedIndexs.length > 0"> |
| | | <button nz-button [nzSize]="'large'" (click)="deleteSelected()">批量删除</button> |
| | | <button nz-button [nzSize]="'large'" (click)="deleteSelected($event)">批量删除</button> |
| | | </ng-container> |
| | | <nz-input [ngStyle]="{'width': '280px','float':'right'}" [(ngModel)]="queryMap.value" name="" [nzPlaceHolder]="queryMap.text" |
| | | (keyup)="queryTextChanged($event)" (change)="queryTextChanged($event)" ></nz-input> |
| | |
| | | ngOnInit(): void { |
| | | } |
| | | constructor( |
| | | private organizationService: OrganizationService |
| | | public organizationService: OrganizationService |
| | | ) {} |
| | | } |
| | |
| | | </div> |
| | | <div class="modal-footer"> |
| | | <button nz-button type="button" (click)="close()">关闭</button> |
| | | <button nz-button [nzLoading]="http.loading" [nzType]="'primary'">保存</button> |
| | | <button nz-button [nzType]="'primary'">保存</button> |
| | | </div> |
| | | </form> |
| | |
| | | <th nz-th><span>创建日期</span></th> |
| | | <th nz-th> |
| | | <span>过期日期</span> |
| | | <nz-table-sort [(nzValue)]="sortMap.updatedAt" (nzValueChange)="sort('expire_time', $event)"></nz-table-sort> |
| | | <nz-table-sort [(nzValue)]="sortMap" (nzValueChange)="sort('expire_time', $event)"></nz-table-sort> |
| | | </th> |
| | | <th nz-th><span>操作</span></th> |
| | | </tr> |
| | |
| | | </div> |
| | | <div class="modal-footer"> |
| | | <button nz-button type="button" (click)="close()">关闭</button> |
| | | <button nz-button [nzLoading]="http.loading" [nzType]="'primary'">保存</button> |
| | | <button nz-button [nzType]="'primary'">保存</button> |
| | | </div> |
| | | </form> |
| | |
| | | export class UserInstallerEditComponent implements OnInit { |
| | | |
| | | user: any; |
| | | private validateForm: FormGroup; |
| | | public validateForm: FormGroup; |
| | | |
| | | constructor( |
| | | private modalHelper: ModalHelper, |
| | |
| | | production: true, |
| | | hmr: false, |
| | | useHash: true, |
| | | SERVER_BASH_URL: `http://47.96.15.25:8001/` |
| | | SERVER_BASH_URL:`http://47.96.171.62:8080/screen_api_v2/` |
| | | }; |
| | |
| | | version "0.6.1" |
| | | resolved "http://registry.npm.taobao.org/@delon/cache/download/@delon/cache-0.6.1.tgz#13b412897743dc2ad612c4c4fca280c3dc044825" |
| | | |
| | | "@delon/mock@0.6.1": |
| | | version "0.6.1" |
| | | resolved "http://registry.npm.taobao.org/@delon/mock/download/@delon/mock-0.6.1.tgz#e52bbdd708ff83680c985d0aa4ace282168de873" |
| | | |
| | | "@delon/theme@0.6.1": |
| | | version "0.6.1" |
| | | resolved "http://registry.npm.taobao.org/@delon/theme/download/@delon/theme-0.6.1.tgz#4e98b1dc565c2f0684717c44ed73509cd866f120" |
| | |
| | | resolved "http://registry.npm.taobao.org/ecc-jsbn/download/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" |
| | | dependencies: |
| | | jsbn "~0.1.0" |
| | | |
| | | echarts@^3.8.5: |
| | | version "3.8.5" |
| | | resolved "https://registry.yarnpkg.com/echarts/-/echarts-3.8.5.tgz#58e4a51d2743c6fb75257b0dc0a9cf9f5378ac0e" |
| | | dependencies: |
| | | zrender "3.7.4" |
| | | |
| | | ee-first@1.1.1: |
| | | version "1.1.1" |
| | |
| | | zone.js@^0.8.14, zone.js@^0.8.18: |
| | | version "0.8.19" |
| | | resolved "http://registry.npm.taobao.org/zone.js/download/zone.js-0.8.19.tgz#a4b522cd9e8b7b616a638c297d720d4c7f292f71" |
| | | |
| | | zrender@3.7.4: |
| | | version "3.7.4" |
| | | resolved "https://registry.yarnpkg.com/zrender/-/zrender-3.7.4.tgz#f847d53948481ef6d42906d1ea9aeec7acbefdf2" |