Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8b787176
authored
Nov 26, 2023
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crm:code review 客户详情
parent
443f65b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
89 deletions
+0
-89
src/views/crm/config/customerLimitConfig/customerLimitConfig.ts
+0
-4
src/views/crm/customer/detail/CustomerDetailsTop.vue
+0
-85
No files found.
src/views/crm/config/customerLimitConfig/customerLimitConfig.ts
deleted
100644 → 0
View file @
443f65b5
// TODO 可以挪到它对应的 api.ts 文件里哈
/**
* 客户限制配置类型
*/
src/views/crm/customer/detail/CustomerDetailsTop.vue
deleted
100644 → 0
View file @
443f65b5
<
template
>
<div
v-loading=
"loading"
>
<div
class=
"flex items-start justify-between"
>
<div>
<!-- 左上:客户基本信息 -->
<CustomerBasicInfo
:customer=
"customer"
/>
</div>
<div>
<!-- 右上:按钮 -->
<el-button
v-hasPermi=
"['crm:customer:update']"
@
click=
"openForm('update', customer.id)"
>
编辑
</el-button>
<el-button>
更改成交状态
</el-button>
</div>
</div>
<el-row
class=
"mt-10px"
>
<el-button>
<Icon
class=
"mr-5px"
icon=
"ph:calendar-fill"
/>
创建任务
</el-button>
<el-button>
<Icon
class=
"mr-5px"
icon=
"carbon:email"
/>
发送邮件
</el-button>
<el-button>
<Icon
class=
"mr-5px"
icon=
"system-uicons:contacts"
/>
创建联系人
</el-button>
<el-button>
<Icon
class=
"mr-5px"
icon=
"ep:opportunity"
/>
创建商机
</el-button>
<el-button>
<Icon
class=
"mr-5px"
icon=
"clarity:contract-line"
/>
创建合同
</el-button>
<el-button>
<Icon
class=
"mr-5px"
icon=
"icon-park:income-one"
/>
创建回款
</el-button>
<el-button>
<Icon
class=
"mr-5px"
icon=
"fluent:people-team-add-20-filled"
/>
添加团队成员
</el-button>
</el-row>
</div>
<ContentWrap
class=
"mt-10px"
>
<el-descriptions
:column=
"5"
direction=
"vertical"
>
<el-descriptions-item
label=
"客户级别"
>
<dict-tag
:type=
"DICT_TYPE.CRM_CUSTOMER_LEVEL"
:value=
"customer.level"
/>
</el-descriptions-item>
<el-descriptions-item
label=
"成交状态"
>
{{
customer
.
dealStatus
?
'已成交'
:
'未成交'
}}
</el-descriptions-item>
<el-descriptions-item
label=
"负责人"
>
{{
customer
.
ownerUserName
}}
</el-descriptions-item>
<!-- TODO wanwan 首要联系人? -->
<el-descriptions-item
label=
"首要联系人"
/>
<!-- TODO wanwan 首要联系人电话? -->
<el-descriptions-item
label=
"首要联系人电话"
>
{{
customer
.
mobile
}}
</el-descriptions-item>
</el-descriptions>
</ContentWrap>
<!-- 表单弹窗:添加/修改 -->
<CustomerForm
ref=
"formRef"
@
success=
"emit('refresh')"
/>
</
template
>
<
script
setup
lang=
"ts"
>
import
*
as
CustomerApi
from
'@/api/crm/customer'
import
{
DICT_TYPE
}
from
'@/utils/dict'
import
CustomerBasicInfo
from
'@/views/crm/customer/detail/CustomerBasicInfo.vue'
import
CustomerForm
from
'@/views/crm/customer/CustomerForm.vue'
const
{
customer
,
loading
}
=
defineProps
<
{
customer
:
CustomerApi
.
CustomerVO
;
loading
:
boolean
}
>
()
const
openForm
=
(
type
:
string
,
id
?:
number
)
=>
{
formRef
.
value
.
open
(
type
,
id
)
}
const
formRef
=
ref
()
const
emit
=
defineEmits
([
'refresh'
])
// 定义 success 事件,用于操作成功后的回调
</
script
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment