Skip to content

Commit 094b192

Browse files
committed
✨ CRM:完善联系人的列表
1 parent a401fff commit 094b192

File tree

3 files changed

+31
-107
lines changed

3 files changed

+31
-107
lines changed

src/views/crm/contact/OwerSelect.vue

Lines changed: 0 additions & 72 deletions
This file was deleted.

src/views/crm/contact/index.vue

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
<!-- 列表 -->
111111
<ContentWrap>
112112
<el-table v-loading="loading" :data="list" :show-overflow-tooltip="true" :stripe="true">
113-
<el-table-column align="center" fixed="left" label="姓名" prop="name" width="140">
113+
<el-table-column align="center" fixed="left" label="联系人姓名" prop="name" width="160">
114114
<template #default="scope">
115115
<el-link :underline="false" type="primary" @click="openDetail(scope.row.id)">
116116
{{ scope.row.name }}
@@ -129,38 +129,45 @@
129129
</template>
130130
</el-table-column>
131131
<el-table-column align="center" label="手机" prop="mobile" width="120" />
132-
<el-table-column align="center" label="电话" prop="telephone" width="120" />
133-
<el-table-column align="center" label="邮箱" prop="email" width="120" />
132+
<el-table-column align="center" label="电话" prop="telephone" width="130" />
133+
<el-table-column align="center" label="邮箱" prop="email" width="180" />
134134
<el-table-column align="center" label="职位" prop="post" width="120" />
135135
<el-table-column align="center" label="地址" prop="detailAddress" width="120" />
136+
<el-table-column align="center" label="关键决策人" prop="master" width="100">
137+
<template #default="scope">
138+
<dict-tag :type="DICT_TYPE.INFRA_BOOLEAN_STRING" :value="scope.row.master" />
139+
</template>
140+
</el-table-column>
141+
<el-table-column align="center" label="直属上级" prop="parentName" width="160">
142+
<template #default="scope">
143+
<el-link :underline="false" type="primary" @click="openDetail(scope.row.parentId)">
144+
{{ scope.row.parentName }}
145+
</el-link>
146+
</template>
147+
</el-table-column>
148+
<el-table-column label="地址" align="center" prop="detailAddress" width="180" />
136149
<el-table-column
137150
:formatter="dateFormatter"
138151
align="center"
139152
label="下次联系时间"
140153
prop="contactNextTime"
141154
width="180px"
142155
/>
143-
<el-table-column align="center" label="备注" prop="remark" />
144-
<el-table-column align="center" label="关键决策人" prop="master" width="100">
156+
<el-table-column align="center" label="性别" prop="sex">
145157
<template #default="scope">
146-
<dict-tag :type="DICT_TYPE.INFRA_BOOLEAN_STRING" :value="scope.row.master" />
158+
<dict-tag :type="DICT_TYPE.SYSTEM_USER_SEX" :value="scope.row.sex" />
147159
</template>
148160
</el-table-column>
149-
<el-table-column align="center" label="直属上级" prop="parentName" width="140" />
161+
<el-table-column align="center" label="备注" prop="remark" />
150162
<el-table-column
151163
:formatter="dateFormatter"
152164
align="center"
153165
label="最后跟进时间"
154166
prop="contactLastTime"
155167
width="180px"
156168
/>
157-
<el-table-column align="center" label="性别" prop="sex">
158-
<template #default="scope">
159-
<dict-tag :type="DICT_TYPE.SYSTEM_USER_SEX" :value="scope.row.sex" />
160-
</template>
161-
</el-table-column>
162169
<el-table-column align="center" label="负责人" prop="ownerUserName" width="120" />
163-
<el-table-column align="center" label="创建人" prop="creatorName" width="120" />
170+
<el-table-column align="center" label="所属部门" prop="ownerUserDeptName" width="100" />
164171
<el-table-column
165172
:formatter="dateFormatter"
166173
align="center"
@@ -175,6 +182,7 @@
175182
prop="createTime"
176183
width="180px"
177184
/>
185+
<el-table-column align="center" label="创建人" prop="creatorName" width="120" />
178186
<el-table-column align="center" fixed="right" label="操作" width="200">
179187
<template #default="scope">
180188
<el-button

src/views/crm/customer/pool/index.vue

