Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
Ygopro Arena Web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GaiaXalter
Ygopro Arena Web
Commits
ed62eccc
Commit
ed62eccc
authored
Mar 03, 2022
by
GaiaXalter
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:活动提交
parent
974b5eff
Pipeline
#10258
failed with stages
in 2 minutes and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
7 deletions
+16
-7
src/components/Ads.vue
src/components/Ads.vue
+16
-7
No files found.
src/components/Ads.vue
View file @
ed62eccc
...
...
@@ -85,7 +85,7 @@
<el-form
:model=
"firstWinForm"
:rules=
"rules2"
ref=
"firstWinForm"
label-width=
"80px"
class=
"demo-dynamic"
>
<el-form-item
prop=
"name"
label=
"活动标题"
:rules=
"{required: true, message: '活动标题不能为空', trigger: 'blur'}"
>
<el-input
v-model=
"firstWinForm.name"
></el-input>
<el-input
v-model=
"firstWinForm.name"
@
input=
"onInput()"
></el-input>
</el-form-item>
<el-form-item
prop=
"email"
label=
"活动日期"
>
...
...
@@ -94,7 +94,7 @@
</el-form-item>
<el-form-item
prop=
"max"
label=
"达标场次"
>
<el-input
v-model=
"firstWinForm.max"
placeholder=
""
></el-input>
<el-input
v-model=
"firstWinForm.max"
@
input=
"onInput()"
placeholder=
""
></el-input>
</el-form-item>
</el-form>
...
...
@@ -310,6 +310,8 @@
dialogFormVisible
:
false
,
firstWinDialogVisible
:
false
,
firstWinForm
:
{
name
:
''
,
max
:
''
,
},
form
:
{
...
...
@@ -336,6 +338,11 @@
},
methods
:
{
onInput
(){
this
.
$forceUpdate
()
},
saveLable
:
function
()
{
var
param
=
{
labelone
:
this
.
labelone
...
...
@@ -524,17 +531,19 @@
end
:
this
.
to_date
,
max
:
this
.
firstWinForm
.
max
,
}
console
.
log
(
'
%c ---------------------src
'
+
'
\\
'
+
'
components
'
+
'
\\
'
+
'
Ads.vue---------------------%c:535
'
,
'
background:#73a8e1
'
,
'
background:#92c00d
'
,
param
)
var
_this
=
this
;
API
.
saveActivity
(
param
).
then
((
res
)
=>
{
this
.
firstWinDialogVisible
=
false
//
this.$notify({
//
title: '操作成功',
//
message: '感谢您的提交!',
//
type: 'success'
//
})
this
.
$notify
({
title
:
'
操作成功
'
,
message
:
'
感谢您的提交!
'
,
type
:
'
success
'
})
setTimeout
(
function
()
{
_this
.
isClick
=
false
;
},
1500
)
...
...
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