|
@@ -108,17 +108,17 @@ $(function () {
|
|
|
$('.subtitle').html('AI运行质控平台')
|
|
|
getMenu()
|
|
|
getAuditNumber()
|
|
|
- if(getCookie('checkAuth') == '5'){
|
|
|
+ if (getCookie('checkAuth') == '5') {
|
|
|
getNewsCount()
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
} else if (isPlacefile == 1) {
|
|
|
$(this).find('.qiehuan i').html('切换运行质控')
|
|
|
$('.subtitle').html('AI病案质控平台')
|
|
|
getMenu()
|
|
|
getAuditNumber()
|
|
|
- if(getCookie('checkAuth') == '5'){
|
|
|
+ if (getCookie('checkAuth') == '5') {
|
|
|
getNewsCount()
|
|
|
}
|
|
|
}
|
|
@@ -136,10 +136,10 @@ $(function () {
|
|
|
$('#contentIframe').attr('src', $('#contentIframe').attr('src'));
|
|
|
getMenu();
|
|
|
getAuditNumber()
|
|
|
- if(getCookie('checkAuth') == '5'){
|
|
|
+ if (getCookie('checkAuth') == '5') {
|
|
|
getNewsCount()
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
})
|
|
|
$(".header .title .qiehuan").mouseenter(function () {
|
|
|
$(this).parent().find('img').attr('src', require('../images/qiehuan1.png'))
|
|
@@ -516,12 +516,14 @@ function getMenu() {
|
|
|
setCookie("hospitalid", data.basHospitalInfoDTO.id)
|
|
|
getAllCode(data.menuWrappers);
|
|
|
for (let i = 0; i < data.menuWrappers.length; i++) {
|
|
|
- if (isPlacefile === '0' && data.menuWrappers[i].code === 'YH-ZKHC') {
|
|
|
+ if (isPlacefile === '0' && (data.menuWrappers[i].code === 'YH-ZKHC' || data.menuWrappers[i].code === 'YH-XXTZ')) {
|
|
|
$(".menuList .YH-ZKHC").hide()
|
|
|
$(".menu-mini .YH-ZKHC").hide()
|
|
|
-
|
|
|
+ $(".menuList .YH-XXTZ").hide()
|
|
|
+ $(".menu-mini .YH-XXTZ").hide()
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
if (newsNumber == 0) {
|
|
|
$(".menu .page", parent.document).children('.redNews').hide()
|
|
|
} else {
|