setNavigationBarTitle
This commit is contained in:
@@ -108,6 +108,7 @@ export default {
|
||||
...mapState(['user']),
|
||||
},
|
||||
onLoad() {
|
||||
uni.setNavigationBarTitle({ title: '走访慰问' })
|
||||
this.areaId = this.user.areaId
|
||||
this.$dict.load('realityStatus').then(() => {
|
||||
this.getList()
|
||||
|
||||
@@ -44,8 +44,6 @@
|
||||
</div>
|
||||
|
||||
<div class="btn" @click="submit">保存</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<component v-else :is="comp" :paramss="params" @back="backlist"></component>
|
||||
@@ -88,6 +86,7 @@ export default {
|
||||
},
|
||||
computed: { ...mapState(['user']) },
|
||||
created() {
|
||||
uni.setNavigationBarTitle({ title: '新建走访' })
|
||||
this.areaIdProps = this.user.areaId
|
||||
this.forms.areaId = this.user.areaId
|
||||
this.$dict.load('realityStatus').then(() => {
|
||||
|
||||
@@ -31,8 +31,6 @@
|
||||
<img :src="item.url" alt="" v-for="(item, index) in data.images" :key="index" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -49,7 +47,8 @@ export default {
|
||||
}
|
||||
},
|
||||
computed: {},
|
||||
created() {
|
||||
onLoad() {
|
||||
uni.setNavigationBarTitle({ title: '走访详情' })
|
||||
this.$dict.load('realityStatus').then(() => {
|
||||
this.getDetail()
|
||||
})
|
||||
|
||||
@@ -71,7 +71,8 @@ export default {
|
||||
}
|
||||
},
|
||||
computed: {},
|
||||
created() {
|
||||
onLoad() {
|
||||
uni.setNavigationBarTitle({ title: '选择走访慰问对象' })
|
||||
this.getDiyList()
|
||||
},
|
||||
mounted() {},
|
||||
|
||||
Reference in New Issue
Block a user