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
c8c72359
Commit
c8c72359
authored
1 month ago
by
Smile
Committed by
wux
1 month ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
任务103:跟进记录调整
parent
05fd919e
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
customerFollow.vue
src/views/ecw/customer/components/customerFollow.vue
+12
-12
No files found.
src/views/ecw/customer/components/customerFollow.vue
View file @
c8c72359
...
...
@@ -265,13 +265,12 @@ export default {
}
},
created
()
{
this
.
$nextTick
(()
=>
{
// 在页面加载完后执行的代码
this
.
setCustomerFollow
()
});
this
.
hasAccountRole
();
listServiceUser
().
then
((
r
)
=>
{
this
.
serviceUserList
=
r
.
data
this
.
$nextTick
(()
=>
{
// 在页面加载完后执行的代码
this
.
setCustomerFollow
()
});
})
listAllSimpl
().
then
((
r
)
=>
{
this
.
allSimplList
=
r
.
data
...
...
@@ -347,15 +346,16 @@ export default {
},
methods
:
{
setCustomerFollow
(){
if
(
this
.
isAccountManager
&&!
this
.
form
.
followUserId
){
this
.
$set
(
this
.
form
,
"
followUserId
"
,
this
.
$store
.
getters
.
userId
)
if
(
!
this
.
form
.
followUserId
){
const
user
=
this
.
serviceUserList
.
find
(
item
=>
item
.
id
===
this
.
$store
.
getters
.
userId
);
if
(
user
.
id
)
{
this
.
$set
(
this
.
form
,
"
followUserId
"
,
user
.
id
);
}
else
{
// 处理未找到用户的情况
this
.
$set
(
this
.
form
,
"
followUserId
"
,
null
);
// 或者其他默认值
}
}
},
hasAccountRole
(){
this
.
isAccountManager
=
this
.
$store
.
getters
.
roles
.
some
((
item
)
=>
{
return
item
===
"
Account Manager
"
})
},
selectOffer
(
offerId
)
{
this
.
form
.
offerId
=
offerId
},
...
...
This diff is collapsed.
Click to expand it.
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