卡口登记

This commit is contained in:
liuye
2022-09-29 13:59:33 +08:00
parent 2f22373341
commit 9aea0328ed
3 changed files with 7 additions and 5 deletions

View File

@@ -6,7 +6,7 @@
<span class="tips">*</span>处置意见
</div>
</div>
<div class="type-select" v-if="haveHomeQuarantineBtn">
<div class="type-select" v-if="haveHomeQuarantineBtn == 1">
<div class="type-item" :class="form.handleType == index ? 'active' : ''" v-for="(item, index) in handlerTypeList" :key="index" @click="handleTypeClick(index)" v-if="index > 0">{{item.dictName}}</div>
</div>
<div class="type-select" v-else>
@@ -177,7 +177,7 @@ export default {
showDictSelect: false,
selectDictName: '',
selectFormName: '',
haveHomeQuarantineBtn: true
haveHomeQuarantineBtn: 1, //0隐藏居家 1不隐藏
}
},
computed: {

View File

@@ -24,7 +24,8 @@
<div class="label">联系方式</div>
<div class="value" style="color:#4181FF;" @click="callPhone(info.phone)">
<img :src="$cdn + 'common/phone.png'" alt="" class="phone-icon" >
{{info.phone}}</div>
{{info.phone}}
</div>
</div>
<div class="item-flex">
<div class="label">人员类别</div>

View File

@@ -245,7 +245,8 @@ export default {
})
},
toContent() {
uni.navigateTo({url: `./ManagementContent?id=${this.id}&idNumber=${this.info.idNumber}&haveHomeQuarantineBtn=${this.info.haveHomeQuarantineBtn}`})
var haveHomeQuarantineBtn = this.info.haveHomeQuarantineBtn ? 1 : 0
uni.navigateTo({url: `./ManagementContent?id=${this.id}&idNumber=${this.info.idNumber}&haveHomeQuarantineBtn=${haveHomeQuarantineBtn}`})
}
},
}