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();
|
}
|