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
406a0403
Commit
406a0403
authored
Oct 20, 2024
by
余金瑶
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
选择客户页面,点击更多联系人,弹框是遮罩
parent
ca4d9052
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
8 deletions
+20
-8
contacts.vue
src/views/ecw/customer/components/contacts.vue
+2
-2
customerMerge.vue
src/views/ecw/customer/components/customerMerge.vue
+0
-3
query.vue
src/views/ecw/customer/query.vue
+18
-3
No files found.
src/views/ecw/customer/components/contacts.vue
View file @
406a0403
<
template
>
<div
style=
"display: inline-block"
>
<span
@
click=
"visible = true"
>
<slot></slot></span>
<el-dialog
title=
"更多联系人"
:visible.sync=
"visible"
>
<span
@
click=
"visible = true"
>
<slot></slot></span>
<el-dialog
title=
"更多联系人"
:visible.sync=
"visible"
append-to-body
>
<div
v-if=
"info"
>
<div
style=
"text-align: center;margin-bottom: 20px;"
v-for=
"(item, index) in info"
:key=
"index"
>
联系人
{{
index
+
1
}}
:
{{
$l
(
item
,
'
name
'
)
}}
   
联系方式
{{
index
+
1
}}
:+
{{
item
.
areaCode
}}
{{
item
.
phoneNew
}}
<br/>
...
...
src/views/ecw/customer/components/customerMerge.vue
View file @
406a0403
...
...
@@ -412,9 +412,6 @@ export default {
},
created
()
{
this
.
getList
();
getProductTypeList
().
then
((
r
)
=>
{
this
.
productTypeList
=
r
.
data
;
});
},
methods
:
{
init
()
{
...
...
src/views/ecw/customer/query.vue
View file @
406a0403
...
...
@@ -6,7 +6,7 @@
<h2>
{{
$t
(
'
查看
'
)
}}
</h2>
<div>
<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-quoted-price']"
@
click=
"
quote
"
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>
<el-button
v-has-permi=
"['ecw:customer:query-delete']"
type=
"danger"
size=
"small"
@
click=
"deleteCustomerFn()"
>
{{
$t
(
'
删除
'
)
}}
</el-button>
...
...
@@ -863,7 +863,7 @@ import { getNodeList } from '@/api/ecw/node'
import
CustomerFollow
from
"
./components/customerFollow
"
import
{
parseTime
}
from
'
@/utils/ruoyi
'
import
CustomerComplaint
from
'
@/views/ecw/customerComplaint
'
import
{
listServiceUser
}
from
'
@/api/system/user
'
import
{
listServiceUser
,
getUserProfile
}
from
'
@/api/system/user
'
import
{
getCustomerContactsListByCustomer
}
from
'
@/api/ecw/customerContacts
'
import
{
getOrderPage
,
getRegionList
}
from
"
@/api/ecw/order
"
;
import
Template
from
"
@/views/cms/template
"
;
...
...
@@ -929,8 +929,9 @@ export default {
this
.
getOrderStatistics
()
//数据
// this.creditScoreStatisticFn() //信用日志
// this.infoListReceiptFn()//账单
this
.
getData
()
;
this
.
getData
()
this
.
getWarehouseList
()
this
.
getUserProfile
()
}
,
watch
:{
activeName
(
val
){
...
...
@@ -1162,6 +1163,7 @@ export default {
customerFollowTotal
:
0
,
customerFollowList
:
[],
currencyList
:
[],
userId
:
undefined
,
}
}
,
computed
:
{
...
...
@@ -1214,6 +1216,11 @@ export default {
}
}
,
methods
:{
getUserProfile
()
{
getUserProfile
().
then
((
res
)
=>
{
this
.
userId
=
res
.
data
.
id
;
}
)
}
,
customerFollowFn
(
val
){
this
.
activeName
=
val
this
.
$nextTick
(()
=>
{
...
...
@@ -1227,6 +1234,14 @@ export default {
}
}
)
}
,
quote
(){
const
row
=
this
.
customer
if
(
row
.
customerService
!=
this
.
userId
)
{
this
.
$message
.
error
(
this
.
$t
(
"
此客户属于其他客户经理名下的客户。
"
));
return
;
}
this
.
$router
.
push
({
path
:
"
/offer/create
"
,
query
:
{
customer
:
row
,
type
:
1
}
}
)
}
,
handleCustomerFollow
(
row
,
flag
)
{
this
.
customerFollowVisible
=
true
this
.
$nextTick
(
_
=>
{
...
...
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