123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title>严重精神障碍患者随访服务记录表</title>
- <meta name="author" content="yihu.com" />
- <meta name="format-detection" content="telephone=no" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"
- />
- <meta name="apple-mobile-web-app-capable" content="yes" />
- <meta name="apple-mobile-web-app-status-bar-style" content="black" />
- <link rel="shortcut icon" href="../../../../favicon.ico">
- <link rel="stylesheet" type="text/css" href="../../../../css/element-ui.css" />
- <link rel="stylesheet" type="text/css" href="../../../../css/cross.css" />
- <link rel="stylesheet" type="text/css" href="../../../../css/bootstrap.min.css" />
- <link href="../../../../plugins/toastr/toastr.min.css" rel="stylesheet">
- <link href="../css/fangshi-detail.css" rel="stylesheet">
- </head>
- <style>
- .el-input {
- width: unset;
- }
- .setinputw .el-input--suffix .el-input__inner {
- padding: 0;
- border-bottom: 1px solid #e1e1e1;
- text-align: center;
- width: 100px;
- }
- </style>
- <body>
- <div id="app">
- <button class="button" @click="editBtn()"> </button>
- <p class="c-f20 mb10" style="text-align: center;">严重精神障碍患者随访服务记录表</p>
- <div class="ui-grid p10">
- <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="severeMentalDisorderData.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-input :readonly="!editable" v-model="severeMentalDisorderData.number" placeholder="" clearable></el-input>
- </div>
- </div>
- </div>
- </div>
- <table class="table table-bordered">
- <tr>
- <td class="col-w120 c-t-center">随访日期</td>
- <td colspan="2">
- <el-date-picker :readonly="!editable" v-model="severeMentalDisorderData.followup_date" value-format="yyyy-MM-dd" type="date"
- placeholder="选择日期">
- </el-date-picker>
- </td>
- </tr>
- <tr>
- <td class="col-w120 c-t-center">本次随访形式
- </td>
- <td colspan="2">
- <el-radio-group v-model="severeMentalDisorderData.followup_type" :disabled="!editable">
- <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 class="col-w120 c-t-center">本次随访对象
- </td>
- <td colspan="2">
- <el-checkbox-group v-model="followup_object_check" :disabled="!editable">
- <el-checkbox label="1">患者本人</el-checkbox>
- <el-checkbox label="2">患者家属,监护人</el-checkbox>
- <el-checkbox label="3">其他知情人</el-checkbox>
- </el-checkbox-group>
- </td>
- </tr>
- <tr>
- <td class="col-w120 c-t-center">若失访,原因
- </td>
- <td colspan="2">
- <el-radio-group v-model="severeMentalDisorderData.followup_null_reason" :disabled="!editable">
- <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">连续3次未访到</el-radio>
- <el-radio :disabled="!editable" label="5">其他</el-radio>
- </el-radio-group>
- </td>
- </tr>
- <tr>
- <td rowspan="2" class="col-w120 c-t-center">如死亡,日期和原因
- </td>
- <td class="c-t-center" style="width: 100px;">死亡日期
- </td>
- <td>
- <el-date-picker :readonly="!editable" v-model="severeMentalDisorderData.death_date" value-format="yyyy-MM-dd" type="date"
- placeholder="选择日期">
- </el-date-picker>
- </td>
- </tr>
- <tr>
- <td class="c-t-center">
- 死亡原因
- </td>
- <td>
- <el-radio-group v-model="severeMentalDisorderData.death_reason_type" :disabled="!editable">
- <el-radio :disabled="!editable" label="1">躯体疾病</el-radio>
- <el-checkbox-group v-model="death_reason_type_check" :disabled="death_reason_type_dis||!editable">
- <el-checkbox label="1" style="margin-left: 30px;">传染病和寄生虫病</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 label="7">其他疾病</el-checkbox>
- <el-checkbox label="8">不详</el-checkbox>
- </el-checkbox-group>
- <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 :disabled="!editable" label="6">其他</el-radio>
- </el-radio-group>
- </td>
- </tr>
- <tr>
- <td class="col-w120 c-t-center">危险性评估
- </td>
- <td colspan="2">
- <el-radio-group v-model="severeMentalDisorderData.dangerous_level" :disabled="!editable">
- <el-radio :disabled="!editable" label="0">0(0级)</el-radio>
- <el-radio :disabled="!editable" label="1">1(1级)</el-radio>
- <el-radio :disabled="!editable" label="2">2(2级)</el-radio>
- <el-radio :disabled="!editable" label="3">3(3级)</el-radio>
- <el-radio :disabled="!editable" label="4">4(4级)</el-radio>
- <el-radio :disabled="!editable" label="5">5(5级)</el-radio>
- </el-radio-group>
- </td>
- </tr>
- <tr>
- <td class="col-w120 c-t-center">目前症状
- </td>
- <td colspan="2">
- <el-checkbox-group v-model="symptom_check" :disabled="!editable">
- <el-checkbox label="1" style="margin-left: 30px;">幻觉</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 label="7">伤人毁物</el-checkbox>
- <el-checkbox label="8">悲观厌世</el-checkbox>
- <el-checkbox label="9">无故外走</el-checkbox>
- <el-checkbox label="10">自语自笑</el-checkbox>
- <el-checkbox label="11">孤僻懒散</el-checkbox>
- <el-checkbox label="12" class="setinput">
- <el-input type="text" :readonly="other_symptom||!editable" v-model="severeMentalDisorderData.other_symptom_description" placeholder="其他"
- clearable></el-input>
- </el-checkbox>
- </el-checkbox-group>
- </td>
- </tr>
- <tr>
- <td class="col-w120 c-t-center">自知力
- </td>
- <td colspan="2">
- <el-radio-group v-model="severeMentalDisorderData.intelligence" :disabled="!editable">
- <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>
- </tr>
- <tr>
- <td class="col-w120 c-t-center">睡眠情况
- </td>
- <td colspan="2">
- <el-radio-group v-model="severeMentalDisorderData.sleep_condition" :disabled="!editable">
- <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>
- </tr>
- <tr>
- <td class="col-w120 c-t-center">饮食情况
- </td>
- <td colspan="2">
- <el-radio-group v-model="severeMentalDisorderData.dietary_status" :disabled="!editable">
- <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>
- </tr>
- <tr>
- <td class="col-w120 c-t-center" rowspan="5">
- 社会功能情况
- </td>
- <td style="width: 120px;">个人生活料理</td>
- <td>
- <el-radio-group v-model="severeMentalDisorderData.selfcare_ability" :disabled="!editable">
- <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>
- </tr>
- <tr>
- <td>家务劳动</td>
- <td>
- <el-radio-group v-model="severeMentalDisorderData.housework" :disabled="!editable">
- <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>
- </tr>
- <tr>
- <td>生产劳动及工作</td>
- <td>
- <el-radio-group v-model="severeMentalDisorderData.work" :disabled="!editable">
- <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="9">此项不可用</el-radio>
- </el-radio-group>
- </td>
- </tr>
- <tr>
- <td>学习能力</td>
- <td>
- <el-radio-group v-model="severeMentalDisorderData.learning_ability" :disabled="!editable">
- <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>
- </tr>
- <tr>
- <td>社会交往能力</td>
- <td>
- <el-radio-group v-model="severeMentalDisorderData.sociability" :disabled="!editable">
- <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>
- </tr>
- <tr>
- <td class="col-w120 c-t-center">危险行为
- </td>
- <td colspan="2">
- <!-- <el-checkbox-group v-model="dangerous_check" :disabled="!editable"> -->
- <div class="ui-grid">
- <div class="setinputw">1.轻度滋事
- <el-input style="width: 176px;"type="number" min="0" :readonly="!editable" v-model="severeMentalDisorderData.dangerous_behavior_1"></el-input>次
- </div>
- <div class="setinputw">   2.肇事
- <el-input style="width: 176px;" type="number" min="0" :readonly="!editable" v-model="severeMentalDisorderData.dangerous_behavior_2"></el-input>次
- </div>
- </div>
- <div class="ui-grid">
- <div class="setinputw">3.肇祸
- <el-input type="number" min="0" :readonly="!editable" v-model="severeMentalDisorderData.dangerous_behavior_3"></el-input>次
- </div>
- <div class="setinputw">   4.其他危害行为
- <el-input style="width: 124px;" type="number" min="0" :readonly="!editable" v-model="severeMentalDisorderData.dangerous_behavior_4"></el-input>次
- </div>
- </div>
- <div class="ui-grid">
- <div class="setinputw">5.自伤
- <el-input type="number" min="0" :readonly="!editable" v-model="severeMentalDisorderData.dangerous_behavior_5"></el-input>次
- </div>
- <div class="setinputw">   6.自杀未遂
- <el-input style="width: 152px;" type="number" min="0" :readonly="!editable" v-model="severeMentalDisorderData.dangerous_behavior_6"></el-input>次
- </div>
- </div>
- <el-checkbox true-label="1" false-label="0" :disabled="!editable" v-model="severeMentalDisorderData.dangerous_behavior_7"> 7.无危险行为
- </el-checkbox>
- <!-- </el-checkbox-group> -->
- </td>
- </tr>
- <tr>
- <td class="col-w120 c-t-center">两次随访期间关锁情况
- </td>
- <td colspan="2">
- <el-radio-group v-model="severeMentalDisorderData.captivity_case" :disabled="!editable">
- <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>
- </tr>
- <tr>
- <td class="col-w120 c-t-center">两次随访期间住院情况
- </td>
- <td colspan="2">
- <el-radio-group v-model="severeMentalDisorderData.in_hospital_case" :disabled="!editable">
- <el-radio :disabled="!editable" :label="0">未住院</el-radio>
- <el-radio :disabled="!editable" :label="1">目前正在住院</el-radio>
- <el-radio :disabled="!editable" :label="2">曾住院,现未住院</el-radio>
- </el-radio-group>
- <div class="ui-grid">
- <div class="ui-col-0">末次出院时间 :</div>
- <div class="ui-col-1">
- <el-date-picker :readonly="!editable" v-model="severeMentalDisorderData.last_discharged_date" value-format="yyyy-MM-dd" type="date"
- placeholder="选择日期">
- </el-date-picker>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td class="col-w120 c-t-center">实验室检查
- </td>
- <td colspan="2">
- <el-radio-group v-model="severeMentalDisorderData.laboratory_examination" :disabled="!editable">
- <el-radio :disabled="!editable" label="1">无</el-radio>
- <el-radio :disabled="!editable" label="2" class="setinput">有
- <el-input type="text" :readonly="laboratory_examination_dis||!editable" v-model="severeMentalDisorderData.laboratory_examination_description"
- clearable></el-input>
- </el-radio>
- </el-radio-group>
- </td>
- </tr>
- <tr>
- <td class="col-w120 c-t-center">用药依从性
- </td>
- <td colspan="2">
- <el-radio-group v-model="severeMentalDisorderData.compliance" :disabled="!editable">
- <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 class="col-w120 c-t-center">药物不良反应
- </td>
- <td colspan="2">
- <el-radio-group v-model="severeMentalDisorderData.adverse_drug_reaction" :disabled="!editable">
- <el-radio :disabled="!editable" label="1">无</el-radio>
- <el-radio :disabled="!editable" label="2" class="setinput">有
- <el-input type="text" :readonly="adverse_drug_reaction_dis||!editable" v-model="severeMentalDisorderData.adverse_drug_reaction_description"
- clearable></el-input>
- </el-radio>
- <el-radio :disabled="!editable" label="9">此项不适用</el-radio>
- </el-radio-group>
- </td>
- </tr>
- <tr>
- <td class="col-w120 c-t-center">治疗效果
- </td>
- <td colspan="2">
- <el-radio-group :disabled="!editable" v-model="severeMentalDisorderData.treatment_effects">
- <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="9">此项不可用</el-radio>
- </el-radio-group>
- </td>
- </tr>
- <tr>
- <td class="col-w120 c-t-center">转诊情况
- </td>
- <td colspan="2">
- <div class="ui-grid">
- <div class="ui-col-0">
- 是否建议转诊: 
- </div>
- <div class="ui-col-1">
- <el-radio-group :disabled="!editable" v-model="severeMentalDisorderData.referral">
- <el-radio :disabled="!editable" label="1">否</el-radio>
- <el-radio :disabled="!editable" label="2" class="setinput">是,需要转诊原因
- <el-input type="text" :readonly="referral_dis||!editable" v-model="severeMentalDisorderData.referral_reason" clearable></el-input>
- </el-radio>
- </el-radio-group>
- </div>
- </div>
- <div class="ui-grid">
- <div class="ui-col-0">
- 是否已转诊: 
- </div>
- <div class="ui-col-1">
- <el-radio-group :disabled="!editable" v-model="severeMentalDisorderData.is_referral">
- <el-radio :disabled="!editable" label="1">否</el-radio>
- <el-radio :disabled="!editable" label="2" class="setinput">是,转诊的机构
- <el-input type="text" :readonly="organization_org_name_dis||!editable" v-model="severeMentalDisorderData.organization_org_name"
- clearable></el-input>
- 和科室
- <el-input type="text" :readonly="organization_dis||!editable" v-model="severeMentalDisorderData.organization" clearable></el-input>
- </el-radio>
- </el-radio-group>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td colspan="3" class="table2Td">
- <table class="table2">
- <tr>
- <td class="col-w120 c-t-center" rowspan="3">用药情况
- </td>
- <td colspan="1" style="width: 300px;" class="setinput">
- 药物1
- <el-input :readonly="!editable" type="text" clearable v-model="severeMentalDisorderData.medicine1_name"></el-input>
- </td>
- <td class="setinput">用法:早
- <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine1_dosage_early">
- </el-input>mg;中
- <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine1_dosage_noon">
- </el-input> mg; 晚
- <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine1_dosage_night">
- </el-input>mg
- <br>长效药:每
- <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine1_frequency">
- </el-input> 周一次;每次
- <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine1_dosage">
- </el-input> mg
- </td>
- </tr>
- <tr>
- <td class="setinput">
- 药物2
- <el-input :readonly="!editable" type="text" clearable v-model="severeMentalDisorderData.medicine2_name"> </el-input>
- </td>
- <td class="setinput">用法:早
- <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine2_dosage_early">
- </el-input>mg;中
- <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine2_dosage_noon">
- </el-input> mg; 晚
- <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine2_dosage_night">
- </el-input>mg
- <br>长效药:每
- <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine2_frequency">
- </el-input> 周一次;每次
- <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine2_dosage">
- </el-input> mg
- </td>
- </tr>
- <tr>
- <td class="setinput">
- 药物3
- <el-input :readonly="!editable" type="text" clearable v-model="severeMentalDisorderData.medicine3_name"> </el-input>
- </td>
- <td class="setinput">用法:早
- <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine3_dosage_early">
- </el-input>mg;中
- <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine3_dosage_noon">
- </el-input> mg; 晚
- <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine3_dosage_night">
- </el-input>mg
- <br>长效药:每
- <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine3_frequency">
- </el-input> 周一次;每次
- <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine3_dosage">
- </el-input> mg
- </td>
- </tr>
- <tr>
- <td class="col-w120 c-t-center" rowspan="3" style="border-bottom: 0">用药指导
- </td>
- <td class="setinput">
- 药物1
- <el-input v-model="severeMentalDisorderData.guide_medicine1_name" :readonly="!editable" type="text" clearable> </el-input>
- </td>
- <td class="setinput">用法:早
- <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_medicine1_dosage_early" type="number" min="0" style="width: 70px;">
- </el-input>mg;中
- <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_medicine1_dosage_noon" type="number" min="0" style="width: 70px;">
- </el-input> mg; 晚
- <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_medicine1_dosage_night" type="number" min="0" style="width: 70px;">
- </el-input>mg
- <br>长效药:每
- <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_sustained_medicine1_frequency" type="number" min="0"
- style="width: 70px;"> </el-input> 周一次;每次
- <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_sustained_meidicine1_dosage" type="number" min="0"
- style="width: 70px;"> </el-input> mg
- </td>
- </tr>
- <tr>
- <td class="setinput">
- 药物2
- <el-input v-model="severeMentalDisorderData.guide_medicine2_name" :readonly="!editable" type="text" clearable> </el-input>
- </td>
- <td class="setinput">用法:早
- <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_medicine2_dosage_early" type="number" min="0" style="width: 70px;">
- </el-input>mg;中
- <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_medicine2_dosage_noon" type="number" min="0" style="width: 70px;">
- </el-input> mg; 晚
- <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_medicine2_dosage_night" type="number" min="0" style="width: 70px;">
- </el-input>mg
- <br>长效药:每
- <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_sustained_medicine2_frequency" type="number" min="0"
- style="width: 70px;"> </el-input> 周一次;每次
- <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_sustained_meidicine2_dosage" type="number" min="0"
- style="width: 70px;"> </el-input> mg
- </td>
- </tr>
- <tr>
- <td class="setinput">
- 药物3
- <el-input v-model="severeMentalDisorderData.guide_medicine3_name" :readonly="!editable" type="text" clearable> </el-input>
- </td>
- <td class="setinput">用法:早
- <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_medicine3_dosage_early" type="number" min="0" style="width: 70px;">
- </el-input>mg;中
- <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_medicine3_dosage_noon" type="number" min="0" style="width: 70px;">
- </el-input> mg; 晚
- <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_medicine3_dosage_night" type="number" min="0" style="width: 70px;">
- </el-input>mg
- <br>长效药:每
- <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_sustained_medicine3_frequency" type="number" min="0"
- style="width: 70px;"> </el-input> 周一次;每次
- <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_sustained_meidicine3_dosage" type="number" min="0"
- style="width: 70px;"> </el-input> mg
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td class="col-w120 c-t-center">康复措施
- </td>
- <td colspan="2">
- <el-checkbox-group v-model="rehabilitation_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 type="text" clearable :readonly="rehabilitation_other_description_dis||!editable" v-model="severeMentalDisorderData.rehabilitation_other_description">
- </el-input>
- </el-checkbox>
- </el-checkbox-group>
- </td>
- </tr>
- <tr>
- <td class="col-w120 c-t-center">本次随访分类
- </td>
- <td colspan="2">
- <el-radio-group v-model="severeMentalDisorderData.followup_class" :disabled="!editable">
- <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>
- </tr>
- <tr>
- <td class="col-w120 c-t-center">下次随访日期
- </td>
- <td colspan="2">
- <el-date-picker :readonly="!editable" v-model="severeMentalDisorderData.followup_next_date" value-format="yyyy-MM-dd" type="date"
- placeholder="选择日期" @blur="forceUpdate">
- </el-date-picker>
- </td>
- </tr>
- <tr>
- <td class="col-w120 c-t-center">随访医生签名
- </td>
- <td colspan="2">
- <el-input :readonly="!editable" v-model="severeMentalDisorderData.doctor_name" placeholder="" clearable></el-input>
- </td>
- </tr>
- </table>
- <follow-bottom :followupId="followupId"></follow-bottom>
- </div>
- <script src="../../../../js/vue.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../js/jquery-2.2.4.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../js/util.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../plugins/toastr/toastr.min.js"></script>
- <script src="../../../../js/es6-promise.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../js/underscore.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../js/element-ui.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../component/followup/follow-bottom.js"></script>
- <script src="../../../../component/followup/finish-followup-btn.js"></script>
- <script src="../../../../api/http-request.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../../api/fangshi-api.js"></script>
- <script>
- var Request = GetRequest();
- new Vue({
- el: "#app",
- data: function () {
- return {
- editable: false,
- finishedStatus: null, //随访完成状态
- isEditBtn: true,
- death_reason_type_dis: true,
- other_symptom: true,
- laboratory_examination_dis: true,
- adverse_drug_reaction_dis: true,
- rehabilitation_other_description_dis: true,
- referral_dis: true,
- organization_org_name_dis: true,
- organization_dis: true,
- disease_dis_1: true,
- disease_dis_2: true,
- disease_dis_3: true,
- disease_dis_4: true,
- disease_dis_5: true,
- disease_dis_6: true,
- disease_dis_7: true,
- disease_dis_8: true,
- data2: "",
- radio: "",
- input: '',
- followup_object_check: [],
- death_reason_type_check: [],
- symptom_check: [],
- rehabilitation_check: [],
- severeMentalDisorderData: {
- illusion: '0',
- communication_difficulty: '0',
- suspicious: '0',
- moods: '0',
- weird: '0',
- talkative: '0',
- smashing_objects: '0',
- profoundly_pessimistic: '0',
- outside_without_cause: '0',
- to_myself_from_laughing: '0',
- withdrawn_lazy: '0',
- other_symptom: '0',
- rehabilitation_work_ability: '0',
- rehabilitation_training: '0',
- rehabilitation_learning_ability: '0',
- rehabilitation_sociability: '0',
- rehabilitation_other: "0",
- followup_class: "",
- followup_next_date: "",
- doctor_name: "",
- followup_type:2,//默认家庭访视,
- followup_date:''
- },
- followupId: Request['id'],
- version: Request['version'],
- patientCode:'',
- followupClass:''
- }
- },
- computed: {
- referral: function () {
- return this.severeMentalDisorderData.referral
- },
- is_referral: function () {
- return this.severeMentalDisorderData.is_referral
- },
- adverse_drug_reaction: function () {
- return this.severeMentalDisorderData.adverse_drug_reaction
- },
- laboratory_examination: function () {
- return this.severeMentalDisorderData.laboratory_examination
- },
- death_reason_type: function () {
- return this.severeMentalDisorderData.death_reason_type
- },
- dangerous_behavior_7: function () {
- return this.severeMentalDisorderData.dangerous_behavior_7
- },
- },
- watch: {
- death_reason_type_check: function (i) {
- // console.log(JSON.stringify(i))
- },
- dangerous_behavior_7: function (i) {
- if (i == '1') {
- var vmS = this.severeMentalDisorderData
- for (var i = 1; i < 7; i++) {
- var arr = "dangerous_behavior_" + i
- vmS[arr.split(',')] = ''
- }
- }
- },
- referral: function (i) {
- if (i == '2') {
- this.referral_dis = false
- } else {
- this.referral_dis = true
- this.severeMentalDisorderData.referral_reason = ''
- }
- },
- is_referral: function (i) {
- if (i == '2') {
- this.organization_org_name_dis = false
- this.organization_dis = false
- } else {
- this.organization_org_name_dis = true
- this.organization_dis = true
- this.severeMentalDisorderData.organization = ''
- this.severeMentalDisorderData.organization_org_name = ''
- }
- },
- adverse_drug_reaction: function (i) {
- if (i == '2') {
- this.adverse_drug_reaction_dis = false
- } else {
- this.adverse_drug_reaction_dis = true
- this.severeMentalDisorderData.adverse_drug_reaction_description = ''
- }
- },
- laboratory_examination: function (i) {
- if (i == '2') {
- this.laboratory_examination_dis = false
- } else {
- this.laboratory_examination_dis = true
- this.severeMentalDisorderData.laboratory_examination_description = ''
- }
- },
- death_reason_type: function (i) {
- if (i == 1) {
- this.death_reason_type_dis = false
- } else {
- this.death_reason_type_dis = true
- this.death_reason_type_check = []
- }
- },
- symptom_check: function (i) {
- var a = i.indexOf('12')
- if (a > -1) {
- this.other_symptom = false
- } else {
- this.other_symptom = true
- this.severeMentalDisorderData.other_symptom_description = ''
- }
- },
- rehabilitation_check: function (i) {
- var a = i.indexOf('5')
- if (a > -1) {
- this.rehabilitation_other_description_dis = false
- } else {
- this.rehabilitation_other_description_dis = true
- this.severeMentalDisorderData.rehabilitation_other_description = ''
- }
- },
- },
- mounted: function () {
- this.getData() //获取随访状态
- },
- methods: {
- getData: function () {
- var vm = this
- window.vm = vm
- fangshiAPI.getFollowupSevereMentalDisorder({ followupId: this.followupId || '1' }).then(function (res) {
- if (res.status == 200) {
- var data = res.data
- if (data != null) {
- vm.severeMentalDisorderData = res.data
- vm.dealData(data)
- vm.getStatus(false)
- }else{
- vm.getStatus(true)
- }
- } else {
- top.toastr.error(res.msg);
- }
- })
- },
- dealData: function (data) {
- var vm=this
- var vmS = vm.severeMentalDisorderData
- vm.followup_object_check = data.followup_object ? data.followup_object.split(',') : []
- if (data.physical_disease_type) {
- vm.death_reason_type_check = data.physical_disease_type.split(',')
- }
- vmS.dangerous_level = data.dangerous_level + ''
- if (data.illusion == '1') {
- vm.symptom_check.push('1')
- } if (data.communication_difficulty == '1') {
- vm.symptom_check.push('2')
- } if (data.suspicious == '1') {
- vm.symptom_check.push('3')
- } if (data.moods == '1') {
- vm.symptom_check.push('4')
- } if (data.weird == '1') {
- vm.symptom_check.push('5')
- } if (data.talkative == '1') {
- vm.symptom_check.push('6')
- } if (data.smashing_objects == '1') {
- vm.symptom_check.push('7')
- } if (data.profoundly_pessimistic == '1') {
- vm.symptom_check.push('8')
- } if (data.outside_without_cause == '1') {
- vm.symptom_check.push('9')
- } if (data.to_myself_from_laughing == '1') {
- vm.symptom_check.push('10')
- } if (data.withdrawn_lazy == '1') {
- vm.symptom_check.push('11')
- } if (data.other_symptom == '1') {
- vm.symptom_check.push('12')
- }
- if (vmS.rehabilitation_work_ability == '1') {
- vm.rehabilitation_check.push('1')
- } if (vmS.rehabilitation_training == '1') {
- vm.rehabilitation_check.push('2')
- } if (vmS.rehabilitation_learning_ability == '1') {
- vm.rehabilitation_check.push('3')
- } if (vmS.rehabilitation_sociability == '1') {
- vm.rehabilitation_check.push('4')
- } if (vmS.rehabilitation_other == '1') {
- vm.rehabilitation_check.push('5')
- }
- vmS.death_reason_type = data.death_reason_type ? data.death_reason_type.toString() : ''
- vmS.intelligence = data.intelligence ? data.intelligence.toString() : ''
- vmS.sleep_condition = data.sleep_condition ? data.sleep_condition.toString() : ''
- vmS.dietary_status = data.dietary_status ? data.dietary_status.toString() : ''
- vmS.selfcare_ability = data.selfcare_ability ? data.selfcare_ability.toString() : ''
- vmS.housework = data.housework ? data.housework.toString() : ''
- vmS.work = data.work ? data.work.toString() : ''
- vmS.learning_ability = data.learning_ability ? data.learning_ability.toString() : ''
- vmS.sociability = data.sociability ? data.sociability.toString() : ''
- vmS.captivity_case = data.captivity_case ? data.captivity_case.toString() : ''
- // vmS.in_hospital_case = data.in_hospital_case ? data.in_hospital_case.toString() : ''
- vmS.laboratory_examination = data.laboratory_examination ? data.laboratory_examination.toString() : ''
- vmS.compliance = data.compliance ? data.compliance.toString() : ''
- vmS.adverse_drug_reaction = data.adverse_drug_reaction ? data.adverse_drug_reaction.toString() : ''
- vmS.treatment_effects = data.treatment_effects ? data.treatment_effects.toString() : ''
- vmS.referral = data.referral ? data.referral.toString() : ''
- vmS.is_referral = data.is_referral ? data.is_referral.toString() : ''
- vmS.followup_class = data.followup_class ? data.followup_class.toString() : ""
- vmS.followup_next_date = data.followup_next_date || ""
- vmS.doctor_name = data.doctor_name || ""
- },
- getLastData: function (doctorName,name) {
- 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.severeMentalDisorderData.doctor_name=doctorName
- vm.severeMentalDisorderData.name=name
- // 居民存在上次历史记录,则代入默认信息
- if (res.data.detail) {
- vm.severeMentalDisorderData = res.data.detail
- vm.dealData(data)
- }
- //默认登记时间为当前时间
- vm.severeMentalDisorderData.followup_date=new Date().format("yyyy-MM-dd")
- vm.severeMentalDisorderData.followup_next_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 vmS = this.severeMentalDisorderData
- if (vm.followup_object_check) {
- vmS.followup_object = vm.followup_object_check.join(",")
- }
- if (vm.death_reason_type_check) {
- vmS.physical_disease_type = vm.death_reason_type_check.join(",")
- }
- vm.symptom_check?vm.symptom_check.map(function(i) {
- if (i == '1') {
- vmS.illusion = '1'
- } if (i == '2') {
- vmS.communication_difficulty = '1'
- } if (i == '3') {
- vmS.suspicious = '1'
- } if (i == '4') {
- vmS.moods = '1'
- } if (i == '5') {
- vmS.weird = '1'
- } if (i == '6') {
- vmS.talkative = '1'
- } if (i == '7') {
- vmS.smashing_objects = '1'
- } if (i == '8') {
- vmS.profoundly_pessimistic = '1'
- } if (i == '9') {
- vmS.outside_without_cause = '1'
- } if (i == '10') {
- vmS.to_myself_from_laughing = '1'
- } if (i == '11') {
- vmS.withdrawn_lazy = '1'
- } if (i == '12') {
- vmS.other_symptom = '1'
- }
- }):[]
- vm.rehabilitation_check ? vm.rehabilitation_check.map(function (i) {
- if (i == '1') {
- vmS.rehabilitation_work_ability = '1'
- } if (i == '2') {
- vmS.rehabilitation_training = '1'
- } if (i == '3') {
- vmS.rehabilitation_learning_ability = '1'
- } if (i == '4') {
- vmS.rehabilitation_sociability = '1'
- } if (i == '5') {
- vmS.rehabilitation_other = '1'
- }
- }) : []
- this.severeMentalDisorderData.create_time = null
- this.severeMentalDisorderData.version = this.version
- fangshiAPI.saveFollowupSevereMentalDisorder({ followupId: this.followupId || '1', severeMentalDisorderData: JSON.stringify(this.severeMentalDisorderData) }).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
- }
- },
- //获取当前随访状态信息 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 doctorName=res.data.doctorName
- var name=res.data.patient.name
- if(getLast){
- vm.getLastData(doctorName,name)//获取patientCode,followupClass 获取上一次数据
- }
- vm.setEditBtn()
- } else {
- top.toastr.error(res.msg);
- }
- })
- },
- editBtn: function () {
- if (this.finishedStatus) {
- this.isEditBtn = !this.isEditBtn
- }
- this.setEditBtn()
- this.isEditBtn || !this.finishedStatus?this.editData():''//保存数据
- },
- forceUpdate: function() {
- this.$forceUpdate()
- }
- }
- })
- </script>
- </body>
- </html>
|