付延余
2022-12-16 f0f8ee8c4a945adbc742d9bab69382b28ad311fb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
 
function add() {
    window.location.href = "/tssw/accountInfo/edit";
}
 
 
function edit(id){
    window.location.href = "/tssw/accountInfo/edit?id="+id;
}
 
function editPasswd(id){
    window.location.href = "/tssw/accountInfo/editPasswd?id="+id;
}
 
function del(id) {
    if(confirm('你确定要删除吗?删除后,此用户下的资源将只对管理员可见,后续可通过新建相同的登录账号来恢复其对所属资源的管理')) {
        window.location.href = "/tssw/accountInfo/del?id=" + id;
    }
}
 
function showPasswd(){
    var type = $("#passwd").attr("type");
    if(type=='text'){
        $("#eyeSwitch").attr("class","fa fa-eye");
        $("#passwd").attr("type","password");
    }else{
        $("#eyeSwitch").attr("class","fa fa-eye-slash");
        $("#passwd").attr("type","text");
    }
}
 
 
function cancel(){
    history.back();
}