优化走访慰问

This commit is contained in:
花有清香月有阴
2021-12-24 13:58:52 +08:00
parent 808a97825f
commit 6dac1c09b3
4 changed files with 25 additions and 26 deletions

View File

@@ -44,10 +44,12 @@ export default {
data() {
return {
data: {},
id: '',
}
},
computed: {},
onLoad() {
onLoad(o) {
this.id = o.id
uni.setNavigationBarTitle({ title: '走访详情' })
this.$dict.load('realityStatus').then(() => {
this.getDetail()
@@ -56,7 +58,7 @@ export default {
mounted() {},
methods: {
getDetail() {
this.$http.post(`/app/appvisitvondolence/queryDetailById?id=${this.params.id}`).then((res) => {
this.$http.post(`/app/appvisitvondolence/queryDetailById?id=${this.id}`).then((res) => {
if (res?.data) {
this.data = res.data
if (this.data.images) {