Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7226e3d9
authored
Aug 14, 2023
by
怪兽?别跑
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
update
1 parent
6ebfee71
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
6 deletions
vue3-lw-pc/src/views/drainageCode/customerAssistant/api.js
vue3-lw-pc/src/views/drainageCode/customerAssistant/info-table.vue
vue3-lw-pc/src/views/drainageCode/customerAssistant/api.js
View file @
7226e3d
...
@@ -79,3 +79,11 @@ export function getTableExport(data) {
...
@@ -79,3 +79,11 @@ export function getTableExport(data) {
params
:
data
params
:
data
})
})
}
}
// 数据明细
export
function
getCustomerInLink
(
data
)
{
return
request
({
url
:
service
+
'/findLinkWeCustomer'
,
params
:
data
})
}
vue3-lw-pc/src/views/drainageCode/customerAssistant/info-table.vue
View file @
7226e3d
...
@@ -59,27 +59,32 @@
...
@@ -59,27 +59,32 @@
<
/template
>
<
/template
>
<
script
>
<
script
>
import
SearchTitle
from
'../components/SearchTitle.vue'
import
SearchTitle
from
'../components/SearchTitle.vue'
import
{
getCustomerInLink
}
from
'./api'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
manList
:
[],
query
:
{
query
:
{
pageSize
:
10
,
pageSize
:
10
,
pageNum
:
1
,
pageNum
:
1
,
userIds
:
''
weUserId
:
''
}
,
}
,
total
:
0
,
total
:
0
,
userNames
:
''
,
userNames
:
''
,
dialogVisible
:
false
,
dialogVisible
:
false
,
userArray
:
[]
userArray
:
[],
list
:
[]
}
}
}
,
}
,
components
:
{
components
:
{
SearchTitle
SearchTitle
}
,
}
,
methods
:
{
methods
:
{
getData
()
{
}
,
getData
(
data
)
{
getCustomerInLink
(
Object
.
assign
({
}
,
this
.
query
,
data
)).
then
((
res
)
=>
{
this
.
list
=
res
.
rows
this
.
total
=
res
.
total
}
)
}
,
goRoute
(
row
)
{
goRoute
(
row
)
{
let
{
externalUserid
,
firstUserId
:
userId
}
=
row
let
{
externalUserid
,
firstUserId
:
userId
}
=
row
this
.
$router
.
push
({
this
.
$router
.
push
({
...
@@ -94,7 +99,7 @@
...
@@ -94,7 +99,7 @@
return
obj
.
name
return
obj
.
name
}
)
}
)
.
join
(
','
)
.
join
(
','
)
this
.
query
.
userIds
=
this
.
userArray
this
.
query
.
weUserId
=
this
.
userArray
.
map
(
function
(
obj
,
index
)
{
.
map
(
function
(
obj
,
index
)
{
return
obj
.
userId
return
obj
.
userId
}
)
}
)
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment