From 9c6766772d6faa0831ee5fd89655516292eac0e6 Mon Sep 17 00:00:00 2001 From: liuye Date: Thu, 31 Mar 2022 14:24:29 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=91=E6=B5=8B=E5=AF=B9=E8=B1=A1bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/AppMonitoringObject/Detail.vue | 2 +- src/apps/AppMonitoringObject/LogList.vue | 3 +++ src/apps/AppMonitoringObject/MonitorAddLog.vue | 7 ++++++- 3 files changed, 10 insertions(+), 2 deletions(-) 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() {