qinhouyu 1 год назад
Родитель
Сommit
63958cdc10
1 измененных файлов с 6 добавлено и 5 удалено
  1. 6 5
      src/views/monitor.vue

+ 6 - 5
src/views/monitor.vue

@@ -1262,9 +1262,9 @@
                 '<span>' +
                 '                  <div class="d-l-con">' +
                 '                  <div class="d-l-l-text">' +
-                '                  <h4>网络运营商:' + (res.data.visuForestCloudCameraBOList[i].operatorType ==
-                  "1" ?
-                  "联通" : (res.data.visuForestCloudCameraBOList[i].operatorType == "2" ? "移动" : "电信")) +
+                '                  <h4>网络运营商:' + (res.data.visuForestCloudCameraBOList[i].operatorType == "1" ? "联通" :
+                  (res.data.visuForestCloudCameraBOList[i].operatorType == "2" ? "移动":
+                    (res.data.visuForestCloudCameraBOList[i].operatorType == "3" ? "电信":  "无"))) +
                 '</h4>' +
                 '                </div>' +
                 '                </div>' +
@@ -1411,8 +1411,9 @@
                 '<span>' +
                 '                  <div class="d-l-con">' +
                 '                  <div class="d-l-l-text">' +
-                '                  <h4>网络运营商:' + (res.data[i].operatorType == "1" ? "联通" : (res.data[i]
-                  .operatorType == "2" ? "移动" : "电信")) + '</h4>' +
+                '                  <h4>网络运营商:' + (res.data[i].operatorType == "1" ? "联通" :
+                  (res.data[i].operatorType == "2" ? "移动":
+                    (res.data[i].operatorType == "3" ? "电信":  "无"))) + '</h4>' +'</h4>' +
                 '                </div>' +
                 '                </div>' +
                 '                </span>' +