followup_medication.html 4.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta name="renderer" content="webkit">
  7. <meta http-equiv="Cache-Control" content="no-siteapp">
  8. <meta http-equiv="X-UA-Compatible" content="IE=Edge">
  9. <title>用药情况</title>
  10. <link rel="stylesheet" href="../../../css/bootstrap.min.css" />
  11. <link rel="stylesheet" type="text/css" href="../../../plugins/toastr/toastr.min.css"/>
  12. <link rel="stylesheet" href="../css/follow-up.css" />
  13. <link rel="stylesheet" type="text/css" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css" />
  14. <script type="text/javascript" src="../../../js/esModule.js" ></script>
  15. </head>
  16. <body>
  17. <div id="app" class="pt20">
  18. <p class="page_title">6、用药情况</p>
  19. <div class="inline-container medication">
  20. <div class="row-inline-item ml0">
  21. <span class="mr10">服药依从性</span>
  22. <select v-model="DRUG_COMPLIANCE_CODE" class="form-control w-110">
  23. <option value="">请选择</option>
  24. <option value="1">规律服药</option>
  25. <option value="2">间断服药</option>
  26. <option value="3">不服药</option>
  27. </select>
  28. </div>
  29. <div v-if="noInsulin.length>0" class="type-row">
  30. <div class="row-title ml0">
  31. <div class="row-inline-item w-290 ml0">药品名称</div>
  32. <div class="row-inline-item w-70 ml0 c-t-center">次剂量</div>
  33. <div class="row-inline-item w-110 ml0 c-t-center">单位</div>
  34. <div class="row-inline-item w-110 ml0 c-t-center">频次</div>
  35. </div>
  36. <div v-for="item in noInsulin" class="row-inline-item ml0 inline-container-p" :name="item.drugsName" :code="item.drugsCode" :group="item.drugsGroup" :value1="item.unit" :value2="item.frequency" :dose="item.dose">
  37. <input v-model="item.drugsName" type="text" class="form-control w-290 ml0"/>
  38. <input v-model="item.dose" type="text" class="form-control w-70"/>
  39. <select v-model="item.unit" class="form-control w-110":value="item.unit">
  40. <option value="">请选择</option>
  41. <option v-for="item in unit_dict" :value="item.key" v-text="item.name"></option>
  42. </select>
  43. <select v-model="item.frequency" class="form-control w-110">
  44. <option value="">请选择</option>
  45. <option v-for="item in frequency_dict" :value="item.key" v-text="item.name"></option>
  46. </select>
  47. </div>
  48. </div>
  49. <div v-if="hasInsulin.length>0" class="type-row">
  50. <div class="row-title">
  51. <div class="row-inline-item w-290 ml0">胰岛素药品名称</div>
  52. <div class="row-inline-item w-70 ml0 c-t-center">次剂量</div>
  53. <div class="row-inline-item w-110 ml0 c-t-center">单位</div>
  54. <div class="row-inline-item w-110 ml0 c-t-center">频次</div>
  55. </div>
  56. <div v-for="item in hasInsulin" class="row-inline-item ml0 inline-container-y" :name="item.drugsName" :code="item.drugsCode" :group="item.drugsGroup" :value1="item.unit" :value2="item.frequency" :dose="item.dose">
  57. <input v-model="item.drugsName" type="text" class="form-control w-290 ml0"/>
  58. <input v-model="item.dose" type="text" class="form-control w-70"/>
  59. <select v-model="item.unit" class="form-control w-110">
  60. <option value="">请选择</option>
  61. <option v-for="item in unit_dict" :value="item.key" v-text="item.name"></option>
  62. </select>
  63. <select v-model="item.frequency" class="form-control w-110">
  64. <option value="">请选择</option>
  65. <option v-for="item in frequency_dict" :value="item.key" v-text="item.name"></option>
  66. </select>
  67. </div>
  68. </div>
  69. <div v-if="hasInsulin.length==0 && noInsulin.length==0">暂无药品</div>
  70. </div>
  71. <!--保存-->
  72. <div class="mt50 text-center">
  73. <el-button type="primary" @click="saveButton">保存</el-button>
  74. </div>
  75. </div>
  76. <script type="text/javascript" src="../../../js/vue.js"></script>
  77. <script type="text/javascript" src="../../../js/jquery-2.2.4.js" ></script>
  78. <script src="../../../js/es6-promise.js"></script>
  79. <script src="../../../plugins/toastr/toastr.min.js"></script>
  80. <script src="../../../js/util.js"></script>
  81. <script src="https://unpkg.com/element-ui/lib/index.js" type="text/javascript" charset="utf-8"></script>
  82. <script src="../../../api/http-request.js"></script>
  83. <script src="../../../api/record-api.js"></script>
  84. <script src="../js/recipe_frequency_dict.js"></script>
  85. <script src="../js/measure_unit_dict.js"></script>
  86. <script type="text/javascript" src="../js/medication.js" ></script>
  87. </body>
  88. </html>