|
|
@@ -932,14 +932,14 @@ function GetTestReportInfo(reportid, callback) {
|
|
932
|
932
|
|
|
933
|
933
|
taskInfo.TagWidth = 364;
|
|
934
|
934
|
taskInfo.ContentNew = changeStringToView(taskInfo.Content);
|
|
935
|
|
- if (tempRight.indexOf("," + taskInfo.ID + ",") >= 0)
|
|
|
935
|
+ if (tempRight.indexOf("," + taskInfo.Word + ",") >= 0)
|
|
936
|
936
|
taskInfo.Result = 1;
|
|
937
|
|
- if (tempWrong.indexOf("," + taskInfo.ID + ",") >= 0)
|
|
|
937
|
+ if (tempWrong.indexOf("," + taskInfo.Word + ",") >= 0)
|
|
938
|
938
|
taskInfo.Result = -1;
|
|
939
|
|
- if (tempSkip.indexOf("," + taskInfo.ID + ",") >= 0)
|
|
|
939
|
+ if (tempSkip.indexOf("," + taskInfo.Word + ",") >= 0)
|
|
940
|
940
|
taskInfo.Result = 0;
|
|
941
|
941
|
|
|
942
|
|
- if (tempExist.indexOf("," + taskInfo.ID + ",") >= 0)
|
|
|
942
|
+ if (tempExist.indexOf("," + taskInfo.Word + ",") >= 0)
|
|
943
|
943
|
taskInfo.Css = "Select2";
|
|
944
|
944
|
|
|
945
|
945
|
TaskList.push(taskInfo);
|
|
|
@@ -949,13 +949,13 @@ function GetTestReportInfo(reportid, callback) {
|
|
949
|
949
|
result.TestSkipStr = "";
|
|
950
|
950
|
result.TestExistStr = "";
|
|
951
|
951
|
if (userTestReportInfo.TestRightStr)
|
|
952
|
|
- result.TestRightStr = userTestReportInfo.TestRightStr.join(",");
|
|
|
952
|
+ result.TestRightStr = userTestReportInfo.TestRightStr;
|
|
953
|
953
|
if (userTestReportInfo.TestWrongStr)
|
|
954
|
|
- result.TestWrongStr = userTestReportInfo.TestWrongStr.join(",");
|
|
|
954
|
+ result.TestWrongStr = userTestReportInfo.TestWrongStr;
|
|
955
|
955
|
if (userTestReportInfo.TestSkipStr)
|
|
956
|
|
- result.TestSkipStr = userTestReportInfo.TestSkipStr.join(",");
|
|
|
956
|
+ result.TestSkipStr = userTestReportInfo.TestSkipStr;
|
|
957
|
957
|
if (userTestReportInfo.TestExistStr)
|
|
958
|
|
- result.TestExistStr = userTestReportInfo.TestExistStr.join(",");
|
|
|
958
|
+ result.TestExistStr = userTestReportInfo.TestExistStr;
|
|
959
|
959
|
|
|
960
|
960
|
result.List = TaskList;
|
|
961
|
961
|
callback(result);
|