setNavigationBarTitle
This commit is contained in:
		@@ -47,8 +47,6 @@
 | 
				
			|||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <div class="btn" @click="submit">确认上报</div>
 | 
					    <div class="btn" @click="submit">确认上报</div>
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -82,6 +80,7 @@ export default {
 | 
				
			|||||||
  },
 | 
					  },
 | 
				
			||||||
  computed: { ...mapState(['user']) },
 | 
					  computed: { ...mapState(['user']) },
 | 
				
			||||||
  onLoad() {
 | 
					  onLoad() {
 | 
				
			||||||
 | 
					    uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
 | 
				
			||||||
    this.$dict.load('marriageType', 'modeType')
 | 
					    this.$dict.load('marriageType', 'modeType')
 | 
				
			||||||
    this.forms.areaId = this.user.areaId
 | 
					    this.forms.areaId = this.user.areaId
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -77,6 +77,7 @@ export default {
 | 
				
			|||||||
  computed: {},
 | 
					  computed: {},
 | 
				
			||||||
  watch: {},
 | 
					  watch: {},
 | 
				
			||||||
  onLoad() {
 | 
					  onLoad() {
 | 
				
			||||||
 | 
					    uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
 | 
				
			||||||
    this.$dict.load('marriageType', 'modeType').then(() => {
 | 
					    this.$dict.load('marriageType', 'modeType').then(() => {
 | 
				
			||||||
      this.getCount()
 | 
					      this.getCount()
 | 
				
			||||||
      this.getList()
 | 
					      this.getList()
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -141,6 +141,7 @@ export default {
 | 
				
			|||||||
  },
 | 
					  },
 | 
				
			||||||
  watch: {},
 | 
					  watch: {},
 | 
				
			||||||
  onLoad(o) {
 | 
					  onLoad(o) {
 | 
				
			||||||
 | 
					    uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
 | 
				
			||||||
    if (o.indexTabs) {
 | 
					    if (o.indexTabs) {
 | 
				
			||||||
      this.currentTabs = o.indexTabs
 | 
					      this.currentTabs = o.indexTabs
 | 
				
			||||||
      this.getList()
 | 
					      this.getList()
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -77,6 +77,7 @@ export default {
 | 
				
			|||||||
  computed: {},
 | 
					  computed: {},
 | 
				
			||||||
  watch: {},
 | 
					  watch: {},
 | 
				
			||||||
  onLoad() {
 | 
					  onLoad() {
 | 
				
			||||||
 | 
					    uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
 | 
				
			||||||
    this.$dict.load('marriageType', 'modeType').then(() => {
 | 
					    this.$dict.load('marriageType', 'modeType').then(() => {
 | 
				
			||||||
      this.getCount()
 | 
					      this.getCount()
 | 
				
			||||||
      this.getList()
 | 
					      this.getList()
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -77,6 +77,7 @@ export default {
 | 
				
			|||||||
  computed: {},
 | 
					  computed: {},
 | 
				
			||||||
  watch: {},
 | 
					  watch: {},
 | 
				
			||||||
  onLoad() {
 | 
					  onLoad() {
 | 
				
			||||||
 | 
					    uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
 | 
				
			||||||
    this.$dict.load('marriageType', 'modeType').then(() => {
 | 
					    this.$dict.load('marriageType', 'modeType').then(() => {
 | 
				
			||||||
      this.getCount()
 | 
					      this.getCount()
 | 
				
			||||||
      this.getList()
 | 
					      this.getList()
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -77,6 +77,7 @@ export default {
 | 
				
			|||||||
  computed: {},
 | 
					  computed: {},
 | 
				
			||||||
  watch: {},
 | 
					  watch: {},
 | 
				
			||||||
  onLoad() {
 | 
					  onLoad() {
 | 
				
			||||||
 | 
					    uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
 | 
				
			||||||
    this.$dict.load('marriageType', 'modeType').then(() => {
 | 
					    this.$dict.load('marriageType', 'modeType').then(() => {
 | 
				
			||||||
      this.getCount()
 | 
					      this.getCount()
 | 
				
			||||||
      this.getList()
 | 
					      this.getList()
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -53,8 +53,6 @@
 | 
				
			|||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <div class="btn" @click="submit">保存</div>
 | 
					    <div class="btn" @click="submit">保存</div>
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -99,10 +97,9 @@ export default {
 | 
				
			|||||||
  },
 | 
					  },
 | 
				
			||||||
  computed: { ...mapState(['user']) },
 | 
					  computed: { ...mapState(['user']) },
 | 
				
			||||||
  onLoad(o) {
 | 
					  onLoad(o) {
 | 
				
			||||||
    console.log(this.user)
 | 
					    uni.setNavigationBarTitle({ title: '发布活动' })
 | 
				
			||||||
    this.id = o.id ? o.id : ''
 | 
					    this.id = o.id ? o.id : ''
 | 
				
			||||||
    this.$dict.load('realityStatus').then(() => {
 | 
					    this.$dict.load('realityStatus').then(() => {
 | 
				
			||||||
      // this.getDetail()
 | 
					 | 
				
			||||||
      this.areaId = this.user.areaId
 | 
					      this.areaId = this.user.areaId
 | 
				
			||||||
      this.forms.areaId = this.user.areaId
 | 
					      this.forms.areaId = this.user.areaId
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -39,6 +39,7 @@ export default {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  onLoad(o) {
 | 
					  onLoad(o) {
 | 
				
			||||||
 | 
					    uni.setNavigationBarTitle({ title: '发布动态' })
 | 
				
			||||||
    this.id = o.id || ''
 | 
					    this.id = o.id || ''
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  methods: {
 | 
					  methods: {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -75,6 +75,7 @@ export default {
 | 
				
			|||||||
  },
 | 
					  },
 | 
				
			||||||
  watch: {},
 | 
					  watch: {},
 | 
				
			||||||
  onLoad() {
 | 
					  onLoad() {
 | 
				
			||||||
 | 
					    uni.setNavigationBarTitle({ title: '居民活动' })
 | 
				
			||||||
    this.$dict.load(['villageActivityStatus']).then(() => {
 | 
					    this.$dict.load(['villageActivityStatus']).then(() => {
 | 
				
			||||||
      this.getList()
 | 
					      this.getList()
 | 
				
			||||||
    })
 | 
					    })
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -135,7 +135,7 @@ export default {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  onLoad(option) {
 | 
					  onLoad(option) {
 | 
				
			||||||
    console.log(option)
 | 
					    uni.setNavigationBarTitle({ title: '活动报名' })
 | 
				
			||||||
    this.id = option.id
 | 
					    this.id = option.id
 | 
				
			||||||
    this.$dict.load(['villageActivityStatus']).then(() => {
 | 
					    this.$dict.load(['villageActivityStatus']).then(() => {
 | 
				
			||||||
      this.getDetail()
 | 
					      this.getDetail()
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -89,6 +89,7 @@ export default {
 | 
				
			|||||||
  },
 | 
					  },
 | 
				
			||||||
  watch: {},
 | 
					  watch: {},
 | 
				
			||||||
  onLoad() {
 | 
					  onLoad() {
 | 
				
			||||||
 | 
					    uni.setNavigationBarTitle({ title: '网上办事' })
 | 
				
			||||||
    this.$dict.load('listApprovalStatusHb').then(() => {
 | 
					    this.$dict.load('listApprovalStatusHb').then(() => {
 | 
				
			||||||
      this.getList()
 | 
					      this.getList()
 | 
				
			||||||
    })
 | 
					    })
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -237,6 +237,7 @@ export default {
 | 
				
			|||||||
    },
 | 
					    },
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  onLoad(options) {
 | 
					  onLoad(options) {
 | 
				
			||||||
 | 
					    uni.setNavigationBarTitle({ title: '审批详情' })
 | 
				
			||||||
    this.objid = options.id
 | 
					    this.objid = options.id
 | 
				
			||||||
    this.listType = options.listType
 | 
					    this.listType = options.listType
 | 
				
			||||||
    this.getDetail()
 | 
					    this.getDetail()
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -5,7 +5,6 @@
 | 
				
			|||||||
    <u-button type="primary" :custom-style="{ width: '100%', borderRadius: '4px', marginTop: '48px' }" @click="goBack">
 | 
					    <u-button type="primary" :custom-style="{ width: '100%', borderRadius: '4px', marginTop: '48px' }" @click="goBack">
 | 
				
			||||||
      {{ btnText }}
 | 
					      {{ btnText }}
 | 
				
			||||||
    </u-button>
 | 
					    </u-button>
 | 
				
			||||||
 | 
					 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -19,6 +18,7 @@ export default {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  onLoad(val) {
 | 
					  onLoad(val) {
 | 
				
			||||||
 | 
					    uni.setNavigationBarTitle({ title: '审批详情' })
 | 
				
			||||||
    this.flag = val?.flag == 1
 | 
					    this.flag = val?.flag == 1
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  methods: {
 | 
					  methods: {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -77,7 +77,6 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    <!-- 日期选择器 -->
 | 
					    <!-- 日期选择器 -->
 | 
				
			||||||
    <u-calendar v-model="show" :mode="mode" @change="calendar" />
 | 
					    <u-calendar v-model="show" :mode="mode" @change="calendar" />
 | 
				
			||||||
 | 
					 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -102,6 +101,7 @@ export default {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  onLoad(options) {
 | 
					  onLoad(options) {
 | 
				
			||||||
 | 
					    uni.setNavigationBarTitle({ title: '审批详情' })
 | 
				
			||||||
    this.objid = options.id
 | 
					    this.objid = options.id
 | 
				
			||||||
    this.type = options.type
 | 
					    this.type = options.type
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -237,6 +237,7 @@ export default {
 | 
				
			|||||||
    },
 | 
					    },
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  onLoad(options) {
 | 
					  onLoad(options) {
 | 
				
			||||||
 | 
					    uni.setNavigationBarTitle({ title: '审批详情' })
 | 
				
			||||||
    this.objid = options.id
 | 
					    this.objid = options.id
 | 
				
			||||||
    this.listType = options.listType
 | 
					    this.listType = options.listType
 | 
				
			||||||
    this.getDetail()
 | 
					    this.getDetail()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user