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
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
5 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
...
@@ -38,7 +38,8 @@ export async function bootstrap({history, common, messenger, globalState, router
secret
,
secret
,
sign_common
,
sign_common
,
request_common
,
request_common
,
request_merchant
request_merchant
,
merchantId
}
=
await
fetchConfig
(
false
)
}
=
await
fetchConfig
(
false
)
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$messenger
=
messenger
Vue
.
prototype
.
$messenger
=
messenger
...
@@ -46,6 +47,7 @@ export async function bootstrap({history, common, messenger, globalState, router
...
@@ -46,6 +47,7 @@ export async function bootstrap({history, common, messenger, globalState, router
Vue
.
prototype
.
$common
=
common
Vue
.
prototype
.
$common
=
common
Vue
.
prototype
.
$message
=
message
Vue
.
prototype
.
$message
=
message
Vue
.
prototype
.
$messageBox
=
messageBox
Vue
.
prototype
.
$messageBox
=
messageBox
Vue
.
prototype
.
$hmdMerchantId
=
merchantId
// 集团版集团账号
// 集团版集团账号
Vue
.
prototype
.
$isGroupUp
=
globalState
.
session
.
accountLevel
!=
4
Vue
.
prototype
.
$isGroupUp
=
globalState
.
session
.
accountLevel
!=
4
Vue
.
prototype
.
$http
=
new
common
.
Http
({
Vue
.
prototype
.
$http
=
new
common
.
Http
({
...
...
src/views/giftBag/editGift.vue
View file @
b2748c2
...
@@ -531,6 +531,14 @@ export default {
...
@@ -531,6 +531,14 @@ export default {
return
`请输入领取
${
this
.
receiveWay
==
1
?
'手机号'
:
'车架号后6位'
}
,多个
${
this
.
receiveWay
==
1
?
'手机号'
:
'车架号'
}
以换行符隔开`
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
()
{
mounted
()
{
this
.
setMinHeight
()
this
.
setMinHeight
()
this
.
getGroupGift
()
this
.
getGroupGift
()
...
...
src/views/memberCenter/center.vue
View file @
b2748c2
...
@@ -425,6 +425,8 @@ export default {
...
@@ -425,6 +425,8 @@ export default {
}
}
// 取消判断
// 取消判断
this
.
showGh
=
window
.
location
.
host
.
indexOf
(
'cgacar'
)
!=
-
1
this
.
showGh
=
window
.
location
.
host
.
indexOf
(
'cgacar'
)
!=
-
1
// 判断是否是海马刀
this
.
isHmd
=
this
.
merchantId
==
this
.
$hmdMerchantId
if
(
this
.
showGh
)
this
.
judgeGh
()
if
(
this
.
showGh
)
this
.
judgeGh
()
if
(
this
.
isHmd
)
this
.
addMemberTypeList
()
if
(
this
.
isHmd
)
this
.
addMemberTypeList
()
this
.
getCardContentFun
()
this
.
getCardContentFun
()
...
@@ -601,12 +603,10 @@ export default {
...
@@ -601,12 +603,10 @@ export default {
dictLabel
:
'银卡会员'
dictLabel
:
'银卡会员'
}
}
)
)
this
.
baseData
.
openModeList
.
push
(
this
.
baseData
.
openModeList
.
push
({
{
dictValue
:
17
,
dictValue
:
17
,
dictLabel
:
'通过礼包赠送'
dictLabel
:
'通过礼包赠送'
}
})
)
},
},
getCardContentFun
()
{
getCardContentFun
()
{
if
(
this
.
isHmd
)
{
if
(
this
.
isHmd
)
{
...
...
src/views/memberCenter/setmealAddUpdate.vue
View file @
b2748c2
...
@@ -250,6 +250,8 @@ export default {
...
@@ -250,6 +250,8 @@ export default {
this
.
merchantName
=
this
.
$globalState
.
session
.
merchantName
this
.
merchantName
=
this
.
$globalState
.
session
.
merchantName
this
.
accountLevel
=
this
.
$globalState
.
session
.
accountLevel
this
.
accountLevel
=
this
.
$globalState
.
session
.
accountLevel
}
}
// 判断是否是海马刀
this
.
isHmd
=
this
.
merchantId
==
this
.
$hmdMerchantId
this
.
showGh
=
window
.
location
.
host
.
indexOf
(
'cgacar'
)
!=
-
1
this
.
showGh
=
window
.
location
.
host
.
indexOf
(
'cgacar'
)
!=
-
1
if
(
this
.
showGh
)
{
if
(
this
.
showGh
)
{
this
.
getCardContentFun
()
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