|
|
@@ -981,7 +981,7 @@ function getAllAnswer() {
|
|
|
var mytext = $(item).attr("answer-text");//我的答案
|
|
|
var ischecked = mytext.indexOf("√") > -1;
|
|
|
var answerText = $(item).attr("answer-anstext");//参考答案
|
|
|
- mytext = mytext == "" ? "__" : mytext;
|
|
|
+ mytext = mytext == "" ? " " : mytext;
|
|
|
$(item).prop("outerHTML", "<div class='answer-body' answer-id='" + answerid + "' parent-anid='" + parentid + "' answer-anstext='" + answerText + "' answer-isky='2'><div class='answer-audio-range'><img src='" + PicInfo.recordPlayImgUrl + "'/><span class='answer-audio-text'>作答音频</span></div><div class='answer-point-range' style='display:none;'><img src='" + PicInfo.answerPointImgUrl + "'/><span class='answer-point-text'>答题点</span></div><buttom class='answer-text' style='display:block;'>" + mytext + "</buttom></div>");
|
|
|
});
|
|
|
//console.log(JSON.stringify(answerData));
|
|
|
@@ -1165,7 +1165,7 @@ function backupAllAnswer(answerJson, statusType) {
|
|
|
$(item).find('input').prop('checked', ischecked);
|
|
|
//已提交,已评阅,还原HTML代码,去除checkbox
|
|
|
if (statusType == 1 || statusType == 2) {
|
|
|
- mytext = mytext == "" ? "__" : mytext;
|
|
|
+ mytext = mytext == "" ? " " : mytext;
|
|
|
$(item).prop("outerHTML", "<div class='answer-body' answer-id='" + answerid + "' parent-anid='" + parentid + "' answer-anstext='" + answerText + "' answer-isky='2' answer-text='" + mytext + "'><div class='answer-audio-range'><img src='" + PicInfo.recordPlayImgUrl + "'/><span class='answer-audio-text'>作答音频</span></div><div class='answer-point-range' style='display:none;'><img src='" + PicInfo.answerPointImgUrl + "'/><span class='answer-point-text'>答题点</span></div><buttom class='answer-text' style='display:block;'>" + mytext + "</buttom></div>");
|
|
|
}
|
|
|
});
|
|
|
@@ -1344,7 +1344,7 @@ function backupAllReview(answerJson) {
|
|
|
var mytext = answerList[index].Text;//我的答案
|
|
|
var ischecked = mytext.indexOf("√") > -1;
|
|
|
var answerText = $(item).attr("answer-anstext");//参考答案
|
|
|
- mytext = mytext == "" ? "__" : mytext;
|
|
|
+ mytext = mytext == "" ? " " : mytext;
|
|
|
$(item).prop("outerHTML", "<div class='answer-body' answer-id='" + answerid + "' parent-anid='" + parentid + "' answer-anstext='" + answerText + "' answer-isky='2' answer-text='" + mytext + "'><div class='answer-audio-range'><img src='" + PicInfo.recordPlayImgUrl + "'/><span class='answer-audio-text'>作答音频</span></div><div class='answer-point-range' style='display:none;'><img src='" + PicInfo.answerPointImgUrl + "'/><span class='answer-point-text'>答题点</span></div><buttom class='answer-text' style='display:block;'>" + mytext + "</buttom></div>");
|
|
|
});
|
|
|
//点击事件重新绑定
|