Commit 443a7ab7 by chenyu

update: change detail's link

parent 83802375
......@@ -247,8 +247,7 @@
<template slot-scope="scope">
<el-button
type="text"
@click="JumpLink(scope.row.memberId)"
v-if="!!scope.row.channel"
@click="linkDetail(scope.row.memberId)"
>查看</el-button>
<el-button
type="text"
......@@ -414,8 +413,8 @@ export default {
methods: {
linkDetail(memberId) {
this.$router.push({
path: "/wechatmemberDetail",
query: { memberId: memberId }
path: "/customerDetail",
query: { memberId }
});
},
// 搜索框回车
......@@ -613,13 +612,6 @@ export default {
cPage: 1
});
},
// 查看跳转
JumpLink(memberId) {
this.$router.push({
path: "/customerDetail",
query: { memberId }
});
},
handleSizeChange(val) {
this.currentPage = 1;
this.pageSize = val;
......
......@@ -205,8 +205,7 @@
<template slot-scope="scope">
<el-button
type="text"
@click="JumpLink(scope.row.memberId)"
v-if="!!scope.row.channel"
@click="linkDetail(scope.row.memberId)"
>查看</el-button>
<el-button
type="text"
......@@ -353,8 +352,8 @@ export default {
methods: {
linkDetail(memberId) {
this.$router.push({
path: "/wechatmemberDetail",
query: { memberId: memberId }
path: "/customerDetail",
query: { memberId }
});
},
getList(options) {
......@@ -525,13 +524,6 @@ export default {
cPage: 1
});
},
JumpLink(memberId) {
// 会员类型 1 微信会员 2 pos会员
this.$router.push({
path: "/customerDetail",
query: { memberId }
});
},
handleSizeChange(val) {
this.currentPage = 1;
this.pageSize = val;
......
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