Explorar el Código

隐藏radioList

yangdr hace 1 mes
padre
commit
f6c24ce7c6
Se han modificado 1 ficheros con 6 adiciones y 3 borrados
  1. 6 3
      src/js/index.js

+ 6 - 3
src/js/index.js

@@ -89,22 +89,25 @@ $(window).resize(function () {
 function getTree2(data) {
     if (data.type == "疾病") {
         getTree(1, 1, data.label);
-
+        $(".radioList").show()
     } else if (data.type == "药品") {
         getTree(0, 2, data.label);
-
+        $(".radioList").show()
     } else if (data.type == "症状") {
-
+        $(".radioList").hide()
         getTree(0, 3, data.label);
 
     }
     // else if (data.type == "手术和操作") {
+    // $(".radioList").hide()
     //     getTree(0, 4, data.label);
     // } 
     else if (data.type == "实验室检查") {
+        $(".radioList").hide()
         getTree(0, 5, data.label);
 
     } else if (data.type == "辅助检查") {
+        $(".radioList").hide()
         getTree(0, 6, data.label);
 
     }