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

@@ -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()