导航栏title
This commit is contained in:
		@@ -60,6 +60,7 @@ export default {
 | 
				
			|||||||
    console.log(this.params)
 | 
					    console.log(this.params)
 | 
				
			||||||
    this.getList()
 | 
					    this.getList()
 | 
				
			||||||
    this.getStatistic()
 | 
					    this.getStatistic()
 | 
				
			||||||
 | 
					    uni.setNavigationBarTitle({title: '乡村相册'})
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  methods: {
 | 
					  methods: {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -38,6 +38,7 @@ export default {
 | 
				
			|||||||
    this.areaId = this.user.areaId
 | 
					    this.areaId = this.user.areaId
 | 
				
			||||||
    this.areaName = this.user.areaName
 | 
					    this.areaName = this.user.areaName
 | 
				
			||||||
    this.getList()
 | 
					    this.getList()
 | 
				
			||||||
 | 
					    uni.setNavigationBarTitle({title: '乡村相册'})
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  methods: {
 | 
					  methods: {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -78,6 +78,7 @@ export default {
 | 
				
			|||||||
        this.getDetail()
 | 
					        this.getDetail()
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    })
 | 
					    })
 | 
				
			||||||
 | 
					    uni.setNavigationBarTitle({title: '新增'})
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  methods: {
 | 
					  methods: {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -43,6 +43,7 @@ export default {
 | 
				
			|||||||
  computed: { ...mapState(['user']) },
 | 
					  computed: { ...mapState(['user']) },
 | 
				
			||||||
  mounted() {
 | 
					  mounted() {
 | 
				
			||||||
    this.getList()
 | 
					    this.getList()
 | 
				
			||||||
 | 
					    uni.setNavigationBarTitle({title: '便民通讯录'})
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  methods: {
 | 
					  methods: {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -33,8 +33,8 @@ export default {
 | 
				
			|||||||
  },
 | 
					  },
 | 
				
			||||||
  computed: { ...mapState(['user']) },
 | 
					  computed: { ...mapState(['user']) },
 | 
				
			||||||
  mounted() {
 | 
					  mounted() {
 | 
				
			||||||
    console.log(this.user)
 | 
					 | 
				
			||||||
    this.getList()
 | 
					    this.getList()
 | 
				
			||||||
 | 
					    uni.setNavigationBarTitle({title: '便民通讯录'})
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  methods: {
 | 
					  methods: {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -72,6 +72,7 @@ export default {
 | 
				
			|||||||
    this.forms.areaId = this.user.areaId
 | 
					    this.forms.areaId = this.user.areaId
 | 
				
			||||||
    this.listName = o.listName
 | 
					    this.listName = o.listName
 | 
				
			||||||
    this.getType()
 | 
					    this.getType()
 | 
				
			||||||
 | 
					    uni.setNavigationBarTitle({title: this.listName})
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  mounted() {},
 | 
					  mounted() {},
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -40,6 +40,7 @@ export default {
 | 
				
			|||||||
    this.id = o.id
 | 
					    this.id = o.id
 | 
				
			||||||
    this.listName = o.listName
 | 
					    this.listName = o.listName
 | 
				
			||||||
    this.getType()
 | 
					    this.getType()
 | 
				
			||||||
 | 
					    uni.setNavigationBarTitle({title: this.listName})
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  mounted() {},
 | 
					  mounted() {},
 | 
				
			||||||
  methods: {
 | 
					  methods: {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -155,6 +155,7 @@ export default {
 | 
				
			|||||||
  computed: { ...mapState(['user']) },
 | 
					  computed: { ...mapState(['user']) },
 | 
				
			||||||
  created() {
 | 
					  created() {
 | 
				
			||||||
    this.getType()
 | 
					    this.getType()
 | 
				
			||||||
 | 
					    uni.setNavigationBarTitle({title: '新增人员'})
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  methods: {
 | 
					  methods: {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -89,12 +89,12 @@ export default {
 | 
				
			|||||||
  },
 | 
					  },
 | 
				
			||||||
  computed: { ...mapState(['user']) },
 | 
					  computed: { ...mapState(['user']) },
 | 
				
			||||||
  created() {
 | 
					  created() {
 | 
				
			||||||
    console.log(1111)
 | 
					 | 
				
			||||||
    this.areaId = this.user.areaId
 | 
					    this.areaId = this.user.areaId
 | 
				
			||||||
    this.areaName = this.user.areaName
 | 
					    this.areaName = this.user.areaName
 | 
				
			||||||
    this.getStatistic()
 | 
					    this.getStatistic()
 | 
				
			||||||
    this.getStatisticMon()
 | 
					    this.getStatisticMon()
 | 
				
			||||||
    this.getUserList()
 | 
					    this.getUserList()
 | 
				
			||||||
 | 
					    uni.setNavigationBarTitle({title: '特殊人群管理'})
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  methods: {
 | 
					  methods: {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -177,6 +177,7 @@ export default {
 | 
				
			|||||||
    this.areaId = this.user.areaId
 | 
					    this.areaId = this.user.areaId
 | 
				
			||||||
    this.areaName = this.user.areaName
 | 
					    this.areaName = this.user.areaName
 | 
				
			||||||
    this.getList()
 | 
					    this.getList()
 | 
				
			||||||
 | 
					    uni.setNavigationBarTitle({title: '视频监控'})
 | 
				
			||||||
    // this.getMonitors()
 | 
					    // this.getMonitors()
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  mounted() {
 | 
					  mounted() {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -22,6 +22,7 @@ export default {
 | 
				
			|||||||
    this.$nextTick(() => {
 | 
					    this.$nextTick(() => {
 | 
				
			||||||
      this.detectOrient()
 | 
					      this.detectOrient()
 | 
				
			||||||
    })
 | 
					    })
 | 
				
			||||||
 | 
					    uni.setNavigationBarTitle({title: '视频监控'})
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  methods: {
 | 
					  methods: {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user