diff --git a/src/project/pingchang/AppCheckpointRegistration/Edit.vue b/src/project/pingchang/AppCheckpointRegistration/Edit.vue
index 67e97eae..e4d1a7c2 100644
--- a/src/project/pingchang/AppCheckpointRegistration/Edit.vue
+++ b/src/project/pingchang/AppCheckpointRegistration/Edit.vue
@@ -148,6 +148,9 @@ export default {
if(!this.form.startAreaId) {
return this.$u.toast('请选择出发地')
}
+ if (this.form.startAreaId.substr(4,this.form.startAreaId.length - 4) === '00000000') {
+ return this.$toast('出发地必须选至县级及以下')
+ }
if(!this.travelType.length) {
return this.$u.toast('请选择出行方式')
}
@@ -197,7 +200,6 @@ export default {
if(res.data.arriveTime) {
this.form.arriveTime = res.data.arriveTime.substring(0, 16)
}
- console.log(this.travelType)
}
})
},
@@ -220,10 +222,19 @@ export default {
this.form[this.selectFormName] = e[0].value
},
areaSelectStart(e) {
- this.startAreaId = e
+ this.form.startAreaId = e
+ this.getRiskLevel(e)
},
areaSelectArrive(e) {
- this.arriveAreaId = e
+ this.form.arriveAreaId = e
+ },
+ // 获取风险等级
+ getRiskLevel(areaId) {
+ this.$http.post(`/app/appepidemicpreventionriskarea/queryAreaRiskLevel?areaId=${areaId}`).then(res=> {
+ if(res?.data) {
+ this.form.riskLevel = res.data
+ }
+ })
},
},
}
diff --git a/src/project/pingchang/AppCommunityManagement/AppCommunityManagement.vue b/src/project/pingchang/AppCommunityManagement/AppCommunityManagement.vue
index 2367e4a3..224d0cfc 100644
--- a/src/project/pingchang/AppCommunityManagement/AppCommunityManagement.vue
+++ b/src/project/pingchang/AppCommunityManagement/AppCommunityManagement.vue
@@ -84,7 +84,7 @@
-
+
diff --git a/src/project/pingchang/AppCommunityManagement/Detail.vue b/src/project/pingchang/AppCommunityManagement/Detail.vue
index 497b53e3..32606362 100644
--- a/src/project/pingchang/AppCommunityManagement/Detail.vue
+++ b/src/project/pingchang/AppCommunityManagement/Detail.vue
@@ -12,7 +12,7 @@
{{info.startAreaName}}
{{info.arriveAreaName}}
{{info.arriveTime}}
-
{{info.gatewayName}}
+
{{info.gatewayName}}
@@ -119,6 +119,116 @@
+
+
处置意见
+
+
+
处置人员
+
{{item.createUserName}}
+
+
+
联系电话
+
{{item.createUserPhone}}
+
+
+
处置意见
+
{{ $dict.getLabel('EP_handleType', item.handleType) }}
+
+
+
+
集中隔离地
+
{{ $dict.getLabel('EP_quarantineAddress', item.quarantineAddress) }}
+
+
+
隔离时间
+
{{item.quarantineBeginTime.substring(0, 10)}}至{{item.quarantineEndTime.substring(0, 10)}}
+
+
+
隔离策略
+
{{ $dict.getLabel('EP_quarantineStrategy', item.quarantineStrategy) }}
+
+
+
+
+
+
+
+
![]()
+
+
+
+
+
+
+
移交对象
+
{{ $dict.getLabel('EP_handoverObject', item.handoverObject) }}
+
+
+
移交方式
+
{{ $dict.getLabel('EP_handoverMethod', item.handoverMethod) }}
+
+
+
交接人姓名
+
{{item.handoverPersonName}}
+
+
+
手机号
+
+
![]()
+ {{item.handoverPersonPhone}}
+
+
+
+
![]()
+
+
+
+
+
+
居家状态
+
{{ $dict.getLabel('EP_homeStatus', item.homeStatus) }}
+
+
+
隔离时间
+
{{item.quarantineBeginTime.substring(0, 10)}}至{{item.quarantineEndTime.substring(0, 10)}}
+
+
+
隔离策略
+
{{ $dict.getLabel('EP_quarantineStrategy', item.quarantineStrategy) }}
+
+
+
管控方式
+
{{ $dict.getLabel('EP_controlMethod', item.controlMethod) }}
+
+
+
{{item.remarks}}
+
+
@@ -163,7 +273,10 @@
联系方式
-
{{controllInfo.controllerUserPhone}}
+
+
![]()
+ {{controllInfo.controllerUserPhone}}
+
diff --git a/src/project/pingchang/AppCommunityManagement/Edit.vue b/src/project/pingchang/AppCommunityManagement/Edit.vue
index 08d92f66..f0f8c9e0 100644
--- a/src/project/pingchang/AppCommunityManagement/Edit.vue
+++ b/src/project/pingchang/AppCommunityManagement/Edit.vue
@@ -218,6 +218,9 @@ export default {
if(!this.form.startAreaId) {
return this.$u.toast('请选择出发地')
}
+ if (this.form.startAreaId.substr(4,this.form.startAreaId.length - 4) === '00000000') {
+ return this.$toast('出发地必须选至县级及以下')
+ }
if(!this.form.arriveTime) {
return this.$u.toast('请选择抵平时间')
}
@@ -287,10 +290,20 @@ export default {
this.form[this.selectFormName] = e[0].value
},
areaSelectStart(e) {
- this.startAreaId = e
+ this.form.startAreaId = e
+ console.log(11)
+ this.getRiskLevel(e)
},
areaSelectArrive(e) {
- this.arriveAreaId = e
+ this.form.arriveAreaId = e
+ },
+ // 获取风险等级
+ getRiskLevel(areaId) {
+ this.$http.post(`/app/appepidemicpreventionriskarea/queryAreaRiskLevel?areaId=${areaId}`).then(res=> {
+ if(res?.data) {
+ this.form.riskLevel = res.data
+ }
+ })
},
idNumberChange(e) {
if(e.detail.value.length) {
@@ -299,7 +312,7 @@ export default {
},
// 获取个人信息
getOwnerInfo(idNumber) {
- this.$instance.post(`/app/appepidemicpreventionregisterinfo/queryDetailByIdNumber`, null, {
+ this.$http.post(`/app/appepidemicpreventionregisterinfo/queryDetailByIdNumber`, null, {
params: {
idNumber: idNumber,
}
diff --git a/src/project/pingchang/AppCommunityManagement/ManageDetail.vue b/src/project/pingchang/AppCommunityManagement/ManageDetail.vue
index bdc0b2a5..3c62910a 100644
--- a/src/project/pingchang/AppCommunityManagement/ManageDetail.vue
+++ b/src/project/pingchang/AppCommunityManagement/ManageDetail.vue
@@ -12,11 +12,11 @@
{{info.startAreaName}}
{{info.arriveAreaName}}
{{info.arriveTime}}
-
{{info.gatewayName}}
+
{{info.gatewayName}}
-
基本信息
+
基本信息{{ isIdNumberInput ? '保存' : '编辑' }}
姓名
{{info.name}}
@@ -24,7 +24,8 @@
身份证号
- {{info.idNumberText}}
+
+ {{info.idNumberText}}
@@ -288,7 +289,8 @@ export default {
'font-weight' : '400',
},
currentTabs: 0,
- info: {}
+ info: {},
+ isIdNumberInput: false, //true保存 false编辑
}
},
computed: {
@@ -306,6 +308,29 @@ export default {
document.title = '排查管理'
},
methods: {
+ changeIdNumber() {
+ this.isIdNumberInput = !this.isIdNumberInput
+ if(!this.isIdNumberInput) {
+ this.changeIdNumberConfirm()
+ }
+ },
+ changeIdNumberConfirm() {
+ if (!this.info.idNumber) {
+ return this.$toast('请输入身份证号')
+ }
+ if (!/(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/.test(this.info.idNumber)) {
+ return this.$toast('请输入正确的身份证账号')
+ }
+ this.$http.post(`/app/appepidemicpreventionregisterinfo/updateForAdmin`, this.info).then((res) => {
+ if (res.code == 0) {
+ this.$u.toast('保存成功')
+ uni.$emit('updateList')
+ this.getDetail()
+ }
+ }).catch((err) => {
+ this.$u.toast(err)
+ })
+ },
change(index) {
this.currentTabs = index
},
@@ -316,7 +341,7 @@ export default {
if(!this.form.quarantineBeginTime) {
return this.$u.toast('请选择隔离时间')
}
- if(this.form.quarantineStrategy === '') {
+ if(this.form.quarantineStrategy === '' || this.form.quarantineStrategy === null) {
return this.$u.toast('请选择隔离策略')
}
if(!this.form.controllerUserName) {