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
b2a64a91
Commit
b2a64a91
authored
Oct 23, 2023
by
我在何方
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into dev
parents
ea9775df
1b8d5c87
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
15 deletions
+28
-15
query.vue
src/views/ecw/customer/query.vue
+1
-1
index.vue
src/views/ecw/myCustomerService/index.vue
+1
-1
index.vue
src/views/ecw/oceanCustomer/index.vue
+1
-1
showContacts.vue
...iews/ecw/productBrank/Empower/components/showContacts.vue
+23
-10
index.vue
src/views/ecw/productBrank/Empower/index.vue
+2
-2
No files found.
src/views/ecw/customer/query.vue
View file @
b2a64a91
...
...
@@ -5,7 +5,7 @@
<div
style=
"display: flex;justify-content: space-between;align-items: flex-end;"
>
<h2>
{{
$t
(
'
查看
'
)
}}
</h2>
<div>
<el-button
type=
"primary"
size=
"small"
v-has-permi=
"['ecw:customer:query-edit']"
@
click=
"$router.push('/customer/edit/' + id)"
>
{{
$t
(
'
编辑
'
)
}}
</el-button>
<el-button
type=
"primary"
size=
"small"
v-has-permi=
"['ecw:customer:query-edit']"
@
click=
"$router.push('/customer/
add-
edit/' + id)"
>
{{
$t
(
'
编辑
'
)
}}
</el-button>
<el-button
v-has-permi=
"['ecw:customer:query-quoted-price']"
@
click=
"$router.push('/offer/create')"
type=
"primary"
size=
"small"
>
{{
$t
(
'
报价
'
)
}}
</el-button>
<el-button
v-has-permi=
"['ecw:customer:query-follow-up']"
type=
"primary"
size=
"small"
@
click=
"customerFollowFn('follow')"
>
{{
$t
(
'
跟进
'
)
}}
</el-button>
<el-button
v-has-permi=
"['ecw:customer:query-customer-complaint']"
type=
"primary"
size=
"small"
@
click=
"customerFollowFn('complain')"
>
{{
$t
(
'
客诉
'
)
}}
</el-button>
...
...
src/views/ecw/myCustomerService/index.vue
View file @
b2a64a91
...
...
@@ -363,7 +363,7 @@ export default {
},
/** 修改按钮操作 */
handleUpdate
(
row
)
{
this
.
$router
.
push
(
'
/customer/edit/
'
+
row
.
id
)
this
.
$router
.
push
(
'
/customer/
add-
edit/
'
+
row
.
id
)
// this.reset();
// const id = row.id;
// getCustomer(id).then(response => {
...
...
src/views/ecw/oceanCustomer/index.vue
View file @
b2a64a91
...
...
@@ -368,7 +368,7 @@ export default {
},
/** 修改按钮操作 */
handleUpdate
(
row
)
{
this
.
$router
.
push
(
'
/customer/edit/
'
+
row
.
id
)
this
.
$router
.
push
(
'
/customer/
add-
edit/
'
+
row
.
id
)
// this.reset();
// const id = row.id;
// getCustomer(id).then(response => {
...
...
src/views/ecw/productBrank/Empower/components/showContacts.vue
View file @
b2a64a91
...
...
@@ -7,28 +7,41 @@ export default {
data
(){
return
{
phoneList
:[],
show
:
false
}
},
mounted
()
{
let
phone
=
this
.
phoneString
this
.
phoneList
=
phone
.
split
(
'
(;)
'
);
console
.
log
(
this
.
phoneList
)
}
}
</
script
>
<
template
>
<div>
<div
v-for=
"(item, index) in phoneList"
:key=
"index"
>
<div>
<span>
联系人
{{
index
+
1
}}
:
</span>
<span>
{{
item
.
split
(
'
(@)
'
)[
1
]
}}
</span>
<el-dialog
:modal-append-to-body=
"false"
:append-to-body=
"true"
:visible.sync=
"show"
>
<div
v-for=
"(item, index) in phoneList"
:key=
"index"
>
<div>
<span>
联系人
{{
index
+
1
}}
:
</span>
<span>
{{
item
.
split
(
'
(@)
'
)[
1
]
}}
</span>
</div>
<div>
<span>
联系电话
{{
index
+
1
}}
:
</span>
<span>
+
{{
item
.
split
(
'
(@)
'
)[
0
]
}}
</span>
</div>
</div>
</el-dialog>
<div>
<div>
<span>
联系人:
</span>
<span>
{{
phoneList
[
0
]
?
phoneList
[
0
].
split
(
'
(@)
'
)[
1
]
:
''
}}
</span>
</div>
<div
style=
"white-space: normal;"
>
<span>
联系电话:
</span>
<span>
+
{{
phoneList
[
0
]
?
phoneList
[
0
].
split
(
'
(@)
'
)[
0
]
:
''
}}
</span>
<el-button
v-if=
"phoneList.length > 1"
@
click=
"show = true;"
style=
"margin-left: 10px;"
size=
"mini"
type=
"text"
>
更多
</el-button>
</div>
<div>
<span>
联系电话
{{
index
+
1
}}
:
</span>
<span>
+
{{
item
.
split
(
'
(@)
'
)[
0
]
}}
</span>
</div>
</div>
</div>
</div>
</
template
>
...
...
src/views/ecw/productBrank/Empower/index.vue
View file @
b2a64a91
...
...
@@ -45,7 +45,7 @@
<el-table-column
:label=
"$t('客户号码')"
>
<template
v-slot=
"
{row}">
<show-contacts
:phone-string=
"row.phone"
></show-contacts>
<show-contacts
:phone-string=
"row.phone"
></show-contacts>
</
template
>
</el-table-column>
<el-table-column
...
...
@@ -79,7 +79,7 @@
:label=
"$t('客户名称')"
>
</el-table-column>
<el-table-column
width=
"2
1
0"
width=
"2
6
0"
:label=
"$t('客户号码')"
>
<
template
v-slot=
"{row}"
>
<show-contacts
:phone-string=
"row.phone"
></show-contacts>
...
...
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