Authored by lingmin

update

... ... @@ -369,13 +369,14 @@
var textView = $("<span>").html(rowData.errorCount).appendTo(div);
div.append("<br>");
var editBtn = $("<button>").addClass("btn btn-xs btn-success").html("详情").appendTo(div);
var content = "";
if (rowData.errorInfo != null) {
for (var i = 0; i < rowData.errorInfo.length; i++) {
content = content + rowData.errorInfo[i] + "<br><br>";
}
}
editBtn.click(function () {
var content = "";
if (rowData.errorInfo != null) {
for (var i = 0; i < rowData.errorInfo.length; i++) {
content = content + rowData.errorInfo[i] + "<br><br>";
}
}
if(content != ""){
var dialog = $("<div>").appendTo($("body"));
dialog.dialog({
... ... @@ -406,20 +407,20 @@
var textView = $("<span>").html(rowData.avgCost).appendTo(div);
div.append("<br>");
var editBtn = $("<button>").addClass("btn btn-xs btn-success").html("详情").appendTo(div);
var content = "";
if(rowData.timeoutInfo != null){
for(var i = 0;i<rowData.timeoutInfo.length;i++){
var temp = new Array();
temp = rowData.timeoutInfo[i].split("+---");
if(temp != null && temp.length>0){
for(var j = 0;j<temp.length;j++){
content= content + temp[j] + "<br>";
editBtn.click(function () {
var content = "";
if(rowData.timeoutInfo != null){
for(var i = 0;i<rowData.timeoutInfo.length;i++){
var temp = new Array();
temp = rowData.timeoutInfo[i].split("+---");
if(temp != null && temp.length>0){
for(var j = 0;j<temp.length;j++){
content= content + temp[j] + "<br>";
}
}
content= content +"<br><br>";
}
content= content +"<br><br>";
}
}
editBtn.click(function () {
if(content != ""){
var dialog = $("<div>").appendTo($("body"));
dialog.dialog({
... ... @@ -508,13 +509,13 @@
var textView = $("<span>").html(rowData.errorCount).appendTo(div);
div.append("<br>");
var editBtn = $("<button>").addClass("btn btn-xs btn-success").html("详情").appendTo(div);
var content = "";
if (rowData.errorInfo != null) {
for (var i = 0; i < rowData.errorInfo.length; i++) {
content = content + rowData.errorInfo[i] + "<br><br>";
}
}
editBtn.click(function () {
var content = "";
if (rowData.errorInfo != null) {
for (var i = 0; i < rowData.errorInfo.length; i++) {
content = content + rowData.errorInfo[i] + "<br><br>";
}
}
if(content != ""){
var dialog = $("<div>").appendTo($("body"));
dialog.dialog({
... ... @@ -545,20 +546,20 @@
var textView = $("<span>").html(rowData.avgCost).appendTo(div);
div.append("<br>");
var editBtn = $("<button>").addClass("btn btn-xs btn-success").html("详情").appendTo(div);
var content = "";
if(rowData.timeoutInfo != null){
for(var i = 0;i<rowData.timeoutInfo.length;i++){
var temp = new Array();
temp = rowData.timeoutInfo[i].split("+---");
if(temp != null && temp.length>0){
for(var j = 0;j<temp.length;j++){
content= content + temp[j] + "<br>";
editBtn.click(function () {
var content = "";
if(rowData.timeoutInfo != null){
for(var i = 0;i<rowData.timeoutInfo.length;i++){
var temp = new Array();
temp = rowData.timeoutInfo[i].split("+---");
if(temp != null && temp.length>0){
for(var j = 0;j<temp.length;j++){
content= content + temp[j] + "<br>";
}
}
content= content +"<br><br>";
}
content= content +"<br><br>";
}
}
editBtn.click(function () {
if(content != ""){
var dialog = $("<div>").appendTo($("body"));
dialog.dialog({
... ... @@ -647,13 +648,14 @@
var textView = $("<span>").html(rowData.errorCount).appendTo(div);
div.append("<br>");
var editBtn = $("<button>").addClass("btn btn-xs btn-success").html("详情").appendTo(div);
var content = "";
if (rowData.errorInfo != null) {
for (var i = 0; i < rowData.errorInfo.length; i++) {
content = content + rowData.errorInfo[i] + "<br><br>";
}
}
editBtn.click(function () {
var content = "";
if (rowData.errorInfo != null) {
for (var i = 0; i < rowData.errorInfo.length; i++) {
content = content + rowData.errorInfo[i] + "<br><br>";
}
}
if(content != ""){
var dialog = $("<div>").appendTo($("body"));
dialog.dialog({
... ... @@ -684,20 +686,20 @@
var textView = $("<span>").html(rowData.avgCost).appendTo(div);
div.append("<br>");
var editBtn = $("<button>").addClass("btn btn-xs btn-success").html("详情").appendTo(div);
var content = "";
if(rowData.timeoutInfo != null){
for(var i = 0;i<rowData.timeoutInfo.length;i++){
var temp = new Array();
temp = rowData.timeoutInfo[i].split("+---");
if(temp != null && temp.length>0){
for(var j = 0;j<temp.length;j++){
content= content + temp[j] + "<br>";
editBtn.click(function () {
var content = "";
if(rowData.timeoutInfo != null){
for(var i = 0;i<rowData.timeoutInfo.length;i++){
var temp = new Array();
temp = rowData.timeoutInfo[i].split("+---");
if(temp != null && temp.length>0){
for(var j = 0;j<temp.length;j++){
content= content + temp[j] + "<br>";
}
}
content= content +"<br><br>";
}
content= content +"<br><br>";
}
}
editBtn.click(function () {
if(content != ""){
var dialog = $("<div>").appendTo($("body"));
dialog.dialog({
... ...
... ... @@ -128,13 +128,13 @@
var textView = $("<span>").html(rowData.errorCount).appendTo(div);
div.append("<br>");
var editBtn = $("<input type='button'>").val("详情").addClass("btn btn-xs btn-success").appendTo(div);
var content = "";
if (rowData.errorInfo != null) {
for (var i = 0; i < rowData.errorInfo.length; i++) {
content = content + rowData.errorInfo[i] + "<br><br>";
}
}
editBtn.click(function () {
var content = "";
if (rowData.errorInfo != null) {
for (var i = 0; i < rowData.errorInfo.length; i++) {
content = content + rowData.errorInfo[i] + "<br><br>";
}
}
if(content != ""){
var dialog = $("<div>").appendTo($("body"));
dialog.dialog({
... ... @@ -165,20 +165,20 @@
var textView = $("<span>").html(rowData.avgCost).appendTo(div);
div.append("<br>");
var editBtn = $("<input type='button'>").val("详情").addClass("btn btn-xs btn-success").appendTo(div);
var content = "";
if(rowData.timeoutInfo != null){
for(var i = 0;i<rowData.timeoutInfo.length;i++){
var temp = new Array();
temp = rowData.timeoutInfo[i].split("+---");
if(temp != null && temp.length>0){
for(var j = 0;j<temp.length;j++){
content= content + temp[j] + "<br>";
editBtn.click(function () {
var content = "";
if(rowData.timeoutInfo != null){
for(var i = 0;i<rowData.timeoutInfo.length;i++){
var temp = new Array();
temp = rowData.timeoutInfo[i].split("+---");
if(temp != null && temp.length>0){
for(var j = 0;j<temp.length;j++){
content= content + temp[j] + "<br>";
}
}
content= content +"<br><br>";
}
content= content +"<br><br>";
}
}
editBtn.click(function () {
if(content != ""){
var dialog = $("<div>").appendTo($("body"));
dialog.dialog({
... ... @@ -229,13 +229,13 @@
var textView = $("<span>").html(rowData.errorCount).appendTo(div);
div.append("<br>");
var editBtn = $("<input type='button'>").val("详情").addClass("btn btn-xs btn-success").appendTo(div);
var content = "";
if (rowData.errorInfo != null) {
for (var i = 0; i < rowData.errorInfo.length; i++) {
content = content + rowData.errorInfo[i] + "<br><br>";
}
}
editBtn.click(function () {
var content = "";
if (rowData.errorInfo != null) {
for (var i = 0; i < rowData.errorInfo.length; i++) {
content = content + rowData.errorInfo[i] + "<br><br>";
}
}
if(content != ""){
var dialog = $("<div>").appendTo($("body"));
dialog.dialog({
... ... @@ -266,20 +266,20 @@
var textView = $("<span>").html(rowData.avgCost).appendTo(div);
div.append("<br>");
var editBtn = $("<input type='button'>").val("详情").addClass("btn btn-xs btn-success").appendTo(div);
var content = "";
if(rowData.timeoutInfo != null){
for(var i = 0;i<rowData.timeoutInfo.length;i++){
var temp = new Array();
temp = rowData.timeoutInfo[i].split("+---");
if(temp != null && temp.length>0){
for(var j = 0;j<temp.length;j++){
content= content + temp[j] + "<br>";
editBtn.click(function () {
var content = "";
if(rowData.timeoutInfo != null){
for(var i = 0;i<rowData.timeoutInfo.length;i++){
var temp = new Array();
temp = rowData.timeoutInfo[i].split("+---");
if(temp != null && temp.length>0){
for(var j = 0;j<temp.length;j++){
content= content + temp[j] + "<br>";
}
}
content= content +"<br><br>";
}
content= content +"<br><br>";
}
}
editBtn.click(function () {
if(content != ""){
var dialog = $("<div>").appendTo($("body"));
dialog.dialog({
... ...
... ... @@ -417,14 +417,13 @@
var textView = $("<span>").html(rowData.errorCount).appendTo(div);
div.append("<br>");
var editBtn = $("<button>").addClass("btn btn-xs btn-success").html("详情").appendTo(div);
var content = "";
if(rowData.errorInfo != null){
for(var i = 0;i<rowData.errorInfo.length;i++){
content= content +rowData.errorInfo[i]+"<br><br>";
}
}
editBtn.click(function () {
var content = "";
if(rowData.errorInfo != null){
for(var i = 0;i<rowData.errorInfo.length;i++){
content= content +rowData.errorInfo[i]+"<br><br>";
}
}
if(content != ""){
var dialog = $("<div>").appendTo($("body"));
dialog.dialog({
... ... @@ -455,20 +454,21 @@
var textView = $("<span>").html(rowData.avgCost).appendTo(div);
div.append("<br>");
var editBtn = $("<button>").addClass("btn btn-xs btn-success").html("详情").appendTo(div);
var content = "";
if(rowData.timeoutInfo != null){
for(var i = 0;i<rowData.timeoutInfo.length;i++){
var temp = new Array();
temp = rowData.timeoutInfo[i].split("+---");
if(temp != null && temp.length>0){
for(var j = 0;j<temp.length;j++){
content= content + temp[j] + "<br>";
editBtn.click(function () {
var content = "";
if(rowData.timeoutInfo != null){
for(var i = 0;i<rowData.timeoutInfo.length;i++){
var temp = new Array();
temp = rowData.timeoutInfo[i].split("+---");
if(temp != null && temp.length>0){
for(var j = 0;j<temp.length;j++){
content= content + temp[j] + "<br>";
}
}
content= content +"<br><br>";
}
content= content +"<br><br>";
}
}
editBtn.click(function () {
if(content != ""){
var dialog = $("<div>").appendTo($("body"));
dialog.dialog({
... ... @@ -552,13 +552,13 @@
var textView = $("<span>").html(rowData.errorCount).appendTo(div);
div.append("<br>");
var editBtn = $("<button>").addClass("btn btn-xs btn-success").html("详情").appendTo(div);
var content = "";
if(rowData.errorInfo != null){
for(var i = 0;i<rowData.errorInfo.length;i++){
content= content +rowData.errorInfo[i]+"<br><br>";
}
}
editBtn.click(function () {
var content = "";
if(rowData.errorInfo != null){
for(var i = 0;i<rowData.errorInfo.length;i++){
content= content +rowData.errorInfo[i]+"<br><br>";
}
}
if(content != ""){
var dialog = $("<div>").appendTo($("body"));
dialog.dialog({
... ... @@ -589,20 +589,20 @@
var textView = $("<span>").html(rowData.avgCost).appendTo(div);
div.append("<br>");
var editBtn = $("<button>").addClass("btn btn-xs btn-success").html("详情").appendTo(div);
var content = "";
if(rowData.timeoutInfo != null){
for(var i = 0;i<rowData.timeoutInfo.length;i++){
var temp = new Array();
temp = rowData.timeoutInfo[i].split("+---");
if(temp != null && temp.length>0){
for(var j = 0;j<temp.length;j++){
content= content + temp[j] + "<br>";
editBtn.click(function () {
var content = "";
if(rowData.timeoutInfo != null){
for(var i = 0;i<rowData.timeoutInfo.length;i++){
var temp = new Array();
temp = rowData.timeoutInfo[i].split("+---");
if(temp != null && temp.length>0){
for(var j = 0;j<temp.length;j++){
content= content + temp[j] + "<br>";
}
}
content= content +"<br><br>";
}
content= content +"<br><br>";
}
}
editBtn.click(function () {
if(content != ""){
var dialog = $("<div>").appendTo($("body"));
dialog.dialog({
... ... @@ -689,13 +689,14 @@
var textView = $("<span>").html(rowData.errorCount).appendTo(div);
div.append("<br>");
var editBtn = $("<button>").addClass("btn btn-xs btn-success").html("详情").appendTo(div);
var content = "";
if(rowData.errorInfo != null){
for(var i = 0;i<rowData.errorInfo.length;i++){
content= content +rowData.errorInfo[i]+"<br><br>";
}
}
editBtn.click(function () {
var content = "";
if(rowData.errorInfo != null){
for(var i = 0;i<rowData.errorInfo.length;i++){
content= content +rowData.errorInfo[i]+"<br><br>";
}
}
if(content != ""){
var dialog = $("<div>").appendTo($("body"));
dialog.dialog({
... ... @@ -727,20 +728,20 @@
var textView = $("<span>").html(rowData.avgCost).appendTo(div);
div.append("<br>");
var editBtn = $("<button>").addClass("btn btn-xs btn-success").html("详情").appendTo(div);
var content = "";
if(rowData.timeoutInfo != null){
for(var i = 0;i<rowData.timeoutInfo.length;i++){
var temp = new Array();
temp = rowData.timeoutInfo[i].split("+---");
if(temp != null && temp.length>0){
for(var j = 0;j<temp.length;j++){
content= content + temp[j] + "<br>";
editBtn.click(function () {
var content = "";
if(rowData.timeoutInfo != null){
for(var i = 0;i<rowData.timeoutInfo.length;i++){
var temp = new Array();
temp = rowData.timeoutInfo[i].split("+---");
if(temp != null && temp.length>0){
for(var j = 0;j<temp.length;j++){
content= content + temp[j] + "<br>";
}
}
content= content +"<br><br>";
}
content= content +"<br><br>";
}
}
editBtn.click(function () {
if(content != ""){
var dialog = $("<div>").appendTo($("body"));
dialog.dialog({
... ...