소스 검색

Merge branch 'master' of http://192.168.10.18:3000/limeng/zhsq_qk_2.0

sumyangyang 1 년 전
부모
커밋
9bd940bf5d
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 2
      zhsq_qk-system/src/main/resources/mapper/system/SysCameraMapper.xml
  2. 2 2
      zhsq_qk-ui/src/api/components/supermap.js

+ 2 - 2
zhsq_qk-system/src/main/resources/mapper/system/SysCameraMapper.xml

@@ -42,8 +42,8 @@
         a.latitude,
         a.build_type,
         case
-        when a.build_type = 3860 then '小区内部'
-        when a.build_type = 877 then '街道路面'
+        when a.build_type = 1 then '小区内部'
+        when a.build_type = 2 then '街道路面'
         when a.build_type = 3 then '已有'
         end buildTypeName
         FROM

+ 2 - 2
zhsq_qk-ui/src/api/components/supermap.js

@@ -26,8 +26,8 @@ export const iconList={
 
 export function getIcon (state) {
   switch (state) {
-    case "877" : return iconList.lmjs;break;
-    case "3860" : return iconList.xqjs;break;
+    case "1" : return iconList.lmjs;break;
+    case "2" : return iconList.xqjs;break;
     case "3" : return iconList.yy;break;
   }
 }