健康上报

This commit is contained in:
shijingjing
2022-10-09 16:31:56 +08:00
parent 87fbb25738
commit 9038f17227
2 changed files with 8 additions and 16 deletions

View File

@@ -19,7 +19,7 @@
<h2>身份证号</h2>
</div>
<div class="form-item__right">
<input placeholder="请输入" type="idcard" v-model="form.idNumber" :maxlength="20"/>
<input placeholder="请输入" type="idcard" v-model="form.idNumber" :maxlength="18"/>
</div>
</div>
</div>
@@ -78,12 +78,12 @@ export default {
data() {
return {
form: {
address: '',
name: '',
idNumber: '',
phone: '',
areaId: '',
areaName: '',
idNumber: '',
name: '',
phone: ''
address: '',
},
$areaId: '',
flag: false
@@ -138,8 +138,9 @@ export default {
this.$toast('提交成功')
uni.$emit('update')
setTimeout(() => {
// ?id=${res.data.id}
uni.redirectTo({
url: `./Result?id=${res.data.id}`
url: `./Result`
})
}, 400)
}