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
67eeab46
Commit
67eeab46
authored
Nov 19, 2019
by
guoyou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
显示多次点击
parent
ce15bf08
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
discountRecord.vue
src/views/purseManage/discountRecord.vue
+6
-1
No files found.
src/views/purseManage/discountRecord.vue
View file @
67eeab46
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
</el-form>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"cancelHandel"
>
取 消
</el-button>
<el-button
@
click=
"cancelHandel"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"edit('dialogFrom')"
>
确 定
</el-button>
<el-button
type=
"primary"
@
click=
"edit('dialogFrom')"
:loading=
"submitBtn"
>
确 定
</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
</div>
</div>
...
@@ -155,6 +155,7 @@ export default {
...
@@ -155,6 +155,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
submitBtn
:
false
,
time
:[],
//提现时间
time
:[],
//提现时间
typeOptions
:
[
typeOptions
:
[
{
{
...
@@ -259,6 +260,7 @@ export default {
...
@@ -259,6 +260,7 @@ export default {
this
.
dialogVisible
=
true
this
.
dialogVisible
=
true
},
},
edit
(
formName
)
{
edit
(
formName
)
{
var
that
=
this
var
that
=
this
const
set
=
this
.
$refs
const
set
=
this
.
$refs
set
[
formName
].
validate
(
valid
=>
{
set
[
formName
].
validate
(
valid
=>
{
...
@@ -285,6 +287,7 @@ export default {
...
@@ -285,6 +287,7 @@ export default {
}
}
}
}
if
(
valid
)
{
if
(
valid
)
{
this
.
submitBtn
=
true
;
editObj
(
that
.
dialogFrom
).
then
(
response
=>
{
editObj
(
that
.
dialogFrom
).
then
(
response
=>
{
if
(
response
.
status
===
200
)
{
if
(
response
.
status
===
200
)
{
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
...
@@ -295,6 +298,7 @@ export default {
...
@@ -295,6 +298,7 @@ export default {
type
:
'success'
,
type
:
'success'
,
duration
:
2000
duration
:
2000
})
})
this
.
submitBtn
=
false
;
}
else
{
}
else
{
this
.
$notify
({
this
.
$notify
({
title
:
'失败'
,
title
:
'失败'
,
...
@@ -304,6 +308,7 @@ export default {
...
@@ -304,6 +308,7 @@ export default {
type
:
'error'
,
type
:
'error'
,
duration
:
2000
duration
:
2000
})
})
this
.
submitBtn
=
false
;
}
}
})
})
}
else
{
}
else
{
...
...
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