|
@@ -304,7 +304,7 @@ function ribao_cell(v) {
|
|
others = "其他:" + v.others;
|
|
others = "其他:" + v.others;
|
|
var scoreRezult = "";
|
|
var scoreRezult = "";
|
|
if (v.scoreRezult != 0)
|
|
if (v.scoreRezult != 0)
|
|
- scoreRezult = "评估结果:" + getScoreRezult(v.scoreRezult,v.temperatureScore) + ";";
|
|
|
|
|
|
+ scoreRezult = "评估结果:" + getScoreRezult(v.scoreRezult, v.temperatureScore) + ";";
|
|
$('#rb_family').append($('<div class="weui-media-box weui-media-box_text" style="height: 12vh">\n' +
|
|
$('#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' +
|
|
' <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' +
|
|
' <a style="color: #2a62bc" onclick=\'updateSuspected(' + JSON.stringify(v.suspectedId) + ')\'>修改</a></h4>\n' +
|
|
@@ -441,6 +441,10 @@ function ribaoCommit() {
|
|
"score": score,
|
|
"score": score,
|
|
},
|
|
},
|
|
success: function (data) {
|
|
success: function (data) {
|
|
|
|
+ if (data.msgReport == "2"){
|
|
|
|
+ $.toast("家人姓名不能重复,如果重复,可以带上称呼");
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
if ($('#ribao')[0].style.display == 'none') {
|
|
if ($('#ribao')[0].style.display == 'none') {
|
|
$('#notOpenRibao').toggle();
|
|
$('#notOpenRibao').toggle();
|
|
$('#ribao')[0].style.display = '';
|
|
$('#ribao')[0].style.display = '';
|
|
@@ -527,7 +531,7 @@ function updateSuspected(suspectedId) {
|
|
$("#js_input_user_fuxie").attr("data-values", suspected.diarrhea);
|
|
$("#js_input_user_fuxie").attr("data-values", suspected.diarrhea);
|
|
|
|
|
|
$("#shuruqita").val(suspected.others);
|
|
$("#shuruqita").val(suspected.others);
|
|
- $("#js_input_score_rezult").val(getScoreRezult(suspected.scoreRezult,suspected.temperatureScore));
|
|
|
|
|
|
+ $("#js_input_score_rezult").val(getScoreRezult(suspected.scoreRezult, suspected.temperatureScore));
|
|
$("#js_input_score_rezult_value").val(suspected.scoreRezult);
|
|
$("#js_input_score_rezult_value").val(suspected.scoreRezult);
|
|
$("#js_input_temperature_score").val(suspected.temperatureScore);
|
|
$("#js_input_temperature_score").val(suspected.temperatureScore);
|
|
$("#js_input_score_histroy").val(suspected.scoreHistroy);
|
|
$("#js_input_score_histroy").val(suspected.scoreHistroy);
|
|
@@ -624,7 +628,7 @@ function helpValue1(v) {
|
|
others = "其他:" + v.others;
|
|
others = "其他:" + v.others;
|
|
var scoreRezult = "";
|
|
var scoreRezult = "";
|
|
if (v.scoreRezult != 0)
|
|
if (v.scoreRezult != 0)
|
|
- scoreRezult = "评估结果:" + getScoreRezult(v.scoreRezult,v.temperatureScore) + ";";
|
|
|
|
|
|
+ scoreRezult = "评估结果:" + getScoreRezult(v.scoreRezult, v.temperatureScore) + ";";
|
|
$('#ribao_famliy').append($('<div class="weui-media-box weui-media-box_text" style="height: 12vh">\n' +
|
|
$('#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' +
|
|
' <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 + scoreRezult + '</p>\n' +
|
|
' <p class="weui-media-box__desc" style="height: 80%">' + familyStatus + medical + singleRoom + temperature + cough + muscle + dyspnea + fatigue + diarrhea + others + scoreRezult + '</p>\n' +
|
|
@@ -834,7 +838,7 @@ $('#ribao_score').on('click', function () {
|
|
$('#js_input_temperature_score').empty();
|
|
$('#js_input_temperature_score').empty();
|
|
$('#js_input_score_histroy').empty();
|
|
$('#js_input_score_histroy').empty();
|
|
$('#js_input_score').empty();
|
|
$('#js_input_score').empty();
|
|
- var ScoreRezult = getScoreRezult(data.scoreRezult,data.temperatureScore);
|
|
|
|
|
|
+ var ScoreRezult = getScoreRezult(data.scoreRezult, data.temperatureScore);
|
|
$("#js_input_score_rezult").val(ScoreRezult);
|
|
$("#js_input_score_rezult").val(ScoreRezult);
|
|
$("#js_input_score_rezult_value").val(data.scoreRezult);
|
|
$("#js_input_score_rezult_value").val(data.scoreRezult);
|
|
$("#js_input_temperature_score").val(data.temperatureScore);
|
|
$("#js_input_temperature_score").val(data.temperatureScore);
|