优化走访慰问
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user