Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-authorize
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 df6c8c25
authored
Feb 16, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改选择客户组件参数
1 parent
1dd47b7d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
src/components/SelectCustomer/index.vue
src/components/SelectCustomer/index.vue
View file @
df6c8c2
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<div
class=
"member-content"
>
<div
class=
"member-content"
>
<el-form
:inline=
"true"
class=
"member-form"
:model=
"searchForm"
@
submit
.
native
.
prevent
>
<el-form
:inline=
"true"
class=
"member-form"
:model=
"searchForm"
@
submit
.
native
.
prevent
>
<el-form-item
label=
"客户昵称"
style=
"margin-bottom: 0"
size=
"small"
>
<el-form-item
label=
"客户昵称"
style=
"margin-bottom: 0"
size=
"small"
>
<el-input
:size=
"size"
v-model
.
trim=
"searchForm.
keyword
"
@
keyup
.
enter
.
native=
"search"
clearable
<el-input
:size=
"size"
v-model
.
trim=
"searchForm.
userName
"
@
keyup
.
enter
.
native=
"search"
clearable
placeholder=
"输入关键字搜索"
></el-input>
placeholder=
"输入关键字搜索"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label
style=
"margin-bottom: 0;margin-left:10px"
size=
"small"
>
<el-form-item
label
style=
"margin-bottom: 0;margin-left:10px"
size=
"small"
>
...
@@ -65,7 +65,7 @@ export default {
...
@@ -65,7 +65,7 @@ export default {
url
:
0
,
url
:
0
,
initId
:
''
,
initId
:
''
,
crowdVisible
:
false
,
crowdVisible
:
false
,
searchForm
:
{
keyword
:
''
},
searchForm
:
{
userName
:
''
},
innerTags
:
[],
innerTags
:
[],
inner
:
[],
inner
:
[],
tableCrowdData
:
[
tableCrowdData
:
[
...
@@ -106,12 +106,11 @@ export default {
...
@@ -106,12 +106,11 @@ export default {
this
.
$refs
.
crowdTable
.
clearMutiSelect
()
this
.
$refs
.
crowdTable
.
clearMutiSelect
()
},
},
init
(
val
,
userId
)
{
init
(
val
,
userId
)
{
console
.
log
(
userId
)
this
.
initId
=
userId
this
.
initId
=
userId
this
.
inner
=
this
.
$common
.
utils
.
deepClone
(
val
)
this
.
inner
=
this
.
$common
.
utils
.
deepClone
(
val
)
this
.
innerTags
=
this
.
$common
.
utils
.
deepClone
(
val
)
this
.
innerTags
=
this
.
$common
.
utils
.
deepClone
(
val
)
this
.
crowdVisible
=
true
this
.
crowdVisible
=
true
this
.
searchForm
.
keyword
=
''
this
.
searchForm
.
userName
=
''
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
crowdTable
.
$refs
.
crowdlistMutiTable
.
clearSelection
()
this
.
$refs
.
crowdTable
.
$refs
.
crowdlistMutiTable
.
clearSelection
()
this
.
$refs
.
crowdTable
.
page
.
pageNum
=
1
this
.
$refs
.
crowdTable
.
page
.
pageNum
=
1
...
@@ -119,12 +118,12 @@ export default {
...
@@ -119,12 +118,12 @@ export default {
})
})
},
},
getCrowdList
(
page
=
{
pageNum
:
1
,
pageSize
:
10
})
{
getCrowdList
(
page
=
{
pageNum
:
1
,
pageSize
:
10
})
{
console
.
log
(
this
.
initId
)
this
.
$refs
.
crowdTable
.
page
=
page
this
.
$refs
.
crowdTable
.
page
=
page
var
params
=
{
var
params
=
{
pageSize
:
page
.
pageSize
,
pageSize
:
page
.
pageSize
,
pageNum
:
page
.
pageNum
,
pageNum
:
page
.
pageNum
,
userId
:
this
.
initId
userId
:
this
.
initId
,
userName
:
this
.
searchForm
.
userName
}
}
this
.
$apis
.
collocation
.
getStaffFriends
(
params
).
then
(
res
=>
{
this
.
$apis
.
collocation
.
getStaffFriends
(
params
).
then
(
res
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
...
@@ -227,7 +226,7 @@ export default {
...
@@ -227,7 +226,7 @@ export default {
// console.log(this.innerTags)
// console.log(this.innerTags)
this
.
$emit
(
'customerData'
,
this
.
innerTags
)
this
.
$emit
(
'customerData'
,
this
.
innerTags
)
this
.
crowdVisible
=
false
this
.
crowdVisible
=
false
this
.
searchForm
=
{
keyword
:
{}}
this
.
searchForm
=
{
userName
:
{}}
}
}
}
}
}
}
...
...
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