Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-link
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 fe9fd311
authored
Jul 18, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
434399dd
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
10 deletions
src/views/activityLink/components/AddGift.vue
src/views/activityLink/components/MarketingGift.vue
src/views/activityLink/components/Scene.vue
src/views/activityLink/components/selectEquityDialog.vue
src/views/activityLink/components/AddGift.vue
View file @
fe9fd31
...
@@ -184,7 +184,7 @@ export default {
...
@@ -184,7 +184,7 @@ export default {
//用车权益
//用车权益
getCarList
()
{
getCarList
()
{
var
params
=
{
var
params
=
{
...
this
.
searchForm
,
isChecked
:
1
,
merchantId
:
this
.
merchantId
merchantId
:
this
.
merchantId
}
}
this
.
loading
=
true
this
.
loading
=
true
...
...
src/views/activityLink/components/MarketingGift.vue
View file @
fe9fd31
...
@@ -169,6 +169,7 @@ export default {
...
@@ -169,6 +169,7 @@ export default {
if
(
info
.
activityPrice
)
{
if
(
info
.
activityPrice
)
{
this
.
editForm
.
activityPrice
=
info
.
activityPrice
/
100
this
.
editForm
.
activityPrice
=
info
.
activityPrice
/
100
}
}
this
.
giftValue
=
info
.
giftId
||
''
setTimeout
(()
=>
{
setTimeout
(()
=>
{
if
(
this
.
routerInfo
.
addOrEdit
==
'edit'
)
{
if
(
this
.
routerInfo
.
addOrEdit
==
'edit'
)
{
this
.
handleSaveGift
()
this
.
handleSaveGift
()
...
@@ -267,7 +268,7 @@ export default {
...
@@ -267,7 +268,7 @@ export default {
params
.
equityServices
=
equityServices
.
join
(
','
)
params
.
equityServices
=
equityServices
.
join
(
','
)
params
.
activityPrice
=
(
this
.
editForm
.
activityPrice
*
100
).
toFixed
(
0
)
params
.
activityPrice
=
(
this
.
editForm
.
activityPrice
*
100
).
toFixed
(
0
)
params
.
superMarketingCouponRelRequestList
=
selectedGoodsList
||
[]
params
.
superMarketingCouponRelRequestList
=
selectedGoodsList
||
[]
console
.
log
(
params
)
params
.
giftId
=
this
.
giftValue
this
.
SET_STEP
(
3
)
this
.
SET_STEP
(
3
)
this
.
setProcess
({
this
.
setProcess
({
1
:
{
1
:
{
...
@@ -431,7 +432,7 @@ export default {
...
@@ -431,7 +432,7 @@ export default {
equities
=
JSON
.
parse
(
res
.
equities
)
equities
=
JSON
.
parse
(
res
.
equities
)
}
}
var
params
=
{
var
params
=
{
...
this
.
searchForm
,
isChecked
:
1
,
merchantId
:
this
.
merchantId
merchantId
:
this
.
merchantId
}
}
this
.
loading
=
true
this
.
loading
=
true
...
@@ -439,7 +440,7 @@ export default {
...
@@ -439,7 +440,7 @@ export default {
.
equityMerchant
(
params
)
.
equityMerchant
(
params
)
.
then
(
res
=>
{
.
then
(
res
=>
{
this
.
loading
=
false
this
.
loading
=
false
const
packageConfigs
=
res
.
packageConfigs
||
[]
const
packageConfigs
=
(
res
.
packageConfigs
||
[]).
filter
(
item
=>
item
.
isChecked
==
1
)
if
(
this
.
isInit
)
{
if
(
this
.
isInit
)
{
this
.
selectedCarList
=
[]
this
.
selectedCarList
=
[]
}
}
...
...
src/views/activityLink/components/Scene.vue
View file @
fe9fd31
...
@@ -203,20 +203,25 @@ export default {
...
@@ -203,20 +203,25 @@ export default {
align-items
:
center
;
align-items
:
center
;
position
:
relative
;
position
:
relative
;
z-index
:
1
;
z-index
:
1
;
&:last-child
{
.scene-item-box
{
width
:
calc
(
100%
-
80px
);
}
}
&
-box
{
&
-box
{
z-index
:
1
;
z-index
:
1
;
cursor
:
pointer
;
cursor
:
pointer
;
width
:
calc
(
100%
-
30px
);
width
:
calc
(
100%
-
30px
);
height
:
0
;
height
:
0
;
padding-bottom
:
50%
;
padding-bottom
:
80%
;
padding-bottom
:
50%
;
background-image
:
url('../../../assets/marketing/scence-bg.png')
;
background-image
:
url('../../../assets/marketing/scence-bg.png')
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
padding-left
:
8%
;
padding-left
:
12%
;
padding-right
:
8%
;
padding-right
:
12%
;
font-size
:
1vw
;
.scene-item-icon
{
.scene-item-icon
{
text-align
:
center
;
text-align
:
center
;
margin-top
:
0.5
vw
;
margin-top
:
2
vw
;
img
{
img
{
width
:
1.7vw
;
width
:
1.7vw
;
vertical-align
:
middle
;
vertical-align
:
middle
;
...
...
src/views/activityLink/components/selectEquityDialog.vue
View file @
fe9fd31
...
@@ -140,7 +140,7 @@ export default {
...
@@ -140,7 +140,7 @@ export default {
this
.
$apis
.
giftBag
this
.
$apis
.
giftBag
.
equityMerchant
(
params
)
.
equityMerchant
(
params
)
.
then
(
res
=>
{
.
then
(
res
=>
{
this
.
EquityList
=
res
.
packageConfigs
this
.
EquityList
=
(
res
.
packageConfigs
||
[]).
filter
(
item
=>
item
.
isChecked
==
1
)
this
.
$refs
.
equityRef
.
tableHeightValues
=
'52vh'
this
.
$refs
.
equityRef
.
tableHeightValues
=
'52vh'
this
.
recoverySelected
()
this
.
recoverySelected
()
})
})
...
...
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