|
|
@@ -39,12 +39,12 @@
|
|
|
//加载数据
|
|
|
window.onload = function () {
|
|
|
//加载听说课文
|
|
|
- answerjson = $.ajax({ url: "AnsText/20799.txt", async: false }).responseText;
|
|
|
+ answerjson = $.ajax({ url: "AnsText/21255.txt", async: false }).responseText;
|
|
|
reviewjson = $.ajax({ url: "AnsText/anstext.txt", async: false }).responseText;
|
|
|
}
|
|
|
//加载听说课文
|
|
|
$("#load-text").on("click", function () {
|
|
|
- var data = $.ajax({ url: "lghp/data11.lghp", async: false }).responseText;
|
|
|
+ var data = $.ajax({ url: "lghp/21255.lghp", async: false }).responseText;
|
|
|
$("#data").html(data);
|
|
|
|
|
|
bindEventYS();
|
|
|
@@ -99,7 +99,7 @@
|
|
|
});
|
|
|
//回显习题答案
|
|
|
$("#backup-answer").on("click", function () {
|
|
|
- backupAllAnswer(answerjson, 1);
|
|
|
+ backupAllAnswer(answerjson, 0);
|
|
|
//var answerJson = "{\"AudioLength\":3,\"AudioUrl\":\"http://172.16.41.241:10103/http_TBookEditor51/exerciseAnswerAudio/2020-11-06_09-31-19.wav\",\"Id\":\"18\",\"Text\":\"\",\"Type\":3}";
|
|
|
//reviewAnswer(answerJson);
|
|
|
});
|
|
|
@@ -107,7 +107,8 @@
|
|
|
$("#update-answer").on("click", function () {
|
|
|
//backupAllAnswer(answerjson, false);
|
|
|
//var answerJson = "{\"AudioLength\":0,\"AudioUrl\":\"\",\"Id\":\"1\",\"Text\":\"sdasd\",\"Type\":1}";
|
|
|
- var answerJson = "{\"AudioLength\":5,\"AudioUrl\":\"http://172.16.41.241:10103/Web_AITeachCloudV10/Files/UpLoad/zxstu155/2020/11/25/8a5d785d626748bbaa027895568d1bc3.wav\",\"Comment\":\"\",\"Id\":\"10\",\"PicUrl\":\"\",\"Score\":\"\",\"Text\":\"Good .\",\"Type\":3}"
|
|
|
+ //var answerJson = "{\"AudioLength\":5,\"AudioUrl\":\"http://172.16.41.241:10103/Web_AITeachCloudV10/Files/UpLoad/zxstu155/2020/11/25/8a5d785d626748bbaa027895568d1bc3.wav\",\"Comment\":\"\",\"Id\":\"10\",\"PicUrl\":\"\",\"Score\":\"\",\"Text\":\"Good .\",\"Type\":3}";
|
|
|
+ var answerJson = "{\"AudioLength\":5,\"AudioUrl\":\"http://172.16.41.241:10103/Web_AITeachCloudV10/Files/UpLoad/zxstu155/2020/11/25/8a5d785d626748bbaa027895568d1bc3.wav\",\"Comment\":\"\",\"Id\":\"10\",\"PicUrl\":\"\",\"Score\":\"\",\"Text\":\"Good .\",\"Type\":3}";
|
|
|
reviewAnswer(answerJson);
|
|
|
});
|
|
|
//回填评阅数据
|