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
80c0cb0f
Commit
80c0cb0f
authored
Nov 25, 2022
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
间接客户联系人修复
parent
0450f69a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
indirectCustomer.js
src/api/ecw/indirectCustomer.js
+4
-3
editIndirect.vue
src/views/ecw/customer/editIndirect.vue
+2
-1
indirectInfo.vue
src/views/ecw/customer/indirectInfo.vue
+1
-1
No files found.
src/api/ecw/indirectCustomer.js
View file @
80c0cb0f
...
...
@@ -39,9 +39,10 @@ export function updateCustomer(data) {
}
// 根据客户ID获得联系人列表
export
function
getCustomerContactsListByCustomer
(
id
)
{
export
function
getCustomerContactsListByCustomer
(
query
)
{
return
request
({
url
:
'
/ecw/indirect-customer-contacts/list-by-customer/get?customerId=
'
+
id
,
method
:
'
get
'
url
:
'
/ecw/indirect-customer-contacts/list-by-customer
'
,
method
:
'
get
'
,
params
:
query
})
}
src/views/ecw/customer/editIndirect.vue
View file @
80c0cb0f
...
...
@@ -410,6 +410,7 @@ import {
getCustomerList
,
memberUserList
,
userMemberUserList
,
getCustomerSelect
,
getCustomerLines
,
fillupCustomeInfo
}
from
'
@/api/ecw/customer
'
import
{
getNodeList
}
from
"
@/api/ecw/node
"
...
...
@@ -418,7 +419,7 @@ import { getProductList } from '@/api/ecw/product'
import
{
getTradeCityList
}
from
"
@/api/ecw/region
"
import
{
getWarehouseList
}
from
"
@/api/ecw/warehouse
"
import
CustomerLineTable
from
'
@/components/CustomerLineTable
'
import
{
getCustomer
Select
,
getCustomer
ContactsListByCustomer
,
getCustomer
,
getCustomerPage
,
updateCustomer
}
from
"
@/api/ecw/indirectCustomer
"
import
{
getCustomerContactsListByCustomer
,
getCustomer
,
getCustomerPage
,
updateCustomer
}
from
"
@/api/ecw/indirectCustomer
"
import
{
listServiceUser
,
listSimpleUsers
}
from
"
@/api/system/user
"
import
{
getZhongPaoBest
,
getZhongPaoPage
}
from
'
@/api/ecw/zhongPao
'
// import { getCustomerContactsListByCustomer } from '@/api/ecw/customerContacts'
...
...
src/views/ecw/customer/indirectInfo.vue
View file @
80c0cb0f
...
...
@@ -439,7 +439,7 @@ export default {
}
)
getCustomer
(
this
.
id
).
then
(
response
=>
{
this
.
customer
=
{
...
this
.
customer
,
...
response
.
data
}
console
.
log
(
this
.
id
)
getCustomerContactsListByCustomer
({
customerId
:
this
.
id
}
).
then
(
r
=>
{
this
.
customerContacts
=
r
.
data
let
list
=
this
.
customerContacts
.
map
(
r
=>
r
.
userid
)
...
...
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