Pārlūkot izejas kodu

修改默认数据

zhangxc 4 gadi atpakaļ
vecāks
revīzija
274b53c2b3
2 mainītis faili ar 7 papildinājumiem un 7 dzēšanām
  1. 3 3
      src/js/graphMap.js
  2. 4 4
      src/js/index.js

+ 3 - 3
src/js/graphMap.js

@@ -538,11 +538,11 @@ function bindTabClick(){
            
             if(id == "疾病"){
                
-                $('#searchInp').val("高血压3级")
+                $('#searchInp').val("急性胰腺炎")
                 $('.iconRadio').attr('src','/images/radioUnSelect.png')
                 $('.ICD10 img').attr('src','/images/radioSelect.png')
-                getTree(1,1,"高血压3级");
-                getGraph("高血压3级",select_type);
+                getTree(1,1,"急性胰腺炎");
+                getGraph("急性胰腺炎",select_type);
             
             }else if(id=="药品通用名"){
                 $('#searchInp').val("地高辛(XC01AAD072A001010100372)")

+ 4 - 4
src/js/index.js

@@ -48,9 +48,9 @@ window.refreshTree = true
  })
 
 //关系图
-getGraph("高血压3级",select_type);
-getTree(1,1,"高血压3级");
-$('#searchInp').val("高血压3级")
+getGraph("急性胰腺炎",select_type);
+getTree(1,1,"急性胰腺炎");
+$('#searchInp').val("急性胰腺炎")
 
 //选择类型
 $('.select').click(function(e){
@@ -90,7 +90,7 @@ $("#searchInp").bind("input propertychange",function(event){
 
 //切换条目
 $('.radioItem').click(function(e){
-    const initDiag = "高血压3级"
+    const initDiag = "急性胰腺炎"
     const type = $(this).attr('data-type')
     // $(this).children('img').attr('src')
     $('.iconRadio').attr('src','/images/radioUnSelect.png')