Commit 497e1990 by caoyanzhi

新建、编辑会员分组,选择非实时的标签时更新频率限定为每日一次

parent fc02c87a
......@@ -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 : [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment