diff --git a/src/project/pingchang/AppWishfulThinking/Detail.vue b/src/project/pingchang/AppWishfulThinking/Detail.vue index 3b14683a..0c1af792 100644 --- a/src/project/pingchang/AppWishfulThinking/Detail.vue +++ b/src/project/pingchang/AppWishfulThinking/Detail.vue @@ -13,7 +13,9 @@
{{ data.content }}
- {{ detailStatus.label }} + + 已评价 + {{ $dict.getLabel('clapEventStatus', data.eventStatus) }}
事件类型 @@ -60,7 +62,9 @@
@@ -106,7 +110,7 @@
前往办理
- +
@@ -124,13 +128,13 @@ export default { } }, computed: { - detailStatus: v => { - const status = !v.evaluation.id ? v.data.eventStatus : 'evaluation' - return { - cls: 'status' + status, - label: !v.data.evaluation.id ? v.$dict.getLabel('clapEventStatus', v.data.eventStatus) : "已评价" - } - }, + // detailStatus: v => { + // const status = ! v.evaluation && v.evaluation.id ? v.data.eventStatus : 'evaluation' + // return { + // cls: 'status' + status, + // label: ! v.data.evaluation && v.data.evaluation.id ? v.$dict.getLabel('clapEventStatus', v.data.eventStatus) : "已评价" + // } + // }, process() { const getAvatar = str => str?.substring(str?.length, str?.length - 2) const list = this.data.processList.map(e => ({ @@ -138,7 +142,7 @@ export default { avatar: getAvatar(e.girdMemberName), statusLabel: this.$dict.getLabel('clapDoStatus', e.doStatus) })) - if (this.evaluation.id) { + if (this.evaluation && this.evaluation.id) { const {id, createUserName, score, createTime: doTime, content: doExplain} = this.evaluation list.splice(0, 0, { id, doTime, doExplain,