fangshi-detail-7.html 54 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>严重精神障碍患者随访服务记录表</title>
  6. <meta name="author" content="yihu.com" />
  7. <meta name="format-detection" content="telephone=no" />
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"
  9. />
  10. <meta name="apple-mobile-web-app-capable" content="yes" />
  11. <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  12. <link rel="shortcut icon" href="../../../../favicon.ico">
  13. <link rel="stylesheet" type="text/css" href="../../../../css/element-ui.css" />
  14. <link rel="stylesheet" type="text/css" href="../../../../css/cross.css" />
  15. <link rel="stylesheet" type="text/css" href="../../../../css/bootstrap.min.css" />
  16. <link href="../../../../plugins/toastr/toastr.min.css" rel="stylesheet">
  17. <link href="../css/fangshi-detail.css" rel="stylesheet">
  18. </head>
  19. <style>
  20. .el-input {
  21. width: unset;
  22. }
  23. .setinputw .el-input--suffix .el-input__inner {
  24. padding: 0;
  25. border-bottom: 1px solid #e1e1e1;
  26. text-align: center;
  27. width: 100px;
  28. }
  29. </style>
  30. <body>
  31. <div id="app">
  32. <button class="button" @click="editBtn()">&nbsp;</button>
  33. <p class="c-f20 mb10" style="text-align: center;">严重精神障碍患者随访服务记录表</p>
  34. <div class="ui-grid p10">
  35. <div class="ui-col-1">
  36. <div class="ui-grid">
  37. <div class="ui-col-0">姓名:</div>
  38. <div class="ui-col-1">
  39. <el-input :readonly="!editable" v-model="severeMentalDisorderData.name" placeholder="" clearable></el-input>
  40. </div>
  41. </div>
  42. </div>
  43. <div class="ui-col-1">
  44. <div class="ui-grid">
  45. <div class="ui-col-0">编号:</div>
  46. <div class="ui-col-1">
  47. <el-input :readonly="!editable" v-model="severeMentalDisorderData.number" placeholder="" clearable></el-input>
  48. </div>
  49. </div>
  50. </div>
  51. </div>
  52. <table class="table table-bordered">
  53. <tr>
  54. <td class="col-w120 c-t-center">随访日期</td>
  55. <td colspan="2">
  56. <el-date-picker :readonly="!editable" v-model="severeMentalDisorderData.followup_date" value-format="yyyy-MM-dd" type="date"
  57. placeholder="选择日期">
  58. </el-date-picker>
  59. </td>
  60. </tr>
  61. <tr>
  62. <td class="col-w120 c-t-center">本次随访形式
  63. </td>
  64. <td colspan="2">
  65. <el-radio-group v-model="severeMentalDisorderData.followup_type" :disabled="!editable">
  66. <el-radio :disabled="!editable" :label="1">门诊</el-radio>
  67. <el-radio :disabled="!editable" :label="2">家庭访视</el-radio>
  68. <el-radio :disabled="!editable" :label="3">电话</el-radio>
  69. <el-radio :disabled="!editable" :label="4">视频</el-radio>
  70. </el-radio-group>
  71. </td>
  72. </tr>
  73. <tr>
  74. <td class="col-w120 c-t-center">本次随访对象
  75. </td>
  76. <td colspan="2">
  77. <el-checkbox-group v-model="followup_object_check" :disabled="!editable">
  78. <el-checkbox label="1">患者本人</el-checkbox>
  79. <el-checkbox label="2">患者家属,监护人</el-checkbox>
  80. <el-checkbox label="3">其他知情人</el-checkbox>
  81. </el-checkbox-group>
  82. </td>
  83. </tr>
  84. <tr>
  85. <td class="col-w120 c-t-center">若失访,原因
  86. </td>
  87. <td colspan="2">
  88. <el-radio-group v-model="severeMentalDisorderData.followup_null_reason" :disabled="!editable">
  89. <el-radio :disabled="!editable" label="1">外出务工</el-radio>
  90. <el-radio :disabled="!editable" label="2">迁居他处</el-radio>
  91. <el-radio :disabled="!editable" label="3">走失</el-radio>
  92. <el-radio :disabled="!editable" label="4">连续3次未访到</el-radio>
  93. <el-radio :disabled="!editable" label="5">其他</el-radio>
  94. </el-radio-group>
  95. </td>
  96. </tr>
  97. <tr>
  98. <td rowspan="2" class="col-w120 c-t-center">如死亡,日期和原因
  99. </td>
  100. <td class="c-t-center" style="width: 100px;">死亡日期
  101. </td>
  102. <td>
  103. <el-date-picker :readonly="!editable" v-model="severeMentalDisorderData.death_date" value-format="yyyy-MM-dd" type="date"
  104. placeholder="选择日期">
  105. </el-date-picker>
  106. </td>
  107. </tr>
  108. <tr>
  109. <td class="c-t-center">
  110. 死亡原因
  111. </td>
  112. <td>
  113. <el-radio-group v-model="severeMentalDisorderData.death_reason_type" :disabled="!editable">
  114. <el-radio :disabled="!editable" label="1">躯体疾病</el-radio>
  115. <el-checkbox-group v-model="death_reason_type_check" :disabled="death_reason_type_dis||!editable">
  116. <el-checkbox label="1" style="margin-left: 30px;">传染病和寄生虫病</el-checkbox>
  117. <el-checkbox label="2">肿瘤</el-checkbox>
  118. <el-checkbox label="3">心脏病</el-checkbox>
  119. <el-checkbox label="4">脑血管病</el-checkbox>
  120. <el-checkbox label="5">呼吸系统疾病</el-checkbox>
  121. <el-checkbox label="6">消化系统疾病</el-checkbox>
  122. <el-checkbox label="7">其他疾病</el-checkbox>
  123. <el-checkbox label="8">不详</el-checkbox>
  124. </el-checkbox-group>
  125. <el-radio :disabled="!editable" label="2">自杀</el-radio>
  126. <el-radio :disabled="!editable" label="3">他杀</el-radio>
  127. <el-radio :disabled="!editable" label="4">意外</el-radio>
  128. <el-radio :disabled="!editable" label="5">精神疾病相关并发症</el-radio>
  129. <el-radio :disabled="!editable" label="6">其他</el-radio>
  130. </el-radio-group>
  131. </td>
  132. </tr>
  133. <tr>
  134. <td class="col-w120 c-t-center">危险性评估
  135. </td>
  136. <td colspan="2">
  137. <el-radio-group v-model="severeMentalDisorderData.dangerous_level" :disabled="!editable">
  138. <el-radio :disabled="!editable" label="0">0(0级)</el-radio>
  139. <el-radio :disabled="!editable" label="1">1(1级)</el-radio>
  140. <el-radio :disabled="!editable" label="2">2(2级)</el-radio>
  141. <el-radio :disabled="!editable" label="3">3(3级)</el-radio>
  142. <el-radio :disabled="!editable" label="4">4(4级)</el-radio>
  143. <el-radio :disabled="!editable" label="5">5(5级)</el-radio>
  144. </el-radio-group>
  145. </td>
  146. </tr>
  147. <tr>
  148. <td class="col-w120 c-t-center">目前症状
  149. </td>
  150. <td colspan="2">
  151. <el-checkbox-group v-model="symptom_check" :disabled="!editable">
  152. <el-checkbox label="1" style="margin-left: 30px;">幻觉</el-checkbox>
  153. <el-checkbox label="2">交流困难</el-checkbox>
  154. <el-checkbox label="3">猜疑</el-checkbox>
  155. <el-checkbox label="4">喜怒无常</el-checkbox>
  156. <el-checkbox label="5">行为怪异</el-checkbox>
  157. <el-checkbox label="6">兴奋话多</el-checkbox>
  158. <el-checkbox label="7">伤人毁物</el-checkbox>
  159. <el-checkbox label="8">悲观厌世</el-checkbox>
  160. <el-checkbox label="9">无故外走</el-checkbox>
  161. <el-checkbox label="10">自语自笑</el-checkbox>
  162. <el-checkbox label="11">孤僻懒散</el-checkbox>
  163. <el-checkbox label="12" class="setinput">
  164. <el-input type="text" :readonly="other_symptom||!editable" v-model="severeMentalDisorderData.other_symptom_description" placeholder="其他"
  165. clearable></el-input>
  166. </el-checkbox>
  167. </el-checkbox-group>
  168. </td>
  169. </tr>
  170. <tr>
  171. <td class="col-w120 c-t-center">自知力
  172. </td>
  173. <td colspan="2">
  174. <el-radio-group v-model="severeMentalDisorderData.intelligence" :disabled="!editable">
  175. <el-radio :disabled="!editable" label="1">自知力完全</el-radio>
  176. <el-radio :disabled="!editable" label="2">自知力不全</el-radio>
  177. <el-radio :disabled="!editable" label="3">自知力缺失</el-radio>
  178. </el-radio-group>
  179. </td>
  180. </tr>
  181. <tr>
  182. <td class="col-w120 c-t-center">睡眠情况
  183. </td>
  184. <td colspan="2">
  185. <el-radio-group v-model="severeMentalDisorderData.sleep_condition" :disabled="!editable">
  186. <el-radio :disabled="!editable" label="1">良好</el-radio>
  187. <el-radio :disabled="!editable" label="2">一般</el-radio>
  188. <el-radio :disabled="!editable" label="3">较差</el-radio>
  189. </el-radio-group>
  190. </td>
  191. </tr>
  192. <tr>
  193. <td class="col-w120 c-t-center">饮食情况
  194. </td>
  195. <td colspan="2">
  196. <el-radio-group v-model="severeMentalDisorderData.dietary_status" :disabled="!editable">
  197. <el-radio :disabled="!editable" label="1">良好</el-radio>
  198. <el-radio :disabled="!editable" label="2">一般</el-radio>
  199. <el-radio :disabled="!editable" label="3">较差</el-radio>
  200. </el-radio-group>
  201. </td>
  202. </tr>
  203. <tr>
  204. <td class="col-w120 c-t-center" rowspan="5">
  205. 社会功能情况
  206. </td>
  207. <td style="width: 120px;">个人生活料理</td>
  208. <td>
  209. <el-radio-group v-model="severeMentalDisorderData.selfcare_ability" :disabled="!editable">
  210. <el-radio :disabled="!editable" label="1">良好</el-radio>
  211. <el-radio :disabled="!editable" label="2">一般</el-radio>
  212. <el-radio :disabled="!editable" label="3">较差</el-radio>
  213. </el-radio-group>
  214. </td>
  215. </tr>
  216. <tr>
  217. <td>家务劳动</td>
  218. <td>
  219. <el-radio-group v-model="severeMentalDisorderData.housework" :disabled="!editable">
  220. <el-radio :disabled="!editable" label="1">良好</el-radio>
  221. <el-radio :disabled="!editable" label="2">一般</el-radio>
  222. <el-radio :disabled="!editable" label="3">较差</el-radio>
  223. </el-radio-group>
  224. </td>
  225. </tr>
  226. <tr>
  227. <td>生产劳动及工作</td>
  228. <td>
  229. <el-radio-group v-model="severeMentalDisorderData.work" :disabled="!editable">
  230. <el-radio :disabled="!editable" label="1">良好</el-radio>
  231. <el-radio :disabled="!editable" label="2">一般</el-radio>
  232. <el-radio :disabled="!editable" label="3">较差</el-radio>
  233. <el-radio :disabled="!editable" label="9">此项不可用</el-radio>
  234. </el-radio-group>
  235. </td>
  236. </tr>
  237. <tr>
  238. <td>学习能力</td>
  239. <td>
  240. <el-radio-group v-model="severeMentalDisorderData.learning_ability" :disabled="!editable">
  241. <el-radio :disabled="!editable" label="1">良好</el-radio>
  242. <el-radio :disabled="!editable" label="2">一般</el-radio>
  243. <el-radio :disabled="!editable" label="3">较差</el-radio>
  244. </el-radio-group>
  245. </td>
  246. </tr>
  247. <tr>
  248. <td>社会交往能力</td>
  249. <td>
  250. <el-radio-group v-model="severeMentalDisorderData.sociability" :disabled="!editable">
  251. <el-radio :disabled="!editable" label="1">良好</el-radio>
  252. <el-radio :disabled="!editable" label="2">一般</el-radio>
  253. <el-radio :disabled="!editable" label="3">较差</el-radio>
  254. </el-radio-group>
  255. </td>
  256. </tr>
  257. <tr>
  258. <td class="col-w120 c-t-center">危险行为
  259. </td>
  260. <td colspan="2">
  261. <!-- <el-checkbox-group v-model="dangerous_check" :disabled="!editable"> -->
  262. <div class="ui-grid">
  263. <div class="setinputw">1.轻度滋事
  264. <el-input style="width: 176px;"type="number" min="0" :readonly="!editable" v-model="severeMentalDisorderData.dangerous_behavior_1"></el-input>次
  265. </div>
  266. <div class="setinputw">&emsp;&emsp;&emsp;2.肇事
  267. <el-input style="width: 176px;" type="number" min="0" :readonly="!editable" v-model="severeMentalDisorderData.dangerous_behavior_2"></el-input>次
  268. </div>
  269. </div>
  270. <div class="ui-grid">
  271. <div class="setinputw">3.肇祸
  272. <el-input type="number" min="0" :readonly="!editable" v-model="severeMentalDisorderData.dangerous_behavior_3"></el-input>次
  273. </div>
  274. <div class="setinputw">&emsp;&emsp;&nbsp;&nbsp;&nbsp;4.其他危害行为
  275. <el-input style="width: 124px;" type="number" min="0" :readonly="!editable" v-model="severeMentalDisorderData.dangerous_behavior_4"></el-input>次
  276. </div>
  277. </div>
  278. <div class="ui-grid">
  279. <div class="setinputw">5.自伤
  280. <el-input type="number" min="0" :readonly="!editable" v-model="severeMentalDisorderData.dangerous_behavior_5"></el-input>次
  281. </div>
  282. <div class="setinputw">&emsp;&emsp;&nbsp;&nbsp; 6.自杀未遂
  283. <el-input style="width: 152px;" type="number" min="0" :readonly="!editable" v-model="severeMentalDisorderData.dangerous_behavior_6"></el-input>次
  284. </div>
  285. </div>
  286. <el-checkbox true-label="1" false-label="0" :disabled="!editable" v-model="severeMentalDisorderData.dangerous_behavior_7">&emsp;7.无危险行为
  287. </el-checkbox>
  288. <!-- </el-checkbox-group> -->
  289. </td>
  290. </tr>
  291. <tr>
  292. <td class="col-w120 c-t-center">两次随访期间关锁情况
  293. </td>
  294. <td colspan="2">
  295. <el-radio-group v-model="severeMentalDisorderData.captivity_case" :disabled="!editable">
  296. <el-radio :disabled="!editable" label="1">无关锁</el-radio>
  297. <el-radio :disabled="!editable" label="2">关锁</el-radio>
  298. <el-radio :disabled="!editable" label="3">关锁已解除</el-radio>
  299. </el-radio-group>
  300. </td>
  301. </tr>
  302. <tr>
  303. <td class="col-w120 c-t-center">两次随访期间住院情况
  304. </td>
  305. <td colspan="2">
  306. <el-radio-group v-model="severeMentalDisorderData.in_hospital_case" :disabled="!editable">
  307. <el-radio :disabled="!editable" :label="0">未住院</el-radio>
  308. <el-radio :disabled="!editable" :label="1">目前正在住院</el-radio>
  309. <el-radio :disabled="!editable" :label="2">曾住院,现未住院</el-radio>
  310. </el-radio-group>
  311. <div class="ui-grid">
  312. <div class="ui-col-0">末次出院时间 :</div>
  313. <div class="ui-col-1">
  314. <el-date-picker :readonly="!editable" v-model="severeMentalDisorderData.last_discharged_date" value-format="yyyy-MM-dd" type="date"
  315. placeholder="选择日期">
  316. </el-date-picker>
  317. </div>
  318. </div>
  319. </td>
  320. </tr>
  321. <tr>
  322. <td class="col-w120 c-t-center">实验室检查
  323. </td>
  324. <td colspan="2">
  325. <el-radio-group v-model="severeMentalDisorderData.laboratory_examination" :disabled="!editable">
  326. <el-radio :disabled="!editable" label="1">无</el-radio>
  327. <el-radio :disabled="!editable" label="2" class="setinput">有
  328. <el-input type="text" :readonly="laboratory_examination_dis||!editable" v-model="severeMentalDisorderData.laboratory_examination_description"
  329. clearable></el-input>
  330. </el-radio>
  331. </el-radio-group>
  332. </td>
  333. </tr>
  334. <tr>
  335. <td class="col-w120 c-t-center">用药依从性
  336. </td>
  337. <td colspan="2">
  338. <el-radio-group v-model="severeMentalDisorderData.compliance" :disabled="!editable">
  339. <el-radio :disabled="!editable" label="1">按医嘱规律用药</el-radio>
  340. <el-radio :disabled="!editable" label="2">间断用药</el-radio>
  341. <el-radio :disabled="!editable" label="3">不用药</el-radio>
  342. <el-radio :disabled="!editable" label="4">医嘱勿需用药</el-radio>
  343. </el-radio-group>
  344. </td>
  345. </tr>
  346. <tr>
  347. <td class="col-w120 c-t-center">药物不良反应
  348. </td>
  349. <td colspan="2">
  350. <el-radio-group v-model="severeMentalDisorderData.adverse_drug_reaction" :disabled="!editable">
  351. <el-radio :disabled="!editable" label="1">无</el-radio>
  352. <el-radio :disabled="!editable" label="2" class="setinput">有
  353. <el-input type="text" :readonly="adverse_drug_reaction_dis||!editable" v-model="severeMentalDisorderData.adverse_drug_reaction_description"
  354. clearable></el-input>
  355. </el-radio>
  356. <el-radio :disabled="!editable" label="9">此项不适用</el-radio>
  357. </el-radio-group>
  358. </td>
  359. </tr>
  360. <tr>
  361. <td class="col-w120 c-t-center">治疗效果
  362. </td>
  363. <td colspan="2">
  364. <el-radio-group :disabled="!editable" v-model="severeMentalDisorderData.treatment_effects">
  365. <el-radio :disabled="!editable" label="1">痊愈</el-radio>
  366. <el-radio :disabled="!editable" label="2">好转</el-radio>
  367. <el-radio :disabled="!editable" label="3">无变化</el-radio>
  368. <el-radio :disabled="!editable" label="4">加重</el-radio>
  369. <el-radio :disabled="!editable" label="9">此项不可用</el-radio>
  370. </el-radio-group>
  371. </td>
  372. </tr>
  373. <tr>
  374. <td class="col-w120 c-t-center">转诊情况
  375. </td>
  376. <td colspan="2">
  377. <div class="ui-grid">
  378. <div class="ui-col-0">
  379. 是否建议转诊:&emsp;
  380. </div>
  381. <div class="ui-col-1">
  382. <el-radio-group :disabled="!editable" v-model="severeMentalDisorderData.referral">
  383. <el-radio :disabled="!editable" label="1">否</el-radio>
  384. <el-radio :disabled="!editable" label="2" class="setinput">是,需要转诊原因
  385. <el-input type="text" :readonly="referral_dis||!editable" v-model="severeMentalDisorderData.referral_reason" clearable></el-input>
  386. </el-radio>
  387. </el-radio-group>
  388. </div>
  389. </div>
  390. <div class="ui-grid">
  391. <div class="ui-col-0">
  392. 是否已转诊:&emsp;
  393. </div>
  394. <div class="ui-col-1">
  395. <el-radio-group :disabled="!editable" v-model="severeMentalDisorderData.is_referral">
  396. <el-radio :disabled="!editable" label="1">否</el-radio>
  397. <el-radio :disabled="!editable" label="2" class="setinput">是,转诊的机构
  398. <el-input type="text" :readonly="organization_org_name_dis||!editable" v-model="severeMentalDisorderData.organization_org_name"
  399. clearable></el-input>
  400. 和科室
  401. <el-input type="text" :readonly="organization_dis||!editable" v-model="severeMentalDisorderData.organization" clearable></el-input>
  402. </el-radio>
  403. </el-radio-group>
  404. </div>
  405. </div>
  406. </td>
  407. </tr>
  408. <tr>
  409. <td colspan="3" class="table2Td">
  410. <table class="table2">
  411. <tr>
  412. <td class="col-w120 c-t-center" rowspan="3">用药情况
  413. </td>
  414. <td colspan="1" style="width: 300px;" class="setinput">
  415. 药物1
  416. <el-input :readonly="!editable" type="text" clearable v-model="severeMentalDisorderData.medicine1_name"></el-input>
  417. </td>
  418. <td class="setinput">用法:早
  419. <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine1_dosage_early">
  420. </el-input>mg;中
  421. <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine1_dosage_noon">
  422. </el-input> mg; 晚
  423. <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine1_dosage_night">
  424. </el-input>mg
  425. <br>长效药:每
  426. <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine1_frequency">
  427. </el-input> 周一次;每次
  428. <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine1_dosage">
  429. </el-input> mg
  430. </td>
  431. </tr>
  432. <tr>
  433. <td class="setinput">
  434. 药物2
  435. <el-input :readonly="!editable" type="text" clearable v-model="severeMentalDisorderData.medicine2_name"> </el-input>
  436. </td>
  437. <td class="setinput">用法:早
  438. <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine2_dosage_early">
  439. </el-input>mg;中
  440. <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine2_dosage_noon">
  441. </el-input> mg; 晚
  442. <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine2_dosage_night">
  443. </el-input>mg
  444. <br>长效药:每
  445. <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine2_frequency">
  446. </el-input> 周一次;每次
  447. <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine2_dosage">
  448. </el-input> mg
  449. </td>
  450. </tr>
  451. <tr>
  452. <td class="setinput">
  453. 药物3
  454. <el-input :readonly="!editable" type="text" clearable v-model="severeMentalDisorderData.medicine3_name"> </el-input>
  455. </td>
  456. <td class="setinput">用法:早
  457. <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine3_dosage_early">
  458. </el-input>mg;中
  459. <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine3_dosage_noon">
  460. </el-input> mg; 晚
  461. <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine3_dosage_night">
  462. </el-input>mg
  463. <br>长效药:每
  464. <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine3_frequency">
  465. </el-input> 周一次;每次
  466. <el-input :readonly="!editable" type="number" min="0" style="width: 70px;" v-model="severeMentalDisorderData.medicine3_dosage">
  467. </el-input> mg
  468. </td>
  469. </tr>
  470. <tr>
  471. <td class="col-w120 c-t-center" rowspan="3" style="border-bottom: 0">用药指导
  472. </td>
  473. <td class="setinput">
  474. 药物1
  475. <el-input v-model="severeMentalDisorderData.guide_medicine1_name" :readonly="!editable" type="text" clearable> </el-input>
  476. </td>
  477. <td class="setinput">用法:早
  478. <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_medicine1_dosage_early" type="number" min="0" style="width: 70px;">
  479. </el-input>mg;中
  480. <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_medicine1_dosage_noon" type="number" min="0" style="width: 70px;">
  481. </el-input> mg; 晚
  482. <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_medicine1_dosage_night" type="number" min="0" style="width: 70px;">
  483. </el-input>mg
  484. <br>长效药:每
  485. <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_sustained_medicine1_frequency" type="number" min="0"
  486. style="width: 70px;"> </el-input> 周一次;每次
  487. <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_sustained_meidicine1_dosage" type="number" min="0"
  488. style="width: 70px;"> </el-input> mg
  489. </td>
  490. </tr>
  491. <tr>
  492. <td class="setinput">
  493. 药物2
  494. <el-input v-model="severeMentalDisorderData.guide_medicine2_name" :readonly="!editable" type="text" clearable> </el-input>
  495. </td>
  496. <td class="setinput">用法:早
  497. <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_medicine2_dosage_early" type="number" min="0" style="width: 70px;">
  498. </el-input>mg;中
  499. <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_medicine2_dosage_noon" type="number" min="0" style="width: 70px;">
  500. </el-input> mg; 晚
  501. <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_medicine2_dosage_night" type="number" min="0" style="width: 70px;">
  502. </el-input>mg
  503. <br>长效药:每
  504. <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_sustained_medicine2_frequency" type="number" min="0"
  505. style="width: 70px;"> </el-input> 周一次;每次
  506. <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_sustained_meidicine2_dosage" type="number" min="0"
  507. style="width: 70px;"> </el-input> mg
  508. </td>
  509. </tr>
  510. <tr>
  511. <td class="setinput">
  512. 药物3
  513. <el-input v-model="severeMentalDisorderData.guide_medicine3_name" :readonly="!editable" type="text" clearable> </el-input>
  514. </td>
  515. <td class="setinput">用法:早
  516. <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_medicine3_dosage_early" type="number" min="0" style="width: 70px;">
  517. </el-input>mg;中
  518. <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_medicine3_dosage_noon" type="number" min="0" style="width: 70px;">
  519. </el-input> mg; 晚
  520. <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_medicine3_dosage_night" type="number" min="0" style="width: 70px;">
  521. </el-input>mg
  522. <br>长效药:每
  523. <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_sustained_medicine3_frequency" type="number" min="0"
  524. style="width: 70px;"> </el-input> 周一次;每次
  525. <el-input :readonly="!editable" v-model="severeMentalDisorderData.guide_sustained_meidicine3_dosage" type="number" min="0"
  526. style="width: 70px;"> </el-input> mg
  527. </td>
  528. </tr>
  529. </table>
  530. </td>
  531. </tr>
  532. <tr>
  533. <td class="col-w120 c-t-center">康复措施
  534. </td>
  535. <td colspan="2">
  536. <el-checkbox-group v-model="rehabilitation_check" :disabled="!editable">
  537. <el-checkbox label="1">生活劳动能力</el-checkbox>
  538. <el-checkbox label="2">职业训练</el-checkbox>
  539. <el-checkbox label="3">学习能力</el-checkbox>
  540. <el-checkbox label="4">社会交往</el-checkbox>
  541. <el-checkbox label="5" class="setinput">其他
  542. <el-input type="text" clearable :readonly="rehabilitation_other_description_dis||!editable" v-model="severeMentalDisorderData.rehabilitation_other_description">
  543. </el-input>
  544. </el-checkbox>
  545. </el-checkbox-group>
  546. </td>
  547. </tr>
  548. <tr>
  549. <td class="col-w120 c-t-center">本次随访分类
  550. </td>
  551. <td colspan="2">
  552. <el-radio-group v-model="severeMentalDisorderData.followup_class" :disabled="!editable">
  553. <el-radio :disabled="!editable" label="1">不稳定</el-radio>
  554. <el-radio :disabled="!editable" label="2">基本稳定</el-radio>
  555. <el-radio :disabled="!editable" label="3">稳定</el-radio>
  556. </el-radio-group>
  557. </td>
  558. </tr>
  559. <tr>
  560. <td class="col-w120 c-t-center">下次随访日期
  561. </td>
  562. <td colspan="2">
  563. <el-date-picker :readonly="!editable" v-model="severeMentalDisorderData.followup_next_date" value-format="yyyy-MM-dd" type="date"
  564. placeholder="选择日期" @blur="forceUpdate">
  565. </el-date-picker>
  566. </td>
  567. </tr>
  568. <tr>
  569. <td class="col-w120 c-t-center">随访医生签名
  570. </td>
  571. <td colspan="2">
  572. <el-input :readonly="!editable" v-model="severeMentalDisorderData.doctor_name" placeholder="" clearable></el-input>
  573. </td>
  574. </tr>
  575. </table>
  576. <follow-bottom :followupId="followupId"></follow-bottom>
  577. </div>
  578. <script src="../../../../js/vue.js" type="text/javascript" charset="utf-8"></script>
  579. <script src="../../../../js/jquery-2.2.4.js" type="text/javascript" charset="utf-8"></script>
  580. <script src="../../../../js/util.js" type="text/javascript" charset="utf-8"></script>
  581. <script src="../../../../plugins/toastr/toastr.min.js"></script>
  582. <script src="../../../../js/es6-promise.js" type="text/javascript" charset="utf-8"></script>
  583. <script src="../../../../js/underscore.js" type="text/javascript" charset="utf-8"></script>
  584. <script src="../../../../js/element-ui.js" type="text/javascript" charset="utf-8"></script>
  585. <script src="../../../../component/followup/follow-bottom.js"></script>
  586. <script src="../../../../component/followup/finish-followup-btn.js"></script>
  587. <script src="../../../../api/http-request.js" type="text/javascript" charset="utf-8"></script>
  588. <script src="../../../../api/fangshi-api.js"></script>
  589. <script>
  590. var Request = GetRequest();
  591. new Vue({
  592. el: "#app",
  593. data: function () {
  594. return {
  595. editable: false,
  596. finishedStatus: null, //随访完成状态
  597. isEditBtn: true,
  598. death_reason_type_dis: true,
  599. other_symptom: true,
  600. laboratory_examination_dis: true,
  601. adverse_drug_reaction_dis: true,
  602. rehabilitation_other_description_dis: true,
  603. referral_dis: true,
  604. organization_org_name_dis: true,
  605. organization_dis: true,
  606. disease_dis_1: true,
  607. disease_dis_2: true,
  608. disease_dis_3: true,
  609. disease_dis_4: true,
  610. disease_dis_5: true,
  611. disease_dis_6: true,
  612. disease_dis_7: true,
  613. disease_dis_8: true,
  614. data2: "",
  615. radio: "",
  616. input: '',
  617. followup_object_check: [],
  618. death_reason_type_check: [],
  619. symptom_check: [],
  620. rehabilitation_check: [],
  621. severeMentalDisorderData: {
  622. illusion: '0',
  623. communication_difficulty: '0',
  624. suspicious: '0',
  625. moods: '0',
  626. weird: '0',
  627. talkative: '0',
  628. smashing_objects: '0',
  629. profoundly_pessimistic: '0',
  630. outside_without_cause: '0',
  631. to_myself_from_laughing: '0',
  632. withdrawn_lazy: '0',
  633. other_symptom: '0',
  634. rehabilitation_work_ability: '0',
  635. rehabilitation_training: '0',
  636. rehabilitation_learning_ability: '0',
  637. rehabilitation_sociability: '0',
  638. rehabilitation_other: "0",
  639. followup_class: "",
  640. followup_next_date: "",
  641. doctor_name: "",
  642. followup_type:2,//默认家庭访视,
  643. followup_date:''
  644. },
  645. followupId: Request['id'],
  646. version: Request['version'],
  647. patientCode:'',
  648. followupClass:''
  649. }
  650. },
  651. computed: {
  652. referral: function () {
  653. return this.severeMentalDisorderData.referral
  654. },
  655. is_referral: function () {
  656. return this.severeMentalDisorderData.is_referral
  657. },
  658. adverse_drug_reaction: function () {
  659. return this.severeMentalDisorderData.adverse_drug_reaction
  660. },
  661. laboratory_examination: function () {
  662. return this.severeMentalDisorderData.laboratory_examination
  663. },
  664. death_reason_type: function () {
  665. return this.severeMentalDisorderData.death_reason_type
  666. },
  667. dangerous_behavior_7: function () {
  668. return this.severeMentalDisorderData.dangerous_behavior_7
  669. },
  670. },
  671. watch: {
  672. death_reason_type_check: function (i) {
  673. // console.log(JSON.stringify(i))
  674. },
  675. dangerous_behavior_7: function (i) {
  676. if (i == '1') {
  677. var vmS = this.severeMentalDisorderData
  678. for (var i = 1; i < 7; i++) {
  679. var arr = "dangerous_behavior_" + i
  680. vmS[arr.split(',')] = ''
  681. }
  682. }
  683. },
  684. referral: function (i) {
  685. if (i == '2') {
  686. this.referral_dis = false
  687. } else {
  688. this.referral_dis = true
  689. this.severeMentalDisorderData.referral_reason = ''
  690. }
  691. },
  692. is_referral: function (i) {
  693. if (i == '2') {
  694. this.organization_org_name_dis = false
  695. this.organization_dis = false
  696. } else {
  697. this.organization_org_name_dis = true
  698. this.organization_dis = true
  699. this.severeMentalDisorderData.organization = ''
  700. this.severeMentalDisorderData.organization_org_name = ''
  701. }
  702. },
  703. adverse_drug_reaction: function (i) {
  704. if (i == '2') {
  705. this.adverse_drug_reaction_dis = false
  706. } else {
  707. this.adverse_drug_reaction_dis = true
  708. this.severeMentalDisorderData.adverse_drug_reaction_description = ''
  709. }
  710. },
  711. laboratory_examination: function (i) {
  712. if (i == '2') {
  713. this.laboratory_examination_dis = false
  714. } else {
  715. this.laboratory_examination_dis = true
  716. this.severeMentalDisorderData.laboratory_examination_description = ''
  717. }
  718. },
  719. death_reason_type: function (i) {
  720. if (i == 1) {
  721. this.death_reason_type_dis = false
  722. } else {
  723. this.death_reason_type_dis = true
  724. this.death_reason_type_check = []
  725. }
  726. },
  727. symptom_check: function (i) {
  728. var a = i.indexOf('12')
  729. if (a > -1) {
  730. this.other_symptom = false
  731. } else {
  732. this.other_symptom = true
  733. this.severeMentalDisorderData.other_symptom_description = ''
  734. }
  735. },
  736. rehabilitation_check: function (i) {
  737. var a = i.indexOf('5')
  738. if (a > -1) {
  739. this.rehabilitation_other_description_dis = false
  740. } else {
  741. this.rehabilitation_other_description_dis = true
  742. this.severeMentalDisorderData.rehabilitation_other_description = ''
  743. }
  744. },
  745. },
  746. mounted: function () {
  747. this.getData() //获取随访状态
  748. },
  749. methods: {
  750. getData: function () {
  751. var vm = this
  752. window.vm = vm
  753. fangshiAPI.getFollowupSevereMentalDisorder({ followupId: this.followupId || '1' }).then(function (res) {
  754. if (res.status == 200) {
  755. var data = res.data
  756. if (data != null) {
  757. vm.severeMentalDisorderData = res.data
  758. vm.dealData(data)
  759. vm.getStatus(false)
  760. }else{
  761. vm.getStatus(true)
  762. }
  763. } else {
  764. top.toastr.error(res.msg);
  765. }
  766. })
  767. },
  768. dealData: function (data) {
  769. var vm=this
  770. var vmS = vm.severeMentalDisorderData
  771. vm.followup_object_check = data.followup_object ? data.followup_object.split(',') : []
  772. if (data.physical_disease_type) {
  773. vm.death_reason_type_check = data.physical_disease_type.split(',')
  774. }
  775. vmS.dangerous_level = data.dangerous_level + ''
  776. if (data.illusion == '1') {
  777. vm.symptom_check.push('1')
  778. } if (data.communication_difficulty == '1') {
  779. vm.symptom_check.push('2')
  780. } if (data.suspicious == '1') {
  781. vm.symptom_check.push('3')
  782. } if (data.moods == '1') {
  783. vm.symptom_check.push('4')
  784. } if (data.weird == '1') {
  785. vm.symptom_check.push('5')
  786. } if (data.talkative == '1') {
  787. vm.symptom_check.push('6')
  788. } if (data.smashing_objects == '1') {
  789. vm.symptom_check.push('7')
  790. } if (data.profoundly_pessimistic == '1') {
  791. vm.symptom_check.push('8')
  792. } if (data.outside_without_cause == '1') {
  793. vm.symptom_check.push('9')
  794. } if (data.to_myself_from_laughing == '1') {
  795. vm.symptom_check.push('10')
  796. } if (data.withdrawn_lazy == '1') {
  797. vm.symptom_check.push('11')
  798. } if (data.other_symptom == '1') {
  799. vm.symptom_check.push('12')
  800. }
  801. if (vmS.rehabilitation_work_ability == '1') {
  802. vm.rehabilitation_check.push('1')
  803. } if (vmS.rehabilitation_training == '1') {
  804. vm.rehabilitation_check.push('2')
  805. } if (vmS.rehabilitation_learning_ability == '1') {
  806. vm.rehabilitation_check.push('3')
  807. } if (vmS.rehabilitation_sociability == '1') {
  808. vm.rehabilitation_check.push('4')
  809. } if (vmS.rehabilitation_other == '1') {
  810. vm.rehabilitation_check.push('5')
  811. }
  812. vmS.death_reason_type = data.death_reason_type ? data.death_reason_type.toString() : ''
  813. vmS.intelligence = data.intelligence ? data.intelligence.toString() : ''
  814. vmS.sleep_condition = data.sleep_condition ? data.sleep_condition.toString() : ''
  815. vmS.dietary_status = data.dietary_status ? data.dietary_status.toString() : ''
  816. vmS.selfcare_ability = data.selfcare_ability ? data.selfcare_ability.toString() : ''
  817. vmS.housework = data.housework ? data.housework.toString() : ''
  818. vmS.work = data.work ? data.work.toString() : ''
  819. vmS.learning_ability = data.learning_ability ? data.learning_ability.toString() : ''
  820. vmS.sociability = data.sociability ? data.sociability.toString() : ''
  821. vmS.captivity_case = data.captivity_case ? data.captivity_case.toString() : ''
  822. // vmS.in_hospital_case = data.in_hospital_case ? data.in_hospital_case.toString() : ''
  823. vmS.laboratory_examination = data.laboratory_examination ? data.laboratory_examination.toString() : ''
  824. vmS.compliance = data.compliance ? data.compliance.toString() : ''
  825. vmS.adverse_drug_reaction = data.adverse_drug_reaction ? data.adverse_drug_reaction.toString() : ''
  826. vmS.treatment_effects = data.treatment_effects ? data.treatment_effects.toString() : ''
  827. vmS.referral = data.referral ? data.referral.toString() : ''
  828. vmS.is_referral = data.is_referral ? data.is_referral.toString() : ''
  829. vmS.followup_class = data.followup_class ? data.followup_class.toString() : ""
  830. vmS.followup_next_date = data.followup_next_date || ""
  831. vmS.doctor_name = data.doctor_name || ""
  832. },
  833. getLastData: function (doctorName,name) {
  834. var vm = this
  835. fangshiAPI.getLastVisitRecord({ followupClass: vm.followupClass, patientCode: vm.patientCode }).then(function (res) {
  836. if (res.status == 200) {
  837. var data = res.data.detail
  838. // finishedStatus:true 随访完成,false 随访未完成
  839. // 默认医生签名
  840. vm.severeMentalDisorderData.doctor_name=doctorName
  841. vm.severeMentalDisorderData.name=name
  842. // 居民存在上次历史记录,则代入默认信息
  843. if (res.data.detail) {
  844. vm.severeMentalDisorderData = res.data.detail
  845. vm.dealData(data)
  846. }
  847. //默认登记时间为当前时间
  848. vm.severeMentalDisorderData.followup_date=new Date().format("yyyy-MM-dd")
  849. vm.severeMentalDisorderData.followup_next_date=null
  850. }
  851. })
  852. },
  853. // 完成随访状态修改
  854. finish: function () {
  855. var vm=this
  856. fangshiAPI.updateFollowStatus({ followupId: this.followupId }).then(function (res) {
  857. if (res.status == 200) {
  858. vm.finishedStatus=true
  859. vm.setEditBtn()
  860. top.toastr.info("完成随访成功")
  861. } else {
  862. top.toastr.error(res.msg);
  863. }
  864. })
  865. },
  866. editData: function () {
  867. var vm = this
  868. var vmS = this.severeMentalDisorderData
  869. if (vm.followup_object_check) {
  870. vmS.followup_object = vm.followup_object_check.join(",")
  871. }
  872. if (vm.death_reason_type_check) {
  873. vmS.physical_disease_type = vm.death_reason_type_check.join(",")
  874. }
  875. vm.symptom_check?vm.symptom_check.map(function(i) {
  876. if (i == '1') {
  877. vmS.illusion = '1'
  878. } if (i == '2') {
  879. vmS.communication_difficulty = '1'
  880. } if (i == '3') {
  881. vmS.suspicious = '1'
  882. } if (i == '4') {
  883. vmS.moods = '1'
  884. } if (i == '5') {
  885. vmS.weird = '1'
  886. } if (i == '6') {
  887. vmS.talkative = '1'
  888. } if (i == '7') {
  889. vmS.smashing_objects = '1'
  890. } if (i == '8') {
  891. vmS.profoundly_pessimistic = '1'
  892. } if (i == '9') {
  893. vmS.outside_without_cause = '1'
  894. } if (i == '10') {
  895. vmS.to_myself_from_laughing = '1'
  896. } if (i == '11') {
  897. vmS.withdrawn_lazy = '1'
  898. } if (i == '12') {
  899. vmS.other_symptom = '1'
  900. }
  901. }):[]
  902. vm.rehabilitation_check ? vm.rehabilitation_check.map(function (i) {
  903. if (i == '1') {
  904. vmS.rehabilitation_work_ability = '1'
  905. } if (i == '2') {
  906. vmS.rehabilitation_training = '1'
  907. } if (i == '3') {
  908. vmS.rehabilitation_learning_ability = '1'
  909. } if (i == '4') {
  910. vmS.rehabilitation_sociability = '1'
  911. } if (i == '5') {
  912. vmS.rehabilitation_other = '1'
  913. }
  914. }) : []
  915. this.severeMentalDisorderData.create_time = null
  916. this.severeMentalDisorderData.version = this.version
  917. fangshiAPI.saveFollowupSevereMentalDisorder({ followupId: this.followupId || '1', severeMentalDisorderData: JSON.stringify(this.severeMentalDisorderData) }).then(function (res) {
  918. if (res.status == 200) {
  919. vm.finishedStatus ? '' : vm.finish()
  920. vm.finishedStatus ? top.toastr.info('保存成功') : ''
  921. } else {
  922. top.toastr.error(res.msg);
  923. }
  924. })
  925. },
  926. setEditBtn: function () {
  927. var btn = document.getElementsByClassName('button')[0]
  928. if(!this.finishedStatus){
  929. btn.innerHTML='完成随访'
  930. this.editable = true
  931. return
  932. }
  933. if (this.isEditBtn == true) {
  934. btn.innerHTML = '编辑'
  935. this.editable = false
  936. } else if (this.isEditBtn == false) {
  937. btn.innerHTML='保存'
  938. this.editable = true
  939. }
  940. },
  941. //获取当前随访状态信息 Request['id']||'1'
  942. getStatus: function (getLast) {
  943. var vm = this
  944. fangshiAPI.getFollowupInfo({ followupId: this.followupId || '1888107' }).then(function (res) {
  945. if (res.status == 200) {
  946. res.data.status!=1?vm.finishedStatus=false:vm.finishedStatus=true
  947. vm.patientCode=res.data.patientCode
  948. vm.followupClass=res.data.followupClass
  949. var doctorName=res.data.doctorName
  950. var name=res.data.patient.name
  951. if(getLast){
  952. vm.getLastData(doctorName,name)//获取patientCode,followupClass 获取上一次数据
  953. }
  954. vm.setEditBtn()
  955. } else {
  956. top.toastr.error(res.msg);
  957. }
  958. })
  959. },
  960. editBtn: function () {
  961. if (this.finishedStatus) {
  962. this.isEditBtn = !this.isEditBtn
  963. }
  964. this.setEditBtn()
  965. this.isEditBtn || !this.finishedStatus?this.editData():''//保存数据
  966. },
  967. forceUpdate: function() {
  968. this.$forceUpdate()
  969. }
  970. }
  971. })
  972. </script>
  973. </body>
  974. </html>