Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
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
黄媛媛
ElectricitySheep
Commits
e3be132d
Commit
e3be132d
authored
Jul 24, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
防止重复提交
parent
2c211888
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
customSet.vue
src/components/UserMan/customSet.vue
+5
-2
No files found.
src/components/UserMan/customSet.vue
View file @
e3be132d
...
@@ -716,7 +716,7 @@
...
@@ -716,7 +716,7 @@
</div>
</div>
</el-tab-pane>
</el-tab-pane>
<div
style=
"padding-left:410px;padding-top:20px"
>
<div
style=
"padding-left:410px;padding-top:20px"
>
<el-button
@
click=
"saveVipMsg('vipMsg')"
size=
"small"
type=
"primary"
v-if=
"activeName == 'sixth' "
>
保存
</el-button>
<el-button
@
click=
"saveVipMsg('vipMsg')"
size=
"small"
type=
"primary"
:disabled=
"loadingbut"
v-if=
"activeName == 'sixth' "
>
保存
</el-button>
<el-button
@
click=
"save"
size=
"small"
type=
"primary"
v-if=
"activeName != 'sixth' "
>
保存
</el-button>
<el-button
@
click=
"save"
size=
"small"
type=
"primary"
v-if=
"activeName != 'sixth' "
>
保存
</el-button>
</div>
</div>
</el-tabs>
</el-tabs>
...
@@ -797,6 +797,8 @@
...
@@ -797,6 +797,8 @@
trigger
:
'blur'
trigger
:
'blur'
}]
}]
},
},
//防止重复提交
loadingbut
:
false
}
}
},
},
created
()
{
created
()
{
...
@@ -823,7 +825,9 @@
...
@@ -823,7 +825,9 @@
},
},
//保存vip购买
//保存vip购买
saveVip
(){
saveVip
(){
this
.
loadingbut
=
true
;
this
.
apipost
(
"/api/UserVip/SetFXGradeCustom"
,
this
.
vipMsg
,
res
=>
{
this
.
apipost
(
"/api/UserVip/SetFXGradeCustom"
,
this
.
vipMsg
,
res
=>
{
this
.
loadingbut
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
Success
(
res
.
data
.
message
);
}
else
{
}
else
{
...
@@ -939,7 +943,6 @@
...
@@ -939,7 +943,6 @@
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
addMsg
=
res
.
data
.
data
;
this
.
addMsg
=
res
.
data
.
data
;
console
.
log
(
this
.
addMsg
,
'this.addMsg'
);
}
}
})
})
...
...
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