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 ef328c4b
authored
Dec 12, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
等待联调
1 parent
7ced9fad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
11 deletions
src/setup/qiankun.js
src/views/homeSet/index.vue
src/setup/qiankun.js
View file @
ef328c4
...
...
@@ -29,7 +29,10 @@ Vue.use(GLTableButton)
Vue
.
use
(
GLDialog
)
export
async
function
bootstrap
({
history
,
common
,
messenger
,
globalState
,
routerBase
})
{
const
{
response
,
request
,
request2
,
sign
,
secret
,
sign_common
,
request_common
,
request_merchant
,
merchantId
}
=
await
fetchConfig
(
false
)
const
{
response
,
request
,
request2
,
sign
,
secret
,
sign_common
,
request_common
,
request_merchant
,
merchantId
,
wuye_merchantLists
}
=
await
fetchConfig
(
false
)
// 针对物业门店
Vue
.
prototype
.
$wuye_merchantLists
=
wuye_merchantLists
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$messenger
=
messenger
Vue
.
prototype
.
$globalState
=
globalState
...
...
src/views/homeSet/index.vue
View file @
ef328c4
...
...
@@ -3,6 +3,7 @@
<div
class=
"home-set microStore edit-box"
>
<div
class=
"container edit-container"
>
<div
class=
"home-set-form flex-grow"
>
<div
class=
"item-box"
v-for=
"(item, index) in externalFormList"
:key=
"index"
>
<p
class=
"edit-title"
>
{{
item
.
title
}}
</p>
<div
class=
"flex pad-32"
>
...
...
@@ -13,12 +14,13 @@
</p>
<el-button
type=
"text"
@
click=
"handleImgDown(editForm[scope.scope.name])"
>
下载图片
</el-button>
</div>
<div
slot=
"coverSlot"
>
<glsx-preview
:picOptions=
"item.editFormData.posterOptions"
:imageUrlArr=
"editForm.coverArr"
<div
slot=
"welfareGroupQRCodeSlot"
>
<glsx-preview
:picOptions=
"item.editFormData.posterOptions"
:imageUrlArr=
"editForm.welfareGroupQRCode"
@
change=
"changeChannelImg"
></glsx-preview>
</div>
<div
slot=
"
coverSlot1
"
>
<glsx-preview
:picOptions=
"item.editFormData.posterOptions1"
:imageUrlArr=
"editForm.
coverArr1
"
<div
slot=
"
welfareOfficerQRCodeSlot
"
>
<glsx-preview
:picOptions=
"item.editFormData.posterOptions1"
:imageUrlArr=
"editForm.
welfareOfficerQRCode
"
@
change=
"changeChannelImg"
></glsx-preview>
</div>
<template
slot=
"bannerList"
slot-scope=
"scope"
>
...
...
@@ -254,6 +256,7 @@ export default {
},
data
()
{
return
{
isWuyeFlag
:
false
,
showGh
:
false
,
size
:
'small'
,
userInfo
:
{},
...
...
@@ -336,9 +339,9 @@ export default {
customerServerUrl
:
''
,
posterOptions
:
''
,
coverArr
:
[]
,
welfareGroupQRCode
:
''
,
posterOptions1
:
''
,
coverArr1
:
[]
,
welfareOfficerQRCode
:
''
,
},
bannerItem
:
{
bannerImg
:
''
,
...
...
@@ -373,13 +376,15 @@ export default {
},
{
label
:
'福利群群码'
,
name
:
'strategyImg'
,
addHtml
:
'coverSlot'
name
:
'welfareGroupQRCode'
,
addHtml
:
'welfareGroupQRCodeSlot'
,
isHide
:
!
this
.
isWuyeFlag
},
{
label
:
'福利官二维码'
,
name
:
'strategyImg1'
,
addHtml
:
'coverSlot1'
name
:
'welfareOfficerQRCode'
,
addHtml
:
'welfareOfficerQRCodeSlot'
,
isHide
:
!
this
.
isWuyeFlag
},
]
},
...
...
@@ -523,6 +528,10 @@ export default {
},
mounted
()
{
this
.
userInfo
=
this
.
$globalState
.
session
// 判断是否是物业
this
.
isWuyeFlag
=
this
.
$wuye_merchantLists
.
find
(
item
=>
item
==
this
.
userInfo
.
merchantId
)
this
.
getInfo
()
this
.
getConsultant
()
// 非集团账号隐藏配置门店
...
...
@@ -580,6 +589,11 @@ export default {
this
.
editForm
.
customerServerUrl
=
res
.
customerServerUrl
this
.
editForm
.
bannerToSubMerchant
=
res
.
bannerToSubMerchant
||
'N'
this
.
editForm
.
noticeToSubMerchant
=
res
.
noticeToSubMerchant
||
'N'
// 本次新增福利二维码
this
.
editForm
.
welfareGroupQRCode
=
res
.
welfareGroupQRCode
this
.
editForm
.
welfareOfficerQRCode
=
res
.
welfareOfficerQRCode
// 在线客服
this
.
customerServerList
=
[]
if
(
res
.
customerServerUserId
)
{
...
...
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