Commit 58857b7b by xinla

CustomerDetail

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