健康上报

This commit is contained in:
shijingjing
2022-10-10 15:28:59 +08:00
parent 4984f4bbce
commit 18525d7f45
6 changed files with 46 additions and 58 deletions

View File

@@ -11,12 +11,16 @@
export default {
data () {
return {
id: ''
id: '',
name: '',
idNumber: '',
}
},
onLoad (query) {
this.id = query.id
this.name = query.name
this.idNumber = query.idNumber
},
methods: {
@@ -28,7 +32,7 @@
toReport () {
uni.redirectTo({
url: `./AddReport?id=${this.id}`
url: `./AddReport?id=${this.id}&name=${this.name}&idNumber=${this.idNumber}`
})
}
}