|
@@ -10,6 +10,13 @@ let userInfo={};
|
|
|
let isPlacefile = getCookie('isPlacefile')||1
|
|
|
|
|
|
$(function(){
|
|
|
+ //验证密码复杂度:密码中必须包含大小字母、数字、特称字符,至少8个字符,最多30个字符
|
|
|
+ const psd = getCookie("mmps");
|
|
|
+ const regex = new RegExp('(?=.*[0-9])(?=.*[A-Z])(?=.*[a-z])(?=.*[^a-zA-Z0-9]).{8,30}');
|
|
|
+ if (!regex.test(psd)) {
|
|
|
+ $("#changeWord").click();
|
|
|
+ //alert("您的密码复杂度太低(密码中必须包含字母、数字、特殊字符),请及时改密码!");
|
|
|
+ }
|
|
|
getOwnDept();
|
|
|
setInterval(() => {
|
|
|
getTimeDetail()
|
|
@@ -34,11 +41,11 @@ $(function(){
|
|
|
$(this).css("color","#777777")
|
|
|
})
|
|
|
if(isPlacefile==0){
|
|
|
- $(this).find('i').html('切换病案质控')
|
|
|
+ $(this).find('.qiehuan i').html('切换病案质控')
|
|
|
$('.subtitle').html('AI运行质控平台')
|
|
|
getMenu()
|
|
|
}else if(isPlacefile==1){
|
|
|
- $(this).find('i').html('切换运行质控')
|
|
|
+ $(this).find('.qiehuan i').html('切换运行质控')
|
|
|
$('.subtitle').html('AI病案质控平台')
|
|
|
getMenu()
|
|
|
}
|