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
MyCard
Ygopro Arena Web
Commits
2a0daefd
Commit
2a0daefd
authored
Mar 04, 2022
by
GaiaXalter
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:活动提交 inpu锁定
parent
04a876a7
Pipeline
#10264
passed with stages
in 1 minute and 58 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 @
2a0daefd
...
@@ -85,7 +85,7 @@
...
@@ -85,7 +85,7 @@
<el-form
:model=
"firstWinForm"
:rules=
"rules2"
ref=
"firstWinForm"
label-width=
"80px"
class=
"demo-dynamic"
>
<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-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>
<el-form-item
prop=
"email"
label=
"活动日期"
>
<el-form-item
prop=
"email"
label=
"活动日期"
>
...
@@ -94,7 +94,7 @@
...
@@ -94,7 +94,7 @@
</el-form-item>
</el-form-item>
<el-form-item
prop=
"max"
label=
"达标场次"
>
<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-item>
</el-form>
</el-form>
...
@@ -310,6 +310,8 @@
...
@@ -310,6 +310,8 @@
dialogFormVisible
:
false
,
dialogFormVisible
:
false
,
firstWinDialogVisible
:
false
,
firstWinDialogVisible
:
false
,
firstWinForm
:
{
firstWinForm
:
{
name
:
''
,
max
:
''
,
},
},
form
:
{
form
:
{
...
@@ -336,6 +338,11 @@
...
@@ -336,6 +338,11 @@
},
},
methods
:
{
methods
:
{
onInput
(){
this
.
$forceUpdate
()
},
saveLable
:
function
()
{
saveLable
:
function
()
{
var
param
=
{
var
param
=
{
labelone
:
this
.
labelone
labelone
:
this
.
labelone
...
@@ -524,17 +531,19 @@
...
@@ -524,17 +531,19 @@
end
:
this
.
to_date
,
end
:
this
.
to_date
,
max
:
this
.
firstWinForm
.
max
,
max
:
this
.
firstWinForm
.
max
,
}
}
console
.
log
(
'
%c ---------------------src
'
+
'
\\
'
+
'
components
'
+
'
\\
'
+
'
Ads.vue---------------------%c:535
'
,
'
background:#73a8e1
'
,
'
background:#92c00d
'
,
param
)
var
_this
=
this
;
var
_this
=
this
;
API
.
saveActivity
(
param
).
then
((
res
)
=>
{
API
.
saveActivity
(
param
).
then
((
res
)
=>
{
this
.
firstWinDialogVisible
=
false
this
.
firstWinDialogVisible
=
false
//
this.$notify({
this
.
$notify
({
//
title: '操作成功',
title
:
'
操作成功
'
,
//
message: '感谢您的提交!',
message
:
'
感谢您的提交!
'
,
//
type: 'success'
type
:
'
success
'
//
})
})
setTimeout
(
function
()
{
setTimeout
(
function
()
{
_this
.
isClick
=
false
;
_this
.
isClick
=
false
;
},
1500
)
},
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