Commit 9b62fbe467a19ae202aee045a6133900b807b1d9
1 parent
13e2a96d
优化设备编辑页面
Showing
2 changed files
with
2 additions
and
2 deletions
src/main/java/com/genersoft/iot/vmp/service/impl/DeviceServiceImpl.java
| @@ -277,7 +277,7 @@ public class DeviceServiceImpl implements IDeviceService { | @@ -277,7 +277,7 @@ public class DeviceServiceImpl implements IDeviceService { | ||
| 277 | // 设置最小值为30 | 277 | // 设置最小值为30 |
| 278 | int subscribeCycleForCatalog = Math.max(device.getSubscribeCycleForMobilePosition(),30); | 278 | int subscribeCycleForCatalog = Math.max(device.getSubscribeCycleForMobilePosition(),30); |
| 279 | // 刷新订阅 | 279 | // 刷新订阅 |
| 280 | - dynamicTask.startCron(device.getDeviceId() + "mobile_position" , mobilePositionSubscribeTask, (subscribeCycleForCatalog) * 1000); | 280 | + dynamicTask.startCron(device.getDeviceId() + "mobile_position" , mobilePositionSubscribeTask, subscribeCycleForCatalog * 1000); |
| 281 | return true; | 281 | return true; |
| 282 | } | 282 | } |
| 283 | 283 |
web_src/src/components/dialog/deviceEdit.vue
| @@ -20,7 +20,7 @@ | @@ -20,7 +20,7 @@ | ||
| 20 | <el-input v-model="form.name" clearable></el-input> | 20 | <el-input v-model="form.name" clearable></el-input> |
| 21 | </el-form-item> | 21 | </el-form-item> |
| 22 | <el-form-item label="密码" prop="password"> | 22 | <el-form-item label="密码" prop="password"> |
| 23 | - <el-input type="password" v-model="form.password" clearable></el-input> | 23 | + <el-input v-model="form.password" clearable></el-input> |
| 24 | </el-form-item> | 24 | </el-form-item> |
| 25 | <el-form-item label="收流IP" prop="sdpIp"> | 25 | <el-form-item label="收流IP" prop="sdpIp"> |
| 26 | <el-input type="sdpIp" v-model="form.sdpIp" clearable></el-input> | 26 | <el-input type="sdpIp" v-model="form.sdpIp" clearable></el-input> |