setNavigationBarTitle
This commit is contained in:
		@@ -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
 | 
			
		||||
  },
 | 
			
		||||
 
 | 
			
		||||
@@ -77,6 +77,7 @@ export default {
 | 
			
		||||
  computed: {},
 | 
			
		||||
  watch: {},
 | 
			
		||||
  onLoad() {
 | 
			
		||||
    uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
 | 
			
		||||
    this.$dict.load('marriageType', 'modeType').then(() => {
 | 
			
		||||
      this.getCount()
 | 
			
		||||
      this.getList()
 | 
			
		||||
 
 | 
			
		||||
@@ -141,6 +141,7 @@ export default {
 | 
			
		||||
  },
 | 
			
		||||
  watch: {},
 | 
			
		||||
  onLoad(o) {
 | 
			
		||||
    uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
 | 
			
		||||
    if (o.indexTabs) {
 | 
			
		||||
      this.currentTabs = o.indexTabs
 | 
			
		||||
      this.getList()
 | 
			
		||||
 
 | 
			
		||||
@@ -77,6 +77,7 @@ export default {
 | 
			
		||||
  computed: {},
 | 
			
		||||
  watch: {},
 | 
			
		||||
  onLoad() {
 | 
			
		||||
    uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
 | 
			
		||||
    this.$dict.load('marriageType', 'modeType').then(() => {
 | 
			
		||||
      this.getCount()
 | 
			
		||||
      this.getList()
 | 
			
		||||
 
 | 
			
		||||
@@ -77,6 +77,7 @@ export default {
 | 
			
		||||
  computed: {},
 | 
			
		||||
  watch: {},
 | 
			
		||||
  onLoad() {
 | 
			
		||||
    uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
 | 
			
		||||
    this.$dict.load('marriageType', 'modeType').then(() => {
 | 
			
		||||
      this.getCount()
 | 
			
		||||
      this.getList()
 | 
			
		||||
 
 | 
			
		||||
@@ -77,6 +77,7 @@ export default {
 | 
			
		||||
  computed: {},
 | 
			
		||||
  watch: {},
 | 
			
		||||
  onLoad() {
 | 
			
		||||
    uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
 | 
			
		||||
    this.$dict.load('marriageType', 'modeType').then(() => {
 | 
			
		||||
      this.getCount()
 | 
			
		||||
      this.getList()
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -39,6 +39,7 @@ export default {
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  onLoad(o) {
 | 
			
		||||
    uni.setNavigationBarTitle({ title: '发布动态' })
 | 
			
		||||
    this.id = o.id || ''
 | 
			
		||||
  },
 | 
			
		||||
  methods: {
 | 
			
		||||
 
 | 
			
		||||
@@ -75,6 +75,7 @@ export default {
 | 
			
		||||
  },
 | 
			
		||||
  watch: {},
 | 
			
		||||
  onLoad() {
 | 
			
		||||
    uni.setNavigationBarTitle({ title: '居民活动' })
 | 
			
		||||
    this.$dict.load(['villageActivityStatus']).then(() => {
 | 
			
		||||
      this.getList()
 | 
			
		||||
    })
 | 
			
		||||
 
 | 
			
		||||
@@ -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()
 | 
			
		||||
 
 | 
			
		||||
@@ -89,6 +89,7 @@ export default {
 | 
			
		||||
  },
 | 
			
		||||
  watch: {},
 | 
			
		||||
  onLoad() {
 | 
			
		||||
    uni.setNavigationBarTitle({ title: '网上办事' })
 | 
			
		||||
    this.$dict.load('listApprovalStatusHb').then(() => {
 | 
			
		||||
      this.getList()
 | 
			
		||||
    })
 | 
			
		||||
 
 | 
			
		||||
@@ -237,6 +237,7 @@ export default {
 | 
			
		||||
    },
 | 
			
		||||
  },
 | 
			
		||||
  onLoad(options) {
 | 
			
		||||
    uni.setNavigationBarTitle({ title: '审批详情' })
 | 
			
		||||
    this.objid = options.id
 | 
			
		||||
    this.listType = options.listType
 | 
			
		||||
    this.getDetail()
 | 
			
		||||
 
 | 
			
		||||
@@ -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: {
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -237,6 +237,7 @@ export default {
 | 
			
		||||
    },
 | 
			
		||||
  },
 | 
			
		||||
  onLoad(options) {
 | 
			
		||||
    uni.setNavigationBarTitle({ title: '审批详情' })
 | 
			
		||||
    this.objid = options.id
 | 
			
		||||
    this.listType = options.listType
 | 
			
		||||
    this.getDetail()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user