Compare commits
No commits in common. "212d35d29bbb37b2cbdeb4337b3179d35c337792" and "ee327764ecd2bc8d77a0b4a1afe06544b071e6d3" have entirely different histories.
212d35d29b
...
ee327764ec
|
|
@ -28,6 +28,12 @@ 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',
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,6 @@ 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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue