|
@@ -285,27 +285,27 @@ function ribao_init() {
|
|
|
}]
|
|
|
});
|
|
|
|
|
|
+ // $("#switchQuezhen").select({
|
|
|
+ // title: "选择是否确诊",
|
|
|
+ // items: [
|
|
|
+ // {
|
|
|
+ // title: "否",
|
|
|
+ // value: "0",
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: "是",
|
|
|
+ // value: "1",
|
|
|
+ // }]
|
|
|
+ // });
|
|
|
+
|
|
|
$("#switchQuezhen").select({
|
|
|
- title: "选择是否确诊",
|
|
|
+ title: "选择症状",
|
|
|
items: [
|
|
|
{
|
|
|
- title: "否",
|
|
|
+ title: "无",
|
|
|
value: "0",
|
|
|
},
|
|
|
{
|
|
|
- title: "是",
|
|
|
- value: "1",
|
|
|
- }]
|
|
|
- });
|
|
|
-
|
|
|
- $("#switchQuezhen_zz").select({
|
|
|
- title: "选择症状",
|
|
|
- items: [
|
|
|
- {
|
|
|
- title: "无",
|
|
|
- value: "0",
|
|
|
- },
|
|
|
- {
|
|
|
title: "新冠确诊",
|
|
|
value: "1",
|
|
|
},
|
|
@@ -419,12 +419,12 @@ function selectinput6(obj) {
|
|
|
var grender = $("#js_input_sf").attr("data-values") == undefined ? 3 : $("#js_input_sf").attr("data-values");
|
|
|
if (grender == 0) {
|
|
|
$('#none')[0].style.display = 'none';
|
|
|
- $("#js_input_cfd").val("");
|
|
|
- $("#js_input_cfd").attr("data-values", "");
|
|
|
- $("#js_input_mdd").val("");
|
|
|
- $("#js_input_mdd").attr("data-values", "");
|
|
|
- $("#js_input_cxfs").val("");
|
|
|
- $("#js_input_cxfs").attr("data-values", "");
|
|
|
+ $("#js_input_cfd").val("");
|
|
|
+ $("#js_input_cfd").attr("data-values", "");
|
|
|
+ $("#js_input_mdd").val("");
|
|
|
+ $("#js_input_mdd").attr("data-values", "");
|
|
|
+ $("#js_input_cxfs").val("");
|
|
|
+ $("#js_input_cxfs").attr("data-values", "");
|
|
|
$('#js_input_cxfsq').val("");
|
|
|
$('#js_input_cfdq').val("");
|
|
|
$('#js_input_mddq').val("");
|
|
@@ -590,11 +590,13 @@ function splice(obj) {
|
|
|
//近日报告
|
|
|
function ribaoInitialization(reportId) {
|
|
|
if (reportId == null)
|
|
|
- return;
|
|
|
+ reportId = 0;
|
|
|
+ var userId = $("#userId").val();
|
|
|
$.ajax({
|
|
|
url: '/home/home/queryRibaoRefresh',
|
|
|
data: {
|
|
|
- reportId: reportId
|
|
|
+ reportId: reportId,
|
|
|
+ userCreate: userId
|
|
|
},
|
|
|
type: 'GET',
|
|
|
success: function (data) {
|
|
@@ -651,7 +653,7 @@ function ribao_cell(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) + ";";
|
|
@@ -722,151 +724,195 @@ function ribao_add() {
|
|
|
$('#notOpenRibao')[0].style.display = '';
|
|
|
$('#ribao')[0].style.display = 'none';
|
|
|
}
|
|
|
+ //基本情况
|
|
|
+ $("input[name='checkbox1']").removeAttr("checked");
|
|
|
+ $("input[name='checkbox2']").removeAttr("checked");
|
|
|
+ $("input[name='checkbox3']").removeAttr("checked");
|
|
|
+ $("input[name='checkbox4']").removeAttr("checked");
|
|
|
+ $("input[name='checkbox5']").removeAttr("checked");
|
|
|
+ $("input[name='checkbox6']").removeAttr("checked");
|
|
|
+ $("input[name='checkbox7']").removeAttr("checked");
|
|
|
|
|
|
- var userId = $("#userId").val();
|
|
|
- //获取用户家人
|
|
|
- $.ajax({
|
|
|
- url: '/home/selectAddSuspected',
|
|
|
- get: "get",
|
|
|
- data: {
|
|
|
- "userCreate": userId
|
|
|
- },
|
|
|
- success: function (data) {
|
|
|
- if (data != null || data != '') {
|
|
|
- //存在
|
|
|
- var suspected = data;
|
|
|
- $("#js_input_user_sex").val(getGreder(suspected.grender));
|
|
|
- $("#js_input_user_sex").attr("data-values", suspected.grender);
|
|
|
- $("#js_input_user_name").val(suspected.userName);
|
|
|
- $("#js_input_user_age").val(suspected.age);
|
|
|
- //基本情况
|
|
|
- if (suspected.familyStatus != "") {
|
|
|
- var familyStatusList = suspected.familyStatus.split(",");
|
|
|
- if (familyStatusList[0] == 1)
|
|
|
- $("input[name='checkbox1']").prop("checked", "checked");
|
|
|
- else
|
|
|
- $("input[name='checkbox1']").removeAttr("checked");
|
|
|
- if (familyStatusList[1] == 1)
|
|
|
- $("input[name='checkbox2']").prop("checked", "checked");
|
|
|
- else
|
|
|
- $("input[name='checkbox2']").removeAttr("checked");
|
|
|
- if (familyStatusList[2] == 1)
|
|
|
- $("input[name='checkbox3']").prop("checked", "checked");
|
|
|
- else
|
|
|
- $("input[name='checkbox3']").removeAttr("checked");
|
|
|
- if (familyStatusList[3] == 1)
|
|
|
- $("input[name='checkbox4']").prop("checked", "checked");
|
|
|
- else
|
|
|
- $("input[name='checkbox4']").removeAttr("checked");
|
|
|
- if (familyStatusList[4] == 1)
|
|
|
- $("input[name='checkbox5']").prop("checked", "checked");
|
|
|
- else
|
|
|
- $("input[name='checkbox5']").removeAttr("checked");
|
|
|
- if (familyStatusList[5] == 1)
|
|
|
- $("input[name='checkbox6']").prop("checked", "checked");
|
|
|
- else
|
|
|
- $("input[name='checkbox6']").removeAttr("checked");
|
|
|
- if (familyStatusList[6] == 1)
|
|
|
- $("input[name='checkbox7']").prop("checked", "checked");
|
|
|
- else
|
|
|
- $("input[name='checkbox7']").removeAttr("checked");
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- $("#switchQuezhen").val(getMedical(suspected.medical));
|
|
|
- $("#switchQuezhen").attr("data-values", suspected.medical);
|
|
|
+ $("#switchQuezhen").val(getMedical(0));
|
|
|
+ $("#switchQuezhen").attr("data-values", 0);
|
|
|
|
|
|
- $("#switchDanjiangeli").val(getSingleRoom(suspected.singleRoom));
|
|
|
- $("#switchDanjiangeli").attr("data-values", suspected.singleRoom);
|
|
|
+ $("#switchDanjiangeli").val(getSingleRoom(0));
|
|
|
+ $("#switchDanjiangeli").attr("data-values", 0);
|
|
|
|
|
|
- $("#js_input_user_tiwen").val(suspected.temperature);
|
|
|
+ $("#js_input_user_tiwen").val(0);
|
|
|
|
|
|
- $("#js_input_user_kesou").val(getCough(suspected.cough));
|
|
|
- $("#js_input_user_kesou").attr("data-values", suspected.cough);
|
|
|
+ $("#js_input_user_kesou").val(getCough(0));
|
|
|
+ $("#js_input_user_kesou").attr("data-values", 0);
|
|
|
|
|
|
- $("#js_input_user_jirou").val(getMuscle(suspected.muscle));
|
|
|
- $("#js_input_user_jirou").attr("data-values", suspected.muscle);
|
|
|
+ $("#js_input_user_jirou").val(getMuscle(0));
|
|
|
+ $("#js_input_user_jirou").attr("data-values", 0);
|
|
|
|
|
|
- $("#js_input_user_huxi").val(getDyspnea(suspected.dyspnea));
|
|
|
- $("#js_input_user_huxi").attr("data-values", suspected.dyspnea);
|
|
|
+ $("#js_input_user_huxi").val(getDyspnea(0));
|
|
|
+ $("#js_input_user_huxi").attr("data-values", 0);
|
|
|
|
|
|
- $("#js_input_user_fali").val(getFatigue(suspected.fatigue));
|
|
|
- $("#js_input_user_fali").attr("data-values", suspected.fatigue);
|
|
|
+ $("#js_input_user_fali").val(getFatigue(0));
|
|
|
+ $("#js_input_user_fali").attr("data-values", 0);
|
|
|
|
|
|
- $("#js_input_user_fuxie").val(getDiarrhea(suspected.diarrhea));
|
|
|
- $("#js_input_user_fuxie").attr("data-values", suspected.diarrhea);
|
|
|
+ $("#js_input_user_fuxie").val(getDiarrhea(0));
|
|
|
+ $("#js_input_user_fuxie").attr("data-values", 0);
|
|
|
|
|
|
- $("#shuruqita").val(suspected.others);
|
|
|
- $("#js_input_score_rezult").val(getScoreRezult(suspected.scoreRezult, suspected.temperatureScore));
|
|
|
- $("#js_input_score_rezult_value").val(suspected.scoreRezult);
|
|
|
- $("#js_input_temperature_score").val(suspected.temperatureScore);
|
|
|
- $("#js_input_score_histroy").val(suspected.scoreHistroy);
|
|
|
- $("#js_input_score").val(suspected.score);
|
|
|
|
|
|
- $("#js_input_sf").val(getIsTrip(0));
|
|
|
- $("#js_input_sf").attr("data-values", 0);
|
|
|
- $('#none')[0].style.display = 'none';
|
|
|
- }
|
|
|
- else {
|
|
|
- //基本情况
|
|
|
- $("input[name='checkbox1']").removeAttr("checked");
|
|
|
- $("input[name='checkbox2']").removeAttr("checked");
|
|
|
- $("input[name='checkbox3']").removeAttr("checked");
|
|
|
- $("input[name='checkbox4']").removeAttr("checked");
|
|
|
- $("input[name='checkbox5']").removeAttr("checked");
|
|
|
- $("input[name='checkbox6']").removeAttr("checked");
|
|
|
- $("input[name='checkbox7']").removeAttr("checked");
|
|
|
-
|
|
|
- $("#switchQuezhen").val(getMedical(0));
|
|
|
- $("#switchQuezhen").attr("data-values", 0);
|
|
|
-
|
|
|
- $("#switchDanjiangeli").val(getSingleRoom(0));
|
|
|
- $("#switchDanjiangeli").attr("data-values", 0);
|
|
|
-
|
|
|
- $("#js_input_user_tiwen").val(0);
|
|
|
-
|
|
|
- $("#js_input_user_kesou").val(getCough(0));
|
|
|
- $("#js_input_user_kesou").attr("data-values", 0);
|
|
|
-
|
|
|
- $("#js_input_user_jirou").val(getMuscle(0));
|
|
|
- $("#js_input_user_jirou").attr("data-values", 0);
|
|
|
-
|
|
|
- $("#js_input_user_huxi").val(getDyspnea(0));
|
|
|
- $("#js_input_user_huxi").attr("data-values", 0);
|
|
|
-
|
|
|
- $("#js_input_user_fali").val(getFatigue(0));
|
|
|
- $("#js_input_user_fali").attr("data-values", 0);
|
|
|
-
|
|
|
- $("#js_input_user_fuxie").val(getDiarrhea(0));
|
|
|
- $("#js_input_user_fuxie").attr("data-values", 0);
|
|
|
-
|
|
|
-
|
|
|
- // $("#js_input_cxfs").empty();
|
|
|
- // $("#js_input_cfd").empty();
|
|
|
- // $("#js_input_mdd").empty();
|
|
|
- // $('#js_input_cxfsq').val("");
|
|
|
- // $('#js_input_cfdq').val("");
|
|
|
- // $('#js_input_mddq').val("");
|
|
|
- // listcx.splice(0,listcx.length);
|
|
|
- // $('#tabtr').empty();
|
|
|
- // $("#js_input_qtdd").val("");
|
|
|
- // $("#js_input_jrszq").val("");
|
|
|
- // $("#js_input_sf").val("");
|
|
|
- $("#js_input_sf").val(getIsTrip(0));
|
|
|
- $("#js_input_sf").attr("data-values", 0);
|
|
|
- $('#none')[0].style.display = 'none';
|
|
|
- $('#tabtr').empty();
|
|
|
- // $("#suspectedId").val("");
|
|
|
- // $("#js_input_gzzd").val("");
|
|
|
- // $("#js_input_jrszd").val("");
|
|
|
- // $('#js_input_mddq').attr("disabled","disabled");
|
|
|
- // $('#js_input_jrszq').attr("disabled","disabled");
|
|
|
- // $('#js_input_qtdd').attr("disabled","disabled");
|
|
|
- // $('#js_input_cfdq').attr("disabled","disabled");
|
|
|
-
|
|
|
- }
|
|
|
- },
|
|
|
- });
|
|
|
+ $("#js_input_sf").val(getIsTrip(0));
|
|
|
+ $("#js_input_sf").attr("data-values", 0);
|
|
|
+ $('#none')[0].style.display = 'none';
|
|
|
+ $('#tabtr').empty();
|
|
|
+ // $("#suspectedId").val("");
|
|
|
+ // $("#js_input_gzzd").val("");
|
|
|
+ // $("#js_input_jrszd").val("");
|
|
|
+ // $('#js_input_mddq').attr("disabled","disabled");
|
|
|
+ // $('#js_input_jrszq').attr("disabled","disabled");
|
|
|
+ // $('#js_input_qtdd').attr("disabled","disabled");
|
|
|
+ // $('#js_input_cfdq').attr("disabled","disabled");
|
|
|
+
|
|
|
+ // var userId = $("#userId").val();
|
|
|
+ // //获取用户家人
|
|
|
+ // $.ajax({
|
|
|
+ // url: '/home/selectAddSuspected',
|
|
|
+ // get: "get",
|
|
|
+ // data: {
|
|
|
+ // "userCreate": userId
|
|
|
+ // },
|
|
|
+ // success: function (data) {
|
|
|
+ // if (data != null || data != '') {
|
|
|
+ // //存在
|
|
|
+ // var suspected = data;
|
|
|
+ // $("#js_input_user_sex").val(getGreder(suspected.grender));
|
|
|
+ // $("#js_input_user_sex").attr("data-values", suspected.grender);
|
|
|
+ // $("#js_input_user_name").val(suspected.userName);
|
|
|
+ // $("#js_input_user_age").val(suspected.age);
|
|
|
+ // //基本情况
|
|
|
+ // if (suspected.familyStatus != "") {
|
|
|
+ // var familyStatusList = suspected.familyStatus.split(",");
|
|
|
+ // if (familyStatusList[0] == 1)
|
|
|
+ // $("input[name='checkbox1']").prop("checked", "checked");
|
|
|
+ // else
|
|
|
+ // $("input[name='checkbox1']").removeAttr("checked");
|
|
|
+ // if (familyStatusList[1] == 1)
|
|
|
+ // $("input[name='checkbox2']").prop("checked", "checked");
|
|
|
+ // else
|
|
|
+ // $("input[name='checkbox2']").removeAttr("checked");
|
|
|
+ // if (familyStatusList[2] == 1)
|
|
|
+ // $("input[name='checkbox3']").prop("checked", "checked");
|
|
|
+ // else
|
|
|
+ // $("input[name='checkbox3']").removeAttr("checked");
|
|
|
+ // if (familyStatusList[3] == 1)
|
|
|
+ // $("input[name='checkbox4']").prop("checked", "checked");
|
|
|
+ // else
|
|
|
+ // $("input[name='checkbox4']").removeAttr("checked");
|
|
|
+ // if (familyStatusList[4] == 1)
|
|
|
+ // $("input[name='checkbox5']").prop("checked", "checked");
|
|
|
+ // else
|
|
|
+ // $("input[name='checkbox5']").removeAttr("checked");
|
|
|
+ // if (familyStatusList[5] == 1)
|
|
|
+ // $("input[name='checkbox6']").prop("checked", "checked");
|
|
|
+ // else
|
|
|
+ // $("input[name='checkbox6']").removeAttr("checked");
|
|
|
+ // if (familyStatusList[6] == 1)
|
|
|
+ // $("input[name='checkbox7']").prop("checked", "checked");
|
|
|
+ // else
|
|
|
+ // $("input[name='checkbox7']").removeAttr("checked");
|
|
|
+ //
|
|
|
+ // }
|
|
|
+ //
|
|
|
+ // $("#switchQuezhen").val(getMedical(suspected.medical));
|
|
|
+ // $("#switchQuezhen").attr("data-values", suspected.medical);
|
|
|
+ //
|
|
|
+ // $("#switchDanjiangeli").val(getSingleRoom(suspected.singleRoom));
|
|
|
+ // $("#switchDanjiangeli").attr("data-values", suspected.singleRoom);
|
|
|
+ //
|
|
|
+ // $("#js_input_user_tiwen").val(suspected.temperature);
|
|
|
+ //
|
|
|
+ // $("#js_input_user_kesou").val(getCough(suspected.cough));
|
|
|
+ // $("#js_input_user_kesou").attr("data-values", suspected.cough);
|
|
|
+ //
|
|
|
+ // $("#js_input_user_jirou").val(getMuscle(suspected.muscle));
|
|
|
+ // $("#js_input_user_jirou").attr("data-values", suspected.muscle);
|
|
|
+ //
|
|
|
+ // $("#js_input_user_huxi").val(getDyspnea(suspected.dyspnea));
|
|
|
+ // $("#js_input_user_huxi").attr("data-values", suspected.dyspnea);
|
|
|
+ //
|
|
|
+ // $("#js_input_user_fali").val(getFatigue(suspected.fatigue));
|
|
|
+ // $("#js_input_user_fali").attr("data-values", suspected.fatigue);
|
|
|
+ //
|
|
|
+ // $("#js_input_user_fuxie").val(getDiarrhea(suspected.diarrhea));
|
|
|
+ // $("#js_input_user_fuxie").attr("data-values", suspected.diarrhea);
|
|
|
+ //
|
|
|
+ // $("#shuruqita").val(suspected.others);
|
|
|
+ // $("#js_input_score_rezult").val(getScoreRezult(suspected.scoreRezult, suspected.temperatureScore));
|
|
|
+ // $("#js_input_score_rezult_value").val(suspected.scoreRezult);
|
|
|
+ // $("#js_input_temperature_score").val(suspected.temperatureScore);
|
|
|
+ // $("#js_input_score_histroy").val(suspected.scoreHistroy);
|
|
|
+ // $("#js_input_score").val(suspected.score);
|
|
|
+ //
|
|
|
+ // $("#js_input_sf").val(getIsTrip(0));
|
|
|
+ // $("#js_input_sf").attr("data-values", 0);
|
|
|
+ // $('#none')[0].style.display = 'none';
|
|
|
+ // }
|
|
|
+ // else {
|
|
|
+ // //基本情况
|
|
|
+ // $("input[name='checkbox1']").removeAttr("checked");
|
|
|
+ // $("input[name='checkbox2']").removeAttr("checked");
|
|
|
+ // $("input[name='checkbox3']").removeAttr("checked");
|
|
|
+ // $("input[name='checkbox4']").removeAttr("checked");
|
|
|
+ // $("input[name='checkbox5']").removeAttr("checked");
|
|
|
+ // $("input[name='checkbox6']").removeAttr("checked");
|
|
|
+ // $("input[name='checkbox7']").removeAttr("checked");
|
|
|
+ //
|
|
|
+ // $("#switchQuezhen").val(getMedical(0));
|
|
|
+ // $("#switchQuezhen").attr("data-values", 0);
|
|
|
+ //
|
|
|
+ // $("#switchDanjiangeli").val(getSingleRoom(0));
|
|
|
+ // $("#switchDanjiangeli").attr("data-values", 0);
|
|
|
+ //
|
|
|
+ // $("#js_input_user_tiwen").val(0);
|
|
|
+ //
|
|
|
+ // $("#js_input_user_kesou").val(getCough(0));
|
|
|
+ // $("#js_input_user_kesou").attr("data-values", 0);
|
|
|
+ //
|
|
|
+ // $("#js_input_user_jirou").val(getMuscle(0));
|
|
|
+ // $("#js_input_user_jirou").attr("data-values", 0);
|
|
|
+ //
|
|
|
+ // $("#js_input_user_huxi").val(getDyspnea(0));
|
|
|
+ // $("#js_input_user_huxi").attr("data-values", 0);
|
|
|
+ //
|
|
|
+ // $("#js_input_user_fali").val(getFatigue(0));
|
|
|
+ // $("#js_input_user_fali").attr("data-values", 0);
|
|
|
+ //
|
|
|
+ // $("#js_input_user_fuxie").val(getDiarrhea(0));
|
|
|
+ // $("#js_input_user_fuxie").attr("data-values", 0);
|
|
|
+ //
|
|
|
+ //
|
|
|
+ // // $("#js_input_cxfs").empty();
|
|
|
+ // // $("#js_input_cfd").empty();
|
|
|
+ // // $("#js_input_mdd").empty();
|
|
|
+ // // $('#js_input_cxfsq').val("");
|
|
|
+ // // $('#js_input_cfdq').val("");
|
|
|
+ // // $('#js_input_mddq').val("");
|
|
|
+ // // listcx.splice(0,listcx.length);
|
|
|
+ // // $('#tabtr').empty();
|
|
|
+ // // $("#js_input_qtdd").val("");
|
|
|
+ // // $("#js_input_jrszq").val("");
|
|
|
+ // // $("#js_input_sf").val("");
|
|
|
+ // $("#js_input_sf").val(getIsTrip(0));
|
|
|
+ // $("#js_input_sf").attr("data-values", 0);
|
|
|
+ // $('#none')[0].style.display = 'none';
|
|
|
+ // $('#tabtr').empty();
|
|
|
+ // // $("#suspectedId").val("");
|
|
|
+ // // $("#js_input_gzzd").val("");
|
|
|
+ // // $("#js_input_jrszd").val("");
|
|
|
+ // // $('#js_input_mddq').attr("disabled","disabled");
|
|
|
+ // // $('#js_input_jrszq').attr("disabled","disabled");
|
|
|
+ // // $('#js_input_qtdd').attr("disabled","disabled");
|
|
|
+ // // $('#js_input_cfdq').attr("disabled","disabled");
|
|
|
+ //
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // });
|
|
|
|
|
|
});
|
|
|
}
|
|
@@ -874,25 +920,25 @@ function ribao_add() {
|
|
|
function ribao_cancel() {
|
|
|
$('#cancel').on('click', function () {
|
|
|
|
|
|
- listcx.splice(0, listcx.length);
|
|
|
- $('#tabtr').empty();
|
|
|
- $("#js_input_cfd").val("");
|
|
|
- $("#js_input_cfd").attr("data-values", "");
|
|
|
- $("#js_input_mdd").val("");
|
|
|
- $("#js_input_mdd").attr("data-values", "");
|
|
|
- $("#js_input_cxfs").val("");
|
|
|
- $("#js_input_cxfs").attr("data-values", "");
|
|
|
- $("#js_input_gzzd").val("");
|
|
|
- $("#js_input_gzzd").attr("data-values", "");
|
|
|
- $("#js_input_jrszd").val("");
|
|
|
- $("#js_input_jrszd").attr("data-values", "");
|
|
|
- $("#js_input_sf").val("");
|
|
|
- $("#js_input_sf").attr("data-values", "");
|
|
|
- $("#js_input_qtdd").val("");
|
|
|
- $("#js_input_jrszq").val("");
|
|
|
- $("#js_input_cfdq").val("");
|
|
|
- $("#js_input_mddq").val("");
|
|
|
- $("#js_input_cxfsq").val("");
|
|
|
+ listcx.splice(0, listcx.length);
|
|
|
+ $('#tabtr').empty();
|
|
|
+ $("#js_input_cfd").val("");
|
|
|
+ $("#js_input_cfd").attr("data-values", "");
|
|
|
+ $("#js_input_mdd").val("");
|
|
|
+ $("#js_input_mdd").attr("data-values", "");
|
|
|
+ $("#js_input_cxfs").val("");
|
|
|
+ $("#js_input_cxfs").attr("data-values", "");
|
|
|
+ $("#js_input_gzzd").val("");
|
|
|
+ $("#js_input_gzzd").attr("data-values", "");
|
|
|
+ $("#js_input_jrszd").val("");
|
|
|
+ $("#js_input_jrszd").attr("data-values", "");
|
|
|
+ $("#js_input_sf").val("");
|
|
|
+ $("#js_input_sf").attr("data-values", "");
|
|
|
+ $("#js_input_qtdd").val("");
|
|
|
+ $("#js_input_jrszq").val("");
|
|
|
+ $("#js_input_cfdq").val("");
|
|
|
+ $("#js_input_mddq").val("");
|
|
|
+ $("#js_input_cxfsq").val("");
|
|
|
|
|
|
|
|
|
if ($('#ribao')[0].style.display == 'none') {
|
|
@@ -907,11 +953,11 @@ function ribao_cancel() {
|
|
|
}
|
|
|
|
|
|
function ribaoCommit() {
|
|
|
- var sf = $("#js_input_sf").attr("data-values") == undefined ? 3 : $("#js_input_sf").attr("data-values");
|
|
|
- if(listcx.length == 0 && sf == 1){
|
|
|
- $.alert("请添加出行");
|
|
|
- return;
|
|
|
- }
|
|
|
+ var sf = $("#js_input_sf").attr("data-values") == undefined ? 3 : $("#js_input_sf").attr("data-values");
|
|
|
+ if (listcx.length == 0 && sf == 1) {
|
|
|
+ $.alert("请添加出行");
|
|
|
+ return;
|
|
|
+ }
|
|
|
var suspectedId = $("#suspectedId").val();
|
|
|
var userId = $("#userId").val();
|
|
|
var userName = $("#js_input_user_name").val();
|
|
@@ -1357,7 +1403,7 @@ 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) + ";";
|
|
@@ -1502,12 +1548,19 @@ function getFatigue(fatigue) {
|
|
|
|
|
|
function getMedical(medical) {
|
|
|
if (medical == 0)
|
|
|
- return "否";
|
|
|
+ return "无";
|
|
|
else if (medical == 1)
|
|
|
- return "是";
|
|
|
+ return "新冠确诊";
|
|
|
+ else if (medical == 2)
|
|
|
+ return "新冠疑似";
|
|
|
+ else if (medical == 3)
|
|
|
+ return "密切接触者";
|
|
|
+ else if (medical == 4)
|
|
|
+ return "解除观察";
|
|
|
return "";
|
|
|
}
|
|
|
|
|
|
+
|
|
|
function getSingleRoom(singleRoom) {
|
|
|
if (singleRoom == 0)
|
|
|
return "否";
|
|
@@ -1623,6 +1676,17 @@ function clearShow() {
|
|
|
$("#js_input_temperature_score").val("");
|
|
|
$("#js_input_score_histroy").val("");
|
|
|
$("#js_input_score").val("");
|
|
|
+
|
|
|
+ //出行
|
|
|
+ $("#js_input_gzzd").val("");
|
|
|
+ $("#js_input_gzzd").attr("data-values", "");
|
|
|
+ $("#js_input_qtdd").val("");
|
|
|
+ $("#js_input_jrszd").val("");
|
|
|
+ $("#js_input_jrszd").attr("data-values", "");
|
|
|
+ $("#js_input_jrszq").val("");
|
|
|
+ $("#js_input_sf").val(getIsTrip(0));
|
|
|
+ $("#js_input_sf").attr("data-values", 0);
|
|
|
+ $('#none')[0].style.display = 'none';
|
|
|
}
|
|
|
|
|
|
//健康评估
|