Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
memberTag-web
Overview
Overview
Details
Activity
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
memberTag
memberTag-web
Commits
0817f193
Commit
0817f193
authored
Sep 10, 2020
by
Kyle_Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:限制非实时人群编辑
parent
71e86e86
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
+8
-1
memberGroupList.vue
src/view/memberGroup/memberGroupList.vue
+8
-1
No files found.
src/view/memberGroup/memberGroupList.vue
View file @
0817f193
...
...
@@ -203,7 +203,7 @@
详情
</router-link>
<router-link
v-if=
"
scope.row.canEdit
"
v-if=
"
isAllowEdit(scope.row)
"
:to=
"`/memberGroupEdit?memberTagGroupId=$
{scope.row.memberTagGroupId}`"
class="edit-btn el-button--text p-r-12"
>
...
...
@@ -1030,6 +1030,13 @@ export default {
this
.
countGroupText
=
`您的非实时分组数量已达
${
data
.
currCount
}
/
${
data
.
totalCount
}
,实时分组数量不受限制。`
;
}
});
},
isAllowEdit
(
row
)
{
const
{
latestUpdateTime
,
canEdit
}
=
row
;
if
(
!
canEdit
)
return
false
;
if
(
!
latestUpdateTime
||
latestUpdateTime
===
'--'
)
return
true
;
if
(
new
Date
().
toLocaleDateString
()
>
new
Date
(
latestUpdateTime
).
toLocaleDateString
())
return
false
;
return
true
;
}
},
created
()
{
...
...
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