followup_guidance.html 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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 href="../../../plugins/toastr/toastr.min.css" rel="stylesheet">
  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">4、生活方式指导</p>
  19. <div class="inline-container">
  20. <div class="row-inline-item" v-for="list in guidances">
  21. <div v-if="list.type == 1">
  22. <span v-text="list.name"></span>
  23. <input v-model="list.value" type="text" :name="list.key" class="form-control"/>
  24. <span v-text="list.unit"></span>
  25. </div>
  26. <div v-else>
  27. <span v-text="list.name"></span>
  28. <select v-model="list.value" class="form-control w-100" :name="list.key" :class="{'w-210':(list.key.indexOf('EXERCISE_FREQ_CODE')>-1)}">
  29. <option value=""></option>
  30. <option v-for="item in list.options" v-text="item.value" :name="list.key" :value="item.key"></option>
  31. </select>
  32. <span v-text="list.unit"></span>
  33. </div>
  34. </div>
  35. </div>
  36. <!--保存-->
  37. <div class="mt50 text-center">
  38. <el-button type="primary" @click="saveButton">保存</el-button>
  39. </div>
  40. </div>
  41. <script type="text/javascript" src="../../../js/vue.js"></script>
  42. <script type="text/javascript" src="../../../js/jquery-2.2.4.js" ></script>
  43. <script src="../../../js/es6-promise.js"></script>
  44. <script src="../../../plugins/toastr/toastr.min.js"></script>
  45. <script src="../../../js/util.js"></script>
  46. <script src="https://unpkg.com/element-ui/lib/index.js" type="text/javascript" charset="utf-8"></script>
  47. <script src="../../../api/http-request.js"></script>
  48. <script src="../../../api/record-api.js"></script>
  49. <script type="text/javascript" src="../js/guidance.js" ></script>
  50. </body>
  51. </html>