|
@@ -223,7 +223,14 @@ function renderPage(pageSet){
|
|
|
const hasMedical = hasTab("医学知识",setInfo)
|
|
|
const hasFollowUp = hasTab("随访计划",setInfo)
|
|
|
const hasTcm = hasTab("中医辅助", setInfo);
|
|
|
-
|
|
|
+ if(hasAuxiliary.status===0&&hasMedical.status===0&&hasFollowUp.status===0&&hasTcm.status===0){
|
|
|
+ const nullTxt = `<div class="empty-box" style="left: -20px;display: block;">
|
|
|
+ <img class="emptyImg" src="../images/icon_admin.png" alt="空">
|
|
|
+ <p class="emptyTxt">功能未开启</p>
|
|
|
+ </div>`
|
|
|
+ $(".contentWrapper").html(nullTxt);
|
|
|
+ return;
|
|
|
+ }
|
|
|
if (hasTcm) {
|
|
|
getTcmMr(mrId, hasTcm);
|
|
|
}
|