Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform-ui
Commits
c637269b
Commit
c637269b
authored
Dec 12, 2019
by
guoyou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
节日价格
parent
b27e52b7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
+12
-10
awardSet.vue
src/views/conference/award/awardSet.vue
+5
-3
mockSun.vue
src/views/vehicleType/mockSun.vue
+7
-7
No files found.
src/views/conference/award/awardSet.vue
View file @
c637269b
...
...
@@ -247,8 +247,7 @@ export default {
{
serialNumber
:
'1'
,
name
:
''
,
//奖品名称
iconPath
:
'https://xxtest.upyuns.com/image/admin/2019-12-05/37.jpg'
,
//奖品图片
iconPath
:
''
,
//奖品图片
totalStock
:
''
,
//奖品数量
probability
:
''
,
//中奖概率
dayMaxUse
:
''
,
//最大次数
...
...
@@ -339,6 +338,7 @@ export default {
setOnline
(
val
)
{
this
.
or
=
val
this
.
dialogVisible
=
true
infoPrize
().
then
(
data
=>
{
if
(
val
==
1
)
{
if
(
data
.
data
.
onlinePrize
!=
''
){
...
...
@@ -369,7 +369,9 @@ export default {
// }
});
}
this
.
table
=
data
.
data
.
localePrize
if
(
data
.
data
.
localePrize
!=
''
)
{
this
.
table
=
data
.
data
.
localePrize
}
}
})
},
...
...
src/views/vehicleType/mockSun.vue
View file @
c637269b
...
...
@@ -180,7 +180,7 @@ export default {
d
.
getDate
().
toString
().
length
==
1
?
'0'
+
d
.
getDate
()
:
d
.
getDate
()
return
year
+
'-'
+
month
+
'-'
+
date
+
' 00:00:00'
return
year
+
'-'
+
month
+
'-'
+
date
},
closePop
()
{
// this.$refs.ruleForm.resetFields()
...
...
@@ -232,19 +232,19 @@ export default {
if
(
this
.
popTitle
==
'添加节假日'
)
{
this
.
ruleForm
.
startDate
=
this
.
format
(
this
.
ruleForm
.
date
[
0
]
)
)
+
' 00:00:00'
this
.
ruleForm
.
endDate
=
this
.
format
(
this
.
ruleForm
.
date
[
1
]
)
)
+
' 23:59:59'
delete
this
.
ruleForm
.
id
this
.
successApi
()
}
else
{
this
.
ruleForm
.
startDate
=
this
.
format
(
this
.
ruleForm
.
date
[
0
]
)
new
Date
(
this
.
ruleForm
.
date
[
0
])
)
+
' 00:00:00'
this
.
ruleForm
.
endDate
=
this
.
format
(
this
.
ruleForm
.
date
[
1
]
)
new
Date
(
this
.
ruleForm
.
date
[
1
])
)
+
' 23:59:59'
!
this
.
activeId
?
''
:
(
this
.
ruleForm
.
id
=
this
.
activeId
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment