lulong
This commit is contained in:
@@ -88,7 +88,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
this.getIsAdd()
|
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
document.title = '巡查上报'
|
document.title = '巡查上报'
|
||||||
@@ -100,6 +99,7 @@ export default {
|
|||||||
created() {
|
created() {
|
||||||
this.$dict.load('clapEventStatus', 'clapEventStatusAll', 'clapEventStatusHistory', 'residentEventSource').then(() => {
|
this.$dict.load('clapEventStatus', 'clapEventStatusAll', 'clapEventStatusHistory', 'residentEventSource').then(() => {
|
||||||
this.getList()
|
this.getList()
|
||||||
|
this.getIsAdd()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -170,11 +170,13 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
getIsAdd() {
|
getIsAdd() {
|
||||||
// this.$http.post(`/app/apppatrolreportinfo/listByGirdMember`).then((res) => {
|
console.log(123)
|
||||||
// if (res.code == 0) {
|
this.$http.post(`/app/apppatrolreportinfo/checkGirdMemberUser`).then((res) => {
|
||||||
// this.isAdd = res.data == 5 || res.data == 6 ? true : false
|
if (res.code == 0) {
|
||||||
// }
|
console.log(res.data)
|
||||||
// })
|
this.isAdd = res.data
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user