|
@@ -38,6 +38,7 @@ const tipsMode = getUrlArgObject('tipsMode') || 1
|
|
|
let planCode = getUrlArgObject('planCode') || 'all'
|
|
|
let hospitalIdUrl = getUrlArgObject('hospitalId') || ''
|
|
|
let msg;
|
|
|
+let tipsMsg;
|
|
|
|
|
|
function getMRInfo() {
|
|
|
return post(config.getMr2,{mrId:mrId})
|
|
@@ -206,7 +207,7 @@ function isNeedPush(list){
|
|
|
let medicinesNum = $(".moduleItem.medicine").attr("data-num") || 5
|
|
|
let operationsNum = $(".moduleItem.operation").attr("data-num") || 5
|
|
|
|
|
|
- renderLis(lisPush,lisNum,3,true)
|
|
|
+ renderLis(lisPush,1,3,true)
|
|
|
renderPacs(pacsPush,pacsNum,5,true)
|
|
|
renderCheckup(checkupPush,checkupNum,null,true)
|
|
|
renderSymptomPush(symptomPush,symptomNum,null,true)
|
|
@@ -360,6 +361,15 @@ function renderPushWarning(){
|
|
|
renderBillingPush(criticalValList,'危急值提醒')
|
|
|
renderBillingPush(noteList,'检查注意事项')
|
|
|
moreInfo()
|
|
|
+ if($(".moduleItem.tips")){
|
|
|
+ let tipsHei = $(".moduleItem.tips")[0].scrollHeight
|
|
|
+ if(tipsHei > 81){
|
|
|
+ $(".tips").append(`<span class="showMoreNewPage">更多</span>`)
|
|
|
+ tipsMsg = result
|
|
|
+ showMoreNewPage()
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
// renderBillingPush(dubugStr,'注意调试信息')
|
|
|
|
|
|
}
|
|
@@ -455,6 +465,13 @@ function bindSlide(){
|
|
|
$(this).parent().parent().css("display","none")
|
|
|
})
|
|
|
}
|
|
|
+function showMoreNewPage(){
|
|
|
+[]
|
|
|
+ $(".showMoreNewPage").on("click", function(){
|
|
|
+ // openNewWin(`smartAlert.html?billMsgList=${encodeURIComponent(billMsgList)}&highRiskList=${encodeURIComponent(highRiskList)}&criticalValList=${encodeURIComponent(criticalValList)}¬eList=${encodeURIComponent(noteList)}`)
|
|
|
+ openNewWin(`smartAlert.html?tipsMsg=${encodeURIComponent(JSON.stringify(tipsMsg ))}`)
|
|
|
+ })
|
|
|
+}
|
|
|
|
|
|
function setWidth(){
|
|
|
let winWidth = $(".bodyWrap").css("width")
|