Administrator 7 месяцев назад
Родитель
Сommit
a05ae11fb1
1 измененных файлов с 10 добавлено и 17 удалено
  1. 10 17
      src/views/activity/rule/index.vue

+ 10 - 17
src/views/activity/rule/index.vue

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