|
@@ -349,10 +349,13 @@ function ribao_cell(v) {
|
|
|
var others = "";
|
|
|
if (v.others != "")
|
|
|
others = "其他:" + v.others;
|
|
|
+ var scoreRezult = "";
|
|
|
+ if (v.scoreRezult != 0)
|
|
|
+ scoreRezult = "评估结果:" + getScoreRezult(v.scoreRezult) + ";";
|
|
|
$('#rb_family').append($('<div class="weui-media-box weui-media-box_text" style="height: 12vh">\n' +
|
|
|
' <h4 class="weui-media-box__title">' + userName + ' ' + grender + ' ' + age + ' <a style="color: #bc4246" onclick=\'deleteSuspected(' + JSON.stringify(v.suspectedId) + ')\'>删除</a>\n' +
|
|
|
' <a style="color: #2a62bc" onclick=\'updateSuspected(' + JSON.stringify(v.suspectedId) + ')\'>修改</a></h4>\n' +
|
|
|
- ' <p class="weui-media-box__desc" style="height: 80%">' + familyStatus + medical + singleRoom + temperature + cough + muscle + dyspnea + fatigue + diarrhea + others + '</p>\n' +
|
|
|
+ ' <p class="weui-media-box__desc" style="height: 80%">' + familyStatus + medical + singleRoom + temperature + cough + muscle + dyspnea + fatigue + diarrhea + others +scoreRezult+ '</p>\n' +
|
|
|
' </div>\n' +
|
|
|
' '));
|
|
|
}
|
|
@@ -634,9 +637,12 @@ function helpValue1(v) {
|
|
|
var others = "";
|
|
|
if (v.others != "")
|
|
|
others = "其他:" + v.others;
|
|
|
+ var scoreRezult = "";
|
|
|
+ if (v.scoreRezult != 0)
|
|
|
+ scoreRezult = "评估结果:" + getScoreRezult(v.scoreRezult) + ";";
|
|
|
$('#ribao_famliy').append($('<div class="weui-media-box weui-media-box_text" style="height: 12vh">\n' +
|
|
|
' <h4 class="weui-media-box__title">' + userName + ' ' + grender + ' ' + age + '</h4>\n' +
|
|
|
- ' <p class="weui-media-box__desc" style="height: 80%">' + familyStatus + medical + singleRoom + temperature + cough + muscle + dyspnea + fatigue + diarrhea + others + '</p>\n' +
|
|
|
+ ' <p class="weui-media-box__desc" style="height: 80%">' + familyStatus + medical + singleRoom + temperature + cough + muscle + dyspnea + fatigue + diarrhea + others + scoreRezult+'</p>\n' +
|
|
|
' </div>\n' +
|
|
|
' '));
|
|
|
}
|
|
@@ -833,9 +839,9 @@ $('#ribao_score').on('click', function () {
|
|
|
$('#js_input_score_rezult').empty();
|
|
|
var ScoreRezult = getScoreRezult(data.scoreRezult);
|
|
|
$("#js_input_score_rezult").val(ScoreRezult);
|
|
|
- // $("#js_input_temperature_score").val(data.temperatureScore);
|
|
|
- // $("#js_input_score_histroy").val(data.scoreHistory);
|
|
|
- // $("#js_input_score").val(data.score);
|
|
|
+ $("#js_input_temperature_score").val(data.temperatureScore);
|
|
|
+ $("#js_input_score_histroy").val(data.scoreHistory);
|
|
|
+ $("#js_input_score").val(data.score);
|
|
|
}
|
|
|
},
|
|
|
});
|