This commit is contained in:
liuye
2021-12-24 15:27:36 +08:00
parent b2af14588b
commit 931852d567
68 changed files with 186 additions and 88 deletions

View File

@@ -204,7 +204,6 @@ export default {
this.getTopicList() this.getTopicList()
console.log(option) console.log(option)
if (option.id) { if (option.id) {
document.title = '编辑活动'
this.params.id = option.id this.params.id = option.id
this.getDetail() this.getDetail()
} else { } else {
@@ -216,6 +215,9 @@ export default {
this.startYear = date.getFullYear() this.startYear = date.getFullYear()
this.getEstates() this.getEstates()
}, },
onShow() {
document.title = '编辑活动'
},
methods: { methods: {
getEstates() { getEstates() {
this.$http.post(`/app/appvanguardcommunityinfo/getTree?type=1&areaId=${this.global.areaId}`).then((res) => { this.$http.post(`/app/appvanguardcommunityinfo/getTree?type=1&areaId=${this.global.areaId}`).then((res) => {

View File

@@ -67,8 +67,10 @@ export default {
}, },
created() { created() {
this.checkAccess() this.checkAccess()
document.title = "问卷调查" },
} onShow() {
document.title = '问卷调查'
},
} }
</script> </script>

View File

@@ -70,9 +70,9 @@ export default {
uni.navigateTo({url}) uni.navigateTo({url})
} }
}, },
mounted() { onShow() {
document.title = '云广播' document.title = '云广播'
} },
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>

View File

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

View File

@@ -45,8 +45,10 @@ export default {
}, },
created() { created() {
this.getList() this.getList()
document.title = '在线设备' },
} onShow() {
document.title = '在线设备'
},
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>

View File

@@ -47,8 +47,10 @@ export default {
}, },
created() { created() {
this.getList() this.getList()
document.title = '在线设备' },
} onShow() {
document.title = '在播设备'
},
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>

View File

@@ -65,8 +65,10 @@ export default {
this.$dict.load('dlbBroadcastStatus').then(() => { this.$dict.load('dlbBroadcastStatus').then(() => {
this.getList() this.getList()
}) })
document.title = '在播设备' },
} onShow() {
document.title = '播放记录'
},
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>

View File

@@ -25,10 +25,8 @@ export default {
this.$nextTick(() => { this.$nextTick(() => {
this.show = true this.show = true
}) })
},
mounted() {
document.title = "以房找人" document.title = "以房找人"
} },
} }
</script> </script>

View File

