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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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