Commit 51f77358 authored by van.chen's avatar van.chen

刷新

parent 64873932
...@@ -98,6 +98,12 @@ ...@@ -98,6 +98,12 @@
<!--</nz-table>--> <!--</nz-table>-->
<!--</nz-tab>--> <!--</nz-tab>-->
<nz-tab nzTitle="运行状态"> <nz-tab nzTitle="运行状态">
<div class="subTitle">
<div class="backBtnOnTabset" style="top: -2px">
<button nz-button class="btnAll" [nzLoading]="isLoading" (click)="refresh()"><span>
{{'refresh' | translate}}</span></button>
</div>
</div>
<nz-tabset style="margin-top: -20px;"> <nz-tabset style="margin-top: -20px;">
<nz-tab nzTitle="表格"> <nz-tab nzTitle="表格">
<nz-table #nzTable5 <nz-table #nzTable5
......
...@@ -272,4 +272,8 @@ export class SensorDetailComponent implements OnInit { ...@@ -272,4 +272,8 @@ export class SensorDetailComponent implements OnInit {
trans: {companyNo: 'selectCompany', newTopicModelName: 'moduleName'}, trans: {companyNo: 'selectCompany', newTopicModelName: 'moduleName'},
field: ['companyNo', 'deviceNo', 'newTopicModelName']}; field: ['companyNo', 'deviceNo', 'newTopicModelName']};
} }
refresh() {
this.getCurrent();
}
} }
...@@ -148,7 +148,9 @@ ...@@ -148,7 +148,9 @@
</nz-autocomplete> </nz-autocomplete>
</div> </div>
</div> </div>
<app-search-item *ngIf="!isUpdate" isMust="true" inModal="true" [label]="'belongAddress' | translate" [(value)]="req3.address"></app-search-item> <app-search-item *ngIf="!isUpdate" isMust="true" inModal="true" [label]="isMulti ? ('bindStartTongxinAddr' | translate): ('bindTongxinAddr' | translate)"
nz-tooltip [nzTitle]="'gatewayBindTips' | translate"
[(value)]="req3.address"></app-search-item>
</ng-template> </ng-template>
<ng-template #foot3> <ng-template #foot3>
<button nz-button nzType="default" [nzLoading]="isLoading" (click)="cancel('isBindConV')"> <button nz-button nzType="default" [nzLoading]="isLoading" (click)="cancel('isBindConV')">
......
...@@ -166,5 +166,6 @@ ...@@ -166,5 +166,6 @@
"wrongEng": "部分字段要求为英文格式", "wrongEng": "部分字段要求为英文格式",
"addNum": "新增数量", "addNum": "新增数量",
"startSN": "起始序列号", "startSN": "起始序列号",
"confirmUnbindSelectedRecord": "确认解绑选中的这些设备吗" "confirmUnbindSelectedRecord": "确认解绑选中的这些设备吗",
"refresh": "刷新"
} }
...@@ -6,8 +6,8 @@ export const environment = { ...@@ -6,8 +6,8 @@ export const environment = {
production: false, production: false,
// baseUrl: 'http://cloud-test.witium.com/api', // 对外访问测试网地址 // baseUrl: 'http://cloud-test.witium.com/api', // 对外访问测试网地址
// baseUrl: 'http://172.16.1.53:8092', // cy // baseUrl: 'http://172.16.1.53:8092', // cy
// baseUrl: 'http://172.16.1.52:8094', // zz baseUrl: 'http://172.16.1.52:8094', // zz
baseUrl: 'http://172.16.1.13:8094', // 测试 // baseUrl: 'http://172.16.1.13:8094', // 测试
}; };
/* /*
......
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