社区管理,核酸采样

This commit is contained in:
liuye
2022-09-26 15:56:02 +08:00
parent 5df2e8a40d
commit c529d917b4
9 changed files with 170 additions and 116 deletions

View File

@@ -118,6 +118,7 @@ export default {
return {
id: '',
info: {},
// haveHomeQuarantineBtn: false, // 是否重新处置 true屏蔽居家两种隔离
}
},
computed: { ...mapState(['user']) },
@@ -127,6 +128,7 @@ export default {
onLoad(option) {
this.$dict.load('yesOrNo', 'EP_registerPersonType', 'EP_travelType', 'EP_abnormalType').then(() => {
this.id = option.id
// this.haveHomeQuarantineBtn = option.operation == 'reDisposal' ? true : false
this.getDetail()
})
uni.$on('updateDetail', () => {
@@ -137,9 +139,6 @@ export default {
getDetail() {
this.$http.post(`/app/appepidemicpreventionregisterinfo/queryDetailById?id=${this.id}`).then((res) => {
if (res.code == 0) {
if(res.data.checkTime) {
res.data.checkTime = res.data.checkTime.substring(0, 10)
}
this.info = res.data
this.info.travelTypeList = this.info.travelType.split(',')
this.info.idNumberText = res.data.idNumber.replace(/(.{6}).*(.{4})/,"$1********$2")