|
|
|
@ -204,10 +204,10 @@ |
|
|
|
$(function () { |
|
|
|
// read sessionStorage |
|
|
|
var oscip = sessionStorage.getItem("scip"); |
|
|
|
if (oscip != "") { |
|
|
|
$("#scip").val(oscip); |
|
|
|
scip = oscip; |
|
|
|
$("input[name='serverip']").val(oscip); |
|
|
|
var otip = sessionStorage.getItem("tscip"); |
|
|
|
if (oscip != "" || otip!='') { |
|
|
|
$("input[name='sip']").val(oscip); |
|
|
|
$("input[name='tsip']").val(otip); |
|
|
|
} |
|
|
|
|
|
|
|
// click function SOURCE SERVER |
|
|
|
@ -293,8 +293,8 @@ |
|
|
|
$(elemnt).html(html); |
|
|
|
writelog(scip + "获取数据:" + res.data.list.length + "条数据") |
|
|
|
// 客户端监控目录 |
|
|
|
$(elemnt).children(".sc01").text(res.workdir) |
|
|
|
$(elemnt).children(".sc02").text(dbsresp(res.curdir)) |
|
|
|
$(elemnt).parent().find(".sc01").text(res.workdir) |
|
|
|
$(elemnt).parent().find(".sc02").text(dbsresp(res.curdir)) |
|
|
|
// $("#sc01").text(res.workdir); |
|
|
|
// $("#sc02").text(dbsresp(res.curdir)); |
|
|
|
}); |
|
|
|
@ -366,7 +366,7 @@ |
|
|
|
} |
|
|
|
//解码base64 |
|
|
|
var dbsresp = function (bsStr) { |
|
|
|
// console.log("respone base64 string ",bsStr) |
|
|
|
console.log("respone base64 string ",bsStr) |
|
|
|
if(bsStr=="."){ |
|
|
|
return "." |
|
|
|
}else{ |
|
|
|
|