diff --git a/src/api/mall/promotion/seckill/seckillActivity.ts b/src/api/mall/promotion/seckill/seckillActivity.ts
index 42c1c31c..e8346410 100644
--- a/src/api/mall/promotion/seckill/seckillActivity.ts
+++ b/src/api/mall/promotion/seckill/seckillActivity.ts
@@ -57,6 +57,11 @@ export const updateSeckillActivity = async (data: SeckillActivityVO) => {
return await request.put({ url: '/promotion/seckill-activity/update', data })
}
+// 关闭秒杀活动
+export const closeSeckillActivity = async (id: number) => {
+ return await request.put({ url: '/promotion/seckill-activity/close?id=' + id })
+}
+
// 删除秒杀活动
export const deleteSeckillActivity = async (id: number) => {
return await request.delete({ url: '/promotion/seckill-activity/delete?id=' + id })
diff --git a/src/views/mall/promotion/seckill/activity/index.vue b/src/views/mall/promotion/seckill/activity/index.vue
index 2ecdd506..695d8162 100644
--- a/src/views/mall/promotion/seckill/activity/index.vue
+++ b/src/views/mall/promotion/seckill/activity/index.vue
@@ -1,94 +1,205 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
- 新增
+
+
+
+
+ 搜索
+ 重置
+
+ 新增
-
-
+
+
-
- 展示活动商品和商品相关属性活动配置
-
-
- {{ row.spuName }}
-
-
-
- {{ name }}
-
-
-
-
- 编辑
-
-
- 删除
-
-
-
+
+
+
+
+
+
+ {{ formatConfigNames(configId) }}
+
+
+
+
+
+ {{ formatDate(scope.row.startTime, 'YYYY-MM-DD') }}
+ ~ {{ formatDate(scope.row.endTime, 'YYYY-MM-DD') }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ formatSeckillPrice(scope.row.products) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+ 关闭
+
+
+ 删除
+
+
+
+
+
+
-