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
f732dd92
Commit
f732dd92
authored
May 09, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户经理列表修改
parent
bf847544
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
4 deletions
+17
-4
index.vue
src/components/UserSelector/index.vue
+17
-4
No files found.
src/components/UserSelector/index.vue
View file @
f732dd92
...
@@ -17,11 +17,15 @@
...
@@ -17,11 +17,15 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getCustomerContactsSelect
,
getCustomerContacts
}
from
'
@/api/ecw/customerContacts
'
import
{
getCustomerContactsSelect
,
getCustomerContacts
}
from
'
@/api/ecw/customerContacts
'
import
{
listSimpleUsers
}
from
'
@/api/system/user
'
import
{
listS
erviceUser
,
listS
impleUsers
}
from
'
@/api/system/user
'
export
default
{
export
default
{
props
:{
props
:{
value
:
[
String
,
Number
],
value
:
[
String
,
Number
],
clearable
:
Boolean
clearable
:
Boolean
,
manage
:{
type
:
Boolean
,
default
:
false
}
},
},
data
(){
data
(){
return
{
return
{
...
@@ -44,9 +48,18 @@ export default {
...
@@ -44,9 +48,18 @@ export default {
}
}
},
},
created
(){
created
(){
if
(
this
.
manage
){
// 客户经理
listServiceUser
().
then
(
r
=>
{
this
.
list
=
r
.
data
;
})
}
else
{
// 全部客户
listSimpleUsers
().
then
(
res
=>
{
listSimpleUsers
().
then
(
res
=>
{
this
.
list
=
res
.
data
this
.
list
=
res
.
data
})
})
}
// this.init()
// this.init()
},
},
methods
:{
methods
:{
...
@@ -81,4 +94,4 @@ export default {
...
@@ -81,4 +94,4 @@ export default {
} */
} */
}
}
}
}
</
script
>
</
script
>
\ No newline at end of file
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