File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 57
57
<el-table-column label =" 操作" align =" center" class-name =" small-padding fixed-width" >
58
58
<template slot-scope="scope">
59
59
<el-button size =" mini" type =" text" icon =" el-icon-delete" @click =" handleDelete(scope.row)"
60
- v-hasPermi =" ['promotion:coupon:delete']" >删除 </el-button >
60
+ v-hasPermi =" ['promotion:coupon:delete']" >回收 </el-button >
61
61
</template >
62
62
</el-table-column >
63
63
</el-table >
@@ -145,11 +145,11 @@ export default {
145
145
/** 删除按钮操作 */
146
146
handleDelete (row ) {
147
147
const id = row .id ;
148
- this .$modal .confirm (' 是否确认删除优惠劵编号为" ' + id + ' "的数据项? ' ).then (function () {
148
+ this .$modal .confirm (' 回收将会收回会员领取的待使用的优惠券,已使用的将无法回收,确定要回收所选优惠券吗? ' ).then (function () {
149
149
return deleteCoupon (id);
150
150
}).then (() => {
151
151
this .getList ();
152
- this .$modal .msgSuccess (" 删除成功 " );
152
+ this .$modal .msgSuccess (" 回收成功 " );
153
153
}).catch (() => {});
154
154
},
155
155
/** tab 切换 */
Original file line number Diff line number Diff line change 33
33
<el-col :span =" 1.5" >
34
34
<el-button type =" primary" plain icon =" el-icon-plus" size =" mini" @click =" handleAdd"
35
35
v-hasPermi =" ['promotion:coupon-template:create']" >新增</el-button >
36
+ <el-button type =" info" plain icon =" el-icon-s-operation" size =" mini"
37
+ @click =" () => this.$router.push('/promotion/coupon')"
38
+ v-hasPermi =" ['promotion:coupon:query']" >会员优惠劵</el-button >
36
39
</el-col >
37
40
<right-toolbar :showSearch.sync =" showSearch" @queryTable =" getList" ></right-toolbar >
38
41
</el-row >
You can’t perform that action at this time.
0 commit comments