123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="renderer" content="webkit">
- <meta http-equiv="Cache-Control" content="no-siteapp">
- <meta http-equiv="X-UA-Compatible" content="IE=Edge">
- <title>生活方式指导</title>
- <link rel="stylesheet" href="../../../css/bootstrap.min.css" />
- <link href="../../../plugins/toastr/toastr.min.css" rel="stylesheet">
- <link rel="stylesheet" href="../css/follow-up.css" />
- <link rel="stylesheet" type="text/css" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css" />
- <script type="text/javascript" src="../../../js/esModule.js" ></script>
- </head>
- <body>
- <div id="app" class="pt20">
- <p class="page_title">4、生活方式指导</p>
- <div class="inline-container">
- <div class="row-inline-item" v-for="list in guidances">
- <div v-if="list.type == 1">
- <span v-text="list.name"></span>
- <input v-model="list.value" type="text" :name="list.key" class="form-control"/>
- <span v-text="list.unit"></span>
- </div>
- <div v-else>
- <span v-text="list.name"></span>
- <select v-model="list.value" class="form-control w-100" :name="list.key" :class="{'w-210':(list.key.indexOf('EXERCISE_FREQ_CODE')>-1)}">
- <option value=""></option>
- <option v-for="item in list.options" v-text="item.value" :name="list.key" :value="item.key"></option>
- </select>
- <span v-text="list.unit"></span>
- </div>
- </div>
- </div>
- <!--保存-->
- <div class="mt50 text-center">
- <el-button type="primary" @click="saveButton">保存</el-button>
- </div>
- </div>
- <script type="text/javascript" src="../../../js/vue.js"></script>
- <script type="text/javascript" src="../../../js/jquery-2.2.4.js" ></script>
- <script src="../../../js/es6-promise.js"></script>
- <script src="../../../plugins/toastr/toastr.min.js"></script>
- <script src="../../../js/util.js"></script>
- <script src="https://unpkg.com/element-ui/lib/index.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../api/http-request.js"></script>
- <script src="../../../api/record-api.js"></script>
- <script type="text/javascript" src="../js/guidance.js" ></script>
- </body>
- </html>
|