diff --git a/src/apps/AppMonitoringObject/Detail.vue b/src/apps/AppMonitoringObject/Detail.vue index 9a428449..58c318ca 100644 --- a/src/apps/AppMonitoringObject/Detail.vue +++ b/src/apps/AppMonitoringObject/Detail.vue @@ -115,7 +115,7 @@ info.family && info.family.length ? '已填写' : '未填写' }}) - 编辑 + 编辑
diff --git a/src/apps/AppMonitoringObject/LogList.vue b/src/apps/AppMonitoringObject/LogList.vue index ca7a9c2d..ba6a8f11 100644 --- a/src/apps/AppMonitoringObject/LogList.vue +++ b/src/apps/AppMonitoringObject/LogList.vue @@ -47,6 +47,9 @@ export default { onLoad(query) { this.id = query.id this.getList() + uni.$on('reload', () => { + this.getList() + }) }, onShow() { document.title = '帮扶措施' diff --git a/src/apps/AppMonitoringObject/MonitorAddLog.vue b/src/apps/AppMonitoringObject/MonitorAddLog.vue index 30a85df1..943451aa 100644 --- a/src/apps/AppMonitoringObject/MonitorAddLog.vue +++ b/src/apps/AppMonitoringObject/MonitorAddLog.vue @@ -42,7 +42,12 @@ export default { } }, onShow() { - document.title = this.id ? '编辑帮扶日志' : '添加帮扶日志' + if(this.type == 1) { + document.title = this.id ? '编辑帮扶日志' : '添加帮扶日志' + }else { + document.title = this.id ? '编辑走访日志' : '添加走访日志' + } + }, methods: { getInfo() {