|
@@ -0,0 +1,231 @@
|
|
|
+<template>
|
|
|
+ <div>
|
|
|
+ <van-nav-bar title="体温填报" left-text="返回" left-arrow>
|
|
|
+ <template #right>
|
|
|
+ <van-icon name="records" size="18" />
|
|
|
+ </template>
|
|
|
+ </van-nav-bar>
|
|
|
+ <div class="contents">
|
|
|
+ <form>
|
|
|
+ <!-- <div class="contents_one">
|
|
|
+ <img src="../../../assets/images/zaoquan/yiqing/定位.png" alt="" />
|
|
|
+ <p>宁夏自治区灵武市枣泉煤矿东大门</p>
|
|
|
+ <input type="button" value="重新定位" />
|
|
|
+ </div> -->
|
|
|
+ <div class="contents_two">
|
|
|
+ <van-cell-group>
|
|
|
+ <van-cell title="姓名" :value="name" />
|
|
|
+ <van-cell title="部门" :value="department" />
|
|
|
+ </van-cell-group>
|
|
|
+ </div>
|
|
|
+ <div class="contents_three">
|
|
|
+ <label for="tiwen">体温</label>
|
|
|
+ <input
|
|
|
+ type="text"
|
|
|
+ name="tiwen"
|
|
|
+ placeholder="请输入35.0~42.0"
|
|
|
+ dir="rtl"
|
|
|
+ size="14"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div class="contents_four">
|
|
|
+ <label for="yimiao">是否接种疫苗</label>
|
|
|
+ <div>
|
|
|
+ <input
|
|
|
+ type="radio"
|
|
|
+ name="yimiao"
|
|
|
+ value="是"
|
|
|
+ checked
|
|
|
+ @click="reasons2"
|
|
|
+ />是
|
|
|
+ <input type="radio" name="yimiao" value="否" @click="reasons" />否
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="contents_four">
|
|
|
+ <label for="hesuan">是否做过核酸检测</label>
|
|
|
+ <div>
|
|
|
+ <input type="radio" name="hesuan" value="是" />是
|
|
|
+ <input type="radio" name="hesuan" value="否" checked />否
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ <div class="contents" v-show="reason">
|
|
|
+ <p class="contents_five">未接种疫苗原因</p>
|
|
|
+
|
|
|
+ <textarea class="contents_five">
|
|
|
+ 我暂时也不知道 我暂时也不知道 我暂时也不知道 我暂时也不知道
|
|
|
+ 我暂时也不知道
|
|
|
+ </textarea>
|
|
|
+ </div>
|
|
|
+ <div class="buttons">
|
|
|
+ <button @click="Submits">提交</button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+import { location } from "../../../plugins/map.js";
|
|
|
+export default {
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ name: "职工姓名",
|
|
|
+ department: "部门名称",
|
|
|
+ reason: true,
|
|
|
+ };
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ /**获取地图定位*/
|
|
|
+ getLocation() {
|
|
|
+ let _that = this;
|
|
|
+ let geolocation = location.initMap("map-container"); //定位
|
|
|
+ AMap.event.addListener(geolocation, "complete", (result) => {
|
|
|
+ _that.lat = result.position.lat;
|
|
|
+ _that.lng = result.position.lng;
|
|
|
+ _that.province = result.addressComponent.province;
|
|
|
+ _that.city = result.addressComponent.city;
|
|
|
+ _that.district = result.addressComponent.district;
|
|
|
+ });
|
|
|
+ },
|
|
|
+ reasons() {
|
|
|
+ // this.reason=true
|
|
|
+ },
|
|
|
+ reasons2() {
|
|
|
+ // this.reason=false
|
|
|
+ },
|
|
|
+ Submits(){
|
|
|
+ console.log(this.name);
|
|
|
+ }
|
|
|
+ },
|
|
|
+ mounted() {
|
|
|
+ document.body.style.backgroundColor = "#39f"; //背景色
|
|
|
+ // this.getLocation();
|
|
|
+ },
|
|
|
+};
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped>
|
|
|
+>>> .van-nav-bar {
|
|
|
+ background: #39f;
|
|
|
+}
|
|
|
+>>> .van-nav-bar__title {
|
|
|
+ color: #fff;
|
|
|
+}
|
|
|
+>>> .van-nav-bar .van-icon {
|
|
|
+ color: #fff;
|
|
|
+}
|
|
|
+>>> .van-nav-bar__text {
|
|
|
+ color: #fff;
|
|
|
+}
|
|
|
+[class*="van-hairline"]:after {
|
|
|
+ border: none;
|
|
|
+}
|
|
|
+.contents1 {
|
|
|
+ width: 95%;
|
|
|
+ margin: 0 auto 10px;
|
|
|
+ background: #fff;
|
|
|
+ border-radius: 10px;
|
|
|
+ border: 1px solid transparent;
|
|
|
+ text-align: center;
|
|
|
+}
|
|
|
+.contents {
|
|
|
+ width: 95%;
|
|
|
+ margin: 0 auto 10px;
|
|
|
+ background: #fff;
|
|
|
+ border-radius: 10px;
|
|
|
+ border: 1px solid transparent;
|
|
|
+}
|
|
|
+.contents_one {
|
|
|
+ width: 95%;
|
|
|
+ margin: 5px auto;
|
|
|
+ padding-bottom: 10px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: left;
|
|
|
+ border-bottom: 1px solid #f0f0f0;
|
|
|
+}
|
|
|
+.contents_one > img {
|
|
|
+ width: 40px;
|
|
|
+ height: 40px;
|
|
|
+}
|
|
|
+.contents_one > p {
|
|
|
+ width: 194px;
|
|
|
+ font-size: 14px;
|
|
|
+ margin-left: 15px;
|
|
|
+ color: #00a1e9;
|
|
|
+}
|
|
|
+.contents_one > input {
|
|
|
+ border: none;
|
|
|
+ width: 77px;
|
|
|
+ background: #39f;
|
|
|
+ color: #fff;
|
|
|
+ border-radius: 10px;
|
|
|
+ height: 27px;
|
|
|
+ font-size: 14px;
|
|
|
+ margin-top: 6px;
|
|
|
+ margin-left: 13px;
|
|
|
+}
|
|
|
+.contents_two {
|
|
|
+ width: 95%;
|
|
|
+ margin: 0 auto;
|
|
|
+ border-bottom: 1px solid #f0f0f0;
|
|
|
+}
|
|
|
+.van-cell {
|
|
|
+ padding: 10px 5px;
|
|
|
+}
|
|
|
+.van-cell__value {
|
|
|
+ color: black;
|
|
|
+}
|
|
|
+.contents_three {
|
|
|
+ width: 95%;
|
|
|
+ margin: 0 auto;
|
|
|
+ border-bottom: 1px solid #f0f0f0;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ padding: 10px 5px;
|
|
|
+}
|
|
|
+.contents_three > label {
|
|
|
+ font-size: 14px;
|
|
|
+ margin-left: 4px;
|
|
|
+}
|
|
|
+.contents_three > input {
|
|
|
+ border: none;
|
|
|
+}
|
|
|
+input::-webkit-input-placeholder {
|
|
|
+ color: #969799;
|
|
|
+ font-size: 14px;
|
|
|
+ text-align: right;
|
|
|
+}
|
|
|
+.contents_four {
|
|
|
+ width: 95%;
|
|
|
+ margin: 0 auto;
|
|
|
+ border-bottom: 1px solid #f0f0f0;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ padding: 10px 5px;
|
|
|
+}
|
|
|
+.contents_four > label {
|
|
|
+ font-size: 14px;
|
|
|
+ margin-left: 4px;
|
|
|
+}
|
|
|
+.contents_five {
|
|
|
+ width: 95%;
|
|
|
+ margin: 0 auto;
|
|
|
+ font-size: 14px;
|
|
|
+ margin-left: 4px;
|
|
|
+ border-bottom: 1px solid #f0f0f0;
|
|
|
+ padding: 10px 5px;
|
|
|
+ border: none;
|
|
|
+}
|
|
|
+.buttons {
|
|
|
+ text-align: center;
|
|
|
+ margin: 25px auto;
|
|
|
+}
|
|
|
+.buttons > button {
|
|
|
+ width: 80%;
|
|
|
+ height: 40px;
|
|
|
+ border: none;
|
|
|
+ background: #fff;
|
|
|
+ color: #39f;
|
|
|
+ border-radius: 10px;
|
|
|
+}
|
|
|
+</style>
|