1
0
Fork 0

Compare commits

...

2 Commits

Author SHA1 Message Date
vine_liutk 212d35d29b 调整 2023-09-07 15:49:04 +08:00
vine_liutk 8cdc9bd5ea 调整虫情点位回显 2023-09-07 15:41:56 +08:00
3 changed files with 36 additions and 41 deletions

View File

@ -28,12 +28,6 @@ class WarningSettingController extends AdminController
'tab'=>$this->modeForm(Device::TYPE_METEOROLOGICAL), 'tab'=>$this->modeForm(Device::TYPE_METEOROLOGICAL),
'unmountOnExit' => true//每次切换tab都要销毁 'unmountOnExit' => true//每次切换tab都要销毁
], ],
// [
// 'title' => '水质预警',
// 'value' => 'detail',
// 'tab'=>'',
// 'unmountOnExit' => true//每次切换tab都要销毁
// ],
[ [
'title' => '土壤预警', 'title' => '土壤预警',
'value' => 'detail', 'value' => 'detail',

View File

@ -27,6 +27,7 @@ class MonitorModeService extends BaseService
case MonitorMode::TYPE_MONITOR: case MonitorMode::TYPE_MONITOR:
case MonitorMode::TYPE_AIR: case MonitorMode::TYPE_AIR:
case MonitorMode::TYPE_ATOMIZING: case MonitorMode::TYPE_ATOMIZING:
case MonitorMode::TYPE_INSECT:
$region->offsetSet('picker_devices', $region->devices->pluck('id')->toArray()); $region->offsetSet('picker_devices', $region->devices->pluck('id')->toArray());
break; break;
case MonitorMode::TYPE_SOIL: case MonitorMode::TYPE_SOIL: