Commit 58857b7b by xinla

CustomerDetail

1 parent 9ce888fa
...@@ -194,7 +194,7 @@ export default { ...@@ -194,7 +194,7 @@ export default {
goDetail(row) { goDetail(row) {
let { externalUserid, firstUserId: userId } = row let { externalUserid, firstUserId: userId } = row
this.$router.push({ this.$router.push({
path: '/operateCenter/customerManage/customerDetail', name: 'CustomerDetail',
query: { externalUserid, userId }, query: { externalUserid, userId },
}) })
}, },
......
...@@ -249,7 +249,7 @@ ...@@ -249,7 +249,7 @@
show-overflow-tooltip /> show-overflow-tooltip />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" @click="goDetail(scope.row.id)" v-if="scope.row.isCustomer"> <el-button type="text" @click="goDetail(scope.row)" v-if="scope.row.isCustomer">
客户详情 客户详情
</el-button> </el-button>
</template> </template>
...@@ -584,6 +584,13 @@ export default { ...@@ -584,6 +584,13 @@ export default {
this.loading = false this.loading = false
}) })
}, },
goRoute(row) {
let { externalUserid, firstUserId: userId } = row
this.$router.push({
name: 'CustomerDetail',
query: { externalUserid, userId },
})
},
}, },
mounted() { mounted() {
this.dealLength() this.dealLength()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!