-
-
{{item.name}}{{ $dict.getLabel('EP_riskLevel', item.riskLevel) }}
-
{{item.idNumber}}
-
{{item.startAreaName}}
-
{{item.arriveAreaName}}
-
{{item.arriveTime}}
-
![]()
-
-
-
处置人:{{item.handleUserName}}
-
+
+
+
+
{{item.name}}
+
{{ $dict.getLabel('EP_riskLevel', item.riskLevel) }}
+
+
+ {{item.idNumber}}
+
+
+
{{item.startAreaName}}
+
{{item.arriveAreaName}}
+
{{item.arriveTime}}
+
-
+
+
处置人:{{item.handleUserName}}
+
+
@@ -81,6 +76,7 @@ export default {
areaName: '',
tabIndex: 0,
current: 1,
+ pages: 2,
list: [],
totalInfo: {},
keyword: '',
@@ -133,10 +129,21 @@ export default {
this.$http.post(`/app/appepidemicpreventionregisterinfo/list?infoType=0¤t=${this.current}&size=10&listType=${this.tabIndex}&gatewayId=${this.gatewayId}&name=${this.keyword}&arriveAreaId=${this.areaId}`)
.then((res) => {
if (res.code == 0) {
- res.data.records.map((item) => {
- item.idNumber = item.idNumber.replace(/(.{6}).*(.{4})/,"$1********$2")
- })
- this.list = this.current > 1 ? [...this.list, ...res.data.records] : res.data.records
+
+ this.list = this.current > 1 ? [...this.list, ...res.data.records.map(v => {
+ return {
+ ...v,
+ show: false,
+ idNumber: v.idNumber.replace(/(.{6}).*(.{4})/,"$1********$2")
+ }
+ })] : res.data.records.map(v => {
+ return {
+ ...v,
+ show: false,
+ idNumber: v.idNumber.replace(/(.{6}).*(.{4})/,"$1********$2")
+ }
+ })
+ this.pages = res.data.pages
}
})
},
@@ -312,6 +319,7 @@ export default {
.item{
background-color: #fff;
border-radius: 16px;
+ margin-bottom: 24px;
.top {
padding: 32px 32px 24px;
position: relative;
@@ -359,6 +367,15 @@ export default {
vertical-align: top;
}
}
+ .idnumber-flex {
+ width: 100%;
+ display: flex;
+ justify-content: space-between;
+ .del-btn {
+ display: inline-block;
+ padding: 8px;
+ }
+ }
.start-name{
display: inline-block;
width: calc(100% - 50px);
@@ -402,7 +419,7 @@ export default {
}
}
.gateway-name {
- width: calc(100% - 48px);
+ max-width: calc(100% - 48px);
word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
diff --git a/src/project/pingchang/AppCheckpointRegistration/RiskContent.vue b/src/project/pingchang/AppCheckpointRegistration/RiskContent.vue
index a9b785c9..2ae261e7 100644
--- a/src/project/pingchang/AppCheckpointRegistration/RiskContent.vue
+++ b/src/project/pingchang/AppCheckpointRegistration/RiskContent.vue
@@ -207,9 +207,8 @@ export default {
this.areaId = this.user.areaId
this.areaName = this.user.areaName
this.$dict.load('yesOrNo', 'EP_registerPersonType', 'EP_travelType', 'EP_abnormalType', 'epidemicTouchInFourteen', 'EP_homeStatus2', 'EP_quarantineStrategy', 'EP_communityHandleType').then(() => {
- // this.id = option.id
+ this.id = option.id
this.handleTypeList = this.$dict.getDict('EP_communityHandleType')
- this.id = '5ba23169ca3f46fe86c17a7e0af366b9'
this.getDetail()
})
@@ -238,7 +237,9 @@ export default {
this.$u.toast('提交成功')
uni.$emit('updateDetail')
uni.$emit('updateList')
- uni.navigateBack()
+ setTimeout(() => {
+ uni.navigateTo({ url: './AppCheckpointRegistration' })
+ }, 600)
}
}).catch((err) => {
this.$u.toast(err)
diff --git a/src/project/pingchang/AppCheckpointRegistration/UserInfo.vue b/src/project/pingchang/AppCheckpointRegistration/UserInfo.vue
index 85fce126..3dd76687 100644
--- a/src/project/pingchang/AppCheckpointRegistration/UserInfo.vue
+++ b/src/project/pingchang/AppCheckpointRegistration/UserInfo.vue
@@ -223,6 +223,7 @@ export default {
uni.$on('updateDetail', () => {
this.getDetail()
})
+ uni.$emit('updateList')
},
methods: {
getDetail() {
diff --git a/src/project/pingchang/AppCommunityManagement/Statistics.vue b/src/project/pingchang/AppCommunityManagement/Statistics.vue
index 5075a337..7cdf03a4 100644
--- a/src/project/pingchang/AppCommunityManagement/Statistics.vue
+++ b/src/project/pingchang/AppCommunityManagement/Statistics.vue
@@ -4,13 +4,13 @@
-
+
{{ beginDate }} 至 {{ endDate }}
日期选择
-
+
{{ areaName }}
地区选择
@@ -84,7 +84,8 @@ export default {
endDate: '',
showDateSelect: false,
backVal: 0,
- pointVal: 0
+ pointVal: 0,
+ firstGet: true, //第一次请求
}
},
computed: { ...mapState(['user']) },
@@ -115,7 +116,14 @@ export default {
getData() {
this.$http.post(`/app/appepidemicpreventioncommunitymanagement/statistics?areaId=${this.areaId}&beginTime=${this.beginDate}&endTime=${this.endDate}`).then((res) => {
if (res.code == 0) {
+ if(this.firstGet) {
+ var myDate = new Date();
+ this.beginDate = myDate.getFullYear() + res.data.trend[0].ymd
+ this.endDate = myDate.getFullYear() + res.data.trend[6].ymd
+ this.firstGet = false
+ }
this.info = res.data
+
var xData = [], yDataScreening = [], yDataNucleicAcid = []
res.data.trend.map((item) => {
xData.push(item.ymd)
@@ -231,6 +239,13 @@ export default {
display: flex;
justify-content: space-between;
padding: 32px;
+ .time-select{
+ width: 400px;
+ }
+ .area-select {
+ width: calc(100% - 400px);
+ text-align: right;
+ }
h2 {
font-size: 36px;
font-family: PingFang-SC-Heavy, PingFang-SC;