Browse Source

no message

master
xpz2018 7 months ago
parent
commit
0357c7b3de
2 changed files with 11 additions and 10 deletions
  1. 17
      src/views/components/Profile.vue
  2. 4
      src/views/sys/workbench/components/GrowCard.vue

17
src/views/components/Profile.vue

@ -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.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> <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>
<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> </div>
</div> </div>
</template> </template>
<script> <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 { export default {
components: { Avatar },
components: { Avatar, Tag },
name: 'Timeline', name: 'Timeline',
props: { props: {
info: { // info: { //
@ -43,9 +44,9 @@ export default {
return { return {
educationList, educationList,
maritalList, maritalList,
incomeList
incomeList,
channelList
}; };
}, },
} }
</script>
</script>

4
src/views/sys/workbench/components/GrowCard.vue

@ -7,9 +7,9 @@
:title="item.title" :title="item.title"
:style="{flex: 1, marginRight: index < dataList.length - 1 ? '5px' : '0px', marginLeft: index > 0 ? '5px' : '0px'}" :style="{flex: 1, marginRight: index < dataList.length - 1 ? '5px' : '0px', marginLeft: index > 0 ? '5px' : '0px'}"
> >
<template #extra>
<!-- <template #extra>
<Tag :color="item.color">{{ item.action }}</Tag> <Tag :color="item.color">{{ item.action }}</Tag>
</template>
</template> -->
<div class="py-3 px-5 flex justify-between items-center"> <div class="py-3 px-5 flex justify-between items-center">
<CountTo :startVal="1" :endVal="item.value" class="text-3xl" /> <CountTo :startVal="1" :endVal="item.value" class="text-3xl" />

Loading…
Cancel
Save