From 21ccd9ff81e9c0dcae10857e090e13aa49690fe5 Mon Sep 17 00:00:00 2001 From: aixianling Date: Tue, 5 Mar 2024 16:42:47 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E6=81=A2=E5=A4=8D=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../qujing/AppPhotoReport/PhotoDetail.vue | 52 ++++++++++++------- 1 file changed, 34 insertions(+), 18 deletions(-) diff --git a/src/project/qujing/AppPhotoReport/PhotoDetail.vue b/src/project/qujing/AppPhotoReport/PhotoDetail.vue index 2730bd0..6e82181 100644 --- a/src/project/qujing/AppPhotoReport/PhotoDetail.vue +++ b/src/project/qujing/AppPhotoReport/PhotoDetail.vue @@ -13,17 +13,17 @@
- 暂无照片 + 暂无照片 - +
- 暂无照片 + 暂无照片
- - - + + +
@@ -97,8 +97,15 @@ export default { systemExplain: `${createUserName}完成评价 (${score}星评价)` }) } - return list - } + return list; + }, + tabs: v => { + const tabs = [{name: "办理进度"}]; + if (!!v.evaluation?.id) { + tabs.push({name: "我的评价"}); + } + return tabs; + }, }, onShow() { this.getInfo() @@ -117,7 +124,7 @@ export default { if (['3', '4'].includes(res.data.eventStatus) && res.data.groupName != '矛盾调解') { this.result = res.data.processList[0] } - if(this.info.judgeRisk) { + if (this.info.judgeRisk) { this.info.judgeRiskList = this.info.judgeRisk.split(',') } } @@ -133,11 +140,14 @@ export default { preview(url) { uni.previewImage({ urls: this.info.files.map(v => v.url), - current: url - }) - } - } -} + current: url, + }); + }, + hasFiles(files) { + return files?.length > 0; + }, + }, +}; diff --git a/src/project/fengdu/AppCircle/Detail.vue b/src/project/fengdu/AppCircle/Detail.vue index 0942ff7..4193a92 100644 --- a/src/project/fengdu/AppCircle/Detail.vue +++ b/src/project/fengdu/AppCircle/Detail.vue @@ -2,7 +2,7 @@
- +

{{ info.createUserName }}

{{ info.publishDepartName }} @@ -24,7 +24,7 @@
{{ info.integralTaskInfo.type == 1 ? '报名得积分' : '打卡得积分' }}
-
{{ info.integralTaskInfo.type == 1 ? '报名时间:' : '进场时间:'}}
+
{{ info.integralTaskInfo.type == 1 ? '报名时间:' : '进场时间:' }}
{{ info.integralTaskInfo.intoBegintime }}至{{ info.integralTaskInfo.intoEndtime }}
@@ -34,12 +34,12 @@
- +

{{ info.createTime }}

@@ -47,7 +47,7 @@ {{ info.appreciateCount }}
- + {{ info.commentCount }}
@@ -56,7 +56,7 @@

评论

- +

{{ item.createUserName }}

{{ item.content }}

@@ -66,7 +66,7 @@
- +
@@ -90,14 +90,14 @@