diff --git a/src/apps/AppEpidemicSituation/AppEpidemicSituation.vue b/src/apps/AppEpidemicSituation/AppEpidemicSituation.vue
index d3fbfb3b..e4636a43 100644
--- a/src/apps/AppEpidemicSituation/AppEpidemicSituation.vue
+++ b/src/apps/AppEpidemicSituation/AppEpidemicSituation.vue
@@ -57,7 +57,9 @@ export default {
return {}
},
computed: { ...mapState(['user']) },
- onShow() {},
+ onShow() {
+ document.title = '疫情防控'
+ },
methods: {
toHealth(){
uni.navigateTo({
diff --git a/src/apps/AppEpidemicSituation/BackUserList.vue b/src/apps/AppEpidemicSituation/BackUserList.vue
index 0c0eb3fd..fbf85db4 100644
--- a/src/apps/AppEpidemicSituation/BackUserList.vue
+++ b/src/apps/AppEpidemicSituation/BackUserList.vue
@@ -27,20 +27,21 @@
-
+
-
返乡人员
-
异常人员
+
返乡人员
+
异常人员
-
-
林益丰有异常
-
420107********3274
-
湖北省武汉市洪山区
-
重庆市荣昌区
-
2021-12-06 13:23
+
+
{{item.name}}有异常
+
{{item.idNumber}}
+
{{item.startAreaName}}
+
{{item.arriveAreaName}}
+
{{item.checkTime}}
+
@@ -52,19 +53,52 @@ export default {
data() {
return {
areaId: '',
- areaName: ''
+ areaName: '',
+ tabIndex: 0,
+ current: 1,
+ list: [],
+ name: '',
}
},
computed: { ...mapState(['user']) },
- onShow() {},
+ onShow() {
+ this.areaId = this.user.areaId
+ document.title = '疫情防控'
+ this.getList()
+ },
methods: {
areaSelect() {
-
+ this.getListInit()
},
- toUser() {
- uni.navigateTo({url: './ErrorDetail'})
+ tabClick(index) {
+ this.tabIndex = index
+ this.getListInit()
+ },
+ getListInit() {
+ this.current = 1
+ this.list = []
+ this.getList()
+ },
+ getList() {
+ var status = ''
+ if(this.tabIndex == 1) {
+ status = 0
+ }
+ this.$http.post(`/app/appepidemicbackhomerecord/list?current=${this.current}&size=10&status=${status}&name=${this.name}`)
+ .then((res) => {
+ if (res.code == 0) {
+ this.list = this.current > 1 ? [...this.list, ...res.data.records] : res.data.records
+ }
+ })
+ },
+ toUser(row) {
+ uni.navigateTo({url: `./UserInfo?id=${row.id}`})
}
},
+ onReachBottom() {
+ this.current ++
+ this.getList()
+ }
}
@@ -133,8 +167,9 @@ export default {
span{
position: absolute;
bottom: 0;
- left: 92px;
+ left: 50%;
width: 192px;
+ margin-left: -96px;
border-bottom: 4px solid #135AB8;
}
}
diff --git a/src/apps/AppEpidemicSituation/UserInfo.vue b/src/apps/AppEpidemicSituation/UserInfo.vue
index 8261d406..0c469084 100644
--- a/src/apps/AppEpidemicSituation/UserInfo.vue
+++ b/src/apps/AppEpidemicSituation/UserInfo.vue
@@ -2,32 +2,31 @@
-
林益丰
-
420107********3274
-
湖北省武汉市洪山区
-
重庆市荣昌区
-
2021-12-06 13:23
+
{{info.name}}的返乡登记信息
+
{{info.arriveAreaName}}
+
{{info.startAreaName}}
+
{{info.checkTime}}
基本信息
身份证号
-
422132199412038273
+
{{info.idNumber}}
联系方式
-
-
![]()
- 152738193323
+
+
![]()
+ {{info.phone}}
人员类别
-
跨省返乡人员
+
{{$dict.getLabel('epidemicMemberType', info.type)}}
@@ -35,35 +34,35 @@
行程信息
出行方式
-
高铁动车
+
{{$dict.getLabel('epidemicRecentTravel', info.travelType)}}
出发时间
-
2021-10-19
+
{{info.startTime}}
出发地区
-
湖北省武汉市汉阳区
+
{{info.startAreaName}}
出发地址
-
XXXXXXXXX小区,X栋X单元XXXXX
+
{{info.startAddress}}
到达时间
-
2021-10-19
+
{{info.arriveTime}}
返乡地区
-
湖北省武汉市汉阳区
+
{{info.arriveAreaName}}
返乡地址
-
XXXXXXXXX小区,X栋X单元XXXXX
+
{{info.arriveAddress}}
行程描述
-
2022.1.1上午11:00搭乘D5478次动车;座位号E56
+
{{info.description}}
@@ -71,17 +70,17 @@
核酸检测信息
核酸检测日期
-
2021-10-19
+
{{info.checkTime}}
核酸检测结果
-
阴性
+
{{$dict.getLabel('epidemicRecentTestResult', info.checkResult)}}
-
+
-

+
@@ -89,19 +88,19 @@
健康状况
当前体温
-
36℃
+
{{info.temperature}}℃
14天内是否接触新冠确诊或疑似患者
-
否
+
{{$dict.getLabel('epidemicTouchInFourteen', info.touchInFourteen)}}
当前健康状况
-
感冒症状;乏力、咳嗽、发烧、肌肉痛、头痛
+
{{$dict.getLabel('epidemicRecentHealth', info.health)}}
-
-
+
+
@@ -111,15 +110,28 @@ import { mapState } from 'vuex'
export default {
data() {
return {
- areaId: '',
- areaName: ''
+ id: '',
+ info: {}
}
},
computed: { ...mapState(['user']) },
- onShow() {},
+ onShow() {
+ document.title = '返乡人员信息'
+ },
+ onLoad(option) {
+ this.$dict.load('epidemicMemberType', 'epidemicRecentTravel', 'epidemicTouchInFourteen', 'epidemicRecentTestResult', 'epidemicRecentHealth').then(() => {
+ this.id = option.id
+ this.getDetail()
+ })
+ },
methods: {
- areaSelect() {
-
+ getDetail() {
+ this.$http.post(`/app/appepidemicbackhomerecord/queryDetailById?id=${this.id}`).then((res) => {
+ if (res.code == 0) {
+ this.info = res.data
+ this.info.checkPhoto = JSON.parse(this.info.checkPhoto)
+ }
+ })
},
callPhone(phone) {
uni.makePhoneCall({phoneNumber: phone})
@@ -130,6 +142,9 @@ export default {
current: img
})
},
+ toError() {
+ uni.navigateTo({url: `./ErrorInfo?id=${this.id}`})
+ }
},
}
@@ -212,6 +227,7 @@ export default {
}
}
.img-list{
+ padding-bottom: 32px;
img{
width: 320px;
height: 320px;
@@ -237,6 +253,12 @@ export default {
font-weight: 500;
color: #FFF;
text-align: center;
+ position: fixed;
+ bottom: 0;
+ left: 0;
+ }
+ .border-none{
+ border-bottom: 0!important;
}
}