123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146 |
- Vue.component('fangshi-detail-6', {
- template: '<div class="mt40">\
- <button class="button" @click="editBtn()"> </button>\
- <p class="c-f20 mb10" style="text-align: center;">新生儿家庭访视记录表</p>\
- <div class="ui-grid p10 setradio">\
- <div class="ui-col-1">\
- <div class="ui-grid">\
- <div class="ui-col-0">姓名:</div>\
- <div class="ui-col-1">\
- <el-input :readonly="!editable" v-model="newbornData.sick_NAME" placeholder="" clearable></el-input>\
- </div>\
- </div>\
- </div>\
- <div class="ui-col-1">\
- <div class="ui-grid">\
- <div class="ui-col-0">户籍: </div>\
- <div class="ui-col-1">\
- <el-radio-group v-model="newbornData.help_ORGANIZATION_FLAG" :disabled="!editable">\
- <el-radio label="1" :disabled="!editable">本市</el-radio>\
- <el-radio label="2" :disabled="!editable">省内</el-radio>\
- <el-radio label="3" :disabled="!editable">省外</el-radio>\
- </el-radio-group>\
- </div>\
- </div>\
- </div>\
- <div class="ui-col-1">\
- <div class="ui-grid">\
- <div class="ui-col-0">卡号:</div>\
- <div class="ui-col-1">\
- <el-input :readonly="!editable" v-model="newbornData.number_NO" placeholder="" clearable></el-input>\
- </div>\
- </div>\
- </div>\
- </div>\
- <table class="table table-bordered">\
- <tr>\
- <td class="col-w120 c-t-center">性别</td>\
- <td>\
- <el-radio-group v-model="newbornData.sick_SEX">\
- <div>\
- <el-radio :disabled="!editable" label="0">未知的性别</el-radio>\
- <el-radio :disabled="!editable" label="1">男</el-radio>\
- </div>\
- <div class="mt10">\
- <el-radio :disabled="!editable" label="2">女</el-radio>\
- <el-radio :disabled="!editable" label="9">未说明的性别</el-radio>\
- </div>\
- </el-radio-group>\
- </td>\
- <td colspan="2">\
- <div class="ui-grid">\
- <div class="ui-col-0">\
- 出生日期:\
- </div>\
- <div class="ui-col-1">\
- <el-date-picker :readonly="!editable" v-model="newbornData.birthday" type="date" placeholder="选择日期">\
- </el-date-picker>\
- </div>\
- </div>\
- </td>\
- <td>\
- <div class="ui-grid">\
- <div class="ui-col-0">\
- 户籍地址:\
- </div>\
- <div class="ui-col-1">\
- <el-input :readonly="!editable" v-model="newbornData.permanent_RESIDENCE_ADDRESS" placeholder="" clearable></el-input>\
- </div>\
- </div>\
- </td>\
- </tr>\
- <tr>\
- <td class="col-w120 c-t-center">母亲身份证号</td>\
- <td>\
- <el-input :readonly="!editable" v-model="newbornData.mother_IDENTITY_CARD_NO" placeholder="" clearable></el-input>\
- </td>\
- <td class="c-t-center">家庭住址</td>\
- <td colspan="2">\
- <el-input :readonly="!editable" v-model="newbornData.mother_ADDRESS" placeholder="" clearable></el-input>\
- </td>\
- </tr>\
- <tr>\
- <td class="col-w120 c-t-center">母 亲</td>\
- <td>\
- <div class="ui-grid">\
- <div class="ui-col-0">\
- 姓名\
- </div>\
- <div class="ui-col-1">\
- <el-input :readonly="!editable" v-model="newbornData.mother_NAME" placeholder="" clearable></el-input>\
- </div>\
- </div>\
- </td>\
- <td>\
- <div class="ui-grid">\
- <div class="ui-col-0">\
- 职业\
- </div>\
- <div class="ui-col-1">\
- <el-input :readonly="!editable" v-model="newbornData.mother_OCCUPATION" placeholder="" clearable></el-input>\
- </div>\
- </div>\
- </td>\
- <td>\
- <div class="ui-grid">\
- <div class="ui-col-0">\
- 联系电话\
- </div>\
- <div class="ui-col-1">\
- <el-input type="number" :readonly="!editable" v-model="newbornData.mother_PHONE" placeholder=""></el-input>\
- </div>\
- </div>\
- </td>\
- <td>\
- <div class="ui-grid">\
- <div class="ui-col-0">\
- 出生日期\
- </div>\
- <div class="ui-col-1">\
- <el-date-picker :readonly="!editable" v-model="newbornData.mother_BIRTHDAY" type="date" placeholder="选择日期">\
- </el-date-picker>\
- </div>\
- </div>\
- </td>\
- </tr>\
- <tr>\
- <td class="col-w120 c-t-center">父 亲</td>\
- <td>\
- <div class="ui-grid">\
- <div class="ui-col-0">\
- 姓名\
- </div>\
- <div class="ui-col-1">\
- <el-input :readonly="!editable" v-model="newbornData.father_NAME" placeholder="" clearable></el-input>\
- </div>\
- </div>\
- </td>\
- <td>\
- <div class="ui-grid">\
- <div class="ui-col-0">\
- 职业\
- </div>\
- <div class="ui-col-1">\
- <el-input :readonly="!editable" v-model="newbornData.father_OCCUPATION" placeholder="" clearable></el-input>\
- </div>\
- </div>\
- </td>\
- <td>\
- <div class="ui-grid">\
- <div class="ui-col-0">\
- 联系电话\
- </div>\
- <div class="ui-col-1">\
- <el-input type="number" :readonly="!editable" v-model="newbornData.father_PHONE"></el-input>\
- </div>\
- </div>\
- </td>\
- <td>\
- <div class="ui-grid">\
- <div class="ui-col-0">\
- 出生日期\
- </div>\
- <div class="ui-col-1">\
- <el-date-picker :readonly="!editable" v-model="newbornData.father_BIRTHDAY" type="date" placeholder="选择日期">\
- </el-date-picker>\
- </div>\
- </div>\
- </td>\
- </tr>\
- <tr>\
- <td colspan="2" class="setinput c-t-center">出生孕周\
- <el-input style="width:70px;" type="number" :readonly="!editable" v-model="newbornData.birth_PREGNANCY_WEEK"></el-input>\
- 周\
- </td>\
- <td colspan="3">\
- <div class="ui-grid">\
- <div class="ui-col-0">\
- 母亲妊娠期患病情况:\
- </div>\
- <div class="ui-col-1">\
- <el-radio-group v-model="newbornData.pregnancy_SICK">\
- <el-radio :disabled="!editable" label="1">糖尿病</el-radio>\
- <el-radio :disabled="!editable" label="2">妊娠期高血压</el-radio>\
- <el-radio :disabled="!editable" label="4" class="setinput">其他\
- <el-input type="text" :readonly="pregnancy_SICK_CIRCS_other||!editable" v-model="newbornData.pregnancy_SICK_CIRCS" clearable></el-input>\
- </el-radio>\
- </el-radio-group>\
- </div>\
- </div>\
- </td>\
- </tr>\
- <tr>\
- <td class="col-w120 c-t-center setinput">助产机构名称:\
- <el-input style="width:120px;" type="text" :readonly="!editable" v-model="newbornData.help_ORGANIZATION_NAME" clearable></el-input>\
- </td>\
- <td class="c-t-center">\
- 出院时间\
- <div class="setPicker">\
- <el-date-picker :readonly="!editable" v-model="newbornData.discharged_DATE" type="date" value-format="yyyy-MM-dd" placeholder="选择日期">\
- </el-date-picker>\
- </div>\
- </td>\
- <td colspan="2">\
- 出生情况:\
- <el-checkbox-group v-model="delivery_WAY_check" :disabled="!editable">\
- <el-checkbox style="margin-left: 30px;" label="1">顺产</el-checkbox>\
- <el-checkbox label="2">胎头吸引</el-checkbox>\
- <el-checkbox label="3">产钳</el-checkbox>\
- <el-checkbox label="4">剖宫</el-checkbox>\
- <el-checkbox label="5">双多胎</el-checkbox>\
- <el-checkbox label="6">臀位</el-checkbox>\
- <el-checkbox class="setinput" label="7">\
- <el-input type="text" :readonly="birth_OTHER||!editable" v-model="newbornData.birth_OTHER" placeholder="其他" clearable></el-input>\
- </el-checkbox>\
- </el-checkbox-group>\
- </td>\
- <td>\
- 新生儿窒息:\
- <el-radio-group v-model="newbornData.suffocation" :disabled="!editable">\
- <el-radio :disabled="!editable" label="1">无</el-radio>\
- <el-radio :disabled="!editable" label="2">有</el-radio>\
- </el-radio-group>\
- <div class="setinput">\
- (Apgar 评分:1分钟\
- <el-input style="width:70px;" type="number" :readonly="!editable" v-model="newbornData.apgar_O"></el-input>分,5分钟\
- <el-input style="width:70px;" type="number" :readonly="!editable" v-model="newbornData.apgar_F"></el-input>分,不详\
- <el-input style="width:70px;" type="number" :readonly="!editable" v-model="newbornData.apgar_N"></el-input>)\
- </div>\
- </td>\
- </tr>\
- <tr>\
- <td colspan="2" class="c-t-center">新生儿病史:\
- <el-input :readonly="!editable" v-model="newbornData.blessedevent_MEDICAL_HISTORY" placeholder="" clearable></el-input>\
- </td>\
- <td class="c-t-center">诊治机构:\
- <el-input :readonly="!editable" v-model="newbornData.help_OUT_ORGANIZATION" placeholder="" clearable></el-input>\
- </td>\
- <td colspan="2">计划免疫情况:\
- <el-radio-group v-model="newbornData.plan_IMMUNE">\
- <el-radio :disabled="!editable" label="1">卡介苗</el-radio>\
- <el-radio :disabled="!editable" label="2">乙肝疫苗</el-radio>\
- <el-radio :disabled="!editable" label="3">以上两种</el-radio>\
- <el-radio :disabled="!editable" label="4">未种</el-radio>\
- </el-radio-group>\
- </td>\
- </tr>\
- <tr>\
- <td colspan="2">\
- <div class="ui-grid">\
- <div class="ui-col-0">\
- 新生儿出生体重:\
- </div>\
- <div class="ui-col-1 setinput">\
- <el-input style="width: 70px;" type="number" :readonly="!editable" v-model="newbornData.blessedevent_BIRTH_WEIGHT" :step="0.1"></el-input>\
- kg\
- </div>\
- </div>\
- </td>\
- <td>\
- <div class="ui-grid">\
- <div class="ui-col-0">\
- 出生身长:\
- </div>\
- <div class="ui-col-1 setinput">\
- <el-input style="width: 70px;" type="number" :readonly="!editable" v-model="newbornData.birth_BODY_LENGTH"></el-input>cm\
- </div>\
- </div>\
- </td>\
- <td colspan="2">是否有畸形:\
- <el-radio-group :disabled="!editable" v-model="newbornData.deformity_NULL">\
- <el-radio :disabled="!editable" label="1">无</el-radio>\
- <el-radio :disabled="!editable" label="2">有</el-radio>\
- </el-radio-group>\
- </td>\
- </tr>\
- <tr>\
- <td class="c-t-center" colspan="5">\
- *********** 第二次访视以上八行信息不需要重复填写 ***********\
- </td>\
- </tr>\
- <tr>\
- <td colspan="5">\
- 新生儿疾病筛查:\
- <el-checkbox-group v-model="SCREENING_check" :disabled="!editable">\
- <el-checkbox label="1">未进行</el-checkbox>\
- <el-checkbox label="2">检查均阴性</el-checkbox>\
- <el-checkbox label="3">甲低</el-checkbox>\
- <el-checkbox label="4">苯丙酮尿症</el-checkbox>\
- <el-checkbox label="5" class="setinput">其他遗传代谢病\
- <el-input style="width: 100px;" type="text" :readonly="SCREENING_3_dis||!editable" v-model="newbornData.screening_ABNORMAL"\
- clearable></el-input>\
- </el-checkbox>\
- <el-checkbox label="6">已查无结果</el-checkbox>\
- </el-checkbox-group>\
- </td>\
- </tr>\
- <tr>\
- <td colspan="4">\
- 新生儿听力筛查:\
- <el-radio-group :disabled="!editable" v-model="newbornData.hearing">\
- <el-radio :disabled="!editable" label="1">通过</el-radio>\
- <el-radio :disabled="!editable" label="2">未通过</el-radio>\
- <el-radio :disabled="!editable" label="3">未筛查</el-radio>\
- <el-radio :disabled="!editable" label="4">不详</el-radio>\
- <el-radio :disabled="!editable" label="5">已查无结果</el-radio>\
- </el-radio-group>\
- </td>\
- <td colspan="1" class="setinput">\
- 目前体重\
- <el-input style="width: 70px;" type="number" :readonly="!editable" v-model="newbornData.now_WEIGHT"></el-input>\
- kg\
- </td>\
- </tr>\
- <tr>\
- <td colspan="3">\
- 喂养方式:\
- <el-radio-group :disabled="!editable" v-model="newbornData.feed_TYPE">\
- <el-radio :disabled="!editable" label="1">纯母乳</el-radio>\
- <el-radio :disabled="!editable" label="2">部分母乳</el-radio>\
- <el-radio :disabled="!editable" label="3">人工</el-radio>\
- </el-radio-group>\
- </td>\
- <td colspan="1" class="setinput">\
- 吃奶量\
- <el-input style="width: 70px;" type="number" :readonly="!editable" v-model="newbornData.eat_MILE_AMOUNT"></el-input> ml/次\
- </td>\
- <td colspan="1" class="setinput">\
- 吃奶次数\
- <el-input style="width: 70px;" type="number" :readonly="!editable" v-model="newbornData.eat_MILE_TIME"></el-input>次/日\
- </td>\
- </tr>\
- <tr>\
- <td colspan="3">\
- 呕吐:\
- <el-radio-group :disabled="!editable" v-model="newbornData.vomit">\
- <el-radio :disabled="!editable" v-model="radio" label="1">无</el-radio>\
- <el-radio :disabled="!editable" v-model="radio" label="2">有</el-radio>\
- </el-radio-group>\
- </td>\
- <td colspan="1">\
- 大便:\
- <el-radio-group :disabled="!editable" v-model="newbornData.vulnus">\
- <el-radio :disabled="!editable" v-model="radio" label="1">糊状</el-radio>\
- <el-radio :disabled="!editable" v-model="radio" label="2">稀</el-radio>\
- <el-radio :disabled="!editable" v-model="radio" label="3">其他</el-radio>\
- </el-radio-group>\
- </td>\
- <td colspan="1" class="setinput">\
- 大便次数\
- <el-input style="width: 70px;" type="number" :readonly="!editable" v-model="newbornData.vulnus_TIME"></el-input> 次/日\
- </td>\
- </tr>\
- <tr>\
- <td colspan="3" class="setinput">\
- 体温:\
- <el-input style="width: 70px;" type="number" :readonly="!editable" v-model="newbornData.body_TEMPERATURE"></el-input>\
- ℃\
- </td>\
- <td colspan="1" class="setinput">\
- 心率:\
- <el-input style="width: 70px;" type="number" :readonly="!editable" v-model="newbornData.pulse_FREQUENCY"></el-input>\
- 次/分钟\
- </td>\
- <td colspan="1" class="setinput">\
- 呼吸频率\
- <el-input style="width: 70px;" type="number" :readonly="!editable" v-model="newbornData.breath_FREQUENCY"></el-input>\
- 次/分钟\
- </td>\
- </tr>\
- <tr>\
- <td colspan="3">面色:\
- <el-radio-group :disabled="!editable" v-model="newbornData.complexion">\
- <el-radio :disabled="!editable" label="1">红润</el-radio>\
- <el-radio :disabled="!editable" label="2">黄染</el-radio>\
- <el-radio :disabled="!editable" label="3" class="setinput">其他\
- <el-input style="width: 120px;" type="text" :readonly="complexion_NULL_dis||!editable" v-model="newbornData.complexion_NULL"\
- clearable></el-input>\
- </el-radio>\
- </el-radio-group>\
- </td>\
- <td colspan="2">黄疸部位:\
- <el-radio-group :disabled="!editable" v-model="newbornData.face">\
- <el-radio :disabled="!editable" label="1">面部</el-radio>\
- <el-radio :disabled="!editable" label="2">躯干</el-radio>\
- <el-radio :disabled="!editable" label="3">四肢</el-radio>\
- <el-radio :disabled="!editable" label="4">手足</el-radio>\
- </el-radio-group>\
- </td>\
- </tr>\
- <tr>\
- <td colspan="5" class="setinput">\
- 前囟\
- <el-input style="width: 70px;" type="number" :readonly="!editable" v-model="newbornData.bregma_FRONT"></el-input>\
- cm ✖\
- <el-input style="width: 70px;" type="number" :readonly="!editable" v-model="newbornData.bregma_BACK"></el-input> cm  \
- <el-radio-group :disabled="!editable" v-model="newbornData.bregma">\
- <el-radio :disabled="!editable" label="1">正常</el-radio>\
- <el-radio :disabled="!editable" label="2">膨隆</el-radio>\
- <el-radio :disabled="!editable" label="3">凹陷</el-radio>\
- <el-radio :disabled="!editable" label="4">其他\
- <el-input style="width: 120px;" type="text" :readonly="bregma_other_dis||!editable" v-model="newbornData.bregma_PERFORMANCE"\
- clearable></el-input>\
- </el-radio>\
- </el-radio-group>\
- </td>\
- </tr>\
- <tr>\
- <td class="table2Td" colspan="5">\
- <table class="table2">\
- <tr>\
- <td>眼外观:\
- <el-radio-group :disabled="!editable" v-model="newbornData.eye">\
- <el-radio :disabled="!editable" label="1">未见异常</el-radio>\
- <el-radio :disabled="!editable" label="2" class="setinput">异常\
- <el-input type="text" :readonly="eye_NULL_dis||!editable" v-model="newbornData.eye_NULL" clearable></el-input>\
- </el-radio>\
- </el-radio-group>\
- </td>\
- <td>四肢活动度:\
- <el-radio-group :disabled="!editable" v-model="newbornData.limbs">\
- <el-radio :disabled="!editable" label="1">未见异常</el-radio>\
- <el-radio :disabled="!editable" label="2" class="setinput">异常\
- <el-input type="text" :readonly="limbs_NULL_dis||!editable" v-model="newbornData.limbs_NULL" clearable></el-input>\
- </el-radio>\
- </el-radio-group>\
- </td>\
- </tr>\
- <tr>\
- <td>耳外观:\
- <el-radio-group :disabled="!editable" v-model="newbornData.ear">\
- <el-radio :disabled="!editable" label="1">未见异常</el-radio>\
- <el-radio :disabled="!editable" label="2" class="setinput">异常\
- <el-input type="text" :readonly="ear_FACE_dis||!editable" v-model="newbornData.ear_FACE" clearable></el-input>\
- </el-radio>\
- </el-radio-group>\
- </td>\
- <td>颈部包块:\
- <el-radio-group :disabled="!editable" v-model="newbornData.neck_PACK">\
- <el-radio :disabled="!editable" label="1">无</el-radio>\
- <el-radio :disabled="!editable" label="2" class="setinput">有\
- <el-input type="text" :readonly="neck_PACK_NULL_dis||!editable" v-model="newbornData.neck_PACK_NULL" clearable></el-input>\
- </el-radio>\
- </el-radio-group>\
- </td>\
- </tr>\
- <tr>\
- <td>鼻:\
- <el-radio-group :disabled="!editable" v-model="newbornData.nose">\
- <el-radio :disabled="!editable" label="1">未见异常</el-radio>\
- <el-radio :disabled="!editable" label="2" class="setinput">异常\
- <el-input type="text" :readonly="nose_PERFORMANCE_dis||!editable" v-model="newbornData.nose_PERFORMANCE" clearable></el-input>\
- </el-radio>\
- </el-radio-group>\
- </td>\
- <td>皮肤:\
- <el-radio-group :disabled="!editable" v-model="newbornData.skin">\
- <el-radio :disabled="!editable" label="1">未见异常</el-radio>\
- <el-radio :disabled="!editable" label="2">湿疹</el-radio>\
- <el-radio :disabled="!editable" label="3">糜烂</el-radio>\
- <el-radio :disabled="!editable" label="4" class="setinput">其他\
- <el-input type="text" :readonly="skin_PERFORMANCE_dis||!editable" v-model="newbornData.skin_PERFORMANCE" clearable></el-input>\
- </el-radio>\
- </el-radio-group>\
- </td>\
- </tr>\
- <tr>\
- <td>口腔:\
- <el-radio-group :disabled="!editable" v-model="newbornData.oral">\
- <el-radio :disabled="!editable" label="1">未见异常</el-radio>\
- <el-radio :disabled="!editable" label="2" class="setinput">异常\
- <el-input type="text" :readonly="oral_PERFORMANCE_dis||!editable" v-model="newbornData.oral_PERFORMANCE" clearable></el-input>\
- </el-radio>\
- </el-radio-group>\
- </td>\
- <td>肛门:\
- <el-radio-group :disabled="!editable" v-model="newbornData.anus">\
- <el-radio :disabled="!editable" label="1">未见异常</el-radio>\
- <el-radio :disabled="!editable" label="2" class="setinput">异常\
- <el-input type="text" :readonly="anus_PERFORMANCE_dis||!editable" v-model="newbornData.anus_PERFORMANCE" clearable></el-input>\
- </el-radio>\
- </el-radio-group>\
- </td>\
- </tr>\
- <tr>\
- <td>心肺听诊:\
- <el-radio-group :disabled="!editable" v-model="newbornData.heart">\
- <el-radio :disabled="!editable" label="1">未见异常</el-radio>\
- <el-radio :disabled="!editable" label="2" class="setinput">异常\
- <el-input type="text" :readonly="heart_PERFORMANCE_dis||!editable" v-model="newbornData.heart_PERFORMANCE" clearable></el-input>\
- </el-radio>\
- </el-radio-group>\
- </td>\
- <td>外生殖器:\
- <el-radio-group :disabled="!editable" v-model="newbornData.genitalia">\
- <el-radio :disabled="!editable" label="1">未见异常</el-radio>\
- <el-radio :disabled="!editable" label="2" class="setinput">异常\
- <el-input type="text" :readonly="genitalia_NULL_dis||!editable" v-model="newbornData.genitalia_NULL" clearable></el-input>\
- </el-radio>\
- </el-radio-group>\
- </td>\
- </tr>\
- <tr>\
- <td>腹部触诊:\
- <el-radio-group :disabled="!editable" v-model="newbornData.abdomen">\
- <el-radio :disabled="!editable" label="1">未见异常</el-radio>\
- <el-radio :disabled="!editable" label="2" class="setinput">异常\
- <el-input type="text" :readonly="abdomen_NULL_dis||!editable" v-model="newbornData.abdomen_NULL" clearable></el-input>\
- </el-radio>\
- </el-radio-group>\
- </td>\
- <td>脊柱:\
- <el-radio-group :disabled="!editable" v-model="newbornData.vertebral">\
- <el-radio :disabled="!editable" label="1">未见异常</el-radio>\
- <el-radio :disabled="!editable" label="2" class="setinput">异常\
- <el-input type="text" :readonly="vertebral_NULL_dis||!editable" v-model="newbornData.vertebral_NULL" clearable></el-input>\
- </el-radio>\
- </el-radio-group>\
- </td>\
- </tr>\
- <tr>\
- <td>脐带:\
- <el-radio-group :disabled="!editable" v-model="newbornData.umbilical">\
- <el-radio :disabled="!editable" v-model="radio" label="1">未脱</el-radio>\
- <el-radio :disabled="!editable" v-model="radio" label="2">脱落</el-radio>\
- <el-radio :disabled="!editable" v-model="radio" label="3">脐部有渗出</el-radio>\
- <el-radio :disabled="!editable" v-model="radio" label="4" class="setinput">其他\
- <el-input type="text" style="width:120px" :readonly="umbilical_NULL_dis||!editable" v-model="newbornData.umbilical_NULL" clearable></el-input>\
- </el-radio>\
- </el-radio-group>\
- </td>\
- <td class="setinput">\
- <div class="ui-grid">\
- <div class="ui-col-0">其他:</div>\
- <div class="ui-col-1">\
- <el-input type="text" :readonly="!editable" v-model="newbornData.other" clearable></el-input>\
- </div>\
- </div>\
- </td>\
- </tr>\
- </table>\
- </td>\
- </tr>\
- <tr>\
- <td colspan="5">\
- 转诊意见:\
- <el-radio-group :disabled="!editable" v-model="newbornData.referral">\
- <el-radio :disabled="!editable" v-model="radio" label="1">无</el-radio>\
- <el-radio :disabled="!editable" v-model="radio" label="2">有</el-radio>\
- </el-radio-group>\
- <div class="setinput ui-grid">\
- <div class="ui-col-0">\
- 原因:\
- </div>\
- <div class="ui-col-1">\
- <el-input type="text" :readonly="!editable" v-model="newbornData.referral_reason" clearable></el-input>\
- </div>\
- </div>\
- <div class="ui-grid">\
- <div class="ui-col-1 ui-grid setinput">\
- <div class="ui-col-0">\
- 机构:\
- </div>\
- <div class="ui-col-1">\
- <el-input type="text" :readonly="!editable" v-model="newbornData.organization_org_name" clearable></el-input>\
- </div>\
- </div>\
- <div class="ui-col-1 ui-grid setinput">\
- <div class="ui-col-0">\
- 科室:\
- </div>\
- <div class="ui-col-1">\
- <el-input type="text" :readonly="!editable" v-model="newbornData.organization" clearable></el-input>\
- </div>\
- </div>\
- </div>\
- </td>\
- </tr>\
- <tr>\
- <td colspan="5" class="setinput">\
- <div class="ui-grid">\
- <div class="ui-col-0">\
- 指导:\
- </div>\
- <div class="ui-col-1">\
- <el-checkbox-group v-model="guide_check" :disabled="!editable">\
- <el-checkbox label="1">喂养指导</el-checkbox>\
- <el-checkbox label="2">发育指导</el-checkbox>\
- <el-checkbox label="3">防病指导</el-checkbox>\
- <el-checkbox label="4">预防伤害指导</el-checkbox>\
- <el-checkbox label="5">口腔保健指导</el-checkbox>\
- <el-checkbox label="6">其他\
- <el-input type="text" :readonly="other_GUIDE_CONTENT_dis||!editable" v-model="newbornData.other_GUIDE_CONTENT" clearable></el-input>\
- </el-checkbox>\
- </el-checkbox-group>\
- </div>\
- </div>\
- </td>\
- </tr>\
- <tr>\
- <td colspan="2">\
- <div class="ui-grid">\
- <div class="ui-col-0">\
- 本次访视日期\
- </div>\
- <div class="ui-col-1">\
- <el-date-picker :readonly="!editable" v-model="newbornData.this_INTERVIEW_DATE" type="date" placeholder="选择日期">\
- </el-date-picker>\
- </div>\
- </div>\
- </td>\
- <td colspan="3">\
- <div class="ui-grid">\
- <div class="ui-col-0">\
- 下次随访地点\
- </div>\
- <div class="ui-col-1">\
- <el-input :readonly="!editable" v-model="newbornData.next_VISITING_ADDRESS" placeholder="" clearable></el-input>\
- </div>\
- </div>\
- </td>\
- </tr>\
- <tr>\
- <td colspan="2">\
- <div class="ui-grid">\
- <div class="ui-col-0">\
- 下次访视日期\
- </div>\
- <div class="ui-col-1">\
- <el-date-picker :readonly="!editable" v-model="newbornData.next_VISITING_DATE" type="date" placeholder="选择日期">\
- </el-date-picker>\
- </div>\
- </div>\
- </td>\
- <td colspan="3">\
- <div class="ui-grid">\
- <div class="ui-col-1 ui-grid setinput">\
- <div class="ui-col-0">\
- 随访医生签名:\
- </div>\
- <div class="ui-col-1">\
- <el-input type="text" :readonly="!editable" v-model="newbornData.visiting_DOCTOR" clearable></el-input>\
- </div>\
- </div>\
- <div class="ui-col-1 ui-grid setinput">\
- <div class="ui-col-0">\
- 家属确认签字:\
- </div>\
- <div class="ui-col-1">\
- <el-input type="text" :readonly="!editable" v-model="newbornData.family_SIGN" clearable></el-input>\
- </div>\
- </div>\
- </div>\
- </td>\
- </tr>\
- </table>\
- </div>',
- props: ['followupid', 'version'],
- data: function () {
- return {
- finishedStatus: null, //随访完成状态
- editable: false,
- isEditBtn: true,//是否是编辑按钮
- birth_OTHER: true,
- pregnancy_SICK_CIRCS_other: true,
- SCREENING_3_dis: true,
- bregma_other_dis: true,
- eye_NULL_dis: true,
- limbs_NULL_dis: true,
- complexion_NULL_dis: true,
- ear_FACE_dis: true,
- neck_PACK_NULL_dis: true,
- nose_PERFORMANCE_dis: true,
- skin_PERFORMANCE_dis: true,
- oral_PERFORMANCE_dis: true,
- anus_PERFORMANCE_dis: true,
- heart_PERFORMANCE_dis: true,
- genitalia_NULL_dis: true,
- abdomen_NULL_dis: true,
- vertebral_NULL_dis: true,
- umbilical_NULL_dis: true,
- other_GUIDE_CONTENT_dis: true,
- delivery_WAY_check: [],
- SCREENING_check: [],
- guide_check: [],
- data2: "",
- radio: "",
- input: '',
- name: '',
- number: '',
- newbornData: {
- this_INTERVIEW_DATE:'',
- birthday:'',
- sick_SEX:'',
- next_VISITING_DATE:"",
- },
- patientCode:'',
- followupClass:''
- }
- },
- computed: {
- pregnancy_SICK: function () {
- return this.newbornData.pregnancy_SICK
- },
- bregma: function () {
- return this.newbornData.bregma
- },
- complexion: function () {
- return this.newbornData.complexion
- },
- eye: function () {
- return this.newbornData.eye
- },
- limbs: function () {
- return this.newbornData.limbs
- },
- neck_PACK: function () {
- return this.newbornData.neck_PACK
- },
- ear: function () {
- return this.newbornData.ear
- },
- nose: function () {
- return this.newbornData.nose
- },
- skin: function () {
- return this.newbornData.skin
- },
- oral: function () {
- return this.newbornData.oral
- },
- anus: function () {
- return this.newbornData.anus
- },
- heart: function () {
- return this.newbornData.heart
- },
- genitalia: function () {
- return this.newbornData.genitalia
- },
- abdomen: function () {
- return this.newbornData.abdomen
- },
- vertebral: function () {
- return this.newbornData.vertebral
- },
- umbilical: function () {
- return this.newbornData.umbilical
- }
- },
- watch: {
- umbilical: function (i) {
- var a = i ? i.toString().indexOf('4') : ''
- if (a > -1) {
- this.umbilical_NULL_dis = false
- } else {
- this.umbilical_NULL_dis = true
- this.newbornData.umbilical_NULL = ''
- }
- },
- vertebral: function (i) {
- var a = i ? i.toString().indexOf('2') : ''
- if (a > -1) {
- this.vertebral_NULL_dis = false
- } else {
- this.vertebral_NULL_dis = true
- this.newbornData.vertebral_NULL = ''
- }
- },
- abdomen: function (i) {
- var a = i ? i.toString().indexOf('2') : ''
- if (a > -1) {
- this.abdomen_NULL_dis = false
- } else {
- this.abdomen_NULL_dis = true
- this.newbornData.abdomen_NULL = ''
- }
- },
- genitalia: function (i) {
- var a = i ? i.toString().indexOf('2') : ''
- if (a > -1) {
- this.genitalia_NULL_dis = false
- } else {
- this.genitalia_NULL_dis = true
- this.newbornData.genitalia_NULL = ''
- }
- },
- heart: function (i) {
- var a = i ? i.toString().indexOf('2') : ''
- if (a > -1) {
- this.heart_PERFORMANCE_dis = false
- } else {
- this.heart_PERFORMANCE_dis = true
- this.newbornData.heart_PERFORMANCE = ''
- }
- },
- anus: function (i) {
- var a = i ? i.toString().indexOf('2') : ''
- if (a > -1) {
- this.anus_PERFORMANCE_dis = false
- } else {
- this.anus_PERFORMANCE_dis = true
- this.newbornData.anus_PERFORMANCE = ''
- }
- },
- oral: function (i) {
- var a = i ? i.toString().indexOf('2') : ""
- if (a > -1) {
- this.oral_PERFORMANCE_dis = false
- } else {
- this.oral_PERFORMANCE_dis = true
- this.newbornData.oral_PERFORMANCE = ''
- }
- },
- skin: function (i) {
- var a = i ? i.toString().indexOf('4') : ''
- if (a > -1) {
- this.skin_PERFORMANCE_dis = false
- } else {
- this.skin_PERFORMANCE_dis = true
- this.newbornData.skin_PERFORMANCE = ''
- }
- },
- nose: function (i) {
- var a = i ? i.toString().indexOf('2') : ''
- if (a > -1) {
- this.nose_PERFORMANCE_dis = false
- } else {
- this.nose_PERFORMANCE_dis = true
- this.newbornData.nose_PERFORMANCE = ''
- }
- },
- neck_PACK: function (i) {
- var a = i ? i.toString().indexOf('2') : ''
- if (a > -1) {
- this.neck_PACK_NULL_dis = false
- } else {
- this.neck_PACK_NULL_dis = true
- this.newbornData.neck_PACK_NULL = ''
- }
- },
- limbs: function (i) {
- var a = i ? i.toString().indexOf('2') : ''
- if (a > -1) {
- this.limbs_NULL_dis = false
- } else {
- this.limbs_NULL_dis = true
- this.newbornData.limbs_NULL = ''
- }
- },
- ear: function (i) {
- var a = i ? i.toString().indexOf('2') : ''
- if (a > -1) {
- this.ear_FACE_dis = false
- } else {
- this.ear_FACE_dis = true
- this.newbornData.ear_FACE = ''
- }
- },
- limbs: function (i) {
- var a = i ? i.toString().indexOf('2') : ''
- if (a > -1) {
- this.limbs_NULL_dis = false
- } else {
- this.limbs_NULL_dis = true
- this.newbornData.limbs_NULL = ''
- }
- },
- eye: function (i) {
- var a = i ? i.toString().indexOf('2') : ''
- if (a > -1) {
- this.eye_NULL_dis = false
- } else {
- this.eye_NULL_dis = true
- this.newbornData.eye_NULL = ''
- }
- },
- pregnancy_SICK: function (i) {
- var a = i ? i.toString().indexOf('4') : ''
- if (a > -1) {
- this.pregnancy_SICK_CIRCS_other = false
- } else {
- this.pregnancy_SICK_CIRCS_other = true
- this.newbornData.pregnancy_SICK_CIRCS = ''
- }
- },
- bregma: function (i) {
- var a = i ? i.toString().indexOf('4') : ''
- if (a > -1) {
- this.bregma_other_dis = false
- } else {
- this.bregma_other_dis = true
- this.newbornData.bregma_PERFORMANCE = ''
- }
- },
- complexion: function (i) {
- var a = i ? i.toString().indexOf('3') : ''
- if (a > -1) {
- this.complexion_NULL_dis = false
- } else {
- this.complexion_NULL_dis = true
- this.newbornData.complexion_NULL = ''
- }
- },
- delivery_WAY_check: function (i) {
- var a = i ? i.toString().indexOf('7') : ''
- if (a > -1) {
- this.birth_OTHER = false
- } else {
- this.birth_OTHER = true
- this.newbornData.birth_OTHER = ''
- }
- },
- SCREENING_check: function (i) {
- var a = i ? i.toString().indexOf('5') : ''
- if (a > -1) {
- this.SCREENING_3_dis = false
- } else {
- this.SCREENING_3_dis = true
- this.newbornData.screening_ABNORMAL = ''
- }
- },
- guide_check: function (i) {
- var a = i.toString().indexOf('6')
- if (a > -1) {
- this.other_GUIDE_CONTENT_dis = false
- } else {
- this.other_GUIDE_CONTENT_dis = true
- this.other_GUIDE_CONTENT = ''
- }
- }
- },
- mounted: function () {
- this.getData() //获取随访状态
- },
- methods: {
- getData: function () {
- var vm = this
- fangshiAPI.getNewbornFamilyVisitRecord({ followupId: this.followupid || '2' }).then(function (res) {
- if (res.status == 200) {
- var data = res.data
- if (data != null) {
- vm.newbornData = data
- vm.dealData(data)
- vm.getStatus(false)
- }else{
- vm.getStatus(true)
- }
- } else {
- top.toastr.error(res.msg);
- }
- })
- },
- dealData:function(data){
- var vm=this
- var vmN = vm.newbornData
- vmN.help_ORGANIZATION_FLAG = data.help_ORGANIZATION_FLAG ? data.help_ORGANIZATION_FLAG.toString() : ''
- vmN.sick_SEX = data.sick_SEX ? data.sick_SEX.toString() : ''
- vmN.pregnancy_SICK = data.pregnancy_SICK ? data.pregnancy_SICK.toString() : ''
- vm.delivery_WAY_check = data.delivery_WAY ? data.delivery_WAY.split(',') : [];
- vmN.suffocation = data.suffocation ? data.suffocation.toString() : ''
- vmN.plan_IMMUNE = data.plan_IMMUNE ? data.plan_IMMUNE.toString() : ''
- vmN.deformity_NULL = data.deformity_NULL ? data.deformity_NULL.toString() : ''
- vmN.hearing = data.hearing ? data.hearing.toString() : ''
- vmN.feed_TYPE = data.feed_TYPE ? data.feed_TYPE.toString() : ''
- vmN.vomit = data.vomit ? data.vomit.toString() : ''
- vmN.vulnus = data.vulnus ? data.vulnus.toString() : ''
- vmN.vulnus_TIME = data.vulnus_TIME ? data.vulnus_TIME.toString() : ''
- vmN.body_TEMPERATURE = data.body_TEMPERATURE ? data.body_TEMPERATURE.toString() : ""
- vmN.complexion = data.complexion ? data.complexion.toString() : ""
- vmN.face = data.face ? data.face.toString() : ''
- vmN.bregma = data.bregma ? data.bregma.toString() : ''
- vmN.eye = data.eye ? data.eye.toString() : ''
- vmN.limbs = data.limbs ? data.limbs.toString() : ''
- vmN.ear = data.ear ? data.ear.toString() : ''
- vmN.nose = data.nose ? data.nose.toString() : ''
- vmN.neck_PACK = data.neck_PACK ? data.neck_PACK.toString() : ''
- vmN.skin = data.skin ? data.skin.toString() : ""
- vmN.oral = data.oral ? data.oral.toString() : ''
- vmN.anus = data.anus ? data.anus.toString() : ""
- vmN.heart = data.heart ? data.heart.toString() : ''
- vmN.genitalia = data.genitalia ? data.genitalia.toString() : ''
- vmN.abdomen = data.abdomen ? data.abdomen.toString() : ""
- vmN.vertebral = data.vertebral ? data.vertebral.toString() : ''
- vmN.referral = data.referral ? data.referral.toString() : ''
- vmN.umbilical = data.umbilical ? data.umbilical.toString() : ''
- if (data.screening_4 == 1) {
- vm.SCREENING_check.push('1')
- } if (data.screening_5 == 1) {
- vm.SCREENING_check.push('2')
- } if (data.screening_1 == 1) {
- vm.SCREENING_check.push('3')
- } if (data.screening_2 == 1) {
- vm.SCREENING_check.push('4')
- } if (data.screening_3 == 1) {
- vm.SCREENING_check.push('5')
- } if (data.screening_6 == 1) {
- vm.SCREENING_check.push('6')
- }
- if (data.feed_GUID == 1) {
- vm.guide_check.push('1')
- } if (data.growup_GUID == 1) {
- vm.guide_check.push('2')
- } if (data.prevention_DEFORMITY_GUID == 1) {
- vm.guide_check.push('3')
- } if (data.prevention_HURT_GUID == 1) {
- vm.guide_check.push('4')
- } if (data.oral_CAVITY_GUID == 1) {
- vm.guide_check.push('5')
- } if (data.other_GUIDE == 1) {
- vm.guide_check.push('6')
- }
- },
- getLastData:function(obj){
- var vm=this
- fangshiAPI.getLastVisitRecord({ followupClass: vm.followupClass,patientCode:vm.patientCode }).then(function (res) {
- if (res.status == 200) {
- var data = res.data.detail
- // finishedStatus:true 随访完成,false 随访未完成
- //默认信息
- vm.newbornData.sick_NAME=obj.name
- vm.newbornData.sick_SEX=obj.sex.toString()
- vm.newbornData.birthday=obj.birthday
- vm.newbornData.visiting_DOCTOR=obj.doctorName
- // 居民存在上次历史记录,则代入默认信息
- if (res.data.detail) {
- vm.newbornData = res.data.detail
- vm.dealData(data)
- }
- //默认随访时间为当前时间
- vm.newbornData.this_INTERVIEW_DATE = new Date().format("yyyy-MM-dd")
- vm.newbornData.next_VISITING_DATE=null
- }
- })
- },
- // 完成随访状态修改
- finish: function () {
- var vm = this
- fangshiAPI.updateFollowStatus({ followupId: this.followupid }).then(function (res) {
- if (res.status == 200) {
- vm.finishedStatus=true
- vm.setEditBtn()
- top.toastr.info("完成随访成功")
- } else {
- top.toastr.error(res.msg);
- }
- })
- },
- editData: function () {
- var vm = this
- var vmN = this.newbornData
- vmN.delivery_WAY = vm.delivery_WAY_check.join(',')
- vm.SCREENING_check.map(function (i) {
- if (i == '1') {
- vmN.screening_4 = 1
- } if (i == '2') {
- vmN.screening_5 = 1
- } if (i == '3') {
- vmN.SCREENING_3 = 1
- } if (i == '4') {
- vmN.screening_2 = 1
- } if (i == '5') {
- vmN.screening_3 = 1
- } if (i == '6') {
- vmN.screening_6 = 1
- }
- })
- vm.guide_check.map(function (i) {
- if (i == '1') {
- vmN.feed_GUID = 1
- } if (i == '2') {
- vmN.growup_GUID = 1
- } if (i == '3') {
- vmN.prevention_DEFORMITY_GUID = 1
- } if (i == '4') {
- vmN.prevention_HURT_GUID = 1
- } if (i == '5') {
- vmN.oral_CAVITY_GUID = 1
- } if (i == '6') {
- vmN.other_GUIDE = 1
- }
- })
- vmN.create_time = null
- vmN.version = this.version
- fangshiAPI.saveNewbornFamilyVisitRecord({ followupId: this.followupid || '2', newbornFamilyVisitRecordData: JSON.stringify(vmN) }).then(function (res) {
- if (res.status == 200) {
- vm.finishedStatus ? '' : vm.finish()
- vm.finishedStatus ? top.toastr.info('保存成功') : ''
- } else {
- top.toastr.error(res.msg);
- }
- })
- },
- setEditBtn: function () {
- var btn = document.getElementsByClassName('button')[0]
- if(!this.finishedStatus){
- btn.innerHTML='完成随访'
- this.editable = true
- return
- }
- if (this.isEditBtn == true) {
- btn.innerHTML = '编辑'
- this.editable = false
- } else if (this.isEditBtn == false) {
- btn.innerHTML='保存'
- this.editable = true
- }
- },
- editBtn: function () {
- if (this.finishedStatus) {
- this.isEditBtn = !this.isEditBtn
- }
- this.setEditBtn()
- this.isEditBtn || !this.finishedStatus?this.editData():''//保存数据
- },
- //获取当前随访状态信息 Request['id']||'1'
- getStatus: function (getLast) {
- var vm = this
- fangshiAPI.getFollowupInfo({ followupId: this.followupid || '1888107' }).then(function (res) {
- if (res.status == 200) {
- res.data.status!=1?vm.finishedStatus=false:vm.finishedStatus=true
- vm.patientCode=res.data.patientCode
- vm.followupClass=res.data.followupClass
- var obj={}
- obj.doctorName=res.data.doctorName
- obj.name=res.data.patient.name
- obj.sex=res.data.patient.sex
- obj.birthday=res.data.patient.birthday
- if (getLast) {
- vm.getLastData(obj)//获取patientCode,followupClass 获取上一次数据
- }
- vm.setEditBtn()
- } else {
- top.toastr.error(res.msg);
- }
- })
- },
- }
- })
|