Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-store
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 25428085
authored
Dec 20, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
福利官二维码针对物业门店处理
1 parent
9e30a45e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
5 deletions
src/views/homeSet/index.vue
src/views/homeSet/index.vue
View file @
2542808
...
@@ -378,13 +378,13 @@ export default {
...
@@ -378,13 +378,13 @@ export default {
label
:
'福利群群码'
,
label
:
'福利群群码'
,
name
:
'welfareGroupQRCode'
,
name
:
'welfareGroupQRCode'
,
addHtml
:
'welfareGroupQRCodeSlot'
,
addHtml
:
'welfareGroupQRCodeSlot'
,
isHide
:
this
.
isWuyeFlag
//
isHide:this.isWuyeFlag
},
},
{
{
label
:
'福利官二维码'
,
label
:
'福利官二维码'
,
name
:
'welfareOfficerQRCode'
,
name
:
'welfareOfficerQRCode'
,
addHtml
:
'welfareOfficerQRCodeSlot'
,
addHtml
:
'welfareOfficerQRCodeSlot'
,
isHide
:
this
.
isWuyeFlag
//
isHide:this.isWuyeFlag
},
},
]
]
},
},
...
@@ -528,9 +528,10 @@ export default {
...
@@ -528,9 +528,10 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
userInfo
=
this
.
$globalState
.
session
this
.
userInfo
=
this
.
$globalState
.
session
// 判断当前的门店是不是物业门店
// 判断是否是物业
this
.
isWuyeFlag
=
this
.
$wuye_merchantLists
.
some
(
item
=>
item
==
this
.
userInfo
.
merchantId
);
this
.
isWuyeFlag
=
this
.
$wuye_merchantLists
.
find
(
item
=>
item
==
this
.
userInfo
.
merchantId
)
// 如果不是物业门店 隐藏福利二维码
this
.
updateExternalFormList
();
this
.
getInfo
()
this
.
getInfo
()
this
.
getConsultant
()
this
.
getConsultant
()
...
@@ -548,6 +549,17 @@ export default {
...
@@ -548,6 +549,17 @@ export default {
if
(
this
.
showGh
)
this
.
suggestSize
=
'686*300px'
if
(
this
.
showGh
)
this
.
suggestSize
=
'686*300px'
},
},
methods
:
{
methods
:
{
updateExternalFormList
()
{
this
.
externalFormList
.
forEach
(
item
=>
{
if
(
item
.
title
==
'门店小程序码'
){
item
.
editFormData
.
forEach
(
formItem
=>
{
if
(
formItem
.
name
===
'welfareGroupQRCode'
||
formItem
.
name
===
'welfareOfficerQRCode'
)
{
formItem
.
isHide
=
!
this
.
isWuyeFlag
;
}
});
}
});
},
handleServerUrlChange
(
value
)
{
handleServerUrlChange
(
value
)
{
this
.
editForm
.
customerServerType
=
value
?
2
:
''
this
.
editForm
.
customerServerType
=
value
?
2
:
''
this
.
freshFlag
=
new
Date
()
this
.
freshFlag
=
new
Date
()
...
...
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