Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-outbound
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 f0da8a54
authored
Jan 19, 2024
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
bffb04cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
6 deletions
src/views/redEnvelope/components/RedEnvelopeConfig/FreeAdd.vue
src/views/redEnvelope/components/RedEnvelopeConfig/FreeAdd.vue
View file @
f0da8a5
...
@@ -190,7 +190,7 @@ export default {
...
@@ -190,7 +190,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
loading
:
false
,
loading
:
false
,
activePage
:
2
,
activePage
:
1
,
templateList
:
[],
templateList
:
[],
couponList
:
[],
couponList
:
[],
afterRangePickerOptions
,
afterRangePickerOptions
,
...
@@ -355,7 +355,6 @@ export default {
...
@@ -355,7 +355,6 @@ export default {
}
}
]
]
this
.
disabled
=
true
this
.
disabled
=
true
console
.
log
(
this
.
configForm
,
'this.configForm'
)
}
catch
(
error
)
{
}
catch
(
error
)
{
this
.
$message
.
error
(
error
)
this
.
$message
.
error
(
error
)
}
}
...
@@ -453,7 +452,6 @@ export default {
...
@@ -453,7 +452,6 @@ export default {
this
.
imageUrl
=
URL
.
createObjectURL
(
file
.
raw
)
this
.
imageUrl
=
URL
.
createObjectURL
(
file
.
raw
)
},
},
handleImgChange
(
e
,
index
)
{
handleImgChange
(
e
,
index
)
{
console
.
log
(
e
,
index
)
this
.
$notify
({
this
.
$notify
({
title
:
'提示'
,
title
:
'提示'
,
message
:
'图片上传中,请稍后'
message
:
'图片上传中,请稍后'
...
@@ -480,9 +478,7 @@ export default {
...
@@ -480,9 +478,7 @@ export default {
message
:
'图片上传成功'
,
message
:
'图片上传成功'
,
type
:
'success'
type
:
'success'
})
})
console
.
log
(
res
)
this
.
configForm
.
awardList
[
index
].
picture
=
res
this
.
configForm
.
awardList
[
index
].
picture
=
res
console
.
log
(
this
.
configForm
.
awardList
)
}
}
e
.
target
.
value
=
''
e
.
target
.
value
=
''
this
.
$refs
.
uploadImg
.
value
=
''
this
.
$refs
.
uploadImg
.
value
=
''
...
@@ -524,7 +520,6 @@ export default {
...
@@ -524,7 +520,6 @@ export default {
totalNum
+=
item
.
total
totalNum
+=
item
.
total
})
})
this
.
configForm
.
awardList
.
forEach
(
item
=>
{
this
.
configForm
.
awardList
.
forEach
(
item
=>
{
console
.
log
(
item
.
total
)
item
.
probability
=
item
.
total
?
BigNumber
(
item
.
total
).
div
(
totalNum
).
times
(
100
).
dp
(
2
).
toNumber
()
:
''
item
.
probability
=
item
.
total
?
BigNumber
(
item
.
total
).
div
(
totalNum
).
times
(
100
).
dp
(
2
).
toNumber
()
:
''
})
})
},
},
...
...
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