Commit b0f09b52 authored by 黄媛媛's avatar 黄媛媛

11

parent bd461c73
......@@ -269,7 +269,8 @@ export default {
couponsType: "",
couponStatus: 1,
couponEffectStatus: 1,
couponsUseScope: 0
couponsUseScope: 0,
userId:'',
},
dataList: [],
dataLoading: false,
......@@ -280,7 +281,10 @@ export default {
computed: {},
created() {},
mounted() {
this.getList()
this.getList();
if(this.$route.query.customerId){
this.msg.userId=this.$route.query.customerId;
}
},
methods: {
// 获取数据
......
......@@ -65,7 +65,7 @@
</div>
</div>
<div @click="goCoupons" class="list">
<div @click="goCoupons(datainfo.CustomerAccountId)" class="list">
<div class="Item moneyItem">
<p>优惠券</p>
<div class="des">
......@@ -196,11 +196,12 @@ export default {
},
methods: {
goCoupons(){
goCoupons(id){
this.$router.push({
name: 'CouponsList',
query: {
blank: "y",
"customerId": id,
tab:'优惠券列表'
}
});
......
......@@ -398,7 +398,7 @@
<td>{{item.tradeTotal}}</td>
<td>{{item.inquireCount}}</td>
<td>{{item.allianceName}}</td>
<td><span style="cursor: pointer;" @click.stop="goUrC('CouponsList')">{{item.couponNum}}</span></td>
<td><span style="cursor: pointer;" @click.stop="goUrC('CouponsList',item.customerAccountId)">{{item.couponNum}}</span></td>
<td>
<el-tooltip class="item" effect="dark" content="账户管理" placement="top-start">
<el-button style="padding:4px" @click.stop="goUrlT('empBankAccount',item.customerId)" type="danger" icon="iconfont icon-guanliyuan" circle></el-button>
......@@ -956,7 +956,6 @@
})
},
goUrC(path, customerId) {
if(customerId){
this.$router.push({
name: path,
query: {
......@@ -964,14 +963,6 @@
blank: 'y'
}
})
}else{
this.$router.push({
name: path,
query: {
blank: 'y'
}
})
}
},
goUrlT(path, id) {
......
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