健康上报
This commit is contained in:
@@ -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}`
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user