社区管理,核酸采样
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user