kongdeqiang
2022-12-16 daf6a95086087ec99232eea8b4648b7541881f7c
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
function searchByOrder(orderBy,orderType){
    window.location.href = "/tssw/heathMonitor/list?orderBy="+orderBy+"&orderType="+orderType;
}
 
function searchByOnline(state){
    window.location.href = "/tssw/heathMonitor/list?heathStatus="+state;
}
 
function searchByAccount() {
    window.location.href = "/tssw/heathMonitor/list?account="+$("#account").val();
}
 
function add() {
    window.location.href = "/tssw/heathMonitor/edit";
}
 
function view(id) {
    window.location.href = "/tssw/heathMonitor/view?id="+id;
}
 
 
function targetUrl(url) {
    window.open(url);
}
 
function viewDate(id,searchTime){
    window.location.href = "/tssw/heathMonitor/view?id="+id+"&am="+searchTime;
}
 
function excelExport(id,searchTime){
    var startTime = $("#startTime").val();
    var endTime = $("#endTime").val();
    window.open("/tssw/heathMonitor/chartExcel?id="+id+"&startTime="+startTime+"&endTime="+endTime+"&am="+searchTime);
}
 
function del(id) {
    if(confirm('你确定要删除吗?')) {
        window.location.href = "/tssw/heathMonitor/del?id=" + id;
    }
}
function edit(id){
    window.location.href = "/tssw/heathMonitor/edit?id="+id;
}
 
function showPostStr() {
    $("#PostStrDiv").show();
}
 
function hidePostStr() {
    $("#PostStrDiv").hide();
}
 
 
function cancel(){
    history.back();
}