setNavigationBarTitle

This commit is contained in:
花有清香月有阴
2021-12-24 11:20:22 +08:00
parent 9377875ce7
commit 0aed20e272
15 changed files with 15 additions and 9 deletions

View File

@@ -47,8 +47,6 @@
</div>
<div class="btn" @click="submit">确认上报</div>
</div>
</template>
@@ -82,6 +80,7 @@ export default {
},
computed: { ...mapState(['user']) },
onLoad() {
uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
this.$dict.load('marriageType', 'modeType')
this.forms.areaId = this.user.areaId
},

View File

@@ -77,6 +77,7 @@ export default {
computed: {},
watch: {},
onLoad() {
uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
this.$dict.load('marriageType', 'modeType').then(() => {
this.getCount()
this.getList()

View File

@@ -141,6 +141,7 @@ export default {
},
watch: {},
onLoad(o) {
uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
if (o.indexTabs) {
this.currentTabs = o.indexTabs
this.getList()

View File

@@ -77,6 +77,7 @@ export default {
computed: {},
watch: {},
onLoad() {
uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
this.$dict.load('marriageType', 'modeType').then(() => {
this.getCount()
this.getList()

View File

@@ -77,6 +77,7 @@ export default {
computed: {},
watch: {},
onLoad() {
uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
this.$dict.load('marriageType', 'modeType').then(() => {
this.getCount()
this.getList()

View File

@@ -77,6 +77,7 @@ export default {
computed: {},
watch: {},
onLoad() {
uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
this.$dict.load('marriageType', 'modeType').then(() => {
this.getCount()
this.getList()

View File

@@ -53,8 +53,6 @@
</div>
<div class="btn" @click="submit">保存</div>
</div>
</template>
@@ -99,10 +97,9 @@ export default {
},
computed: { ...mapState(['user']) },
onLoad(o) {
console.log(this.user)
uni.setNavigationBarTitle({ title: '发布活动' })
this.id = o.id ? o.id : ''
this.$dict.load('realityStatus').then(() => {
// this.getDetail()
this.areaId = this.user.areaId
this.forms.areaId = this.user.areaId

View File

@@ -39,6 +39,7 @@ export default {
}
},
onLoad(o) {
uni.setNavigationBarTitle({ title: '发布动态' })
this.id = o.id || ''
},
methods: {

View File

@@ -75,6 +75,7 @@ export default {
},
watch: {},
onLoad() {
uni.setNavigationBarTitle({ title: '居民活动' })
this.$dict.load(['villageActivityStatus']).then(() => {
this.getList()
})

View File

@@ -135,7 +135,7 @@ export default {
}
},
onLoad(option) {
console.log(option)
uni.setNavigationBarTitle({ title: '活动报名' })
this.id = option.id
this.$dict.load(['villageActivityStatus']).then(() => {
this.getDetail()

View File

@@ -89,6 +89,7 @@ export default {
},
watch: {},
onLoad() {
uni.setNavigationBarTitle({ title: '网上办事' })
this.$dict.load('listApprovalStatusHb').then(() => {
this.getList()
})

View File

@@ -237,6 +237,7 @@ export default {
},
},
onLoad(options) {
uni.setNavigationBarTitle({ title: '审批详情' })
this.objid = options.id
this.listType = options.listType
this.getDetail()

View File

@@ -5,7 +5,6 @@
<u-button type="primary" :custom-style="{ width: '100%', borderRadius: '4px', marginTop: '48px' }" @click="goBack">
{{ btnText }}
</u-button>
</div>
</template>
@@ -19,6 +18,7 @@ export default {
}
},
onLoad(val) {
uni.setNavigationBarTitle({ title: '审批详情' })
this.flag = val?.flag == 1
},
methods: {

View File

@@ -77,7 +77,6 @@
<!-- 日期选择器 -->
<u-calendar v-model="show" :mode="mode" @change="calendar" />
</div>
</template>
@@ -102,6 +101,7 @@ export default {
}
},
onLoad(options) {
uni.setNavigationBarTitle({ title: '审批详情' })
this.objid = options.id
this.type = options.type

View File

@@ -237,6 +237,7 @@ export default {
},
},
onLoad(options) {
uni.setNavigationBarTitle({ title: '审批详情' })
this.objid = options.id
this.listType = options.listType
this.getDetail()