diff --git a/src/project/pingchang/AppGetewayRegister/getewayAdd.vue b/src/project/pingchang/AppGetewayRegister/getewayAdd.vue index 4e1866a..075f67c 100644 --- a/src/project/pingchang/AppGetewayRegister/getewayAdd.vue +++ b/src/project/pingchang/AppGetewayRegister/getewayAdd.vue @@ -572,8 +572,9 @@ export default { return this.$toast('请选择出发地') } - if (this.startAreaId.substr(this.startAreaId.length - 3, 3) === '000') { - return this.$toast('出发地必须选到村或社区') + if (this.startAreaId.substr(4,this.startAreaId.length - 4) === '00000000') { + return this.$toast('出发地必须选至县级及以下') + // return console.log(this.startAreaId.substr(6,this.startAreaId.length - 6)); } // if (!this.form.startAddress) { diff --git a/src/project/pingchang/AppReturnHomeRegister/Detail.vue b/src/project/pingchang/AppReturnHomeRegister/Detail.vue index f203a8e..6ea89ed 100644 --- a/src/project/pingchang/AppReturnHomeRegister/Detail.vue +++ b/src/project/pingchang/AppReturnHomeRegister/Detail.vue @@ -13,7 +13,6 @@
- {{ info.arriveTime && info.arriveTime.substr(0, info.arriveTime.length - 3) }} 到达
@@ -22,6 +21,7 @@
+

基本信息

@@ -67,6 +67,7 @@
+

行程信息

@@ -134,53 +135,23 @@
-
-

核酸检测信息

-
-
- -
-
- {{ info.checkTime.split(' ')[0] }} -
-
-
-
- -
-
- {{ - $dict.getLabel('epidemicRecentTestResult', info.checkResult) - }} -
-
-
-
- -
-
- -
-
-
+

健康状况

- +
- {{ info.temperature }}℃ + {{ info.fromHighRiskArea==1? info.highRiskAreaName: '否' }}
- +
- {{ - $dict.getLabel('epidemicTouchInFourteen', info.touchInFourteen) - }} + {{ $dict.getLabel('epidemicTouchInFourteen', info.contactPatients) }}
@@ -188,10 +159,14 @@
- {{ info.healthName }} + {{ $dict.getLabel('EP_abnormalType',info.abnormalType) || '没有出现症状' }}
+ +
+
编辑
+
@@ -207,15 +182,11 @@ export default { onLoad(query) { this.$loading() - this.$dict.load(['EP_highRiskIndustries', 'EP_registerPersonType', 'epidemicTouchInFourteen', 'epidemicMemberType', 'epidemicRecentTestResult']).then(() => { + this.$dict.load(['EP_highRiskIndustries', 'EP_registerPersonType', 'EP_abnormalType', 'EP_riskLevel', 'EP_travelType']).then(() => { this.getInfo(query.id) }) }, - onShow() { - this.getInfo(query.id) - }, - methods: { preview(url) { uni.previewImage({ @@ -248,7 +219,8 @@ export default {