This commit is contained in:
liuye
2021-12-24 15:27:36 +08:00
parent b2af14588b
commit 931852d567
68 changed files with 186 additions and 88 deletions

View File

@@ -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() {

View File

@@ -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() {

View File

@@ -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() {

View File

@@ -75,9 +75,11 @@ export default {
computed: {},
created() {
console.log(1)
document.title = '选择走访慰问对象'
this.getDiyList()
},
onShow() {
document.title = '选择走访慰问对象'
},
mounted() {},
methods: {
getDiyList() {