Kaynağa Gözat

应急type=5

qinhouyu 2 yıl önce
ebeveyn
işleme
ddafd8bbf1
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      src/api/monitor.js

+ 2 - 2
src/api/monitor.js

@@ -77,9 +77,9 @@ export function getDlblistBydeptId(deptId) {
 export function getMonitorDeviceAndDataList(deptId) {
   let url = "";
   if(deptId!=null){
-    url= '/center-monitor/device/getMonitorDeviceAndDataList?deptId=' + deptId;
+    url= '/center-monitor/device/getMonitorDeviceAndDataList?deptId=' + deptId + '&type=5';
   }else{
-    url= '/center-monitor/device/getMonitorDeviceAndDataList';
+    url= '/center-monitor/device/getMonitorDeviceAndDataList?type=5';
   }
   return request({
     url: url,