diff --git a/project/pingchang/apps/AppCommunityMember/Detail.vue b/project/pingchang/apps/AppCommunityMember/Detail.vue index 919f57e8..e2403edf 100644 --- a/project/pingchang/apps/AppCommunityMember/Detail.vue +++ b/project/pingchang/apps/AppCommunityMember/Detail.vue @@ -19,7 +19,7 @@ {{ info.total }} {{ dict.getLabel('partyReportSignupStatus', info.signupStatus) }} {{ dict.getLabel('activityStatus', info.actionStatus) }} - {{ info.beginTime.substring(0, 10) }} 至 {{ info.endTime.substring(0, 10) }} + {{ info.beginTime }} 至 {{ info.endTime }} {{ info.stopSignupTime }} {{ info.contactPerson }} {{ info.contactPhone }} @@ -34,8 +34,9 @@ @@ -43,20 +44,35 @@ {{row.partyName}}-{{row.phone}} - {{partyOrgName}} + {{row.partyOrgName}} - 查看日志 + 查看日志 + + + {{ userInfo.userName }} + {{ userInfo.submitTime }} + {{ userInfo.content }} + + + + + + @@ -87,7 +103,9 @@ export default { {prop: "logStatus", label: "活动日志", align: "center", dict: 'partyReportSignupLogStatus'}, {slot: "options"}, ], - userList: [] + userList: [], + showDialog: false, + userInfo: {} } }, @@ -106,7 +124,7 @@ export default { getInfo() { this.instance.post(`/app/apppartyreport/queryDetailById?id=${this.id}`).then((res) => { if (res?.data) { - this.info = res.data; + this.info = res.data if (this.info.birthday) { this.info.birthday = this.info.birthday.substring(0, 10); } @@ -117,8 +135,20 @@ export default { this.instance.post(`/app/apppartyreport/signup-info?id=${this.id}`).then((res) => { if (res?.data) { res.data.map((item) => { - item.signupTime = item.signupTime.substring(0, 10) + if(item.signupTime) { + item.signupTime = item.signupTime.substring(0, 10) + } }) + this.userList = res.data + } + }); + }, + viewUser(row) { + this.instance.post(`app/apppartyreport/log?id=${row.id}`).then((res) => { + if (res.code == 0) { + this.userInfo = {...res.data} + this.userInfo.userName = row.partyName + this.showDialog = true } }); },
{{row.partyName}}-{{row.phone}}
{{partyOrgName}}
{{row.partyOrgName}}