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
4d32206c
Commit
4d32206c
authored
Aug 17, 2019
by
denghr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员列表的修改
parent
267d438a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
index.vue
src/views/userManagement/userList/index.vue
+10
-1
No files found.
src/views/userManagement/userList/index.vue
View file @
4d32206c
...
...
@@ -343,7 +343,7 @@
</el-row>
<el-row>
<el-col
:span=
"16"
>
<el-form-item
label=
"
赠送天数/天
"
prop=
"totalNumber"
>
<el-form-item
label=
"
总天数
"
prop=
"totalNumber"
>
<el-input
type=
"text"
v-model=
"userMembershipInformation.totalNumber"
placeholder=
"请填写赠送天数"
></el-input>
</el-form-item>
</el-col>
...
...
@@ -945,6 +945,15 @@
* @param formName
*/
saveMember
(
formName
)
{
if
(
this
.
userMembershipInformation
.
totalNumber
<
this
.
userMembershipInformation
.
rentFreeDays
){
this
.
$notify
({
title
:
'警告'
,
message
:
'剩余天数不能大于总天数'
,
type
:
'warning'
,
duration
:
2000
});
return
false
}
if
(
this
.
validityType
==
'永久'
)
{
this
.
userMembershipInformation
.
validTime
=
0
}
else
if
(
this
.
validityType
==
'自定义'
)
{
...
...
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