Browse Source

[完善]去掉新增编辑按钮

非煤矿业企业安全风险监测预警系统
邵佳豪 2 years ago
parent
commit
db0f699092
  1. 8
      src/app/system-management/analysis-of-the-host/analysis-of-the-host.component.html
  2. 2
      src/app/system-management/host-config/host-config.component.html
  3. 1
      src/app/system-management/host-config/host-config.component.ts
  4. 8
      src/app/system-management/organization/organization.component.html

8
src/app/system-management/analysis-of-the-host/analysis-of-the-host.component.html

@ -27,10 +27,10 @@
<span class="yellowspan">(请从左侧选择加油站)</span>
</span>
</div>
<div class="righttop" *ngIf="selectedOilStation">
<!-- <div class="righttop" *ngIf="selectedOilStation">
<button nz-button nzType="primary" (click)="addHost()"><i nz-icon nzType="plus-circle"
nzTheme="outline"></i>新增边缘盒子</button>
</div>
</div> -->
</div>
<div class="tablebox">
<nz-table #basicTable [nzData]="listOfData" [nzShowPagination]='false' [nzPageSize]='16' [nzLoading]="isLoading">
@ -46,10 +46,10 @@
<td>{{data.hostIPAddress}}</td>
<td>!配置状态!</td>
<td class="operation">
<a (click)="edit(data)" style="margin-right: 12px;">编辑</a>
<!-- <a (click)="edit(data)" style="margin-right: 12px;">编辑</a> -->
<a (click)="config(data)" style="margin-right: 12px;">配置</a>
<a (click)="download(data)" style="margin-right: 12px;">下载设备编号</a>
<a class="red" (click)="delete(data)">删除</a>
<!-- <a class="red" (click)="delete(data)">删除</a> -->
</td>
</tr>
</tbody>

2
src/app/system-management/host-config/host-config.component.html

@ -40,7 +40,7 @@
<td>{{ item.isEnabled ? '已启用' : '已禁用'}}</td>
<td>
<span class="blue" style="margin-right: 12px;" (click)="editCamera(item)">编辑</span>
<span class="blue" style="margin-right: 12px;" (click)=" label(item)">标注</span>
<span class="blue" style="margin-right: 12px;" (click)="label(item)">标注</span>
<ng-container *ngIf="item.isEnabled; else elseTemplate2">
<span class="red" style="margin-right: 12px;" (click)="forbidden(item)">禁用</span>
</ng-container>

1
src/app/system-management/host-config/host-config.component.ts

@ -444,7 +444,6 @@ sources:`;
custom-area: [${customArea}]
`;
} else {
console.log(888, item);
let customArea = [];
if (item.type == 0) {
item.dimensionedPointsObj

8
src/app/system-management/organization/organization.component.html

@ -9,16 +9,16 @@
<nz-input-group nzPrefixIcon="search">
<input type="text" nz-input placeholder="请输入单位" [(ngModel)]="searchValue" />
</nz-input-group>
<button nz-button nzType="primary" (click)="addOr()"><i nz-icon nzType="plus-circle"
nzTheme="outline"></i>新增</button>
<!-- <button nz-button nzType="primary" (click)="addOr()"><i nz-icon nzType="plus-circle"
nzTheme="outline"></i>新增</button> -->
</div>
</div>
<div class="treeTitle">
<span>组织机构</span>
<span>操作</span>
<!-- <span>操作</span> -->
</div>
<nz-tree [nzHideUnMatched]='true' [nzSearchValue]="searchValue" #nzTreeComponent [nzData]="nodes"
[nzExpandAll]="nzExpandAll" [nzExpandedKeys]="defaultExpandedKeys" [nzTreeTemplate]="nzTreeTemplate" nzDraggable
[nzExpandAll]="nzExpandAll" [nzExpandedKeys]="defaultExpandedKeys" nzDraggable
nzBlockNode (nzOnDrop)="nzEvent($event)" [nzBeforeDrop]="beforeDrop">
</nz-tree>
<ng-template #nzTreeTemplate let-node let-origin="origin">

Loading…
Cancel
Save