|
@@ -282,6 +282,8 @@ function ribao_cell(v) {
|
|
|
var singleRoom = "";
|
|
|
if (v.singleRoom != 0)
|
|
|
singleRoom = "单间隔离:" + getSingleRoom(v.singleRoom) + ";";
|
|
|
+ if (v.singleRoom == 0 && v.medical != 0)
|
|
|
+ singleRoom = "单间隔离:" + getSingleRoom(v.singleRoom) + ";";
|
|
|
var temperature = "体温:" + v.temperature + ";";
|
|
|
var cough = "";
|
|
|
if (v.cough != 0)
|
|
@@ -575,29 +577,31 @@ function helpValue1(v) {
|
|
|
familyStatus = "基本状况:" + getFamilyStatus(v.familyStatus) + ";";
|
|
|
var medical = "";
|
|
|
if (v.medical != 0)
|
|
|
- medical = "是否确诊:" + getMedical(v.medical) + ";";
|
|
|
+ medical = "是否确诊:" + getMedical(v.medical) + ";";
|
|
|
var singleRoom = "";
|
|
|
if (v.singleRoom != 0)
|
|
|
- singleRoom = "单间隔离:" + getSingleRoom(v.singleRoom) + ";";
|
|
|
+ singleRoom = "单间隔离:" + getSingleRoom(v.singleRoom) + ";";
|
|
|
+ if (v.singleRoom == 0 && v.medical != 0)
|
|
|
+ singleRoom = "单间隔离:" + getSingleRoom(v.singleRoom) + ";";
|
|
|
var temperature = "体温:" + v.temperature + ";";
|
|
|
var cough = "";
|
|
|
if (v.cough != 0)
|
|
|
- cough = "咳嗽:" + getCough(v.cough) + ";";
|
|
|
+ cough = "咳嗽:" + getCough(v.cough) + ";";
|
|
|
var muscle = "";
|
|
|
if (v.muscle != 0)
|
|
|
- muscle = "肌肉酸痛:" + getMuscle(v.muscle) + ";";
|
|
|
+ muscle = "肌肉酸痛:" + getMuscle(v.muscle) + ";";
|
|
|
var dyspnea = "";
|
|
|
if (v.dyspnea != 0)
|
|
|
- dyspnea = "呼吸困难:" + getDyspnea(v.dyspnea) + ";";
|
|
|
+ dyspnea = "呼吸困难:" + getDyspnea(v.dyspnea) + ";";
|
|
|
var fatigue = "";
|
|
|
if (v.fatigue != 0)
|
|
|
- fatigue = "乏力:" + getFatigue(v.fatigue) + ";";
|
|
|
+ fatigue = "乏力:" + getFatigue(v.fatigue) + ";";
|
|
|
var diarrhea = "";
|
|
|
if (v.diarrhea != 0)
|
|
|
- diarrhea = "腹泻:" + getDiarrhea(v.diarrhea) + ";";
|
|
|
+ diarrhea = "腹泻:" + getDiarrhea(v.diarrhea) + ";";
|
|
|
var others = "";
|
|
|
if (v.others != "")
|
|
|
- others = "其他:" + v.others;
|
|
|
+ others = "其他:" + v.others;
|
|
|
$('#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' +
|