|
|
|
@ -188,7 +188,7 @@
|
|
|
|
|
<img v-if="GetDataValue(device.Number,'状态')=='关'" @click="CallApi(device.Number,'/Socket/On')" src="/images/off.png" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row" style="text-align:center;">
|
|
|
|
|
{{device.Name||device.DisplayName}}
|
|
|
|
|
{{device.DisplayName||device.Name}}
|
|
|
|
|
</div>
|
|
|
|
|
<br />
|
|
|
|
|
</div>
|
|
|
|
@ -217,7 +217,7 @@
|
|
|
|
|
<img v-if="GetDataValue(device.Number,'L3状态')=='关'" @click="CallApi(device.Number,'/Switch3/L3On')" src="/images/off.png" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row" style="text-align:center;">
|
|
|
|
|
{{device.Name||device.DisplayName}}
|
|
|
|
|
{{device.DisplayName||device.Name}}
|
|
|
|
|
</div>
|
|
|
|
|
<br />
|
|
|
|
|
</div>
|
|
|
|
@ -242,7 +242,7 @@
|
|
|
|
|
<img v-if="GetDataValue(device.Number,'状态')=='关'" @click="CallApi(device.Number,'/Socket/On')" src="/images/off.png" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row" style="text-align:center;">
|
|
|
|
|
{{device.Name||device.DisplayName}}
|
|
|
|
|
{{device.DisplayName||device.Name}}
|
|
|
|
|
</div>
|
|
|
|
|
<br />
|
|
|
|
|
</div>
|
|
|
|
@ -254,7 +254,7 @@
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<div class="box box-solid">
|
|
|
|
|
<div class="box-header with-border">
|
|
|
|
|
<h3 class="box-title"><img src="/images/light2.png" style="height:18px;margin-right:10px;" />{{device.Name||device.DisplayName}}</h3>
|
|
|
|
|
<h3 class="box-title"><img src="/images/light2.png" style="height:18px;margin-right:10px;" />{{device.DisplayName||device.Name}}</h3>
|
|
|
|
|
<div class="box-tools pull-right">
|
|
|
|
|
<img v-if="GetDataValue(device.Number,'状态')=='开'" @click="CallApi(device.Number,'/ColorLight/Off')" src="/images/on.png" />
|
|
|
|
|
<img v-if="GetDataValue(device.Number,'状态')=='关'" @click="CallApi(device.Number,'/ColorLight/On')" src="/images/off.png" />
|
|
|
|
@ -301,7 +301,7 @@
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<div class="box box-solid btns">
|
|
|
|
|
<div class="box-header with-border">
|
|
|
|
|
<h3 class="box-title"><img src="/images/control.png" style="height:18px;margin-right:10px;" />{{device.Name||device.DisplayName}}</h3>
|
|
|
|
|
<h3 class="box-title"><img src="/images/control.png" style="height:18px;margin-right:10px;" />{{device.DisplayName||device.Name}}</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row" style="background-color:#fff;border:1px solid #eee;border-radius:5px;text-align:center;padding:10px 0;margin:10px 0">
|
|
|
|
|
<form class="device KeyCodeType1 ir" method="get" action="/App/Exec">
|
|
|
|
|