增加评分等级文本
This commit is contained in:
@@ -12,31 +12,34 @@
|
|||||||
</template>
|
</template>
|
||||||
<template #content>
|
<template #content>
|
||||||
<div class="detail-content__wrapper">
|
<div class="detail-content__wrapper">
|
||||||
<ai-card class="detail-content__wrapper--left" title="基础信息">
|
<div class="detail-content__wrapper--left">
|
||||||
<template #content>
|
<ai-card title="基础信息">
|
||||||
<ai-wrapper>
|
<template #content>
|
||||||
<ai-info-item label="上报人员" :value="detail.name"></ai-info-item>
|
<ai-wrapper>
|
||||||
<ai-info-item label="当前状态" :value="dict.getLabel('clapEventStatus', detail.eventStatus)"></ai-info-item>
|
<ai-info-item label="上报人员" :value="detail.name"></ai-info-item>
|
||||||
<ai-info-item label="联系方式">{{ detail.phone }}</ai-info-item>
|
<ai-info-item label="当前状态" :value="dict.getLabel('clapEventStatus', detail.eventStatus)"></ai-info-item>
|
||||||
<ai-info-item label="上报时间">{{ detail.createTime }}</ai-info-item>
|
<ai-info-item label="联系方式">{{ detail.phone }}</ai-info-item>
|
||||||
<ai-info-item label="事件类型">{{ detail.groupName }}</ai-info-item>
|
<ai-info-item label="上报时间">{{ detail.createTime }}</ai-info-item>
|
||||||
<ai-info-item label="事件描述" isLine>{{ detail.content }}</ai-info-item>
|
<ai-info-item label="事件类型">{{ detail.groupName }}</ai-info-item>
|
||||||
<ai-info-item label="现场照片" isLine>
|
<ai-info-item label="事件描述" isLine>{{ detail.content }}</ai-info-item>
|
||||||
<ai-uploader :instance="instance" disabled v-model="detail.files"></ai-uploader>
|
<ai-info-item label="现场照片" isLine>
|
||||||
</ai-info-item>
|
<ai-uploader :instance="instance" disabled v-model="detail.files"></ai-uploader>
|
||||||
<ai-info-item label="所属网格">{{ detail.girdName }}</ai-info-item>
|
</ai-info-item>
|
||||||
<ai-info-item label="事件位置" isLine>
|
<ai-info-item label="所属网格">{{ detail.girdName }}</ai-info-item>
|
||||||
<div id="map" style="width: 500px; height: 280px;"></div>
|
<ai-info-item label="事件位置" isLine>
|
||||||
</ai-info-item>
|
<div id="map" style="width: 500px; height: 280px;"></div>
|
||||||
</ai-wrapper>
|
</ai-info-item>
|
||||||
</template>
|
</ai-wrapper>
|
||||||
</ai-card>
|
</template>
|
||||||
|
</ai-card>
|
||||||
|
<ai-evaluation :bid="form.id" :info.sync="evaluation"/>
|
||||||
|
</div>
|
||||||
<div class="rightZone">
|
<div class="rightZone">
|
||||||
<ai-card title="办理进度">
|
<ai-card title="办理进度">
|
||||||
<template #content>
|
<template #content>
|
||||||
<el-steps direction="vertical" :active="1">
|
<el-steps direction="vertical" :active="1">
|
||||||
<el-step
|
<el-step
|
||||||
v-for="(item, i) in processList"
|
v-for="(item, i) in process"
|
||||||
:key="i"
|
:key="i"
|
||||||
:title="item.systemExplain"
|
:title="item.systemExplain"
|
||||||
:description="item.doTime">
|
:description="item.doTime">
|
||||||
@@ -190,12 +193,18 @@ export default {
|
|||||||
groupName: '',
|
groupName: '',
|
||||||
content: [],
|
content: [],
|
||||||
eventStatus: '2'
|
eventStatus: '2'
|
||||||
}
|
},
|
||||||
|
evaluation: {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(['user'])
|
...mapState(['user']),
|
||||||
|
process: v => [v.processList, v.evaluation.id ? {
|
||||||
|
systemExplain: `${v.evaluation.createUserName}完成评价 (${v.evaluation.score}星评价)`,
|
||||||
|
doTime: v.evaluation.createTime,
|
||||||
|
doExplain: v.evaluation.rateText
|
||||||
|
} : null].flat().filter(Boolean)
|
||||||
},
|
},
|
||||||
|
|
||||||
created() {
|
created() {
|
||||||
@@ -501,6 +510,7 @@ export default {
|
|||||||
.detail-content__wrapper {
|
.detail-content__wrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
|
||||||
.detail-content__wrapper--left {
|
.detail-content__wrapper--left {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user