|
@@ -246,6 +246,14 @@ function drawTree(data, showNodeName){
|
|
|
const treeNodeName = treeNode.name
|
|
|
let index = treeNodeName.indexOf(' ')
|
|
|
const name = treeNodeName.substring(index+1)
|
|
|
+ if(select_type != select_type_noSearch){
|
|
|
+ select_type_noSearch = select_type
|
|
|
+ if(select_type == "疾病"){
|
|
|
+ $(".selectedName").html("疾病")
|
|
|
+ } else if(select_type == "药品通用名"){
|
|
|
+ $(".selectedName").html("药品")
|
|
|
+ }
|
|
|
+ }
|
|
|
getGraph(name,select_type)
|
|
|
const selectPId = $('.curSelectedNode').attr('id')
|
|
|
const selectId = selectPId.substring(0,selectPId.length-1) + 'ico'
|