|
@@ -37,7 +37,10 @@ $(".header-tab li").click(function () {
|
|
$(this).attr("class", "choice")
|
|
$(this).attr("class", "choice")
|
|
$(this).siblings().attr("class", "")
|
|
$(this).siblings().attr("class", "")
|
|
$('.radio-list').find('input[value=1]').prop("checked", true)
|
|
$('.radio-list').find('input[value=1]').prop("checked", true)
|
|
- console.log(123);
|
|
|
|
|
|
+ for (let i = 0; i < medicalTypesList.length; i++) {
|
|
|
|
+ medicalTypesList[i].checked = false
|
|
|
|
+ }
|
|
|
|
+ medicalTypesList[0].checked = true
|
|
// 获取tab ID
|
|
// 获取tab ID
|
|
if (tabid == 1) {
|
|
if (tabid == 1) {
|
|
$(".radio-list").css('display', 'none')
|
|
$(".radio-list").css('display', 'none')
|
|
@@ -48,8 +51,13 @@ $(".header-tab li").click(function () {
|
|
$(".searchTypeBox").css('display', 'none')
|
|
$(".searchTypeBox").css('display', 'none')
|
|
|
|
|
|
}
|
|
}
|
|
|
|
+
|
|
$(".searchKnowledge .staticSearchB .tip").css({ display: 'none' })
|
|
$(".searchKnowledge .staticSearchB .tip").css({ display: 'none' })
|
|
|
|
+ $(".searchKnowledge .staticSearchB .empty").css({ display: 'none' })
|
|
|
|
+ $(".searchKnowledge .staticSearchB .searching").css({ display: 'none' })
|
|
|
|
+ $(".searchKnowledge .staticSearchB .inputWarning").css({ display: 'none' })
|
|
$(".searchKnowledge .staticSearchB ul").html('')
|
|
$(".searchKnowledge .staticSearchB ul").html('')
|
|
|
|
+ renderMedicalType(medicalTypesList)
|
|
})
|
|
})
|
|
$(".check-box").click(function () {
|
|
$(".check-box").click(function () {
|
|
type = $(this).find('input[name=ICD10]').val()
|
|
type = $(this).find('input[name=ICD10]').val()
|
|
@@ -146,9 +154,10 @@ function getKnowledgeData(value) {
|
|
medicalTypes.push(medicalTypesList[i].val)
|
|
medicalTypes.push(medicalTypesList[i].val)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
url = config.getStaticKnowledge
|
|
url = config.getStaticKnowledge
|
|
param = {
|
|
param = {
|
|
- inputStr: value.replace(/\\/g, '\\\\').replace(/%/g, '\\%').replace(/\_/g, '\\_').trim(),
|
|
|
|
|
|
+ inputStr: value.trim(),
|
|
types: medicalTypes
|
|
types: medicalTypes
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
@@ -156,7 +165,7 @@ function getKnowledgeData(value) {
|
|
param = {
|
|
param = {
|
|
current: 0,
|
|
current: 0,
|
|
size: 100,
|
|
size: 100,
|
|
- inputStr: value.replace(/\\/g, '\\\\').replace(/%/g, '\\%').replace(/\_/g, '\\_').trim(),
|
|
|
|
|
|
+ inputStr: value.trim(),
|
|
type: type
|
|
type: type
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -218,9 +227,7 @@ function getKnowledgeData(value) {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|
|
-function getDiseaseIndex() {
|
|
|
|
|
|
|
|
-}
|
|
|
|
function adjustHeight() {
|
|
function adjustHeight() {
|
|
var ht = window.innerHeight;
|
|
var ht = window.innerHeight;
|
|
var containerHt = $(".medicalKonwledgeWrap .container").height()
|
|
var containerHt = $(".medicalKonwledgeWrap .container").height()
|