@@ -148,7 +148,9 @@ export default {
'isFilingCertificateStatus', 'communityBuildingType', 'yesOrNo', 'BulidResidentType').then(() => { 'isFilingCertificateStatus', 'communityBuildingType', 'yesOrNo', 'BulidResidentType').then(() => {
this.getDetail() this.getDetail()
}) })
document.title = '房屋信息' },
onShow() {
document.title = '房屋信息'
}, },
methods: { methods: {

View File

@@ -139,7 +139,9 @@ export default {
this.getCenterLatLng().then(points => { this.getCenterLatLng().then(points => {
this.getMarkerCluster(points) this.getMarkerCluster(points)
}) })
document.title = '以房找人' },
onShow() {
document.title = "以房找人"
}, },
created() { created() {
this.$dict.load("communityBuildingType") this.$dict.load("communityBuildingType")

View File

@@ -168,7 +168,9 @@ export default {
'isFilingCertificateStatus', 'communityBuildingType', 'yesOrNo', 'BulidResidentType').then(() => { 'isFilingCertificateStatus', 'communityBuildingType', 'yesOrNo', 'BulidResidentType').then(() => {
this.getBuilding() this.getBuilding()
}) })
document.title = '以房找人' },
onShow() {
document.title = "以房找人"
}, },
methods: { methods: {
getSelectList(communityId) { getSelectList(communityId) {

View File

@@ -37,12 +37,14 @@ export default {
this.$dict.load('BuildLocationStatus').then(() => { this.$dict.load('BuildLocationStatus').then(() => {
this.getList() this.getList()
}) })
document.title = '楼栋列表'
uni.$on('updateList', () => { uni.$on('updateList', () => {
this.current = 1 this.current = 1
this.getList() this.getList()
}) })
}, },
onShow() {
document.title = "楼栋列表"
},
methods: { methods: {
getList() { getList() {

View File

@@ -65,7 +65,9 @@ export default {
computed: {...mapState(['user'])}, computed: {...mapState(['user'])},
mounted() { mounted() {
this.initMap() this.initMap()
document.title = '以房找人' },
onShow() {
document.title = "以房找人"
}, },
methods: { methods: {
initMap() { //初始化地图 initMap() { //初始化地图

View File

@@ -60,7 +60,9 @@ export default {
console.log(this.params) console.log(this.params)
this.getList() this.getList()
this.getStatistic() this.getStatistic()
document.title = '乡村相册' },
onShow() {
document.title = "乡村相册"
}, },
methods: { methods: {

View File

@@ -38,11 +38,13 @@ export default {
this.areaId = this.user.areaId this.areaId = this.user.areaId
this.areaName = this.user.areaName this.areaName = this.user.areaName
this.getList() this.getList()
document.title = '乡村相册'
uni.$on('updateList', () => { uni.$on('updateList', () => {
this.getList() this.getList()
}) })
}, },
onShow() {
document.title = "乡村相册"
},
methods: { methods: {
areaSelect(e) { areaSelect(e) {

View File

@@ -67,7 +67,9 @@ export default {
this.$dict.load('girdType', 'girdLevel') this.$dict.load('girdType', 'girdLevel')
this.areaId = this.user.areaId this.areaId = this.user.areaId
this.getLeafNodes() this.getLeafNodes()
document.title = '网格管理' },
onShow() {
document.title = "网格管理"
}, },
methods: { methods: {
getLeafNodes() { getLeafNodes() {

View File

@@ -47,7 +47,9 @@ export default {
computed: { ...mapState(['user']) }, computed: { ...mapState(['user']) },
mounted() { mounted() {
this.getList() this.getList()
document.title = '便民通讯录' },
onShow() {
document.title = "便民通讯录"
}, },
methods: { methods: {

View File

@@ -78,7 +78,9 @@ export default {
this.getDetail() this.getDetail()
} }
}) })
document.title = '新增' },
onShow() {
document.title = "新增"
}, },
methods: { methods: {

View File

@@ -43,7 +43,9 @@ export default {
computed: { ...mapState(['user']) }, computed: { ...mapState(['user']) },
mounted() { mounted() {
this.getList() this.getList()
document.title = '便民通讯录' },
onShow() {
document.title = "便民通讯录"
}, },
methods: { methods: {

View File

@@ -34,11 +34,13 @@ export default {
computed: { ...mapState(['user']) }, computed: { ...mapState(['user']) },
mounted() { mounted() {
this.getList() this.getList()
document.title = '便民通讯录'
uni.$on('updateList', () => { uni.$on('updateList', () => {
this.getList() this.getList()
}) })
}, },
onShow() {
document.title = "便民通讯录"
},
methods: { methods: {
getList() { getList() {

View File

@@ -80,10 +80,12 @@ export default {
}, },
computed: { ...mapState(['user']) }, computed: { ...mapState(['user']) },
onLoad() { onLoad() {
document.title = '婚丧嫁娶'
this.$dict.load('marriageType', 'modeType') this.$dict.load('marriageType', 'modeType')
this.forms.areaId = this.user.areaId this.forms.areaId = this.user.areaId
}, },
onShow() {
document.title = "婚丧嫁娶"
},
mounted() {}, mounted() {},
methods: { methods: {

View File

@@ -76,14 +76,15 @@ export default {
}, },
computed: {}, computed: {},
watch: {}, watch: {},
onLoad() { onLoad() {
document.title = '婚丧嫁娶'
this.$dict.load('marriageType', 'modeType').then(() => { this.$dict.load('marriageType', 'modeType').then(() => {
this.getCount() this.getCount()
this.getList() this.getList()
}) })
}, },
onShow() {}, onShow() {
document.title = "婚丧嫁娶"
},
methods: { methods: {
getCount() { getCount() {
uni.showLoading({ uni.showLoading({

View File

@@ -141,7 +141,6 @@ export default {
}, },
watch: {}, watch: {},
onLoad(o) { onLoad(o) {
document.title = '婚丧嫁娶'
if (o.indexTabs) { if (o.indexTabs) {
this.currentTabs = o.indexTabs this.currentTabs = o.indexTabs
this.getList() this.getList()
@@ -156,6 +155,9 @@ export default {
this.getEchart() this.getEchart()
}) })
}, },
onShow() {
document.title = "婚丧嫁娶"
},
mounted() { mounted() {
this.Echart = echarts.init(document.getElementById('yearStatistic')) this.Echart = echarts.init(document.getElementById('yearStatistic'))
}, },

View File

@@ -77,13 +77,14 @@ export default {
computed: {}, computed: {},
watch: {}, watch: {},
onLoad() { onLoad() {
document.title = '婚丧嫁娶'
this.$dict.load('marriageType', 'modeType').then(() => { this.$dict.load('marriageType', 'modeType').then(() => {
this.getCount() this.getCount()
this.getList() this.getList()
}) })
}, },
onShow() {}, onShow() {
document.title = "婚丧嫁娶"
},
methods: { methods: {
getCount() { getCount() {
uni.showLoading({ uni.showLoading({

View File

@@ -77,13 +77,14 @@ export default {
computed: {}, computed: {},
watch: {}, watch: {},
onLoad() { onLoad() {
document.title = '婚丧嫁娶'
this.$dict.load('marriageType', 'modeType').then(() => { this.$dict.load('marriageType', 'modeType').then(() => {
this.getCount() this.getCount()
this.getList() this.getList()
}) })
}, },
onShow() {}, onShow() {
document.title = "婚丧嫁娶"
},
methods: { methods: {
getCount() { getCount() {
uni.showLoading({ uni.showLoading({

View File

@@ -77,13 +77,14 @@ export default {
computed: {}, computed: {},
watch: {}, watch: {},
onLoad() { onLoad() {
document.title = '婚丧嫁娶'
this.$dict.load('marriageType', 'modeType').then(() => { this.$dict.load('marriageType', 'modeType').then(() => {
this.getCount() this.getCount()
this.getList() this.getList()
}) })
}, },
onShow() {}, onShow() {
document.title = "婚丧嫁娶"
},
methods: { methods: {
getCount() { getCount() {
uni.showLoading({ uni.showLoading({

View File

@@ -131,7 +131,7 @@ export default {
}, },
onShow() { onShow() {
document.title = '会议通知' document.title = '会议通知'
this.$dict.load("meetingNoticeBefore", "meetingNoticeAfter"); this.$dict.load("meetingNoticeBefore", "meetingNoticeAfter");
this.getData(); this.getData();
}, },

View File

@@ -145,7 +145,7 @@ export default {
}, },
onShow() { onShow() {
document.title = '新增会议' document.title = '新增会议'
this.$dict.load("meetingNoticeBefore", "meetingNoticeAfter"); this.$dict.load("meetingNoticeBefore", "meetingNoticeAfter");
}, },

View File

@@ -67,7 +67,7 @@ export default {
} }
}, },
onShow() { onShow() {
document.title = '我发起的' document.title = '我发起的'
}, },
created() { created() {
this.injectJWeixin(['sendChatMessage']).then(() => { this.injectJWeixin(['sendChatMessage']).then(() => {

View File

@@ -55,9 +55,12 @@ export default {
onLoad(opt) { onLoad(opt) {
this.index = opt.index this.index = opt.index
document.title = opt.index == 0 ? "历史会议" : "草稿箱"
this.getData(); this.getData();
}, },
onShow() {
document.title = opt.index == 0 ? "历史会议" : "草稿箱"
},
methods: { methods: {
detail({id}) { detail({id}) {

View File

@@ -30,11 +30,13 @@ export default {
this.getList(); this.getList();
}, },
created() { created() {
document.title = "接收对象";
this.injectJWeixin().then(() => { this.injectJWeixin().then(() => {
this.getList(); this.getList();
}) })
}, },
onShow() {
document.title = '接收对象'
},
methods: { methods: {
...mapActions(['previewFile', 'injectJWeixin']), ...mapActions(['previewFile', 'injectJWeixin']),
getList() { getList() {

View File

@@ -26,7 +26,7 @@ export default {
headerBg: require('./img/header-bg.png'), headerBg: require('./img/header-bg.png'),
} }
}, },
created() { onShow() {
document.title = '基层办公' document.title = '基层办公'
}, },
methods: { methods: {

View File

@@ -31,7 +31,7 @@ export default {
headerBg: require('./img/header-bg.png'), headerBg: require('./img/header-bg.png'),
} }
}, },
created() { onShow() {
document.title = '文明乡风' document.title = '文明乡风'
}, },
methods: { methods: {

View File

@@ -31,10 +31,7 @@ export default {
headerBg: require('./img/header-bg.png'), headerBg: require('./img/header-bg.png'),
} }
}, },
created() { onShow() {
document.title = '居民互动'
},
mounted() {
document.title = "居民互动" document.title = "居民互动"
} }
} }

View File

@@ -39,8 +39,8 @@ export default {
headerBg: require('./img/header-bg.png'), headerBg: require('./img/header-bg.png'),
} }
}, },
created() { onShow() {
document.title = '基层党建' document.title = '基层党建'
}, },
methods: { methods: {

View File

@@ -31,8 +31,8 @@ export default {
headerBg: require('./img/header-bg.png'), headerBg: require('./img/header-bg.png'),
} }
}, },
created() { onShow() {
document.title = '居民管理' document.title = '居民管理'
}, },
methods: { methods: {

View File

@@ -202,7 +202,6 @@ export default {
onLoad(query) { onLoad(query) {
if (query.isFrom) { if (query.isFrom) {
this.isFrom = true this.isFrom = true
document.title = '风险预警详情'
} }
uni.showLoading() uni.showLoading()
this.$dict.load(['fpType', 'riskEliminationMethod', 'fpRiskType', 'fpYesOrNo']).then(() => { this.$dict.load(['fpType', 'riskEliminationMethod', 'fpRiskType', 'fpYesOrNo']).then(() => {
@@ -214,6 +213,9 @@ export default {
this.getInfo(query.id) this.getInfo(query.id)
}) })
}, },
onShow() {
document.title = '风险预警详情'
},
methods: { methods: {
linkTo(url) { linkTo(url) {

View File

@@ -97,7 +97,6 @@ export default {
}, },
computed: { ...mapState(['user']) }, computed: { ...mapState(['user']) },
onLoad(o) { onLoad(o) {
document.title = '发布活动'
this.id = o.id ? o.id : '' this.id = o.id ? o.id : ''
this.$dict.load('realityStatus').then(() => { this.$dict.load('realityStatus').then(() => {
this.areaId = this.user.areaId this.areaId = this.user.areaId
@@ -108,6 +107,9 @@ export default {
this.getDetail() this.getDetail()
}) })
}, },
onShow() {
document.title = '发布活动'
},
mounted() {}, mounted() {},
methods: { methods: {

View File

@@ -39,9 +39,11 @@ export default {
} }
}, },
onLoad(o) { onLoad(o) {
document.title = '发布动态'
this.id = o.id || '' this.id = o.id || ''
}, },
onShow() {
document.title = '发布动态'
},
methods: { methods: {
addPost() { addPost() {
if (this.flag) return if (this.flag) return

View File

@@ -75,7 +75,6 @@ export default {
}, },
watch: {}, watch: {},
onLoad() { onLoad() {
document.title = '居民活动'
this.$dict.load(['villageActivityStatus']).then(() => { this.$dict.load(['villageActivityStatus']).then(() => {
this.getList() this.getList()
}) })
@@ -84,6 +83,9 @@ export default {
this.getList() this.getList()
}) })
}, },
onShow() {
document.title = '居民活动'
},
mounted() {}, mounted() {},
methods: { methods: {
getList() { getList() {

View File

@@ -137,7 +137,6 @@ export default {
} }
}, },
onLoad(option) { onLoad(option) {
document.title = '活动报名'
this.id = option.id this.id = option.id
this.$dict.load(['villageActivityStatus']).then(() => { this.$dict.load(['villageActivityStatus']).then(() => {
this.getDetail() this.getDetail()
@@ -147,6 +146,9 @@ export default {
this.getListInit() this.getListInit()
}) })
}, },
onShow() {
document.title = '活动报名'
},
methods: { methods: {
getDetail() { getDetail() {
this.$http.post(`/app/appvillageactivityinfo/queryDetailById?id=${this.id}`).then((res) => { this.$http.post(`/app/appvillageactivityinfo/queryDetailById?id=${this.id}`).then((res) => {

View File

@@ -66,11 +66,12 @@ export default {
}, },
watch: {}, watch: {},
onLoad() { onLoad() {
document.title = '居民列表'
this.areaId = this.user.areaId this.areaId = this.user.areaId
this.getList() this.getList()
}, },
onShow() {}, onShow() {
document.title = '居民列表'
},
methods: { methods: {
getList() { getList() {
this.$http this.$http

View File

@@ -121,13 +121,14 @@ export default {
computed: {}, computed: {},
watch: {}, watch: {},
onLoad(o) { onLoad(o) {
document.title = '家庭成员信息'
this.id = o.id this.id = o.id
this.$dict.load('householdRelation', 'nation', 'education', 'maritalStatus', 'politicsStatus', 'militaryStatus', 'faithType', 'job').then(() => { this.$dict.load('householdRelation', 'nation', 'education', 'maritalStatus', 'politicsStatus', 'militaryStatus', 'faithType', 'job').then(() => {
this.getDetail() this.getDetail()
}) })
}, },
onShow() {}, onShow() {
document.title = '家庭成员信息'
},
methods: { methods: {
getDetail() { getDetail() {
this.$http.post(`/app/appresident/detail?id=${this.id}`).then((res) => { this.$http.post(`/app/appresident/detail?id=${this.id}`).then((res) => {

View File

@@ -100,7 +100,7 @@ export default {
showTagManage: false, showTagManage: false,
} }
}, },
onLoad() { onShow() {
document.title = '添加标签' document.title = '添加标签'
}, },
computed: { computed: {

View File

@@ -82,7 +82,7 @@ export default {
familyList: [], familyList: [],
} }
}, },
onLoad() { onShow() {
document.title = '居民详情' document.title = '居民详情'
this.$dict.load('sex', 'nation', 'education', 'job', 'faithType', 'politicsStatus', 'militaryStatus', 'householdRelation', 'householdName') this.$dict.load('sex', 'nation', 'education', 'job', 'faithType', 'politicsStatus', 'militaryStatus', 'householdRelation', 'householdName')
}, },

View File

@@ -190,12 +190,14 @@ export default {
]) ])
}, },
}, },
onLoad() { onLoad() {
document.title = '居民详情'
this.$dict.load('wxCustomerAddWay', 'wxCustomerLogType') this.$dict.load('wxCustomerAddWay', 'wxCustomerLogType')
this.getCustomLog(this.top.custom) this.getCustomLog(this.top.custom)
this.injectJWeixin('openUserProfile') this.injectJWeixin('openUserProfile')
}, },
onShow() {
document.title = '居民详情'
}
} }
</script> </script>

View File

@@ -29,7 +29,7 @@ export default {
id: '', id: '',
} }
}, },
onLoad() { onShow() {
document.title = '居民详情' document.title = '居民详情'
}, },
computed: { computed: {

View File

@@ -75,6 +75,8 @@ export default {
this.forms.areaId = this.user.areaId this.forms.areaId = this.user.areaId
this.listName = o.listName this.listName = o.listName
this.getType() this.getType()
},
onShow() {
document.title = this.listName document.title = this.listName
}, },

View File

@@ -99,6 +99,9 @@ export default {
uni.$on('update', () => { uni.$on('update', () => {
this.getList() this.getList()
}) })
},
onShow() {
document.title = this.listName document.title = this.listName
}, },
methods: { methods: {

View File

@@ -51,8 +51,11 @@ export default {
this.id = o.id this.id = o.id
this.listName = o.listName this.listName = o.listName
this.getType() this.getType()
},
onShow() {
document.title = this.listName document.title = this.listName
}, },
mounted() {}, mounted() {},
methods: { methods: {
previewImage(images, img) { previewImage(images, img) {

View File

@@ -155,8 +155,11 @@ export default {
computed: { ...mapState(['user']) }, computed: { ...mapState(['user']) },
created() { created() {
this.getType() this.getType()
document.title = '新增人员'
}, },
onShow() {
document.title = '新增人员'
},
methods: { methods: {
...mapActions(['selectEnterpriseContact']), ...mapActions(['selectEnterpriseContact']),

View File

@@ -94,13 +94,15 @@ export default {
this.getStatistic() this.getStatistic()
this.getStatisticMon() this.getStatisticMon()
this.getUserList() this.getUserList()
document.title = '特殊人群管理'
uni.$on('specialPeopleList', () => { uni.$on('specialPeopleList', () => {
this.getStatistic() this.getStatistic()
this.getStatisticMon() this.getStatisticMon()
this.getUserList() this.getUserList()
}) })
}, },
onShow() {
document.title = '特殊人群管理'
},
methods: { methods: {
areaSelect(e) { areaSelect(e) {

View File

@@ -47,10 +47,12 @@ export default {
}, },
computed: { ...mapState(['user']) }, computed: { ...mapState(['user']) },
onLoad(o) { onLoad(o) {
document.title = '新增通知公告'
this.id = o.id this.id = o.id
this.getDetail() this.getDetail()
}, },
onShow() {
document.title = '新增通知公告'
},
mounted() {}, mounted() {},
methods: { methods: {

View File

@@ -78,14 +78,15 @@ export default {
}, },
watch: {}, watch: {},
onLoad() { onLoad() {
document.title = '通知公告'
this.getList() this.getList()
uni.$on('updateList', () => { uni.$on('updateList', () => {
this.current = 1 this.current = 1
this.getList() this.getList()
}) })
}, },
onShow() {}, onShow() {
document.title = '通知公告'
},
methods: { methods: {
getList() { getList() {
this.$http this.$http

View File

@@ -177,9 +177,11 @@ export default {
this.areaId = this.user.areaId this.areaId = this.user.areaId
this.areaName = this.user.areaName this.areaName = this.user.areaName
this.getList() this.getList()
document.title = '视频监控'
// this.getMonitors() // this.getMonitors()
}, },
onShow() {
document.title = '视频监控'
},
mounted() { mounted() {
this.Echart = echarts.init(document.getElementById('echarts')) this.Echart = echarts.init(document.getElementById('echarts'))
} }

View File

@@ -101,7 +101,6 @@ export default {
...mapState(['user']), ...mapState(['user']),
}, },
onLoad() { onLoad() {
document.title = '走访慰问'
this.areaId = this.user.areaId this.areaId = this.user.areaId
this.$dict.load('realityStatus').then(() => { this.$dict.load('realityStatus').then(() => {
this.getList() this.getList()
@@ -111,6 +110,9 @@ export default {
this.getList() this.getList()
}) })
}, },
onShow() {
document.title = '走访慰问'
},
mounted() {}, mounted() {},
methods: { methods: {
getList() { getList() {

View File

@@ -86,13 +86,15 @@ export default {
computed: { ...mapState(['user']) }, computed: { ...mapState(['user']) },
onLoad(o) { onLoad(o) {
this.id = o.id this.id = o.id
document.title = '新建走访'
this.areaIdProps = this.user.areaId this.areaIdProps = this.user.areaId
this.forms.areaId = this.user.areaId this.forms.areaId = this.user.areaId
this.$dict.load('realityStatus').then(() => { this.$dict.load('realityStatus').then(() => {
this.getDetail() this.getDetail()
}) })
}, },
onShow() {
document.title = '新建走访'
},
mounted() {}, mounted() {},
methods: { methods: {
getDetail() { getDetail() {

View File

@@ -50,11 +50,13 @@ export default {
computed: {}, computed: {},
onLoad(o) { onLoad(o) {
this.id = o.id this.id = o.id
document.title = '走访详情'
this.$dict.load('realityStatus').then(() => { this.$dict.load('realityStatus').then(() => {
this.getDetail() this.getDetail()
}) })
}, },
onShow() {
document.title = '走访详情'
},
mounted() {}, mounted() {},
methods: { methods: {
getDetail() { getDetail() {

View File

@@ -75,9 +75,11 @@ export default {
computed: {}, computed: {},
created() { created() {
console.log(1) console.log(1)
document.title = '选择走访慰问对象'
this.getDiyList() this.getDiyList()
}, },
onShow() {
document.title = '选择走访慰问对象'
},
mounted() {}, mounted() {},
methods: { methods: {
getDiyList() { getDiyList() {

View File

@@ -89,11 +89,13 @@ export default {
}, },
watch: {}, watch: {},
onLoad() { onLoad() {
document.title = '网上办事'
this.$dict.load('listApprovalStatusHb').then(() => { this.$dict.load('listApprovalStatusHb').then(() => {
this.getList() this.getList()
}) })
}, },
onShow() {
document.title = '网上办事'
},
mounted() {}, mounted() {},
methods: { methods: {
getList() { getList() {

View File

@@ -237,11 +237,13 @@ export default {
}, },
}, },
onLoad(options) { onLoad(options) {
document.title = '审批详情'
this.objid = options.id this.objid = options.id
this.listType = options.listType this.listType = options.listType
this.getDetail() this.getDetail()
}, },
onShow() {
document.title = '审批详情'
},
data() { data() {
return { return {
objid: '', objid: '',

View File

@@ -18,9 +18,11 @@ export default {
} }
}, },
onLoad(val) { onLoad(val) {
document.title = '审批详情'
this.flag = val?.flag == 1 this.flag = val?.flag == 1
}, },
onShow() {
document.title = '审批详情'
},
methods: { methods: {
goBack() { goBack() {
uni.navigateTo({ uni.navigateTo({

View File

@@ -101,12 +101,14 @@ export default {
} }
}, },
onLoad(options) { onLoad(options) {
document.title = '审批详情'
this.objid = options.id this.objid = options.id
this.type = options.type this.type = options.type
this.getList() this.getList()
}, },
onShow() {
document.title = '审批详情'
},
computed: {}, computed: {},
watch: {}, watch: {},
onShow() {}, onShow() {},

View File

@@ -237,11 +237,13 @@ export default {
}, },
}, },
onLoad(options) { onLoad(options) {
document.title = '审批详情'
this.objid = options.id this.objid = options.id
this.listType = options.listType this.listType = options.listType
this.getDetail() this.getDetail()
}, },
onShow() {
document.title = '审批详情'
},
data() { data() {
return { return {
objid: '', objid: '',

View File

@@ -52,9 +52,9 @@ export default {
detail: {default: () => ({})}, detail: {default: () => ({})},
comment: Boolean comment: Boolean
}, },
mounted() { onShow() {
document.title = this.title document.title = this.title
} },
} }
</script> </script>

View File

@@ -67,8 +67,10 @@ export default {
}, },
created() { created() {
this.checkAccess() this.checkAccess()
},
onShow() {
document.title = "问卷调查" document.title = "问卷调查"
} },
} }
</script> </script>

View File

@@ -58,10 +58,10 @@ export default {
onLoad(opt) { onLoad(opt) {
this.index = opt.index this.index = opt.index
document.title = opt.index == 0 ? "历史会议" : "草稿箱"
}, },
onShow() { onShow() {
this.getData(); this.getData();
document.title = opt.index == 0 ? "历史会议" : "草稿箱"
}, },
methods: { methods: {
detail({id}) { detail({id}) {

View File

@@ -29,11 +29,13 @@ export default {
this.getList(); this.getList();
}, },
created() { created() {
document.title = "接收对象";
this.injectJWeixin().then(() => { this.injectJWeixin().then(() => {
this.getList(); this.getList();
}) })
}, },
onShow() {
document.title = '接收对象'
},
methods: { methods: {
...mapActions(['previewFile', 'injectJWeixin']), ...mapActions(['previewFile', 'injectJWeixin']),
getList() { getList() {