Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-authorize
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 e7878e3b
authored
Nov 09, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'xuyl_dev_v2.11.0' into 'v2.11.0'
修复欢迎语组件传参 See merge request
!38
2 parents
dfa76062
febe55b9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
src/views/wechatGroup/addWechatGroup.vue
src/views/wechatGroup/addWechatGroup.vue
View file @
e7878e3
...
@@ -211,7 +211,7 @@ export default {
...
@@ -211,7 +211,7 @@ export default {
groupListApi
:
this
.
$apis
.
welcomeword
.
getGroupListApi
,
groupListApi
:
this
.
$apis
.
welcomeword
.
getGroupListApi
,
materialListApi
:
this
.
$apis
.
welcomeword
.
getMaterialListApi
,
materialListApi
:
this
.
$apis
.
welcomeword
.
getMaterialListApi
,
params
:
{
params
:
{
merchant
Id
:
this
.
$globalState
.
session
.
merchantId
merchant
:
this
.
$globalState
.
session
.
merchantId
}
}
},
},
{
{
...
@@ -224,7 +224,7 @@ export default {
...
@@ -224,7 +224,7 @@ export default {
templateSaveApi
:
this
.
$apis
.
welcomeword
.
templateSave
,
templateSaveApi
:
this
.
$apis
.
welcomeword
.
templateSave
,
templateDetailApi
:
this
.
$apis
.
welcomeword
.
templateDetail
,
templateDetailApi
:
this
.
$apis
.
welcomeword
.
templateDetail
,
params
:
{
params
:
{
merchant
Id
:
this
.
$globalState
.
session
.
merchantId
merchant
:
this
.
$globalState
.
session
.
merchantId
}
}
}
}
],
],
...
@@ -361,8 +361,8 @@ export default {
...
@@ -361,8 +361,8 @@ export default {
selectChange
(
val
)
{
selectChange
(
val
)
{
// 选择门店时,替换欢迎语组件当中的所有merchantId
// 选择门店时,替换欢迎语组件当中的所有merchantId
this
.
btnList
.
forEach
(
item
=>
{
this
.
btnList
.
forEach
(
item
=>
{
if
(
item
.
params
&&
item
.
params
.
hasOwnProperty
(
'merchant
Id
'
)){
if
(
item
.
params
&&
item
.
params
.
hasOwnProperty
(
'merchant'
)){
item
.
params
.
merchant
Id
=
val
item
.
params
.
merchant
=
val
}
}
if
(
item
.
funParams
&&
Object
.
prototype
.
toString
.
call
(
item
.
funParams
)
===
'[object Array]'
){
if
(
item
.
funParams
&&
Object
.
prototype
.
toString
.
call
(
item
.
funParams
)
===
'[object Array]'
){
item
.
funParams
.
forEach
(
funArr
=>
{
item
.
funParams
.
forEach
(
funArr
=>
{
...
...
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