|
|
|
@ -19,17 +19,18 @@ |
|
|
|
<span style="font-size: 13px;color: #666;margin-left: 12px;" v-if="info.occupation !== null">{{info.occupation}}</span> |
|
|
|
<span style="font-size: 13px;color: #666;margin-left: 12px;" v-if="info.incomeCode !== null">月收入:{{incomeList.find((find) => find.value === info.incomeCode)?.label}}</span> |
|
|
|
</div> |
|
|
|
<div class="flex-row"> |
|
|
|
<span class="single-line" style="font-size: 13px;color: #19be6b;margin-top: 4px;">线索来源:{{info.creatorName}}[{{info.orgName}}]</span> |
|
|
|
<div class="flex-row" style="margin-top: 4px;"> |
|
|
|
<Tag color="warning" style="margin-right: 8px;" v-if="info.channelType">#{{channelList.find((find) => find.value === info.channelType)?.label}}</Tag> |
|
|
|
<span class="single-line" style="font-size: 13px;color: #19be6b;">线索来源:{{info.creatorName}}[{{info.orgName}}]</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
import { educationList, maritalList, incomeList } from '/@/enums/customerEnum' |
|
|
|
import { Avatar } from 'ant-design-vue' |
|
|
|
import { educationList, maritalList, incomeList, channelList } from '/@/enums/customerEnum' |
|
|
|
import { Avatar, Tag } from 'ant-design-vue' |
|
|
|
export default { |
|
|
|
components: { Avatar }, |
|
|
|
components: { Avatar, Tag }, |
|
|
|
name: 'Timeline', |
|
|
|
props: { |
|
|
|
info: { // 时间轴内容数组 |
|
|
|
@ -43,9 +44,9 @@ export default { |
|
|
|
return { |
|
|
|
educationList, |
|
|
|
maritalList, |
|
|
|
incomeList |
|
|
|
incomeList, |
|
|
|
channelList |
|
|
|
}; |
|
|
|
}, |
|
|
|
} |
|
|
|
</script> |
|
|
|
|
|
|
|
</script> |