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
497e1990
Commit
497e1990
authored
Apr 09, 2020
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新建、编辑会员分组,选择非实时的标签时更新频率限定为每日一次
parent
fc02c87a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
memberGroupEdit.vue
src/view/memberGroup/memberGroupEdit.vue
+6
-3
No files found.
src/view/memberGroup/memberGroupEdit.vue
View file @
497e1990
...
...
@@ -94,6 +94,7 @@
v-model=
"ruleForm.updateType"
placeholder=
"请选择"
@
change=
"ruleForm.updateDay = ''"
:disabled=
"ruleForm.isActive == 0"
>
<el-option
v-for=
"(item, index) in rateData"
...
...
@@ -255,7 +256,7 @@ export default {
// 非实时需要根据标签判断
isActive
:
0
,
// 更新频率类型 1=每日一次 2=每周一次 3=每月一次
updateType
:
''
,
updateType
:
1
,
// 更新日期
// 每日更新一次,无更新日期
// 每周更新一次,更新日期1到7对应周一到周日
...
...
@@ -618,8 +619,10 @@ export default {
this
.
ruleForm
.
effectiveStatus
=
tagGroupDto
.
effectiveStatus
;
this
.
ruleForm
.
describle
=
tagGroupDto
.
describle
;
this
.
ruleForm
.
effectiveDateTmp
=
tagGroupDto
.
effectiveDate
;
this
.
ruleForm
.
updateType
=
!!
tagGroupDto
.
updateType
?
Number
(
tagGroupDto
.
updateType
)
:
''
;
this
.
ruleForm
.
updateDay
=
!!
tagGroupDto
.
updateDay
?
Number
(
tagGroupDto
.
updateDay
)
:
''
;
// this.ruleForm.updateType = !!tagGroupDto.updateType ? Number(tagGroupDto.updateType) : '';
// this.ruleForm.updateDay = !!tagGroupDto.updateDay ? Number(tagGroupDto.updateDay) : '';
this
.
ruleForm
.
updateType
=
tagGroupDto
.
isRealTime
==
0
?
1
:
''
;
this
.
ruleForm
.
updateDay
=
''
;
}
let
tagValueDtoList
=
Array
.
isArray
(
resData
.
result
.
tagValueDtoList
)
?
resData
.
result
.
tagValueDtoList
:
[];
...
...
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