This commit is contained in:
liuye
2021-12-24 14:06:07 +08:00
parent 402dd36221
commit 746f297947
9 changed files with 14 additions and 7 deletions

View File

@@ -71,7 +71,7 @@ export default {
} }
}, },
mounted() { mounted() {
document.title = '云广播'
} }
} }
</script> </script>

View File

@@ -174,6 +174,7 @@ export default {
this.formData.mediaId = e.mediaId this.formData.mediaId = e.mediaId
this.formData.mediaName = e.mediaName this.formData.mediaName = e.mediaName
}) })
document.title = '音频播放'
}, },
methods: { methods: {

View File

@@ -45,6 +45,7 @@ export default {
}, },
created() { created() {
this.getList() this.getList()
document.title = '在线设备'
} }
} }
</script> </script>

View File

@@ -47,6 +47,7 @@ export default {
}, },
created() { created() {
this.getList() this.getList()
document.title = '在线设备'
} }
} }
</script> </script>

View File

@@ -65,6 +65,7 @@ export default {
this.$dict.load('dlbBroadcastStatus').then(() => { this.$dict.load('dlbBroadcastStatus').then(() => {
this.getList() this.getList()
}) })
document.title = '在播设备'
} }
} }
</script> </script>

View File

@@ -38,13 +38,17 @@ export default {
this.getList() this.getList()
}) })
uni.setNavigationBarTitle({title: '楼栋列表'}) uni.setNavigationBarTitle({title: '楼栋列表'})
uni.$on('updateList', () => {
this.current = 1
this.getList()
})
}, },
methods: { methods: {
getList() { getList() {
this.$http.post(`/app/appcommunitybuildinginfo/list`, null, { this.$http.post(`/app/appcommunitybuildinginfo/list`, null, {
params: { params: {
current: 1, current: this.current,
size: 10, size: 10,
areaId: this.user.areaId, areaId: this.user.areaId,
communityName: this.title communityName: this.title

View File

@@ -116,10 +116,9 @@ export default {
}).then(res => { }).then(res => {
if (res.code == 0) { if (res.code == 0) {
this.$u.toast('提交成功') this.$u.toast('提交成功')
uni.$emit('updateList')
setTimeout(() => { setTimeout(() => {
this.$emit('change', { uni.navigateBack()
type: 'List',
})
}, 600) }, 600)
} }
}) })

View File

@@ -47,7 +47,7 @@ export default {
}, },
computed: { ...mapState(['user']) }, computed: { ...mapState(['user']) },
onLoad(o) { onLoad(o) {
uni.setNavigationBarTitle({ title: '新增小程序公告' }) uni.setNavigationBarTitle({ title: '新增通知公告' })
this.id = o.id this.id = o.id
this.getDetail() this.getDetail()
}, },

View File

@@ -78,7 +78,7 @@ export default {
}, },
watch: {}, watch: {},
onLoad() { onLoad() {
uni.setNavigationBarTitle({ title: '小程序公告' }) uni.setNavigationBarTitle({ title: '通知公告' })
this.getList() this.getList()
uni.$on('updateList', () => { uni.$on('updateList', () => {
this.current = 1 this.current = 1