|
@@ -72,7 +72,6 @@ let planCode = getUrlArgObject('planCode') || 'all'
|
|
|
let hospitalIdUrl = getUrlArgObject('hospitalId') || ''
|
|
|
let msg;
|
|
|
let treatDisName;
|
|
|
-
|
|
|
function getMRInfo() {
|
|
|
return post(config.getMr2, { mrId: mrId })
|
|
|
}
|
|
@@ -463,7 +462,7 @@ function adjustHei() {
|
|
|
}
|
|
|
function isNeedPush(list) {
|
|
|
let pass = false;
|
|
|
- let pushCode = ['critical', "diag", "lis", "pacs", "symptom", "vital", "treat", "medicines", 'evaluation', 'general', 'medicine', 'operation', 'nurse']
|
|
|
+ let pushCode = ['critical', "diag", "lis", "pacs", "symptom", "vital", "treat", "medicines", 'evaluation', 'general', 'medicine', 'operation', 'nurse','maydiagnose','hasdiagnose']
|
|
|
for (let i = 0; i < list.length; i++) {
|
|
|
if (pushCode.indexOf(list[i].code) > -1) {
|
|
|
if (list[i].status == "1") {
|
|
@@ -486,7 +485,7 @@ function isNeedwriteStandardPush(list) {
|
|
|
return pass
|
|
|
}
|
|
|
function isNeedPushWarning(list) {
|
|
|
- let pushCode = ["crivalue", "rationali", "highrisk", "otherremind"];
|
|
|
+ let pushCode = ["crivalue", "rationali", "highrisk", "otherremind", "nurse"];
|
|
|
let pass = false;
|
|
|
for (let i = 0; i < list.length; i++) {
|
|
|
if (pushCode.indexOf(list[i].code.trim()) > -1) {
|
|
@@ -636,6 +635,7 @@ function renderNursePush(list) {
|
|
|
return str
|
|
|
}
|
|
|
function renderBillingNursePush(list, showNum) {
|
|
|
+ console.log(list);
|
|
|
if (list.length > 0 && $(".moduleItem.nurse").length > 0) {
|
|
|
moduleNum++
|
|
|
$('.moduleItem.nurse').append(titleStr("nursePush"))
|
|
@@ -1078,7 +1078,7 @@ function renderMayPush(treatPush, medicinesPush, operationsPush, nursePush) {
|
|
|
$(".maydiagnose .box[data-index=" + indexNow + "]").find(".moduleCenter .centerBox").append(str)
|
|
|
if ($(".maydiagnose .centerBox ul li").length == 0) {
|
|
|
$(".maydiagnose .centerBox").hide()
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
$(".maydiagnose .centerBox").show()
|
|
|
}
|
|
|
renderMayTreatPush(treatPush)
|
|
@@ -1132,7 +1132,7 @@ function renderHasPush(treatPush, medicinesPush, operationsPush, nursePush) {
|
|
|
console.log($(".hasdiagnose .centerBox ul li").length, 222);
|
|
|
if ($(".hasdiagnose .centerBox ul li").length == 0) {
|
|
|
$(".hasdiagnose .centerBox").hide()
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
$(".hasdiagnose .centerBox").show()
|
|
|
}
|
|
|
renderHasTreatPush(treatPush)
|
|
@@ -1372,7 +1372,7 @@ function renderTab(tabList) {
|
|
|
let showModuleName = $(".tabList .tab").eq(tabNum).attr("data-name")
|
|
|
getModuleShow(moduleConfig[showModuleName])
|
|
|
bindTabClick()
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
|
|
|
function titleStr(type) {
|
|
@@ -1388,7 +1388,7 @@ function titleStr2(name) {
|
|
|
|
|
|
function bindTabClick() {
|
|
|
$(".tabList .tab").off("click").on("click", function () {
|
|
|
-
|
|
|
+
|
|
|
$(".activeTab").removeClass("activeTab")
|
|
|
$(this).addClass("activeTab")
|
|
|
const moduleName = $(this).attr("data-name")
|
|
@@ -1445,8 +1445,6 @@ function empty() {
|
|
|
setTimeout(function () {
|
|
|
const emptyShownBox = $('.recommendWrap .empty-box:visible').length;
|
|
|
const configShownBox = $('.recommendWrap .moduleItem:visible').length;
|
|
|
- console.log(configShownBox,111);
|
|
|
- console.log(configShownBox,222);
|
|
|
if (configShownBox === 0 && emptyShownBox === 0) { //有配置但没数据
|
|
|
$('.empty-box').hide();
|
|
|
$('.recommendBox .empty-null').show();
|