|
@@ -9,6 +9,7 @@ if(!Promise){
|
|
require('./../css/reset.css');
|
|
require('./../css/reset.css');
|
|
require('./../css/cdss.less');
|
|
require('./../css/cdss.less');
|
|
require('./../css/popup.css');
|
|
require('./../css/popup.css');
|
|
|
|
+require('./../css/followUpV.less');
|
|
require('./../css/staticSearch.css')
|
|
require('./../css/staticSearch.css')
|
|
require('./../js/staticSearch.js')
|
|
require('./../js/staticSearch.js')
|
|
require('./../images/empty.png').replace(/^undefined/g, '')
|
|
require('./../images/empty.png').replace(/^undefined/g, '')
|
|
@@ -30,6 +31,8 @@ let warnImg = require('./../images/icon_warning.png').replace(/^undefined/g, '')
|
|
|
|
|
|
const $ = require("jquery");
|
|
const $ = require("jquery");
|
|
const { post,config,getUrlArgObject,openNewWin,titleConfig } = require('./promise.js');
|
|
const { post,config,getUrlArgObject,openNewWin,titleConfig } = require('./promise.js');
|
|
|
|
+const { renderFollowUp } = require('./followUp.js');
|
|
|
|
+
|
|
const { transConf } = require('./util.js');
|
|
const { transConf } = require('./util.js');
|
|
|
|
|
|
|
|
|
|
@@ -45,7 +48,8 @@ const { transConf } = require('./util.js');
|
|
let moduleConfig={
|
|
let moduleConfig={
|
|
auxiliary:"recommendWrap",
|
|
auxiliary:"recommendWrap",
|
|
qc:"qcWrap",
|
|
qc:"qcWrap",
|
|
- medical:"medicalKonwledgeWrap"
|
|
|
|
|
|
+ medical:"medicalKonwledgeWrap",
|
|
|
|
+ followup:"followUpWrap"
|
|
}
|
|
}
|
|
let allInterface = 0
|
|
let allInterface = 0
|
|
let hasCompleteTnterface = 0
|
|
let hasCompleteTnterface = 0
|
|
@@ -208,11 +212,10 @@ function renderPage(pageSet){
|
|
return
|
|
return
|
|
}
|
|
}
|
|
renderTab(pageSet.sysSetInfo)
|
|
renderTab(pageSet.sysSetInfo)
|
|
- const iframeHei = $(".bodyWrap").height()
|
|
|
|
- const tabHei = $(".tabList").height()
|
|
|
|
- $(".contentWrapper").css("height",iframeHei-tabHei-20-30+3+'px')
|
|
|
|
|
|
+ adjustHei()
|
|
const hasAuxiliary = hasTab("辅助信息",pageSet.sysSetInfo)
|
|
const hasAuxiliary = hasTab("辅助信息",pageSet.sysSetInfo)
|
|
const hasMedical = hasTab("医学知识",pageSet.sysSetInfo)
|
|
const hasMedical = hasTab("医学知识",pageSet.sysSetInfo)
|
|
|
|
+ const hasFollowUp = hasTab("随访计划",pageSet.sysSetInfo)
|
|
if(!mrId){
|
|
if(!mrId){
|
|
empty()
|
|
empty()
|
|
return
|
|
return
|
|
@@ -235,6 +238,9 @@ function renderPage(pageSet){
|
|
allInterface++
|
|
allInterface++
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ if(hasFollowUp){
|
|
|
|
+ renderFollowUp(msg)
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
function renderPushData(){
|
|
function renderPushData(){
|
|
@@ -273,7 +279,7 @@ function renderPushData(){
|
|
rendergeneraTreatPush(generaTreatPush)
|
|
rendergeneraTreatPush(generaTreatPush)
|
|
if(hasCompleteTnterface === allInterface){
|
|
if(hasCompleteTnterface === allInterface){
|
|
$('.loading').css("display","none")
|
|
$('.loading').css("display","none")
|
|
- if(moduleNum === 0){
|
|
|
|
|
|
+ if(moduleNum === 0){ console.log(1)
|
|
empty()
|
|
empty()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -283,7 +289,11 @@ function renderPushData(){
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+function adjustHei(){
|
|
|
|
+ const iframeHei = $(".bodyWrap").height()
|
|
|
|
+ const tabHei = $(".tabList").height()
|
|
|
|
+ $(".contentWrapper").css("height",iframeHei-tabHei-20-30+3+19+'px')
|
|
|
|
+}
|
|
function isNeedPush(list){
|
|
function isNeedPush(list){
|
|
let pushCode = ["diag","lis","pacs","symptom","vital","treat","medicines"]
|
|
let pushCode = ["diag","lis","pacs","symptom","vital","treat","medicines"]
|
|
for(let i = 0; i < list.length; i++){
|
|
for(let i = 0; i < list.length; i++){
|
|
@@ -341,7 +351,7 @@ function renderPushWarning(){
|
|
}
|
|
}
|
|
if(hasCompleteTnterface === allInterface){
|
|
if(hasCompleteTnterface === allInterface){
|
|
$('.loading').css("display","none")
|
|
$('.loading').css("display","none")
|
|
- if(moduleNum === 0){
|
|
|
|
|
|
+ if(moduleNum === 0){console.log(2)
|
|
empty()
|
|
empty()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -358,7 +368,7 @@ function renderWriteStandard(){
|
|
}
|
|
}
|
|
if(hasCompleteTnterface === allInterface){
|
|
if(hasCompleteTnterface === allInterface){
|
|
$('.loading').css("display","none")
|
|
$('.loading').css("display","none")
|
|
- if(moduleNum === 0){
|
|
|
|
|
|
+ if(moduleNum === 0){console.log(3)
|
|
empty()
|
|
empty()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -510,7 +520,6 @@ function rendergeneraTreatPush(list){
|
|
$(".moduleItem.general").append(str)
|
|
$(".moduleItem.general").append(str)
|
|
$(".moduleItem.general").css("display","block")
|
|
$(".moduleItem.general").css("display","block")
|
|
let generaTreatHei = $(".moduleItem .generalTreatInfo")[0].scrollHeight
|
|
let generaTreatHei = $(".moduleItem .generalTreatInfo")[0].scrollHeight
|
|
- console.log("generaTreatHei",generaTreatHei)
|
|
|
|
if(generaTreatHei > 65){
|
|
if(generaTreatHei > 65){
|
|
$(".moduleItem .generalTreatInfo").append(`<span class="showMoreGeneralTreat">更多<img class="iconArrowImg" src="${iconArrowDown}"></span>`)
|
|
$(".moduleItem .generalTreatInfo").append(`<span class="showMoreGeneralTreat">更多<img class="iconArrowImg" src="${iconArrowDown}"></span>`)
|
|
$(".moduleItem .generalTreatInfo").append(`<span class="showLessGeneralTreat">收起<img class="iconArrowImg" src="${iconArrowUp}"></span>`)
|
|
$(".moduleItem .generalTreatInfo").append(`<span class="showLessGeneralTreat">收起<img class="iconArrowImg" src="${iconArrowUp}"></span>`)
|
|
@@ -731,7 +740,6 @@ $(function(){
|
|
}else{
|
|
}else{
|
|
_this.onmousewheel = function(e){
|
|
_this.onmousewheel = function(e){
|
|
e = e || window.event;
|
|
e = e || window.event;
|
|
- console.log( _this.scrollTop,e.wheelDelta)
|
|
|
|
_this.scrollTop += e.wheelDelta > 0 ? -60 : 60;
|
|
_this.scrollTop += e.wheelDelta > 0 ? -60 : 60;
|
|
return false;
|
|
return false;
|
|
};
|
|
};
|
|
@@ -742,5 +750,13 @@ $(function(){
|
|
// $(".iframeWrap").preventScroll();
|
|
// $(".iframeWrap").preventScroll();
|
|
$(".iframeWrap").preventScroll();
|
|
$(".iframeWrap").preventScroll();
|
|
$(".recommendWrap").preventScroll();
|
|
$(".recommendWrap").preventScroll();
|
|
|
|
+ $(".infoWrap").preventScroll();
|
|
$(".medicalKonwledgeWrap .staticSearchB ul").preventScroll();
|
|
$(".medicalKonwledgeWrap .staticSearchB ul").preventScroll();
|
|
|
|
+ $(window).on("resize", function(){
|
|
|
|
+ $(".iframeWrap").preventScroll();
|
|
|
|
+ $(".recommendWrap").preventScroll();
|
|
|
|
+
|
|
|
|
+ $(".medicalKonwledgeWrap .staticSearchB ul").preventScroll();
|
|
|
|
+ adjustHei()
|
|
|
|
+ })
|
|
});
|
|
});
|