Browse Source

no message

master
xpz2018 9 months ago
parent
commit
9ff348e399
5 changed files with 14 additions and 15 deletions
  1. 3
      src/enums/customerEnum.ts
  2. 6
      src/views/clue/clueList/index.vue
  3. 2
      src/views/clue/cluePool/data.ts
  4. 6
      src/views/clue/cluePool/index.vue
  5. 12
      src/views/clue/customer/index.vue

3
src/enums/customerEnum.ts

@ -38,8 +38,7 @@ export const maritalList = [
export const clueStatusList = [ export const clueStatusList = [
{ label: '待分配', value: 1 }, { label: '待分配', value: 1 },
{ label: '跟进中', value: 2 }, { label: '跟进中', value: 2 },
{ label: '无效线索', value: 3 },
{ label: '有效线索', value: 4 },
{ label: '公海线索', value: 3 },
] ]
export const followStatusList = [ export const followStatusList = [

6
src/views/clue/clueList/index.vue

@ -10,11 +10,11 @@
</template> </template>
<template #userinfo="{ text, record }"> <template #userinfo="{ text, record }">
<div class="flex-row"> <div class="flex-row">
<Image style="width: 40px;height: 40px;" :src="record.profilePhoto || 'https://dating-agency-test.oss-accelerate.aliyuncs.com/B96BAC02B145C2D.png'" />
<Image style="width: 40px;height: 40px;" :src="record.profilePhoto || 'https://dating-agency-prod.oss-cn-shenzhen.aliyuncs.com/827036501B11.png'" />
<div class="flex-col" style="margin-left: 8px;"> <div class="flex-col" style="margin-left: 8px;">
<div class="flex-row"> <div class="flex-row">
<span class="single-line" style="font-size: 14px;color: #333;font-weight: bold;max-width: 100px;">{{record.nickName}}</span>
<span class="single-line" style="font-size: 13px;color: #666;margin: 0 12px;">(ID{{record.id}})</span>
<span class="single-line" style="font-size: 14px;color: #333;font-weight: bold;max-width: 160px;">{{record.nickName}}</span>
<!-- <span class="single-line" style="font-size: 13px;color: #666;margin: 0 12px;">(ID{{record.id}})</span> -->
</div> </div>
<div class="flex-row"> <div class="flex-row">
<span style="font-size: 13px;color: #666;">{{record.age}}</span> <span style="font-size: 13px;color: #666;">{{record.age}}</span>

2
src/views/clue/cluePool/data.ts

@ -28,7 +28,7 @@ export const tableColumns: BasicColumn[] = [
return validStatusList.find((find) => find.value === text)?.label return validStatusList.find((find) => find.value === text)?.label
}, },
}, },
{ width: 150, title: '录入时间', dataIndex: 'creatTime' },
{ width: 150, title: '录入时间', dataIndex: 'createTime' },
] ]
export const tableFormSchema: FormSchema[] = [ export const tableFormSchema: FormSchema[] = [

6
src/views/clue/cluePool/index.vue

@ -32,11 +32,11 @@
</template> </template>
<template #userinfo="{ text, record }"> <template #userinfo="{ text, record }">
<div class="flex-row"> <div class="flex-row">
<Image style="width: 40px;height: 40px;" :src="record.profilePhoto || 'https://dating-agency-test.oss-accelerate.aliyuncs.com/B96BAC02B145C2D.png'" />
<Image style="width: 40px;height: 40px;" :src="record.profilePhoto || 'https://dating-agency-prod.oss-cn-shenzhen.aliyuncs.com/827036501B11.png'" />
<div class="flex-col" style="margin-left: 8px;"> <div class="flex-col" style="margin-left: 8px;">
<div class="flex-row"> <div class="flex-row">
<span class="single-line" style="font-size: 14px;color: #333;font-weight: bold;max-width: 90px;">{{record.nickName}}</span>
<span class="single-line" style="font-size: 13px;color: #666;margin: 0 12px;">(ID{{record.id}})</span>
<span class="single-line" style="font-size: 14px;color: #333;font-weight: bold;max-width: 160px;">{{record.nickName}}</span>
<!-- <span class="single-line" style="font-size: 13px;color: #666;margin: 0 12px;">(ID{{record.id}})</span> -->
</div> </div>
<div class="flex-row"> <div class="flex-row">
<span style="font-size: 13px;color: #666;">{{record.age}}</span> <span style="font-size: 13px;color: #666;">{{record.age}}</span>

12
src/views/clue/customer/index.vue

@ -15,9 +15,9 @@
<span style="color: #666;margin: 0 12px;">(ID{{details.id}} | 渠道来源{{channelList.find((find) => find.value === details.channelType)?.label}})</span> <span style="color: #666;margin: 0 12px;">(ID{{details.id}} | 渠道来源{{channelList.find((find) => find.value === details.channelType)?.label}})</span>
<Tag color="warning" v-if="details.allocationStatus === 1">待分配</Tag> <Tag color="warning" v-if="details.allocationStatus === 1">待分配</Tag>
<Tag color="green" v-else-if="details.validStatus === 2">#有效线索-0</Tag>
<Tag color="error" v-else-if="details.validStatus === 3">#无效线索-0</Tag>
<Tag color="pink" v-else-if="details.followStatus === 1">#待跟进-0</Tag>
<Tag color="green" v-else-if="details.validStatus === 2">#有效线索</Tag>
<Tag color="error" v-else-if="details.validStatus === 3">#无效线索</Tag>
<Tag color="pink" v-else-if="details.followStatus === 1">#待跟进</Tag>
</div> </div>
<div class="flex-row-center-start" style="margin-top: 5px;"> <div class="flex-row-center-start" style="margin-top: 5px;">
<div class="flex-row-center-start" style="width: 240px;"> <div class="flex-row-center-start" style="width: 240px;">
@ -28,7 +28,7 @@
<span style="color: #666;">微信</span> <span style="color: #666;">微信</span>
<span style="color: #333;font-weight: bold;">{{details.weChatId || '--'}}</span> <span style="color: #333;font-weight: bold;">{{details.weChatId || '--'}}</span>
</div> </div>
<div class="flex-row-center-start" style="width: 240px;">
<!-- <div class="flex-row-center-start" style="width: 240px;">
<span style="color: #666;">客户标签</span> <span style="color: #666;">客户标签</span>
<Tag color="#f50" closable @close="onLabelClose">无效</Tag> <Tag color="#f50" closable @close="onLabelClose">无效</Tag>
<Popconfirm placement="bottom" icon="添加标签" @confirm="handleLabel"> <Popconfirm placement="bottom" icon="添加标签" @confirm="handleLabel">
@ -39,7 +39,7 @@
<template #icon><Icon icon="ant-design:plus-outlined" size="14px" style="color:#0960bd;display: block;"/></template> <template #icon><Icon icon="ant-design:plus-outlined" size="14px" style="color:#0960bd;display: block;"/></template>
</Button> </Button>
</Popconfirm> </Popconfirm>
</div>
</div> -->
</div> </div>
<div class="flex-row-center-start" style="margin-top: 5px;"> <div class="flex-row-center-start" style="margin-top: 5px;">
<div class="flex-row-center-start" style="width: 240px;"> <div class="flex-row-center-start" style="width: 240px;">
@ -110,7 +110,7 @@
</div> </div>
<div class="flex-row-center-start" style="flex: 1;"> <div class="flex-row-center-start" style="flex: 1;">
<span style="color: #666;">录入时间</span> <span style="color: #666;">录入时间</span>
<span style="color: #333;font-weight: bold;">--</span>
<span style="color: #333;font-weight: bold;">{{details.createTime || '--'}}</span>
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save