|
@@ -0,0 +1,117 @@
|
|
|
+<template>
|
|
|
+ <div>
|
|
|
+ <!-- <h1>未接种</h1> -->
|
|
|
+ <div v-if="shows">
|
|
|
+ <van-nav-bar
|
|
|
+ title="未接种疫苗详情"
|
|
|
+ left-arrow
|
|
|
+ left-text="返回"
|
|
|
+ @click-left="onClickLeft"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div class="contents">
|
|
|
+ <div class="contents1">姓名</div>
|
|
|
+ <div class="contents2">部门</div>
|
|
|
+ <div class="contents3">原因</div>
|
|
|
+ </div>
|
|
|
+ <div class="contents_one" v-for="item in xinxi" :key="item">
|
|
|
+ <div class="contents_one1">{{item.name}}</div>
|
|
|
+ <div class="contents_one2">{{item.section_fullname}}</div>
|
|
|
+ <div class="contents_one3">{{item. not_vaccination_cause}}</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+import { getAllUrlParams } from "../../../plugins/url-encapsulation.js";
|
|
|
+export default {
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ shows: false,
|
|
|
+ xinxi:[],
|
|
|
+ itsname:""
|
|
|
+ };
|
|
|
+ },
|
|
|
+ mounted() {
|
|
|
+ document.body.style.backgroundColor = "#fff"; //背景色
|
|
|
+ this.token = getAllUrlParams(window.location.href).token;
|
|
|
+ this.tabbar=Boolean(getAllUrlParams(window.location.href).tabbar) ;
|
|
|
+ this.shows=this.tabbar
|
|
|
+ this.names = getAllUrlParams(window.location.href).its;
|
|
|
+ console.log(decodeURIComponent(this.names));
|
|
|
+ this.itsname= getAllUrlParams(window.location.href).itsname;
|
|
|
+ console.log(decodeURIComponent(this.itsname));
|
|
|
+ this.getxinxi()
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ onClickLeft() {
|
|
|
+ window.history.back();
|
|
|
+ },
|
|
|
+ getxinxi(){
|
|
|
+ this.$http.post("http://zaoquan.nxjiewei.com:8011/api/workbench/epidemic_situation/get_not_vaccination_list",{
|
|
|
+ section_fullname:decodeURIComponent(this.names),
|
|
|
+ // vaccination_first:decodeURIComponent(this.itsname)
|
|
|
+ }).then(res=>{
|
|
|
+ console.log(res);
|
|
|
+ this.xinxi=res.data.data.not_nat_section_list
|
|
|
+ })
|
|
|
+ }
|
|
|
+ },
|
|
|
+};
|
|
|
+</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;
|
|
|
+}
|
|
|
+.contents {
|
|
|
+ display: flex;
|
|
|
+ justify-content: left;
|
|
|
+ width: 90%;
|
|
|
+ margin: 12px auto;
|
|
|
+ padding-bottom: 5px;
|
|
|
+ font-size: 18px;
|
|
|
+ border-bottom: 3px solid #39f;
|
|
|
+}
|
|
|
+.contents1 {
|
|
|
+ width: 20%;
|
|
|
+ color: #39f;
|
|
|
+}
|
|
|
+.contents2 {
|
|
|
+ width: 30%;
|
|
|
+ color: #39f;
|
|
|
+}
|
|
|
+.contents3 {
|
|
|
+ width: 50%;
|
|
|
+ color: #39f;
|
|
|
+}
|
|
|
+.contents_one {
|
|
|
+ display: flex;
|
|
|
+ justify-content: left;
|
|
|
+ width: 90%;
|
|
|
+ margin: 12px auto;
|
|
|
+ padding-bottom: 10px;
|
|
|
+ border-bottom: 1px solid #f0f0f0;
|
|
|
+}
|
|
|
+.contents_one1 {
|
|
|
+ width: 20%;
|
|
|
+}
|
|
|
+.contents_one2 {
|
|
|
+ width: 30%;
|
|
|
+}
|
|
|
+.contents_one3 {
|
|
|
+ width: 50%;
|
|
|
+}
|
|
|
+</style>
|