From 6da582b887cf7ceadf1617417d7c15b239a2e008 Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Tue, 15 May 2018 10:45:08 +0800 Subject: [PATCH] 设备mac地址唯一性检验,查询数据行业添加 --- src/app/routes/devices/basic-info/basic-info.component.ts | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/routes/devices/basic-info/basic-info.component.ts b/src/app/routes/devices/basic-info/basic-info.component.ts index 5d9b915..01ff6f5 100644 --- a/src/app/routes/devices/basic-info/basic-info.component.ts +++ b/src/app/routes/devices/basic-info/basic-info.component.ts @@ -23,7 +23,7 @@ { title: '������', index: 'name' }, { title: 'mac', index: 'mac' }, { title: '������', index: 'deviceVersion.name' }, - { title: '���������', index: 'monitorPoint.name' }, + { title: '������������', index: 'monitorPoint.name' }, { title: '���������', index: 'operateUser.name' }, { title: '������������', width: '100px', type: 'date', index: 'createTime' }, { title: '������������', width: '100px', type: 'date', index: 'installTime' }, @@ -126,7 +126,7 @@ } addOrModify(d) { const data = {}; - if (d != null) { + if (d != null) { Object.assign(data, d); } this.modalHelper.static(DeviceEditComponent, { data }).subscribe( @@ -175,6 +175,7 @@ (staticComp) => { const data: Device = { id: record.id, + mac: record.mac, longitude: _data.longitude, latitude: _data.latitude, }; @@ -185,8 +186,7 @@ this.msgSrv.success('���������������������'); } } - ); - + ); } ); } -- Gitblit v1.8.0