疫情防控
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="banner">
|
||||
<img src="./components/img/fxry.png" alt="" class="mar-r18" />
|
||||
<img src="./components/img/fxry.png" alt="" class="mar-r18" @click="toBack"/>
|
||||
<img src="./components/img/jkjc.png" alt="" @click="toHealth" />
|
||||
</div>
|
||||
<div class="echart-content">
|
||||
@@ -63,7 +63,12 @@ export default {
|
||||
uni.navigateTo({
|
||||
url:`./Health`
|
||||
})
|
||||
}
|
||||
},
|
||||
toBack(){
|
||||
uni.navigateTo({
|
||||
url:`./BackUserList`
|
||||
})
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
182
src/apps/AppEpidemicSituation/BackUserList.vue
Normal file
182
src/apps/AppEpidemicSituation/BackUserList.vue
Normal file
@@ -0,0 +1,182 @@
|
||||
<template>
|
||||
<div class="BackUserList">
|
||||
<div class="header">
|
||||
<div class="tab-item">
|
||||
<h2 style="color:#2C51CE;">274</h2>
|
||||
<p>返乡人员</p>
|
||||
</div>
|
||||
<div class="tab-item">
|
||||
<h2 style="color:#5AAD6A;">274</h2>
|
||||
<p>今日返乡</p>
|
||||
</div>
|
||||
<div class="tab-item">
|
||||
<h2 style="color:#F5A319;">274</h2>
|
||||
<p>今日异常</p>
|
||||
</div>
|
||||
<div class="tab-item">
|
||||
<h2 style="color:#CD413A;border-right:0;">274</h2>
|
||||
<p>异常处理</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="search">
|
||||
<div class="left">
|
||||
<AiAreaPicker v-model="areaId" all :areaId="user.areaId" @select="areaSelect" :name.sync="areaName" style="color: #666">
|
||||
<u-icon name="map-fill" color="#3192F4" size="20px" style="vertical-align: text-bottom"></u-icon>
|
||||
<span style="margin-left: 4px" v-if="areaName">{{ areaName }}</span>
|
||||
<span v-else>请选择</span>
|
||||
<u-icon name="arrow-down" color="#666" size="28" style="margin-left: 4px" />
|
||||
</AiAreaPicker>
|
||||
</div>
|
||||
<u-search v-model="keyword" :clearabled="true" placeholder="请输入姓名" :show-action="false" bg-color="#F5F5F5" search-icon-color="#999" color="#999" height="58" @search="handerSearch" @clear="handerClear"></u-search>
|
||||
</div>
|
||||
<div class="tab-select">
|
||||
<div class="item active">返乡人员<span></span></div>
|
||||
<div class="item">异常人员<span></span></div>
|
||||
</div>
|
||||
<div class="user-list">
|
||||
<div class="item" @click="toUser">
|
||||
<h2 class="name">林益丰<span class="status">有异常</span></h2>
|
||||
<p class="color-999">420107********3274</p>
|
||||
<p><img src="./components/img/blue-icon.png" alt="">湖北省武汉市洪山区</p>
|
||||
<p><img src="./components/img/org-icon.png" alt="">重庆市荣昌区</p>
|
||||
<p><img src="./components/img/time-icon.png" alt="">2021-12-06 13:23</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapState } from 'vuex'
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
areaId: '',
|
||||
areaName: ''
|
||||
}
|
||||
},
|
||||
computed: { ...mapState(['user']) },
|
||||
onShow() {},
|
||||
methods: {
|
||||
areaSelect() {
|
||||
|
||||
},
|
||||
toUser() {
|
||||
uni.navigateTo({url: './UserInfo'})
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.BackUserList {
|
||||
.header{
|
||||
padding: 54px 32px 48px 32px;
|
||||
display: flex;
|
||||
background-color: #fff;
|
||||
margin-bottom: 4px;
|
||||
.tab-item{
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
|
||||
h2{
|
||||
font-size: 52px;
|
||||
font-family: DINAlternate-Bold, DINAlternate;
|
||||
font-weight: bold;
|
||||
height: 80px;
|
||||
margin-bottom: 8px;
|
||||
letter-spacing: -4px;
|
||||
border-right: 1px solid #ddd;
|
||||
line-height: 44px;
|
||||
}
|
||||
p{
|
||||
font-size: 28px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #999;
|
||||
line-height: 40px;
|
||||
margin-top: -22px;
|
||||
}
|
||||
}
|
||||
.tab-item:nth-last-of-type(1) {
|
||||
border-right: 0;
|
||||
}
|
||||
}
|
||||
.search{
|
||||
width: 100%;
|
||||
height: 112px;
|
||||
padding: 32px;
|
||||
box-sizing: border-box;
|
||||
background: #FFF;
|
||||
display: flex;
|
||||
margin-bottom: 8px;
|
||||
.left{
|
||||
width: calc(100% - 402px);
|
||||
}
|
||||
}
|
||||
.tab-select{
|
||||
width: 100%;
|
||||
height: 96px;
|
||||
background: #FFF;
|
||||
display: flex;
|
||||
margin-bottom: 4px;
|
||||
.item{
|
||||
flex: 1;
|
||||
font-size: 32px;
|
||||
line-height: 96px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #333;
|
||||
text-align: center;
|
||||
}
|
||||
.active{
|
||||
color: #135AB8;
|
||||
position: relative;
|
||||
span{
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 92px;
|
||||
width: 192px;
|
||||
border-bottom: 4px solid #135AB8;
|
||||
}
|
||||
}
|
||||
}
|
||||
.user-list{
|
||||
.item{
|
||||
padding: 32px 64px 24px;
|
||||
background-color: #fff;
|
||||
margin-bottom: 8px;
|
||||
.name{
|
||||
font-size: 36px;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
line-height: 50px;
|
||||
margin-bottom: 8px;
|
||||
.status{
|
||||
float: right;
|
||||
font-size: 28px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #FF4466;
|
||||
line-height: 40px;
|
||||
}
|
||||
}
|
||||
p{
|
||||
font-size: 28px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #333;
|
||||
line-height: 40px;
|
||||
margin-bottom: 8px;
|
||||
img{
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-right: 18px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
.color-999{
|
||||
margin-bottom: 24px;
|
||||
color: #999;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
179
src/apps/AppEpidemicSituation/ErrorInfo.vue
Normal file
179
src/apps/AppEpidemicSituation/ErrorInfo.vue
Normal file
@@ -0,0 +1,179 @@
|
||||
<template>
|
||||
<div class="BackUserList">
|
||||
<div class="header">
|
||||
<div class="tab-item">
|
||||
<h2 style="color:#2C51CE;">274</h2>
|
||||
<p>返乡人员</p>
|
||||
</div>
|
||||
<div class="tab-item">
|
||||
<h2 style="color:#5AAD6A;">274</h2>
|
||||
<p>今日返乡</p>
|
||||
</div>
|
||||
<div class="tab-item">
|
||||
<h2 style="color:#F5A319;">274</h2>
|
||||
<p>今日异常</p>
|
||||
</div>
|
||||
<div class="tab-item">
|
||||
<h2 style="color:#CD413A;border-right:0;">274</h2>
|
||||
<p>异常处理</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="search">
|
||||
<div class="left">
|
||||
<AiAreaPicker v-model="areaId" all :areaId="user.areaId" @select="areaSelect" :name.sync="areaName" style="color: #666">
|
||||
<u-icon name="map-fill" color="#3192F4" size="20px" style="vertical-align: text-bottom"></u-icon>
|
||||
<span style="margin-left: 4px" v-if="areaName">{{ areaName }}</span>
|
||||
<span v-else>请选择</span>
|
||||
<u-icon name="arrow-down" color="#666" size="28" style="margin-left: 4px" />
|
||||
</AiAreaPicker>
|
||||
</div>
|
||||
<u-search v-model="keyword" :clearabled="true" placeholder="请输入姓名" :show-action="false" bg-color="#F5F5F5" search-icon-color="#999" color="#999" height="58" @search="handerSearch" @clear="handerClear"></u-search>
|
||||
</div>
|
||||
<div class="tab-select">
|
||||
<div class="item active">返乡人员<span></span></div>
|
||||
<div class="item">异常人员<span></span></div>
|
||||
</div>
|
||||
<div class="user-list">
|
||||
<div class="item">
|
||||
<h2 class="name">林益丰<span class="status">有异常</span></h2>
|
||||
<p class="color-999">420107********3274</p>
|
||||
<p><img src="./components/img/blue-icon.png" alt="">湖北省武汉市洪山区</p>
|
||||
<p><img src="./components/img/org-icon.png" alt="">重庆市荣昌区</p>
|
||||
<p><img src="./components/img/time-icon.png" alt="">2021-12-06 13:23</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapState } from 'vuex'
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
areaId: '',
|
||||
areaName: ''
|
||||
}
|
||||
},
|
||||
computed: { ...mapState(['user']) },
|
||||
onShow() {},
|
||||
methods: {
|
||||
areaSelect() {
|
||||
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.BackUserList {
|
||||
.header{
|
||||
padding: 54px 32px 48px 32px;
|
||||
display: flex;
|
||||
background-color: #fff;
|
||||
margin-bottom: 4px;
|
||||
.tab-item{
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
|
||||
h2{
|
||||
font-size: 52px;
|
||||
font-family: DINAlternate-Bold, DINAlternate;
|
||||
font-weight: bold;
|
||||
height: 80px;
|
||||
margin-bottom: 8px;
|
||||
letter-spacing: -4px;
|
||||
border-right: 1px solid #ddd;
|
||||
line-height: 44px;
|
||||
}
|
||||
p{
|
||||
font-size: 28px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #999;
|
||||
line-height: 40px;
|
||||
margin-top: -22px;
|
||||
}
|
||||
}
|
||||
.tab-item:nth-last-of-type(1) {
|
||||
border-right: 0;
|
||||
}
|
||||
}
|
||||
.search{
|
||||
width: 100%;
|
||||
height: 112px;
|
||||
padding: 32px;
|
||||
box-sizing: border-box;
|
||||
background: #FFF;
|
||||
display: flex;
|
||||
margin-bottom: 8px;
|
||||
.left{
|
||||
width: calc(100% - 402px);
|
||||
}
|
||||
}
|
||||
.tab-select{
|
||||
width: 100%;
|
||||
height: 96px;
|
||||
background: #FFF;
|
||||
display: flex;
|
||||
margin-bottom: 4px;
|
||||
.item{
|
||||
flex: 1;
|
||||
font-size: 32px;
|
||||
line-height: 96px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #333;
|
||||
text-align: center;
|
||||
}
|
||||
.active{
|
||||
color: #135AB8;
|
||||
position: relative;
|
||||
span{
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 92px;
|
||||
width: 192px;
|
||||
border-bottom: 4px solid #135AB8;
|
||||
}
|
||||
}
|
||||
}
|
||||
.user-list{
|
||||
.item{
|
||||
padding: 32px 64px 24px;
|
||||
background-color: #fff;
|
||||
margin-bottom: 8px;
|
||||
.name{
|
||||
font-size: 36px;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
line-height: 50px;
|
||||
margin-bottom: 8px;
|
||||
.status{
|
||||
float: right;
|
||||
font-size: 28px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #FF4466;
|
||||
line-height: 40px;
|
||||
}
|
||||
}
|
||||
p{
|
||||
font-size: 28px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #333;
|
||||
line-height: 40px;
|
||||
margin-bottom: 8px;
|
||||
img{
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-right: 18px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
.color-999{
|
||||
margin-bottom: 24px;
|
||||
color: #999;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
242
src/apps/AppEpidemicSituation/UserInfo.vue
Normal file
242
src/apps/AppEpidemicSituation/UserInfo.vue
Normal file
@@ -0,0 +1,242 @@
|
||||
<template>
|
||||
<div class="BackUserList">
|
||||
<div class="user-list">
|
||||
<div class="item">
|
||||
<h2 class="name">林益丰</h2>
|
||||
<p class="color-999">420107********3274</p>
|
||||
<p><img src="./components/img/blue-icon.png" alt="">湖北省武汉市洪山区</p>
|
||||
<p><img src="./components/img/org-icon.png" alt="">重庆市荣昌区</p>
|
||||
<p><img src="./components/img/time-icon.png" alt="">2021-12-06 13:23</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="info">
|
||||
<div class="title">基本信息</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">姓名</div>
|
||||
<div class="value">陈晨</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">身份证号</div>
|
||||
<div class="value">422132199412038273</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">联系方式</div>
|
||||
<div class="value" style="color:#4181FF;">
|
||||
<img :src="$cdn + 'common/phone.png'" alt="" @click="callPhone('112')" class="phone-icon" >
|
||||
152738193323</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">人员类别</div>
|
||||
<div class="value" style="color:#42D784;">跨省返乡人员</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="line-bg"></div>
|
||||
<div class="info">
|
||||
<div class="title">行程信息</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">出行方式</div>
|
||||
<div class="value">高铁动车</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">出发时间</div>
|
||||
<div class="value">2021-10-19</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">出发地区</div>
|
||||
<div class="value">湖北省武汉市汉阳区</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">出发地址</div>
|
||||
<div class="value">XXXXXXXXX小区,X栋X单元XXXXX</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">到达时间</div>
|
||||
<div class="value">2021-10-19</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">返乡地区</div>
|
||||
<div class="value">湖北省武汉市汉阳区</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">返乡地址</div>
|
||||
<div class="value">XXXXXXXXX小区,X栋X单元XXXXX</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">行程描述</div>
|
||||
<div class="value">2022.1.1上午11:00搭乘D5478次动车;座位号E56</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="line-bg"></div>
|
||||
<div class="info">
|
||||
<div class="title">核酸检测信息</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">核酸检测日期</div>
|
||||
<div class="value">2021-10-19</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">核酸检测结果</div>
|
||||
<div class="value" style="color:#42D784;">阴性</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div style="color:#999;">本人健康码截图或核酸检测报告</div>
|
||||
</div>
|
||||
<div class="img-list">
|
||||
<img src="./components/img/time-icon.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="line-bg"></div>
|
||||
<div class="info">
|
||||
<div class="title">健康状况</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">当前体温</div>
|
||||
<div class="value">36℃</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label" style="width:360px;">14天内是否接触新冠确诊或疑似患者</div>
|
||||
<div class="value" style="color:#42D784;">否</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">当前健康状况</div>
|
||||
<div class="value" style="color:#FF4466;">感冒症状;乏力、咳嗽、发烧、肌肉痛、头痛</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="line-bg"></div>
|
||||
<div class="footer">异常情况处理</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapState } from 'vuex'
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
areaId: '',
|
||||
areaName: ''
|
||||
}
|
||||
},
|
||||
computed: { ...mapState(['user']) },
|
||||
onShow() {},
|
||||
methods: {
|
||||
areaSelect() {
|
||||
|
||||
},
|
||||
callPhone(phone) {
|
||||
uni.makePhoneCall({phoneNumber: phone})
|
||||
},
|
||||
previewImage(images, img) {
|
||||
uni.previewImage({
|
||||
urls: images.map(v => v.url),
|
||||
current: img
|
||||
})
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.BackUserList {
|
||||
.user-list{
|
||||
margin-bottom: 24px;
|
||||
.item{
|
||||
padding: 32px 64px 24px;
|
||||
background-color: #fff;
|
||||
.name{
|
||||
font-size: 36px;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
line-height: 50px;
|
||||
margin-bottom: 8px;
|
||||
.status{
|
||||
float: right;
|
||||
font-size: 28px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #FF4466;
|
||||
line-height: 40px;
|
||||
}
|
||||
}
|
||||
p{
|
||||
font-size: 28px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #333;
|
||||
line-height: 40px;
|
||||
margin-bottom: 8px;
|
||||
img{
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-right: 18px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
.color-999{
|
||||
margin-bottom: 24px;
|
||||
color: #999;
|
||||
}
|
||||
}
|
||||
}
|
||||
.info{
|
||||
background-color: #fff;
|
||||
padding: 0 32px;
|
||||
.title{
|
||||
line-height: 116px;
|
||||
background: #FFF;
|
||||
font-size: 38px;
|
||||
font-family: PingFangSC-Semibold, PingFang SC;
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
}
|
||||
.item-flex{
|
||||
padding: 34px 0;
|
||||
border-bottom: 1px solid #ddd;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
line-height: 44px;
|
||||
font-size: 32px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
.label{
|
||||
width: 206px;
|
||||
color: #999;
|
||||
}
|
||||
.value{
|
||||
width: calc(100% - 206px);
|
||||
word-break: break-all;
|
||||
color: #333;
|
||||
text-align: right;
|
||||
.phone-icon{
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
vertical-align: middle;
|
||||
margin-right: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.img-list{
|
||||
img{
|
||||
width: 320px;
|
||||
height: 320px;
|
||||
}
|
||||
}
|
||||
.item-flex:nth-last-of-type(1){
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
.line-bg{
|
||||
width: 100%;
|
||||
height: 24px;
|
||||
background-color: #F3F6F9;
|
||||
}
|
||||
.footer{
|
||||
width: 100%;
|
||||
height: 112px;
|
||||
line-height: 112px;
|
||||
background: #1365DD;
|
||||
box-shadow: inset 0px 1px 0px 0px #EEEEEE;
|
||||
font-size: 32px;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #FFF;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
BIN
src/apps/AppEpidemicSituation/components/img/blue-icon.png
Normal file
BIN
src/apps/AppEpidemicSituation/components/img/blue-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 282 B |
BIN
src/apps/AppEpidemicSituation/components/img/org-icon.png
Normal file
BIN
src/apps/AppEpidemicSituation/components/img/org-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 277 B |
BIN
src/apps/AppEpidemicSituation/components/img/phone-icon.png
Normal file
BIN
src/apps/AppEpidemicSituation/components/img/phone-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
BIN
src/apps/AppEpidemicSituation/components/img/time-icon.png
Normal file
BIN
src/apps/AppEpidemicSituation/components/img/time-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
Reference in New Issue
Block a user