|
@@ -108,7 +108,6 @@ export default {
|
|
.then((res) => {
|
|
.then((res) => {
|
|
this.list = res.rows;
|
|
this.list = res.rows;
|
|
if (res.rows.length) {
|
|
if (res.rows.length) {
|
|
- console.log(this.$route.query.status);
|
|
|
|
if (this.$route.query.status == 1) {
|
|
if (this.$route.query.status == 1) {
|
|
this.openActive(res.rows[0].userId);
|
|
this.openActive(res.rows[0].userId);
|
|
}
|
|
}
|
|
@@ -122,14 +121,17 @@ export default {
|
|
* 选中
|
|
* 选中
|
|
*/
|
|
*/
|
|
activeUser(item) {
|
|
activeUser(item) {
|
|
- console.log(item);
|
|
|
|
this.active = `${item.userId}-${item.goodsId}`;
|
|
this.active = `${item.userId}-${item.goodsId}`;
|
|
this.goodsId = item.goodsId;
|
|
this.goodsId = item.goodsId;
|
|
this.orderSn = item.orderSn;
|
|
this.orderSn = item.orderSn;
|
|
this.orderGoodsId = item.orderGoodsId;
|
|
this.orderGoodsId = item.orderGoodsId;
|
|
this.userId = item.userId;
|
|
this.userId = item.userId;
|
|
this.orderFrom = item.orderFrom;
|
|
this.orderFrom = item.orderFrom;
|
|
- this.activeName = "first";
|
|
|
|
|
|
+ if (this.$route.query.pageName) {
|
|
|
|
+ this.activeName = this.$route.query.pageName;
|
|
|
|
+ } else {
|
|
|
|
+ this.activeName = "first";
|
|
|
|
+ }
|
|
},
|
|
},
|
|
/**
|
|
/**
|
|
* 展开学员商品信息
|
|
* 展开学员商品信息
|