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
89e48fbb
Commit
89e48fbb
authored
Aug 25, 2022
by
dcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跟单客户修改
parent
15f66bff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
6 deletions
+18
-6
index.vue
src/views/system/user/index.vue
+18
-6
No files found.
src/views/system/user/index.vue
View file @
89e48fbb
...
@@ -146,7 +146,7 @@
...
@@ -146,7 +146,7 @@
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"岗位"
>
<el-form-item
label=
"岗位"
>
<el-select
v-model=
"form.postIds"
multiple
placeholder=
"请选择"
>
<el-select
@
change=
"changList"
v-model=
"form.postIds"
multiple
placeholder=
"请选择"
>
<el-option
<el-option
v-for=
"item in postOptions"
v-for=
"item in postOptions"
:key=
"item.id"
:key=
"item.id"
...
@@ -157,7 +157,7 @@
...
@@ -157,7 +157,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"跟单客服"
>
<el-form-item
label=
"跟单客服"
>
<el-select
v-model=
"form.customerServiceId"
placeholder=
"请选择"
>
<el-select
v-model=
"form.customerServiceId"
placeholder=
"请选择"
>
<el-option
v-for=
"dict in followUpList"
:key=
"parseInt(dict.id)"
:label=
"dict.nickname"
:value=
"parseInt(dict.id)"
/>
<el-option
v-for=
"dict in followUpList"
:key=
"parseInt(dict.id)"
:label=
"dict.nickname"
:value=
"parseInt(dict.id)"
/>
</el-select>
</el-select>
...
@@ -377,9 +377,7 @@ export default {
...
@@ -377,9 +377,7 @@ export default {
this
.
getConfigKey
(
"
sys.user.init-password
"
).
then
(
response
=>
{
this
.
getConfigKey
(
"
sys.user.init-password
"
).
then
(
response
=>
{
this
.
initPassword
=
response
.
msg
;
this
.
initPassword
=
response
.
msg
;
});
});
userList
(
'
documentary customer service
'
).
then
(
r
=>
{
this
.
followUpList
=
r
.
data
;
})
},
},
methods
:
{
methods
:
{
// 更多操作
// 更多操作
...
@@ -653,7 +651,21 @@ export default {
...
@@ -653,7 +651,21 @@ export default {
label
:
node
.
name
,
label
:
node
.
name
,
children
:
node
.
children
children
:
node
.
children
}
}
}
},
changList
(
e
){
let
codes
=
this
.
postOptions
.
filter
(
i
=>
{
if
(
e
.
indexOf
(
i
.
id
)
>
-
1
)
return
i
.
code
}).
map
(
v
=>
v
.
code
).
join
(
'
,
'
);
if
(
codes
){
userList
(
codes
).
then
(
r
=>
{
console
.
log
(
r
,
'
r
'
);
this
.
followUpList
=
r
.
data
;
})
}
else
{
this
.
followUpList
=
[];
}
},
}
}
};
};
</
script
>
</
script
>
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