|
@@ -128,6 +128,7 @@ export default {
|
|
async toEdit({ data }) {
|
|
async toEdit({ data }) {
|
|
this.$router.push({ path: '/platActivi/coupon/detail', query: { id: data.id } });
|
|
this.$router.push({ path: '/platActivi/coupon/detail', query: { id: data.id } });
|
|
},
|
|
},
|
|
|
|
+ // 删除
|
|
async toDel({ data }) {
|
|
async toDel({ data }) {
|
|
let res = await this.delete(data._id);
|
|
let res = await this.delete(data._id);
|
|
if (this.$checkRes(res)) {
|
|
if (this.$checkRes(res)) {
|
|
@@ -156,7 +157,6 @@ export default {
|
|
if (this.$checkRes(res)) {
|
|
if (this.$checkRes(res)) {
|
|
this.$set(this, `statusList`, res.data);
|
|
this.$set(this, `statusList`, res.data);
|
|
}
|
|
}
|
|
-
|
|
|
|
// 减免方式
|
|
// 减免方式
|
|
res = await this.dictQuery({ code: 'coupon_discount_type' });
|
|
res = await this.dictQuery({ code: 'coupon_discount_type' });
|
|
if (this.$checkRes(res)) {
|
|
if (this.$checkRes(res)) {
|