|
@@ -273,9 +273,8 @@ function drawTree(data, showNodeName){
|
|
|
if(select_type != select_type_noSearch){
|
|
|
select_type_noSearch = select_type
|
|
|
setSelectName(select_type)
|
|
|
-
|
|
|
}
|
|
|
-
|
|
|
+ console.log('aaaaaaaaaaaa', select_type)
|
|
|
getGraph(name,select_type)
|
|
|
const selectPId = $('.curSelectedNode').attr('id')
|
|
|
if(selectPId){
|
|
@@ -574,8 +573,10 @@ function setTabBottomHei(type){
|
|
|
if(name=="药品通用名"){
|
|
|
$('.selectedName').html("药品")
|
|
|
$('.selectedName').attr("title","药品")
|
|
|
+ $("#searchInp").attr("placeholder",`请输入药品名称`)
|
|
|
}else{
|
|
|
$('.selectedName').attr('title', name)
|
|
|
+ $("#searchInp").attr("placeholder",`请输入${name}名称`)
|
|
|
if(name.length > 3){
|
|
|
$('.selectedName').html(name.slice(0,2)+'...')
|
|
|
}else{
|