|
@@ -9,7 +9,6 @@ let userInfo={};
|
|
|
let isPlacefile = getCookie('isPlacefile')||1
|
|
|
|
|
|
$(function(){
|
|
|
- getMenu();
|
|
|
getOwnDept();
|
|
|
setInterval(() => {
|
|
|
getTimeDetail()
|
|
@@ -36,9 +35,11 @@ $(function(){
|
|
|
if(isPlacefile==0){
|
|
|
$(this).find('i').html('切换病案质控')
|
|
|
$('.subtitle').html('AI运行质控平台')
|
|
|
+ getMenu()
|
|
|
}else if(isPlacefile==1){
|
|
|
$(this).find('i').html('切换运行质控')
|
|
|
$('.subtitle').html('AI病案质控平台')
|
|
|
+ getMenu()
|
|
|
}
|
|
|
$(".header .title .qiehuan").click(function(){
|
|
|
getMenu();
|
|
@@ -181,6 +182,8 @@ function getOwnDept(){
|
|
|
// }
|
|
|
}
|
|
|
function getMenu(){
|
|
|
+ // console.log(api.getMenu)
|
|
|
+ isPlacefile = getCookie('isPlacefile')||1
|
|
|
post(api.getMenu).then(function(res){
|
|
|
if(res.data.code==='0'){
|
|
|
const data = res.data.data;
|