From 4eb75edac95854c9effcbf9a1a1328bc02ead007 Mon Sep 17 00:00:00 2001 From: liuye Date: Thu, 24 Aug 2023 18:00:27 +0800 Subject: [PATCH] lulong --- src/project/lulong/AppHandSnapshot/List.vue | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/project/lulong/AppHandSnapshot/List.vue b/src/project/lulong/AppHandSnapshot/List.vue index da8b457b..59a77fe9 100644 --- a/src/project/lulong/AppHandSnapshot/List.vue +++ b/src/project/lulong/AppHandSnapshot/List.vue @@ -88,7 +88,6 @@ export default { } }, onLoad() { - this.getIsAdd() }, onShow() { document.title = '巡查上报' @@ -100,6 +99,7 @@ export default { created() { this.$dict.load('clapEventStatus', 'clapEventStatusAll', 'clapEventStatusHistory', 'residentEventSource').then(() => { this.getList() + this.getIsAdd() }) }, methods: { @@ -170,11 +170,13 @@ export default { }, getIsAdd() { - // this.$http.post(`/app/apppatrolreportinfo/listByGirdMember`).then((res) => { - // if (res.code == 0) { - // this.isAdd = res.data == 5 || res.data == 6 ? true : false - // } - // }) + console.log(123) + this.$http.post(`/app/apppatrolreportinfo/checkGirdMemberUser`).then((res) => { + if (res.code == 0) { + console.log(res.data) + this.isAdd = res.data + } + }) }, }, }