Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-settings
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 d54d40d2
authored
Mar 24, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'kuangyq_dev_2.0.0' into 'v2.0.0'
跟进专员 See merge request
!16
2 parents
78012fb2
bbbec7dc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
src/views/followUp/components/addSale.vue
src/views/followUp/components/addSale.vue
View file @
d54d40d
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
"负责的业务类型"
>
<el-form-item
label=
"负责的业务类型"
>
<el-checkbox-group
v-model=
"selectBusiness"
@
change=
"selectType"
>
<el-checkbox-group
v-model=
"selectBusiness"
@
change=
"selectType"
>
<el-checkbox
v-for=
"item in businessType"
:key=
"item"
:label=
"item.id"
>
{{
item
.
businessName
}}
</el-checkbox>
<el-checkbox
:disabled=
"(typeIndex == 0 && item.id != 1) || (typeIndex == 1 && item.id == 1)"
v-for=
"item in businessType"
:key=
"item"
:label=
"item.id"
>
{{
item
.
businessName
}}
</el-checkbox>
</el-checkbox-group>
</el-checkbox-group>
</el-form-item>
</el-form-item>
<el-form-item
style=
"text-align: center"
>
<el-form-item
style=
"text-align: center"
>
...
@@ -74,6 +74,15 @@ export default {
...
@@ -74,6 +74,15 @@ export default {
selectBusiness
:
[]
selectBusiness
:
[]
}
}
},
},
watch
:
{
typeIndex
(
val
)
{
if
(
val
==
0
)
{
this
.
selectBusiness
=
[
1
]
}
else
{
this
.
selectBusiness
=
[]
}
}
},
methods
:
{
methods
:
{
init
()
{
init
()
{
this
.
newTag
=
''
this
.
newTag
=
''
...
@@ -88,13 +97,14 @@ export default {
...
@@ -88,13 +97,14 @@ export default {
// 获取业务类型
// 获取业务类型
getBusinessType
()
{
getBusinessType
()
{
this
.
$apis
.
emp
.
getListEntBusinessType
().
then
(
res
=>
{
this
.
$apis
.
emp
.
getListEntBusinessType
().
then
(
res
=>
{
console
.
log
(
res
,
'111'
);
console
.
log
(
res
,
'111'
)
this
.
businessType
=
res
this
.
businessType
=
res
this
.
selectBusiness
=
[
1
]
})
})
},
},
// 选取业务类型
// 选取业务类型
selectType
(
data
)
{
selectType
(
data
)
{
console
.
log
(
data
,
'businessType'
)
;
console
.
log
(
data
,
'businessType'
)
this
.
selectBusiness
=
data
this
.
selectBusiness
=
data
},
},
selectTable
(
val
)
{
selectTable
(
val
)
{
...
@@ -197,8 +207,7 @@ export default {
...
@@ -197,8 +207,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
listEntFollowerType
(),
this
.
listEntFollowerType
(),
this
.
getBusinessType
()
this
.
getBusinessType
()
}
}
}
}
</
script
>
</
script
>
...
...
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