Kaynağa Gözat

数据中心

彭宇 2 yıl önce
ebeveyn
işleme
9aa3cc6f1f
1 değiştirilmiş dosya ile 7 ekleme ve 15 silme
  1. 7 15
      src/views/eventdetailsdialog.vue

+ 7 - 15
src/views/eventdetailsdialog.vue

@@ -1300,21 +1300,13 @@ export default {
               if (res.data.length > 50) {
                 markersMap.isAggregation = true
               }
-              if (type == 'qsk') {
-                markersMap.icon = 'sj-icon-waterintake'
-              } else if (type == 'sh') {
-                markersMap.icon = 'sj-icon-watercrane'
-              } else if (type == 'xfs') {
-                markersMap.icon = 'sj-icon-firehydrant'
-              } else if (type == 'qjd') {
-                markersMap.icon = 'sj-icon-landing'
-              } else if (type == 'jcz') {
-                markersMap.icon = 'sj-icon-checkpoint'
-              } else if (type == 'fhd') {
-                markersMap.icon = 'sj-icon-fireteam'
-              } else if (type == 'zdqy') {
-                markersMap.icon = 'sj-icon-tcqh'
-              } else if (type == 'sxt') {
+              if (type == 'zdqy') {
+                markersMap.icon = 'sj-icon-map-centerdata-t-environment-key-enterprise'
+              } else if (type == 'jsq') {
+                markersMap.icon = 'sj-icon-map-centerdata-t-environment-prohibition-area'
+              } else if (type == 'wry') {
+                markersMap.icon = 'sj-icon-map-centerdata-t-environment-source-pollution'
+              }else if (type == 'sxt') {
                 markersMap.icon = 'camera'
                 if (res.data[i].cameraCode != null) {
                   markersMap.click = 'preview'