Ver código fonte

修改故障告警数单位,修改设备单击和双击访问接口传参。

wukai 1 ano atrás
pai
commit
d01aa3a4ee
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      main.html

+ 2 - 2
main.html

@@ -70,7 +70,7 @@
 					<div title="故障告警数" style="float: left;width: 33%;margin-top: 15px;color: #FFB342;">
 						<img src="image/t1.png" style="float: left;width: 40px;">
 						<span class="number" attr="alarm" style="float: left;font-family: Bebas Neue, Bebas Neue;font-weight: 700;font-size: 22px;line-height: 30px;text-align: left;font-style: normal;text-transform: none;margin-left: 1%;color: red;">-</span>
-						<span style="float: left;font-size: 15px;margin-top: 6px;">()</span>
+						<span style="float: left;font-size: 15px;margin-top: 6px;">()</span>
 						<span style="float: left;font-weight: 500;font-size: 14px;color: #FFFFFF;line-height: 22px;text-align: left;width: 65%;margin-left: 1%;">故障告警数</span>
 					</div>
 				</div>
@@ -1544,7 +1544,7 @@
 					$(this).addClass("btn_active");
 					LoadDevDetail(name,window.Device_Data,$(this).index())
 				})
-				$.getJSON(SERVER_URL+"/query/C_"+name,{},function(res){
+				$.getJSON(SERVER_URL+"/query/C_"+name+"?week=1",{},function(res){
 					window.Device_Data = res.data
 					LoadDevDetail(name,window.Device_Data,"0")
 				})