Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
62166953
Commit
62166953
authored
Aug 22, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
联系人name 回显修改
parent
a5408e5d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
0 deletions
+53
-0
contacts.vue
src/views/ecw/customer/components/contacts.vue
+53
-0
No files found.
src/views/ecw/customer/components/contacts.vue
0 → 100644
View file @
62166953
<
template
>
<div
style=
"display: inline-block"
>
<span
@
click=
"visible = true"
>
<slot></slot></span>
<el-dialog
title=
"更多联系人"
:visible.sync=
"visible"
>
<div
v-if=
"info"
>
<div
style=
"text-align: center;margin-bottom: 20px;"
v-for=
"(item, index) in info"
:key=
"index"
>
联系人
{{
index
+
1
}}
:
{{
$l
(
'
name
'
,
item
)
}}
联系方式
{{
index
+
1
}}
:+
{{
item
.
areaCode
}}
{{
item
.
phoneNew
}}
<br/>
邮箱:
{{
item
.
email
}}
</div>
</div>
<div
v-else
>
暂无数据
</div>
</el-dialog>
</div>
</
template
>
<
script
>
import
{
getCustomerContacts
,
getCustomerContactsListByCustomer
}
from
"
@/api/ecw/customerContacts
"
;
export
default
{
name
:
"
contacts
"
,
props
:{
id
:[
Number
]
},
data
(){
return
{
visible
:
false
,
info
:
null
,
}
},
methods
:{
getCustomerContactsFn
()
{
getCustomerContactsListByCustomer
({
customerId
:
this
.
id
}).
then
(
r
=>
{
console
.
log
(
r
,
'
rrr
'
)
this
.
info
=
r
.
data
})
}
},
watch
:{
visible
(
val
){
if
(
val
){
this
.
getCustomerContactsFn
()
}
}
}
}
</
script
>
<
style
scoped
>
</
style
>
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