Lines changed: 10 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -97,32 +97,31 @@
9797
<!-- 列表 -->
9898
<ContentWrap>
9999
<el-table v-loading="loading" :data="list" :show-overflow-tooltip="true" :stripe="true">
100-
<el-table-column align="center" label="编号" prop="id" />
101-
<el-table-column align="center" label="客户名称" prop="name" width="160">
100+
<el-table-column align="center" label="客户名称" fixed="left" prop="name" width="160">
102101
<template #default="scope">
103102
<el-link :underline="false" type="primary" @click="openDetail(scope.row.id)">
104103
{{ scope.row.name }}
105104
</el-link>
106105
</template>
107106
</el-table-column>
108-
<el-table-column align="center" label="手机" prop="mobile" width="120" />
109-
<el-table-column align="center" label="电话" prop="telephone" width="120" />
110107
<el-table-column align="center" label="客户来源" prop="source" width="100">
111108
<template #default="scope">
112109
<dict-tag :type="DICT_TYPE.CRM_CUSTOMER_SOURCE" :value="scope.row.source" />
113110
</template>
114111
</el-table-column>
115-
<el-table-column align="center" label="所属行业" prop="industryId" width="120">
112+
<el-table-column label="手机" align="center" prop="mobile" width="120" />
113+
<el-table-column label="电话" align="center" prop="telephone" width="130" />
114+
<el-table-column label="邮箱" align="center" prop="email" width="180" />
115+
<el-table-column align="center" label="客户级别" prop="level" width="135">
116116
<template #default="scope">
117-
<dict-tag :type="DICT_TYPE.CRM_CUSTOMER_INDUSTRY" :value="scope.row.industryId" />
117+
<dict-tag :type="DICT_TYPE.CRM_CUSTOMER_LEVEL" :value="scope.row.level" />
118118
</template>
119119
</el-table-column>
120-
<el-table-column align="center" label="客户级别" prop="level" width="120">
120+
<el-table-column align="center" label="客户行业" prop="industryId" width="100">
121121
<template #default="scope">
122-
<dict-tag :type="DICT_TYPE.CRM_CUSTOMER_LEVEL" :value="scope.row.level" />
122+
<dict-tag :type="DICT_TYPE.CRM_CUSTOMER_INDUSTRY" :value="scope.row.industryId" />
123123
</template>
124124
</el-table-column>
125-
<el-table-column align="center" label="网址" prop="website" width="200" />
126125
<el-table-column
127126
:formatter="dateFormatter"
128127
align="center"
@@ -136,20 +135,18 @@
136135
<dict-tag :type="DICT_TYPE.INFRA_BOOLEAN_STRING" :value="scope.row.dealStatus" />
137136
</template>
138137
</el-table-column>
139-
<el-table-column align="center" label="距离进入公海" prop="poolDay">
140-
<template #default="scope"> {{ scope.row.poolDay }}天</template>
141-
</el-table-column>
142138
<el-table-column
143139
:formatter="dateFormatter"
144140
align="center"
145141
label="最后跟进时间"
146142
prop="contactLastTime"
147143
width="180px"
148144
/>
145+
<el-table-column align="center" label="最后跟进记录" prop="contactLastContent" width="200" />
149146
<el-table-column
150147
:formatter="dateFormatter"
151148
align="center"
152-
label="创建时间"
149+
label="更新时间"
153150
prop="updateTime"
154151
width="180px"
155152
/>
@@ -160,16 +157,7 @@
160157
prop="createTime"
161158
width="180px"
162159
/>
163-
<el-table-column align="center" label="负责人" prop="ownerUserName" width="100px" />
164-
<el-table-column align="center" label="所属部门" prop="ownerUserDeptName" width="100px" />
165160
<el-table-column align="center" label="创建人" prop="creatorName" width="100px" />
166-
<el-table-column align="center" fixed="right" label="操作" min-width="150">
167-
<template #default="scope">
168-
<el-link :underline="false" type="primary" @click="openDetail(scope.row.id)">
169-
详情
170-
</el-link>
171-
</template>
172-
</el-table-column>
173161
</el-table>
174162
<!-- 分页 -->
175163
<Pagination

0 commit comments

Comments
 (0)