Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 b2748c21
authored
Jul 19, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
66390eb8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
8 deletions
src/setup/qiankun.js
src/views/giftBag/editGift.vue
src/views/memberCenter/center.vue
src/views/memberCenter/setmealAddUpdate.vue
src/setup/qiankun.js
View file @
b2748c2
...
...
@@ -38,7 +38,8 @@ export async function bootstrap({history, common, messenger, globalState, router
secret
,
sign_common
,
request_common
,
request_merchant
request_merchant
,
merchantId
}
=
await
fetchConfig
(
false
)
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$messenger
=
messenger
...
...
@@ -46,6 +47,7 @@ export async function bootstrap({history, common, messenger, globalState, router
Vue
.
prototype
.
$common
=
common
Vue
.
prototype
.
$message
=
message
Vue
.
prototype
.
$messageBox
=
messageBox
Vue
.
prototype
.
$hmdMerchantId
=
merchantId
// 集团版集团账号
Vue
.
prototype
.
$isGroupUp
=
globalState
.
session
.
accountLevel
!=
4
Vue
.
prototype
.
$http
=
new
common
.
Http
({
...
...
src/views/giftBag/editGift.vue
View file @
b2748c2
...
...
@@ -531,6 +531,14 @@ export default {
return
`请输入领取
${
this
.
receiveWay
==
1
?
'手机号'
:
'车架号后6位'
}
,多个
${
this
.
receiveWay
==
1
?
'手机号'
:
'车架号'
}
以换行符隔开`
}
},
created
()
{
if
(
window
.
__POWERED_BY_QIANKUN__
)
{
//运行在qiankun容器中
this
.
merchantId
=
this
.
$globalState
.
session
.
merchantId
}
// 判断是否是海马刀
this
.
isHmd
=
this
.
merchantId
==
this
.
$hmdMerchantId
},
mounted
()
{
this
.
setMinHeight
()
this
.
getGroupGift
()
...
...
src/views/memberCenter/center.vue
View file @
b2748c2
...
...
@@ -213,7 +213,7 @@ export default {
searchForm
:
{
userInfo
:
''
,
status
:
''
,
merchantName
:
''
,
memberType
:
''
,
activeType
:
''
,
...
...
@@ -425,6 +425,8 @@ export default {
}
// 取消判断
this
.
showGh
=
window
.
location
.
host
.
indexOf
(
'cgacar'
)
!=
-
1
// 判断是否是海马刀
this
.
isHmd
=
this
.
merchantId
==
this
.
$hmdMerchantId
if
(
this
.
showGh
)
this
.
judgeGh
()
if
(
this
.
isHmd
)
this
.
addMemberTypeList
()
this
.
getCardContentFun
()
...
...
@@ -601,12 +603,10 @@ export default {
dictLabel
:
'银卡会员'
}
)
this
.
baseData
.
openModeList
.
push
(
{
dictValue
:
17
,
dictLabel
:
'通过礼包赠送'
}
)
this
.
baseData
.
openModeList
.
push
({
dictValue
:
17
,
dictLabel
:
'通过礼包赠送'
})
},
getCardContentFun
()
{
if
(
this
.
isHmd
)
{
...
...
src/views/memberCenter/setmealAddUpdate.vue
View file @
b2748c2
...
...
@@ -250,6 +250,8 @@ export default {
this
.
merchantName
=
this
.
$globalState
.
session
.
merchantName
this
.
accountLevel
=
this
.
$globalState
.
session
.
accountLevel
}
// 判断是否是海马刀
this
.
isHmd
=
this
.
merchantId
==
this
.
$hmdMerchantId
this
.
showGh
=
window
.
location
.
host
.
indexOf
(
'cgacar'
)
!=
-
1
if
(
this
.
showGh
)
{
this
.
getCardContentFun
()
...
...
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