|
|
@@ -880,7 +880,7 @@ function GetTestReportInfo(reportid, callback) {
|
|
880
|
880
|
arrEnglist = [];
|
|
881
|
881
|
|
|
882
|
882
|
var userTestReportInfo = UserTestReport[n];
|
|
883
|
|
- var bookid = Number(name1[1].substr(4)) + 12;
|
|
|
883
|
+ var bookid = userTestReportInfo.BookID;
|
|
884
|
884
|
|
|
885
|
885
|
var wordStr = "";
|
|
886
|
886
|
if (name1[1]=="英文字母"){
|
|
|
@@ -905,7 +905,13 @@ function GetTestReportInfo(reportid, callback) {
|
|
905
|
905
|
var tempWrong = "," + userTestReportInfo.TestWrongStr + ",";
|
|
906
|
906
|
var tempSkip = "," + userTestReportInfo.TestSkipStr + ",";
|
|
907
|
907
|
var tempExist = "," + userTestReportInfo.TestExistStr + ",";
|
|
908
|
|
- getData('GetTestEnglishWords?UserID=' + app.globalData.userInfo.UserID + '&Words=' + wordStr+"&TestType="+userTestReportInfo.TestType, function (data) {
|
|
|
908
|
+
|
|
|
909
|
+ var unitsid="";
|
|
|
910
|
+ if (bookid>120 && bookid<=124){
|
|
|
911
|
+ unitsid=Number(name2.replace("Lesson ",""));
|
|
|
912
|
+ }
|
|
|
913
|
+
|
|
|
914
|
+ getData('GetTestEnglishWords?UserID=' + app.globalData.userInfo.UserID+'&BookID='+bookid+'&LessonID='+unitsid+ '&Words=' + wordStr+"&TestType="+userTestReportInfo.TestType, function (data) {
|
|
909
|
915
|
if (data) {
|
|
910
|
916
|
var result = {};
|
|
911
|
917
|
result.ID = userTestReportInfo.ID;
|
|
|
@@ -1111,7 +1117,9 @@ function getHanzi(callback) {
|
|
1111
|
1117
|
wx.setStorageSync("HanziAll", arr);
|
|
1112
|
1118
|
|
|
1113
|
1119
|
var arrEng = common.Decrypt(data.EngList);
|
|
|
1120
|
+ var arrNewConceptEngList = common.Decrypt(data.NewConceptEngList);
|
|
1114
|
1121
|
wx.setStorageSync("EnglishAll", arrEng);
|
|
|
1122
|
+ wx.setStorageSync("NewConceptEngList", arrNewConceptEngList);
|
|
1115
|
1123
|
wx.setStorageSync("HanziUpdateTime", data.UpdateTime);
|
|
1116
|
1124
|
} else {
|
|
1117
|
1125
|
arr = wx.getStorageSync("HanziAll");
|