Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-activity-center
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 d97c5b72
authored
Jul 13, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复新增回显企业群
1 parent
a69909bc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
src/views/bulletin/addClewConfig.vue
src/views/bulletin/addConfig.vue
src/views/bulletin/addClewConfig.vue
View file @
d97c5b7
...
...
@@ -149,7 +149,6 @@ export default {
},
mounted
()
{
this
.
getMerchantList
()
this
.
getDepartmentTree
()
if
(
this
.
id
)
this
.
getClueDetailById
()
},
methods
:
{
...
...
@@ -194,6 +193,7 @@ export default {
if
(
!
this
.
id
)
{
this
.
config
.
groupMerchantId
=
res
[
0
]?.
merchantId
this
.
config
.
groupMerchantName
=
res
[
0
]?.
merchantName
this
.
getDepartmentTree
()
}
})
},
...
...
src/views/bulletin/addConfig.vue
View file @
d97c5b7
...
...
@@ -8,7 +8,7 @@
<div
class=
"config-wrap gl-form-page"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"154px"
>
<el-form-item
label=
"所属企业:"
>
<el-select
v-model=
"config.merchantId"
placeholder=
"请选择"
@
change=
"handleMerchatChange"
@
visible-change=
"hideSelect"
>
<el-select
v-model=
"config.merchantId"
placeholder=
"请选择"
@
change=
"handleMerchatChange"
@
visible-change=
"hideSelect"
>
<el-option
v-for=
"item in merchantList"
:key=
"item.merchantId"
:label=
"item.merchantName"
:value=
"item.merchantId"
></el-option>
</el-select>
</el-form-item>
...
...
@@ -254,9 +254,11 @@ export default {
getMerchantList
(
sign
)
{
this
.
$apis
.
battle
.
getMerchantList
({}).
then
(
res
=>
{
this
.
merchantList
=
res
if
(
!
sign
)
{
this
.
config
.
merchantId
=
res
[
0
]?.
merchantId
this
.
config
.
merchantName
=
res
[
0
]?.
merchantName
this
.
getDepartmentTree
()
}
})
},
...
...
@@ -341,6 +343,7 @@ export default {
this
.
selectGroupName
=
res
.
data
.
result
||
[]
})
this
.
getGroupList
(
this
.
wechat
.
staffId
)
this
.
getDepartmentTree
()
}
else
{
this
.
groupCofListInput
=
{
// xiReportValue: [{ name: '' }],
...
...
@@ -352,7 +355,6 @@ export default {
zhanReportValue
:
[{
name
:
''
}]
}
}
this
.
getDepartmentTree
()
},
getGroupList
(
id
,
isReset
=
false
)
{
this
.
$apis
.
saasOrder
.
getGroupList
({
msgStaffIdList
:
id
}).
then
(
res
=>
{
...
...
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