|
@@ -18,7 +18,11 @@ require('./../images/empty3.png').replace(/^undefined/g, '')
|
|
|
require('./../images/loading.gif').replace(/^undefined/g, '')
|
|
|
require('./../images/right.png').replace(/^undefined/g, '')
|
|
|
require('./../images/new.png').replace(/^undefined/g, '')
|
|
|
-
|
|
|
+require('./../images/t1.png').replace(/^undefined/g, '')
|
|
|
+require('./../images/t2.png').replace(/^undefined/g, '')
|
|
|
+require('./../images/t3.png').replace(/^undefined/g, '')
|
|
|
+require('./../images/go.png').replace(/^undefined/g, '')
|
|
|
+require('./../images/g1.png').replace(/^undefined/g, '')
|
|
|
// require('./popupEdit.js');
|
|
|
|
|
|
let infoImg = require('./../images/icon_info.png').replace(/^undefined/g, '')
|
|
@@ -33,6 +37,7 @@ let warnImgWhite = require('./../images/icon_waring_white.png').replace(/^undefi
|
|
|
const $ = require("jquery");
|
|
|
const { post,config,getUrlArgObject,openNewWin,titleConfig } = require('./promise.js');
|
|
|
const { renderFollowUp, followEmpty } = require('./followUp.js');
|
|
|
+const {getTcmMr} = require('./tcmiss.js');
|
|
|
|
|
|
const { transConf } = require('./util.js');
|
|
|
|
|
@@ -43,7 +48,8 @@ let moduleConfig={
|
|
|
auxiliary:"recommendWrap",
|
|
|
qc:"qcWrap",
|
|
|
medical:"medicalKonwledgeWrap",
|
|
|
- followup:"followUpWrap"
|
|
|
+ followup: "followUpWrap",
|
|
|
+ tcmiss: 'tcmWarp',
|
|
|
}
|
|
|
let allInterface = 0
|
|
|
let hasCompleteTnterface = 0
|
|
@@ -67,7 +73,7 @@ if(mrId){
|
|
|
if(!(msg&&msg.diseaseName&&msg.diseaseName.name)){
|
|
|
msg.diseaseName={}
|
|
|
}
|
|
|
- window.msg = msg
|
|
|
+ window.msg = msg;
|
|
|
renderPage(data)
|
|
|
})
|
|
|
} else{
|
|
@@ -207,10 +213,17 @@ function renderPage(pageSet){
|
|
|
const hasAuxiliary = hasTab("辅助信息",pageSet.sysSetInfo)
|
|
|
const hasMedical = hasTab("医学知识",pageSet.sysSetInfo)
|
|
|
const hasFollowUp = hasTab("随访计划",pageSet.sysSetInfo)
|
|
|
+ const hasTcm = hasTab("中医辅助", pageSet.sysSetInfo);
|
|
|
+
|
|
|
if(!mrId){
|
|
|
empty()
|
|
|
return
|
|
|
}
|
|
|
+ if (hasTcm) {
|
|
|
+ console.log(hasTcm)
|
|
|
+ const item = hasTcm.planDetails.find((it) => it.code === "treatment");
|
|
|
+ getTcmMr(mrId, (item || {}).number || 3);
|
|
|
+ }
|
|
|
if(hasAuxiliary){
|
|
|
renderModuleWrapper(hasAuxiliary.planDetails)
|
|
|
let needPush = isNeedPush(hasAuxiliary.planDetails)
|
|
@@ -767,9 +780,10 @@ $(function(){
|
|
|
}
|
|
|
});
|
|
|
// $(".iframeWrap").preventScroll();
|
|
|
- $(".iframeWrap").preventScroll();
|
|
|
- $(".recommendWrap").preventScroll();
|
|
|
- $(".infoWrap").preventScroll();
|
|
|
+ $(".iframeWrap").preventScroll();
|
|
|
+ $(".recommendWrap").preventScroll();
|
|
|
+ $(".TcmWrap").preventScroll();
|
|
|
+ $(".infoWrap").preventScroll();
|
|
|
$(".medicalKonwledgeWrap .staticSearchB ul").preventScroll();
|
|
|
$(window).on("resize", function(){
|
|
|
$(".iframeWrap").preventScroll();
|