|
@@ -365,7 +365,7 @@ function renderpushByMayDisease(name, i, e) {
|
|
|
let lisPush = result.lis || []
|
|
|
let pacsPush = result.pacs || []
|
|
|
let scalePush = result.scale || []
|
|
|
- let disPush = result.dis['大数据推送诊断'] || []
|
|
|
+ let disPush = result.dis['鉴别诊断'] || []
|
|
|
let treatPush = result.treat || []
|
|
|
let medicinesPush = result.medicines || []
|
|
|
let operationsPush = result.operations || []
|
|
@@ -396,7 +396,7 @@ function renderpushByMayDisease(name, i, e) {
|
|
|
moreInfo()
|
|
|
bindSlide();
|
|
|
empty()
|
|
|
- if ($(".maydiagnose .moduleCenter").children('div').length == 1) {
|
|
|
+ if ($(e.target).parents('.box').find(".moduleCenter").children('div').length == 1 && !$(e.target).parents('.box').find(".centerBox").css("display")) {
|
|
|
$.toast('toast1', '', 3000, '.maydiagnose', i);
|
|
|
$(".maydiagnose .box-title").addClass("ellipsis")
|
|
|
$(e.target).parents('.box').find(".box-img").attr('src', down2)
|
|
@@ -458,7 +458,7 @@ function renderpushByHasDisease(name, i, e) {
|
|
|
moreInfo()
|
|
|
bindSlide();
|
|
|
empty()
|
|
|
- if ($(".hasdiagnose .moduleCenter").children('div').length == 1) {
|
|
|
+ if ($(e.target).parents('.box').find(".moduleCenter").children('div').length == 1 && !$(e.target).parents('.box').find(".centerBox").css("display")) {
|
|
|
$.toast('toast1', '', 3000, '.hasdiagnose', i);
|
|
|
$(".hasdiagnose .box-title").addClass("ellipsis")
|
|
|
$(e.target).parents('.box').find(".box-img").attr('src', down2)
|
|
@@ -1046,7 +1046,6 @@ function renderHasDisPush(list) {
|
|
|
let num, state
|
|
|
for (let i = 0; i < hasdiagnoseList.length; i++) {
|
|
|
const item = hasdiagnoseList[i];
|
|
|
- console.log(item );
|
|
|
if (item.code == 'hasantidias') {
|
|
|
num = item.number
|
|
|
state = item.status
|
|
@@ -1125,6 +1124,7 @@ function renderHasPush(treatPush, medicinesPush, operationsPush, nursePush) {
|
|
|
} else if (item.code == 'hasoperation') {
|
|
|
operationstate = item.status
|
|
|
} else if (item.code == 'hasnurse') {
|
|
|
+ nursestate = item.status
|
|
|
}
|
|
|
}
|
|
|
for (let i = 0; i < treatPush.length; i++) {
|
|
@@ -1133,7 +1133,6 @@ function renderHasPush(treatPush, medicinesPush, operationsPush, nursePush) {
|
|
|
isShow = true
|
|
|
}
|
|
|
}
|
|
|
- console.log(medicinestate, 111);
|
|
|
$(".hasdiagnose .box[data-index=" + indexNow + "]").find(".moduleCenter").append("<div class='centerBox'></div>")
|
|
|
let str = `<ul>
|
|
|
${treatPush.length > 0 && isShow && generalstate != 0 ? `<li class="general" data-index="0">一般治疗</li>` : ''}
|
|
@@ -1226,6 +1225,7 @@ function renderMayNursePush(list) {
|
|
|
}
|
|
|
}
|
|
|
function renderHasNursePush(list) {
|
|
|
+
|
|
|
if (list.length > 0) {
|
|
|
moduleNum++
|
|
|
let { shortStr, longStr } = renderItemWrapper(list, 10)
|