Commit f7a1bb7c authored by gengchunlei's avatar gengchunlei

居民端小程序 1.通用随访详情页面编写

parent f0c1342c
...@@ -56,7 +56,7 @@ export default { ...@@ -56,7 +56,7 @@ export default {
console.log(this.visible) console.log(this.visible)
const res = await getDict() const res = await getDict()
this.store.$patch({ dict: res.data || {} }) this.store.$patch({ dict: res.data || {} })
const user = await getResidentByInfo({idCard: '510215192405265723'}) const user = await getResidentByInfo({idCard: '21100319900901301X'})
this.store.$patch({ userInfo: user.data || {} }) this.store.$patch({ userInfo: user.data || {} })
this.visible = true this.visible = true
......
...@@ -95,11 +95,6 @@ export default { ...@@ -95,11 +95,6 @@ export default {
info: {} info: {}
} }
}, },
methods: {
onBack() {
this.$router.back()
},
},
computed: { computed: {
id() { id() {
return this.$route.params.id return this.$route.params.id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment