onShow
This commit is contained in:
@@ -101,7 +101,6 @@ export default {
|
||||
...mapState(['user']),
|
||||
},
|
||||
onLoad() {
|
||||
document.title = '走访慰问'
|
||||
this.areaId = this.user.areaId
|
||||
this.$dict.load('realityStatus').then(() => {
|
||||
this.getList()
|
||||
@@ -111,6 +110,9 @@ export default {
|
||||
this.getList()
|
||||
})
|
||||
},
|
||||
onShow() {
|
||||
document.title = '走访慰问'
|
||||
},
|
||||
mounted() {},
|
||||
methods: {
|
||||
getList() {
|
||||
|
||||
@@ -86,13 +86,15 @@ export default {
|
||||
computed: { ...mapState(['user']) },
|
||||
onLoad(o) {
|
||||
this.id = o.id
|
||||
document.title = '新建走访'
|
||||
this.areaIdProps = this.user.areaId
|
||||
this.forms.areaId = this.user.areaId
|
||||
this.$dict.load('realityStatus').then(() => {
|
||||
this.getDetail()
|
||||
})
|
||||
},
|
||||
onShow() {
|
||||
document.title = '新建走访'
|
||||
},
|
||||
mounted() {},
|
||||
methods: {
|
||||
getDetail() {
|
||||
|
||||
@@ -50,11 +50,13 @@ export default {
|
||||
computed: {},
|
||||
onLoad(o) {
|
||||
this.id = o.id
|
||||
document.title = '走访详情'
|
||||
this.$dict.load('realityStatus').then(() => {
|
||||
this.getDetail()
|
||||
})
|
||||
},
|
||||
onShow() {
|
||||
document.title = '走访详情'
|
||||
},
|
||||
mounted() {},
|
||||
methods: {
|
||||
getDetail() {
|
||||
|
||||
@@ -75,9 +75,11 @@ export default {
|
||||
computed: {},
|
||||
created() {
|
||||
console.log(1)
|
||||
document.title = '选择走访慰问对象'
|
||||
this.getDiyList()
|
||||
},
|
||||
onShow() {
|
||||
document.title = '选择走访慰问对象'
|
||||
},
|
||||
mounted() {},
|
||||
methods: {
|
||||
getDiyList() {
|
||||
|
||||
Reference in New Issue
Block a user