|
@@ -397,33 +397,26 @@ const rules = reactive({
|
|
trigger: 'change',
|
|
trigger: 'change',
|
|
},
|
|
},
|
|
],
|
|
],
|
|
- startTime: [
|
|
|
|
|
|
+ gameIds: [
|
|
{
|
|
{
|
|
required: true,
|
|
required: true,
|
|
- type: 'date',
|
|
|
|
- message: '请选择活动开始时间',
|
|
|
|
|
|
+ message: '请填写生效服务器',
|
|
trigger: 'change',
|
|
trigger: 'change',
|
|
},
|
|
},
|
|
],
|
|
],
|
|
- endTime: [
|
|
|
|
|
|
+ startTime: [
|
|
{
|
|
{
|
|
required: true,
|
|
required: true,
|
|
type: 'date',
|
|
type: 'date',
|
|
- message: '请选择活动结束时间',
|
|
|
|
- trigger: 'change',
|
|
|
|
- },
|
|
|
|
- ],
|
|
|
|
- lpActTemList: [
|
|
|
|
- {
|
|
|
|
- required: true,
|
|
|
|
- message: '请输入循环模版列表',
|
|
|
|
|
|
+ message: '请选择活动开始时间',
|
|
trigger: 'change',
|
|
trigger: 'change',
|
|
},
|
|
},
|
|
],
|
|
],
|
|
- lpActInterval: [
|
|
|
|
|
|
+ endTime: [
|
|
{
|
|
{
|
|
required: true,
|
|
required: true,
|
|
- message: '请输入循环间隔天数',
|
|
|
|
|
|
+ type: 'date',
|
|
|
|
+ message: '请选择活动结束时间',
|
|
trigger: 'change',
|
|
trigger: 'change',
|
|
},
|
|
},
|
|
]
|
|
]
|
|
@@ -556,12 +549,12 @@ const batchDelete = () => {
|
|
draggable: true,
|
|
draggable: true,
|
|
})
|
|
})
|
|
.then(() => {
|
|
.then(() => {
|
|
- let selectGmMaliIds = reactive([])
|
|
|
|
|
|
+ let selectActRuleIds = reactive([])
|
|
for (let value of selectObj.value) {
|
|
for (let value of selectObj.value) {
|
|
- selectGmMaliIds.push(value.id)
|
|
|
|
|
|
+ selectActRuleIds.push(value.id)
|
|
}
|
|
}
|
|
let deleteParams = reactive({
|
|
let deleteParams = reactive({
|
|
- gmMaliIds: selectGmMaliIds
|
|
|
|
|
|
+ actRuleIds: selectActRuleIds
|
|
})
|
|
})
|
|
activityRuleApi.deleteBatch(deleteParams).then(res => {
|
|
activityRuleApi.deleteBatch(deleteParams).then(res => {
|
|
loadActivityRuleInfo()
|
|
loadActivityRuleInfo()
|