|
@@ -402,7 +402,7 @@ function selectinput1(obj) {
|
|
|
if (grender != 4) {//js_input_qtdd
|
|
|
// $('#js_input_qtdd')[0].disabled == 'disabled'+
|
|
|
+
|
|
|
- $("#js_input_qtdd").val("");
|
|
|
+ $("#js_input_qtdd").val("");
|
|
|
} else {
|
|
|
$('#js_input_qtdd').removeAttr("disabled")
|
|
|
}
|
|
@@ -749,6 +749,9 @@ function ribao_cell(v) {
|
|
|
var isContact = "";
|
|
|
if (v.isContact != 0)
|
|
|
isContact = "家庭成员中有新冠肺炎疫情或有过病例接触史人员:" + getIsContact(v.isContact) + ";";
|
|
|
+ var isSuspected = "";
|
|
|
+ if (v.isSuspected != 0)
|
|
|
+ isSuspected = "同居或近期接触的家庭成员中有感冒、发热、咳嗽等症状:" + getIsContact(v.isContact) + ";";
|
|
|
var singleRoom = "";
|
|
|
var uptownId = $("#uptownId").val();
|
|
|
if (uptownId != xiaoquId && uptownId != ceshixiaoquId) {
|
|
@@ -812,7 +815,7 @@ function ribao_cell(v) {
|
|
|
$('#rb_family').append($('<div class="weui-media-box weui-media-box_text" style="height: auto">\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' +
|
|
|
- ' <div style="height: auto">' + familyStatus + medical + isContact + singleRoom + temperature + cough + muscle + dyspnea + fatigue + diarrhea + others + scoreRezult + workLocal + todayLocal + isTrip + tripDet + '</>\n' +
|
|
|
+ ' <div style="height: auto">' + familyStatus + medical + isContact + isSuspected + singleRoom + temperature + cough + muscle + dyspnea + fatigue + diarrhea + others + scoreRezult + workLocal + todayLocal + isTrip + tripDet + '</>\n' +
|
|
|
' </div>\n' +
|
|
|
' '));
|
|
|
}
|
|
@@ -1140,6 +1143,12 @@ function ribaoCommit() {
|
|
|
$.alert("请选择家庭成员中有新冠肺炎疫情或有过病例接触史人员");
|
|
|
return;
|
|
|
}
|
|
|
+ var isSuspected = $("input[name='radio2']:checked").val();
|
|
|
+ if (isSuspected == undefined) {
|
|
|
+ isSuspected = true;
|
|
|
+ $.alert("请选择同居或近期接触的家庭成员中有感冒、发热、咳嗽等症状");
|
|
|
+ return;
|
|
|
+ }
|
|
|
|
|
|
|
|
|
//var familyStatus = $("#js_input_user_status").attr("data-values") == undefined ? 0 : $("#js_input_user_status").attr("data-values");
|
|
@@ -1290,6 +1299,7 @@ function ribaoCommit() {
|
|
|
"scoreHistroy": scoreHistroy,
|
|
|
"score": score,
|
|
|
"isContact": isContact,
|
|
|
+ "isSuspected": isSuspected,
|
|
|
"workLocal": workLocal,
|
|
|
"workLocalOther": workLocalOther,
|
|
|
"todayLocal": todyLocal,
|
|
@@ -1487,6 +1497,10 @@ function updateSuspected(suspectedId) {
|
|
|
$("input[id='s28']").prop("checked", "checked");
|
|
|
if (suspected.isContact == 1)
|
|
|
$("input[id='s29']").prop("checked", "checked");
|
|
|
+ if (suspected.isSuspected == 0)
|
|
|
+ $("input[id='s38']").prop("checked", "checked");
|
|
|
+ if (suspected.isSuspected == 1)
|
|
|
+ $("input[id='s39']").prop("checked", "checked");
|
|
|
// $("#switchQuezhen").val(getMedical(suspected.medical));
|
|
|
// $("#switchQuezhen").attr("data-values", suspected.medical);
|
|
|
|
|
@@ -1699,6 +1713,10 @@ function helpValue1(v) {
|
|
|
var isContact = "";
|
|
|
if (v.isContact != 0)
|
|
|
isContact = "家庭成员中有新冠肺炎疫情或有过病例接触史人员:" + getIsContact(v.isContact) + ";";
|
|
|
+
|
|
|
+ var isSuspected = "";
|
|
|
+ if (v.isSuspected != 0)
|
|
|
+ isSuspected = "同居或近期接触的家庭成员中有感冒、发热、咳嗽等症状:" + getIsContact(v.isContact) + ";";
|
|
|
var singleRoom = "";
|
|
|
|
|
|
var uptownId = $("#uptownId").val();
|
|
@@ -1763,7 +1781,7 @@ function helpValue1(v) {
|
|
|
|
|
|
$('#ribao_famliy').append($('<div class="weui-media-box weui-media-box_text" style="height: auto">\n' +
|
|
|
' <h4 class="weui-media-box__title">' + userName + ' ' + grender + ' ' + age + '</h4>\n' +
|
|
|
- ' <div style="height: auto">' + familyStatus + medical + isContact + singleRoom + temperature + cough + muscle + dyspnea + fatigue + diarrhea + others + scoreRezult + workLocal + todayLocal + isTrip + tripDet + '</div>\n' +
|
|
|
+ ' <div style="height: auto">' + familyStatus + medical + isContact + isSuspected + singleRoom + temperature + cough + muscle + dyspnea + fatigue + diarrhea + others + scoreRezult + workLocal + todayLocal + isTrip + tripDet + '</div>\n' +
|
|
|
' </div>\n' +
|
|
|
' '));
|
|
|
}
|