导航栏标题
This commit is contained in:
@@ -204,7 +204,7 @@ export default {
|
||||
this.getTopicList()
|
||||
console.log(option)
|
||||
if (option.id) {
|
||||
uni.setNavigationBarTitle({ title: '编辑活动' })
|
||||
document.title = '编辑活动'
|
||||
this.params.id = option.id
|
||||
this.getDetail()
|
||||
} else {
|
||||
|
||||
@@ -94,7 +94,7 @@ export default {
|
||||
item.createTime = item.createTime.substring(0, 19)
|
||||
})
|
||||
}
|
||||
uni.setNavigationBarTitle({ title: this.info.userId == this.user.id ? '我的帖子' : 'Ta的帖子' })
|
||||
document.title = this.info.userId == this.user.id ? '我的帖子' : 'Ta的帖子'
|
||||
this.$nextTick(() => {
|
||||
this.pageShow = true
|
||||
})
|
||||
|
||||
@@ -148,7 +148,7 @@ export default {
|
||||
'isFilingCertificateStatus', 'communityBuildingType', 'yesOrNo', 'BulidResidentType').then(() => {
|
||||
this.getDetail()
|
||||
})
|
||||
uni.setNavigationBarTitle({title: '房屋信息'})
|
||||
document.title = '房屋信息'
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
@@ -139,7 +139,7 @@ export default {
|
||||
this.getCenterLatLng().then(points => {
|
||||
this.getMarkerCluster(points)
|
||||
})
|
||||
uni.setNavigationBarTitle({title: '以房找人'})
|
||||
document.title = '以房找人'
|
||||
},
|
||||
created() {
|
||||
this.$dict.load("communityBuildingType")
|
||||
|
||||
@@ -168,7 +168,7 @@ export default {
|
||||
'isFilingCertificateStatus', 'communityBuildingType', 'yesOrNo', 'BulidResidentType').then(() => {
|
||||
this.getBuilding()
|
||||
})
|
||||
uni.setNavigationBarTitle({title: '以房找人'})
|
||||
document.title = '以房找人'
|
||||
},
|
||||
methods: {
|
||||
getSelectList(communityId) {
|
||||
|
||||
@@ -37,7 +37,7 @@ export default {
|
||||
this.$dict.load('BuildLocationStatus').then(() => {
|
||||
this.getList()
|
||||
})
|
||||
uni.setNavigationBarTitle({title: '楼栋列表'})
|
||||
document.title = '楼栋列表'
|
||||
uni.$on('updateList', () => {
|
||||
this.current = 1
|
||||
this.getList()
|
||||
|
||||
@@ -65,7 +65,7 @@ export default {
|
||||
computed: {...mapState(['user'])},
|
||||
mounted() {
|
||||
this.initMap()
|
||||
uni.setNavigationBarTitle({title: '以房找人'})
|
||||
document.title = '以房找人'
|
||||
},
|
||||
methods: {
|
||||
initMap() { //初始化地图
|
||||
|
||||
@@ -60,7 +60,7 @@ export default {
|
||||
console.log(this.params)
|
||||
this.getList()
|
||||
this.getStatistic()
|
||||
uni.setNavigationBarTitle({title: '乡村相册'})
|
||||
document.title = '乡村相册'
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
@@ -38,7 +38,7 @@ export default {
|
||||
this.areaId = this.user.areaId
|
||||
this.areaName = this.user.areaName
|
||||
this.getList()
|
||||
uni.setNavigationBarTitle({title: '乡村相册'})
|
||||
document.title = '乡村相册'
|
||||
uni.$on('updateList', () => {
|
||||
this.getList()
|
||||
})
|
||||
|
||||
@@ -67,7 +67,7 @@ export default {
|
||||
this.$dict.load('girdType', 'girdLevel')
|
||||
this.areaId = this.user.areaId
|
||||
this.getLeafNodes()
|
||||
uni.setNavigationBarTitle({title: '网格管理'})
|
||||
document.title = '网格管理'
|
||||
},
|
||||
methods: {
|
||||
getLeafNodes() {
|
||||
|
||||
@@ -78,7 +78,7 @@ export default {
|
||||
this.getDetail()
|
||||
}
|
||||
})
|
||||
uni.setNavigationBarTitle({title: '新增'})
|
||||
document.title = '新增'
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
@@ -43,7 +43,7 @@ export default {
|
||||
computed: { ...mapState(['user']) },
|
||||
mounted() {
|
||||
this.getList()
|
||||
uni.setNavigationBarTitle({title: '便民通讯录'})
|
||||
document.title = '便民通讯录'
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
@@ -34,7 +34,7 @@ export default {
|
||||
computed: { ...mapState(['user']) },
|
||||
mounted() {
|
||||
this.getList()
|
||||
uni.setNavigationBarTitle({title: '便民通讯录'})
|
||||
document.title = '便民通讯录'
|
||||
uni.$on('updateList', () => {
|
||||
this.getList()
|
||||
})
|
||||
|
||||
@@ -77,7 +77,7 @@ export default {
|
||||
computed: {},
|
||||
watch: {},
|
||||
onLoad() {
|
||||
uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
|
||||
document.title = '婚丧嫁娶'
|
||||
this.$dict.load('marriageType', 'modeType').then(() => {
|
||||
this.getCount()
|
||||
this.getList()
|
||||
|
||||
@@ -77,7 +77,7 @@ export default {
|
||||
computed: {},
|
||||
watch: {},
|
||||
onLoad() {
|
||||
uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
|
||||
document.title = '婚丧嫁娶'
|
||||
this.$dict.load('marriageType', 'modeType').then(() => {
|
||||
this.getCount()
|
||||
this.getList()
|
||||
|
||||
@@ -77,7 +77,7 @@ export default {
|
||||
computed: {},
|
||||
watch: {},
|
||||
onLoad() {
|
||||
uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
|
||||
document.title = '婚丧嫁娶'
|
||||
this.$dict.load('marriageType', 'modeType').then(() => {
|
||||
this.getCount()
|
||||
this.getList()
|
||||
|
||||
@@ -77,7 +77,7 @@ export default {
|
||||
computed: {},
|
||||
watch: {},
|
||||
onLoad() {
|
||||
uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
|
||||
document.title = '婚丧嫁娶'
|
||||
this.$dict.load('marriageType', 'modeType').then(() => {
|
||||
this.getCount()
|
||||
this.getList()
|
||||
|
||||
@@ -131,7 +131,7 @@ export default {
|
||||
},
|
||||
|
||||
onShow() {
|
||||
uni.setNavigationBarTitle({title: '会议通知'})
|
||||
document.title = '会议通知'
|
||||
this.$dict.load("meetingNoticeBefore", "meetingNoticeAfter");
|
||||
this.getData();
|
||||
},
|
||||
|
||||
@@ -145,7 +145,7 @@ export default {
|
||||
},
|
||||
|
||||
onShow() {
|
||||
uni.setNavigationBarTitle({title: '新增会议'})
|
||||
document.title = '新增会议'
|
||||
this.$dict.load("meetingNoticeBefore", "meetingNoticeAfter");
|
||||
},
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@ export default {
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
uni.setNavigationBarTitle({title: '我发起的'})
|
||||
document.title = '我发起的'
|
||||
},
|
||||
created() {
|
||||
this.injectJWeixin(['sendChatMessage']).then(() => {
|
||||
|
||||
@@ -55,9 +55,7 @@ export default {
|
||||
|
||||
onLoad(opt) {
|
||||
this.index = opt.index
|
||||
uni.setNavigationBarTitle({
|
||||
title: opt.index == 0 ? "历史会议" : "草稿箱"
|
||||
});
|
||||
document.title = opt.index == 0 ? "历史会议" : "草稿箱"
|
||||
this.getData();
|
||||
},
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
uni.setNavigationBarTitle({title: '基层办公'})
|
||||
document.title = '基层办公'
|
||||
},
|
||||
methods: {
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
uni.setNavigationBarTitle({title: '文明乡风'})
|
||||
document.title = '文明乡风'
|
||||
},
|
||||
methods: {
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
uni.setNavigationBarTitle({title: '居民互动'})
|
||||
document.title = '居民互动'
|
||||
},
|
||||
mounted() {
|
||||
document.title = "居民互动"
|
||||
|
||||
@@ -40,7 +40,7 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
uni.setNavigationBarTitle({title: '基层党建'})
|
||||
document.title = '基层党建'
|
||||
},
|
||||
methods: {
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
uni.setNavigationBarTitle({title: '居民管理'})
|
||||
document.title = '居民管理'
|
||||
},
|
||||
methods: {
|
||||
|
||||
|
||||
@@ -202,9 +202,7 @@ export default {
|
||||
onLoad(query) {
|
||||
if (query.isFrom) {
|
||||
this.isFrom = true
|
||||
uni.setNavigationBarTitle({
|
||||
title: '风险预警详情'
|
||||
})
|
||||
document.title = '风险预警详情'
|
||||
}
|
||||
uni.showLoading()
|
||||
this.$dict.load(['fpType', 'riskEliminationMethod', 'fpRiskType', 'fpYesOrNo']).then(() => {
|
||||
|
||||
@@ -97,7 +97,7 @@ export default {
|
||||
},
|
||||
computed: { ...mapState(['user']) },
|
||||
onLoad(o) {
|
||||
uni.setNavigationBarTitle({ title: '发布活动' })
|
||||
document.title = '发布活动'
|
||||
this.id = o.id ? o.id : ''
|
||||
this.$dict.load('realityStatus').then(() => {
|
||||
this.areaId = this.user.areaId
|
||||
|
||||
@@ -39,7 +39,7 @@ export default {
|
||||
}
|
||||
},
|
||||
onLoad(o) {
|
||||
uni.setNavigationBarTitle({ title: '发布动态' })
|
||||
document.title = '发布动态'
|
||||
this.id = o.id || ''
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -75,7 +75,7 @@ export default {
|
||||
},
|
||||
watch: {},
|
||||
onLoad() {
|
||||
uni.setNavigationBarTitle({ title: '居民活动' })
|
||||
document.title = '居民活动'
|
||||
this.$dict.load(['villageActivityStatus']).then(() => {
|
||||
this.getList()
|
||||
})
|
||||
|
||||
@@ -135,7 +135,7 @@ export default {
|
||||
}
|
||||
},
|
||||
onLoad(option) {
|
||||
uni.setNavigationBarTitle({ title: '活动报名' })
|
||||
document.title = '活动报名'
|
||||
this.id = option.id
|
||||
this.$dict.load(['villageActivityStatus']).then(() => {
|
||||
this.getDetail()
|
||||
|
||||
@@ -66,7 +66,7 @@ export default {
|
||||
},
|
||||
watch: {},
|
||||
onLoad() {
|
||||
uni.setNavigationBarTitle({ title: '居民列表' })
|
||||
document.title = '居民列表'
|
||||
this.areaId = this.user.areaId
|
||||
this.getList()
|
||||
},
|
||||
|
||||
@@ -65,7 +65,7 @@ export default {
|
||||
computed: {},
|
||||
watch: {},
|
||||
onLoad(o) {
|
||||
uni.setNavigationBarTitle({ title: '居民档案' })
|
||||
document.title = '居民档案'
|
||||
this.id = o.id
|
||||
this.$dict.load('householdRelation', 'fileStatus').then(() => {
|
||||
this.getDetail()
|
||||
|
||||
@@ -121,7 +121,7 @@ export default {
|
||||
computed: {},
|
||||
watch: {},
|
||||
onLoad(o) {
|
||||
uni.setNavigationBarTitle({ title: '家庭成员信息' })
|
||||
document.title = '家庭成员信息'
|
||||
this.id = o.id
|
||||
this.$dict.load('householdRelation', 'nation', 'education', 'maritalStatus', 'politicsStatus', 'militaryStatus', 'faithType', 'job').then(() => {
|
||||
this.getDetail()
|
||||
|
||||
@@ -182,7 +182,7 @@ export default {
|
||||
},
|
||||
watch: {},
|
||||
onLoad() {
|
||||
uni.setNavigationBarTitle({ title: '居民信息管理' })
|
||||
document.title = '居民信息管理'
|
||||
this.getEchart1()
|
||||
this.areaId = this.user.areaId
|
||||
},
|
||||
|
||||
@@ -101,7 +101,7 @@ export default {
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
uni.setNavigationBarTitle({ title: '添加标签' })
|
||||
document.title = '添加标签'
|
||||
},
|
||||
computed: {
|
||||
tagsList() {
|
||||
|
||||
@@ -83,7 +83,7 @@ export default {
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
uni.setNavigationBarTitle({ title: '居民详情' })
|
||||
document.title = '居民详情'
|
||||
this.$dict.load('sex', 'nation', 'education', 'job', 'faithType', 'politicsStatus', 'militaryStatus', 'householdRelation', 'householdName')
|
||||
},
|
||||
}
|
||||
|
||||
@@ -191,7 +191,7 @@ export default {
|
||||
},
|
||||
},
|
||||
onLoad() {
|
||||
uni.setNavigationBarTitle({ title: '居民详情' })
|
||||
document.title = '居民详情'
|
||||
this.$dict.load('wxCustomerAddWay', 'wxCustomerLogType')
|
||||
this.getCustomLog(this.top.custom)
|
||||
this.injectJWeixin('openUserProfile')
|
||||
|
||||
@@ -30,7 +30,7 @@ export default {
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
uni.setNavigationBarTitle({ title: '居民详情' })
|
||||
document.title = '居民详情'
|
||||
},
|
||||
computed: {
|
||||
tabs() {
|
||||
|
||||
@@ -75,7 +75,7 @@ export default {
|
||||
this.forms.areaId = this.user.areaId
|
||||
this.listName = o.listName
|
||||
this.getType()
|
||||
uni.setNavigationBarTitle({title: this.listName})
|
||||
document.title = this.listName
|
||||
},
|
||||
|
||||
mounted() {},
|
||||
|
||||
@@ -96,7 +96,7 @@ export default {
|
||||
uni.$on('update', () => {
|
||||
this.getList()
|
||||
})
|
||||
uni.setNavigationBarTitle({title: this.listName})
|
||||
document.title = this.listName
|
||||
},
|
||||
methods: {
|
||||
previewImage(images, img) {
|
||||
|
||||
@@ -48,7 +48,7 @@ export default {
|
||||
this.id = o.id
|
||||
this.listName = o.listName
|
||||
this.getType()
|
||||
uni.setNavigationBarTitle({title: this.listName})
|
||||
document.title = this.listName
|
||||
},
|
||||
mounted() {},
|
||||
methods: {
|
||||
|
||||
@@ -155,7 +155,7 @@ export default {
|
||||
computed: { ...mapState(['user']) },
|
||||
created() {
|
||||
this.getType()
|
||||
uni.setNavigationBarTitle({title: '新增人员'})
|
||||
document.title = '新增人员'
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
@@ -94,7 +94,7 @@ export default {
|
||||
this.getStatistic()
|
||||
this.getStatisticMon()
|
||||
this.getUserList()
|
||||
uni.setNavigationBarTitle({title: '特殊人群管理'})
|
||||
document.title = '特殊人群管理'
|
||||
uni.$on('specialPeopleList', () => {
|
||||
this.getStatistic()
|
||||
this.getStatisticMon()
|
||||
|
||||
@@ -47,7 +47,7 @@ export default {
|
||||
},
|
||||
computed: { ...mapState(['user']) },
|
||||
onLoad(o) {
|
||||
uni.setNavigationBarTitle({ title: '新增通知公告' })
|
||||
document.title = '新增通知公告'
|
||||
this.id = o.id
|
||||
this.getDetail()
|
||||
},
|
||||
|
||||
@@ -78,7 +78,7 @@ export default {
|
||||
},
|
||||
watch: {},
|
||||
onLoad() {
|
||||
uni.setNavigationBarTitle({ title: '通知公告' })
|
||||
document.title = '通知公告'
|
||||
this.getList()
|
||||
uni.$on('updateList', () => {
|
||||
this.current = 1
|
||||
|
||||
@@ -33,7 +33,7 @@ export default {
|
||||
computed: {},
|
||||
watch: {},
|
||||
onLoad(o) {
|
||||
uni.setNavigationBarTitle({ title: '公告详情' })
|
||||
document.title = '公告详情'
|
||||
this.id = o.id
|
||||
this.getDetail()
|
||||
},
|
||||
|
||||
@@ -177,7 +177,7 @@ export default {
|
||||
this.areaId = this.user.areaId
|
||||
this.areaName = this.user.areaName
|
||||
this.getList()
|
||||
uni.setNavigationBarTitle({title: '视频监控'})
|
||||
document.title = '视频监控'
|
||||
// this.getMonitors()
|
||||
},
|
||||
mounted() {
|
||||
|
||||
@@ -22,7 +22,7 @@ export default {
|
||||
this.$nextTick(() => {
|
||||
this.detectOrient()
|
||||
})
|
||||
uni.setNavigationBarTitle({title: '视频监控'})
|
||||
document.title = '视频监控'
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
@@ -101,7 +101,7 @@ export default {
|
||||
...mapState(['user']),
|
||||
},
|
||||
onLoad() {
|
||||
uni.setNavigationBarTitle({ title: '走访慰问' })
|
||||
document.title = '走访慰问'
|
||||
this.areaId = this.user.areaId
|
||||
this.$dict.load('realityStatus').then(() => {
|
||||
this.getList()
|
||||
|
||||
@@ -86,7 +86,7 @@ export default {
|
||||
computed: { ...mapState(['user']) },
|
||||
onLoad(o) {
|
||||
this.id = o.id
|
||||
uni.setNavigationBarTitle({ title: '新建走访' })
|
||||
document.title = '新建走访'
|
||||
this.areaIdProps = this.user.areaId
|
||||
this.forms.areaId = this.user.areaId
|
||||
this.$dict.load('realityStatus').then(() => {
|
||||
|
||||
@@ -50,7 +50,7 @@ export default {
|
||||
computed: {},
|
||||
onLoad(o) {
|
||||
this.id = o.id
|
||||
uni.setNavigationBarTitle({ title: '走访详情' })
|
||||
document.title = '走访详情'
|
||||
this.$dict.load('realityStatus').then(() => {
|
||||
this.getDetail()
|
||||
})
|
||||
|
||||
@@ -75,7 +75,7 @@ export default {
|
||||
computed: {},
|
||||
created() {
|
||||
console.log(1)
|
||||
uni.setNavigationBarTitle({ title: '选择走访慰问对象' })
|
||||
document.title = '选择走访慰问对象'
|
||||
this.getDiyList()
|
||||
},
|
||||
mounted() {},
|
||||
|
||||
@@ -89,7 +89,7 @@ export default {
|
||||
},
|
||||
watch: {},
|
||||
onLoad() {
|
||||
uni.setNavigationBarTitle({ title: '网上办事' })
|
||||
document.title = '网上办事'
|
||||
this.$dict.load('listApprovalStatusHb').then(() => {
|
||||
this.getList()
|
||||
})
|
||||
|
||||
@@ -237,7 +237,7 @@ export default {
|
||||
},
|
||||
},
|
||||
onLoad(options) {
|
||||
uni.setNavigationBarTitle({ title: '审批详情' })
|
||||
document.title = '审批详情'
|
||||
this.objid = options.id
|
||||
this.listType = options.listType
|
||||
this.getDetail()
|
||||
|
||||
@@ -18,7 +18,7 @@ export default {
|
||||
}
|
||||
},
|
||||
onLoad(val) {
|
||||
uni.setNavigationBarTitle({ title: '审批详情' })
|
||||
document.title = '审批详情'
|
||||
this.flag = val?.flag == 1
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -101,7 +101,7 @@ export default {
|
||||
}
|
||||
},
|
||||
onLoad(options) {
|
||||
uni.setNavigationBarTitle({ title: '审批详情' })
|
||||
document.title = '审批详情'
|
||||
this.objid = options.id
|
||||
this.type = options.type
|
||||
|
||||
|
||||
@@ -237,7 +237,7 @@ export default {
|
||||
},
|
||||
},
|
||||
onLoad(options) {
|
||||
uni.setNavigationBarTitle({ title: '审批详情' })
|
||||
document.title = '审批详情'
|
||||
this.objid = options.id
|
||||
this.listType = options.listType
|
||||
this.getDetail()
|
||||
|
||||
@@ -58,9 +58,7 @@ export default {
|
||||
|
||||
onLoad(opt) {
|
||||
this.index = opt.index
|
||||
uni.setNavigationBarTitle({
|
||||
title: opt.index == 0 ? "历史会议" : "草稿箱"
|
||||
});
|
||||
document.title = opt.index == 0 ? "历史会议" : "草稿箱"
|
||||
},
|
||||
onShow() {
|
||||
this.getData();
|
||||
|
||||
Reference in New Issue
Block a user