diff --git a/fuintAdmin/src/views/EventMarketing/liJianMarketing/index.vue b/fuintAdmin/src/views/EventMarketing/liJianMarketing/index.vue
index 4d3216fc3..3bc32a031 100644
--- a/fuintAdmin/src/views/EventMarketing/liJianMarketing/index.vue
+++ b/fuintAdmin/src/views/EventMarketing/liJianMarketing/index.vue
@@ -535,6 +535,8 @@ export default {
Typeindex3(index) {
this.tindex3 = index
this.ruleForm.timeType = index
+ this.weekDay = []
+ this.monthDay = []
},
Typeindex4(index) {
this.tindex4 = index
diff --git a/fuintAdmin/src/views/EventMarketing/openCardGift/api/separate.js b/fuintAdmin/src/views/EventMarketing/openCardGift/api/separate.js
index ddb8e8db4..c1ed01385 100644
--- a/fuintAdmin/src/views/EventMarketing/openCardGift/api/separate.js
+++ b/fuintAdmin/src/views/EventMarketing/openCardGift/api/separate.js
@@ -48,3 +48,46 @@ export function deleteList(id) {
})
}
+
+// 分页查询活动规则
+export function getPriceRuleList(query) {
+ return request({
+ url: '/business/activePriceRule/page',
+ method: 'get',
+ params:query
+ })
+}
+
+// 添加活动规则
+export function addPriceRule(data) {
+ return request({
+ url: '/business/activePriceRule/add',
+ method: 'post',
+ data:data
+ })
+}
+
+// 修改活动规则
+export function editPriceRule(data) {
+ return request({
+ url: '/business/activePriceRule/update',
+ method: 'put',
+ data:data
+ })
+}
+
+// 删除活动规则
+export function deletePriceRule(id) {
+ return request({
+ url: '/business/activePriceRule/del'+id,
+ method: 'delete',
+ })
+}
+
+// 根据id查询活动规则
+export function getPriceRule(id) {
+ return request({
+ url: '/business/activePriceRule/'+id,
+ method: 'get',
+ })
+}
diff --git a/fuintAdmin/src/views/EventMarketing/openCardGift/separate.vue b/fuintAdmin/src/views/EventMarketing/openCardGift/separate.vue
index 010af0bc5..e3d0da3cc 100644
--- a/fuintAdmin/src/views/EventMarketing/openCardGift/separate.vue
+++ b/fuintAdmin/src/views/EventMarketing/openCardGift/separate.vue
@@ -104,7 +104,7 @@
新增活动规则
@@ -170,16 +170,21 @@
prop="name"
label="状态"
>
+
+ 未生效
+ 使用中
+ 已生效
+
@@ -241,7 +246,7 @@
label="油品油号"
>
- {{scope.row.oilType}}{{scope.row.oilName}}
+ {{ scope.row.oilType }}{{ scope.row.oilName }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 到
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 到
+
+
+
+
+
+
+
+
-
-
- 到
-
-
-
+
-
-
-
-
-
-
-
-
-
- 到
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 每周:
-
-
-
-
-
- 每月:
-
-
-
-
-
-
- 时间段:
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 至
+
+
+
+
+
+
+
+
+
+
- 立即创建
- 重置
+ 取消
+ 保存
@@ -408,15 +444,24 @@