diff --git a/src/apps/AppPovertyAlleviation/AppPovertyAlleviation.vue b/src/apps/AppPovertyAlleviation/AppPovertyAlleviation.vue index 41f03579..816fd5b8 100644 --- a/src/apps/AppPovertyAlleviation/AppPovertyAlleviation.vue +++ b/src/apps/AppPovertyAlleviation/AppPovertyAlleviation.vue @@ -49,6 +49,9 @@ export default { console.log(this.$cdn + 'wdbf.png') }, + onShow() { + document.title = "防返贫" + }, methods: { linkTo(url) { diff --git a/src/apps/AppPovertyAlleviation/Monitor.vue b/src/apps/AppPovertyAlleviation/Monitor.vue index 706ba6c4..76716751 100644 --- a/src/apps/AppPovertyAlleviation/Monitor.vue +++ b/src/apps/AppPovertyAlleviation/Monitor.vue @@ -26,6 +26,9 @@ export default { List, Statistics }, + onShow() { + document.title = "监测对象" + }, computed: { tabBar() { diff --git a/src/apps/AppPovertyAlleviation/MonitorAdd.vue b/src/apps/AppPovertyAlleviation/MonitorAdd.vue index 5986e6ac..e639f4a0 100644 --- a/src/apps/AppPovertyAlleviation/MonitorAdd.vue +++ b/src/apps/AppPovertyAlleviation/MonitorAdd.vue @@ -140,6 +140,7 @@ export default { this.getInfo(this.id) } + document.title = query.id ? '编辑监测对象' : '添加监测对象' }, methods: { diff --git a/src/apps/AppPovertyAlleviation/MonitorAddFamilyMember.vue b/src/apps/AppPovertyAlleviation/MonitorAddFamilyMember.vue index 82e29c1b..1b64aa94 100644 --- a/src/apps/AppPovertyAlleviation/MonitorAddFamilyMember.vue +++ b/src/apps/AppPovertyAlleviation/MonitorAddFamilyMember.vue @@ -259,6 +259,7 @@ export default { 'fpRelationship', 'fpStudentsInSchool', 'fpFnancialAssistance', 'fpHealthAssistance', 'fpHousingSecurity']).then(() => { this.getInfo(query.id) }) + document.title = query.index ? '编辑家庭成员' : '添加家庭成员' if (query.index > -1) { this.isEdit = true diff --git a/src/apps/AppPovertyAlleviation/MonitorAddLog.vue b/src/apps/AppPovertyAlleviation/MonitorAddLog.vue index d918b1c7..8d0ab0ec 100644 --- a/src/apps/AppPovertyAlleviation/MonitorAddLog.vue +++ b/src/apps/AppPovertyAlleviation/MonitorAddLog.vue @@ -32,6 +32,9 @@ export default { } }, + onShow() { + document.title = '添加帮扶日志' + }, onLoad(query) { if (query.id) { diff --git a/src/apps/AppPovertyAlleviation/MonitorFamilyMember.vue b/src/apps/AppPovertyAlleviation/MonitorFamilyMember.vue index 8994be0e..0d7724be 100644 --- a/src/apps/AppPovertyAlleviation/MonitorFamilyMember.vue +++ b/src/apps/AppPovertyAlleviation/MonitorFamilyMember.vue @@ -102,6 +102,10 @@ export default { } }, + onShow() { + document.title = '家庭成员' + }, + onLoad(query) { uni.showLoading() this.id = query.id diff --git a/src/apps/AppPovertyAlleviation/MonitorFamilySituation.vue b/src/apps/AppPovertyAlleviation/MonitorFamilySituation.vue index 967e97fe..8e780121 100644 --- a/src/apps/AppPovertyAlleviation/MonitorFamilySituation.vue +++ b/src/apps/AppPovertyAlleviation/MonitorFamilySituation.vue @@ -72,6 +72,7 @@ export default { uni.showLoading() this.id = query.id this.getInfo(query.id) + document.title = query.id ? '编辑家庭情况' : '添加家庭情况' }, methods: { diff --git a/src/apps/AppPovertyAlleviation/MonitorIncome.vue b/src/apps/AppPovertyAlleviation/MonitorIncome.vue index 3766ede0..4a4adfaf 100644 --- a/src/apps/AppPovertyAlleviation/MonitorIncome.vue +++ b/src/apps/AppPovertyAlleviation/MonitorIncome.vue @@ -107,6 +107,7 @@ export default { uni.showLoading() this.id = query.id this.getInfo(query.id) + document.title = query.id ? '编辑收支情况' : '添加收支情况' }, methods: { diff --git a/src/apps/AppPovertyAlleviation/MonitorPoorStatus.vue b/src/apps/AppPovertyAlleviation/MonitorPoorStatus.vue index 7393464e..f2adba7d 100644 --- a/src/apps/AppPovertyAlleviation/MonitorPoorStatus.vue +++ b/src/apps/AppPovertyAlleviation/MonitorPoorStatus.vue @@ -149,6 +149,7 @@ export default { this.getInfo(query.id) }) this.id = query.id + document.title = query.id ? '编辑风险解除' : '添加风险解除' }, methods: { diff --git a/src/apps/AppPovertyAlleviation/News.vue b/src/apps/AppPovertyAlleviation/News.vue index ecb95591..059931f7 100644 --- a/src/apps/AppPovertyAlleviation/News.vue +++ b/src/apps/AppPovertyAlleviation/News.vue @@ -51,6 +51,10 @@ export default { }) }, + onShow() { + document.title = '政策动态' + }, + methods: { changeTab(index, type) { this.type = type diff --git a/src/apps/AppPovertyAlleviation/NewsDetail.vue b/src/apps/AppPovertyAlleviation/NewsDetail.vue index bdd82fa1..b122d981 100644 --- a/src/apps/AppPovertyAlleviation/NewsDetail.vue +++ b/src/apps/AppPovertyAlleviation/NewsDetail.vue @@ -32,6 +32,7 @@ export default { this.$http.post(`/app/appnewscenterinfo/queryDetailById?id=${id}`).then(res => { if (res.code == 0) { this.info = res.data + document.title = res.data.title this.$nextTick(() => { this.pageShow = true diff --git a/src/apps/AppPovertyAlleviation/povertyMonitor.vue b/src/apps/AppPovertyAlleviation/povertyMonitor.vue index 11802818..9a4b2d12 100644 --- a/src/apps/AppPovertyAlleviation/povertyMonitor.vue +++ b/src/apps/AppPovertyAlleviation/povertyMonitor.vue @@ -41,6 +41,10 @@ export default { } }, + onShow() { + document.title = '预警监控' + }, + onLoad() { uni.$on('reload', () => { if (this.currIndex === 0) {