健康上报

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

@@ -142,10 +142,6 @@
</div>
<u-picker mode="time" :params="dataParams" v-model="isShowDate" @confirm="onDateChange"></u-picker>
<div class="agree">
<u-checkbox v-model="isChecked"></u-checkbox>
<span class="deal">以上信息是我本人填写本人对信息内容的真实性和完整性负责</span>
</div>
<div class="btn-wrapper">
<div class="btn" hover-class="text-hover" @click="submit">提交</div>
</div>
@@ -245,7 +241,7 @@ export default {
return this.$toast('请上传健康码截图')
}
this.$loading()
this.$instance.post(`/app/appepidemichealthreport/addOrUpdate`, {
this.$instance.post(`/app/appepidemicpreventionhealthreportinfo/addReportInfo`, {
...this.form,
openid: this.user.openid,
health: this.form.health.join(','),
@@ -456,10 +452,5 @@ export default {
}
}
}
.agree {
padding: 0 32px;
display: flex;
}
}
</style>

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)
}