Commit 3d91158d authored by van.chen's avatar van.chen

提交一下

parent d4a1e0b2
<div class="searchBar" @fade>
<app-search-date [label]="'topicModuleName' | translate" [(value)]="req.startTime" showTime="true"></app-search-date>
<div class="btnLine">
<button nz-button [nzType]="'primary'" [nzLoading]="isLoading" (click)="onSearch()"><span>{{'search' | translate}}</span></button>
<button nz-button class="btnAll" [nzLoading]="isLoading" (click)="onGetAll()"><span>{{'allData' | translate}}</span></button>
</div>
</div>
<div class="tableBar" @fade> <div class="tableBar" @fade>
<div class="btnLine" style="margin-bottom: 10px">
<label class="subTitle"> 123456 通道模板{{'detail' | translate}}</label>
<button nz-button [nzType]="'primary'" [nzLoading]="isLoading" (click)="add()"><span>{{'addWay' | translate}}</span></button>
<app-back [isLoading]="isLoading"></app-back>
</div>
<nz-table #nzTable <nz-table #nzTable
[nzData]="data" [nzData]="data"
[nzSize]="'middle'" [nzSize]="'middle'"
......
...@@ -74,4 +74,6 @@ export class ModuleDetailComponent implements OnInit { ...@@ -74,4 +74,6 @@ export class ModuleDetailComponent implements OnInit {
update(one) {} update(one) {}
deleteConfirm(one) {} deleteConfirm(one) {}
add() {}
} }
...@@ -135,7 +135,7 @@ export class SensorMgrComponent implements OnInit { ...@@ -135,7 +135,7 @@ export class SensorMgrComponent implements OnInit {
// 跳转详情 // 跳转详情
toSee(e) { toSee(e) {
this.router.navigate(['/app/deviceCenter/gatewayMgr/gatewaySee']); this.router.navigate(['/app/deviceCenter/sensorMgr/sensorDetail']);
} }
// 单个的方法 // 单个的方法
......
<div class="searchBar" @fade> <div class="tableBar" @fade>
<app-search-date [label]="'topicModuleName' | translate" [(value)]="req.startTime" showTime="true"></app-search-date> <div class="btnLine" style="margin-bottom: 10px">
<div class="btnLine"> <label class="subTitle"> 123456 主题配置模板{{'detail' | translate}}</label>
<button nz-button [nzType]="'primary'" [nzLoading]="isLoading" (click)="onSearch()"><span>{{'search' | translate}}</span></button> <button nz-button [nzType]="'primary'" [nzLoading]="isLoading" (click)="onSearch()"><span>{{'search' | translate}}</span></button>
<button nz-button class="btnAll" [nzLoading]="isLoading" (click)="onGetAll()"><span>{{'allData' | translate}}</span></button> <button nz-button class="btnAll" [nzLoading]="isLoading" (click)="onGetAll()"><span>{{'allData' | translate}}</span></button>
</div> </div>
</div>
<div class="tableBar" @fade>
<nz-table #nzTable <nz-table #nzTable
[nzData]="data" [nzData]="data"
[nzSize]="'middle'" [nzSize]="'middle'"
......
...@@ -119,5 +119,6 @@ ...@@ -119,5 +119,6 @@
"moduleNum": "通道编号", "moduleNum": "通道编号",
"moduleAlias": "通道别名", "moduleAlias": "通道别名",
"isAlarm": "是否报警", "isAlarm": "是否报警",
"saveOther": "另存为" "saveOther": "另存为",
"addWay": "添加通道"
} }
...@@ -379,3 +379,8 @@ span.addSpan { ...@@ -379,3 +379,8 @@ span.addSpan {
text-indent: 5px; text-indent: 5px;
font-weight: 500; font-weight: 500;
} }
label.subTitle {
position: absolute;
left: 15px;
}
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