Commit 08c905e6 authored by 黄媛媛's avatar 黄媛媛

优惠券处理

parent 73e173dd
...@@ -87,7 +87,8 @@ ...@@ -87,7 +87,8 @@
msg: { msg: {
pageIndex: 1, pageIndex: 1,
pageSize: 15, pageSize: 15,
UserId: -1, //0-未使用,1-已使用,2-已过期,-1全部 UseState: -1, //0-未使用,1-已使用,2-已过期,-1全部
UserId: 0,
StartDate: '', StartDate: '',
EndDate: '', EndDate: '',
}, },
...@@ -103,10 +104,11 @@ ...@@ -103,10 +104,11 @@
} }
}, },
created() { created() {
this.getList();
if(this.$route.query.UserId){ if(this.$route.query.UserId){
console.log(this.$route.query.UserId) this.msg.UserId = this.$route.query.UserId;
} }
this.getList();
}, },
mounted() { mounted() {
}, },
...@@ -134,7 +136,7 @@ ...@@ -134,7 +136,7 @@
this.getList(); this.getList();
}, },
handleClick(val){ handleClick(val){
this.msg.UserId = val.$attrs.dataId; this.msg.UseState = val.$attrs.dataId;
this.getList() this.getList()
}, },
delete_b(row){ delete_b(row){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment