Commit 0a507de3 by 李伟康

commit

1 parent 182e1d66
......@@ -57,7 +57,7 @@
</template>
<script type='text/ecmascript-6'>
import { groupCustomer } from '@/api'
import { groupCustomer, wxConfig } from '@/api'
export default {
name: '',
data() {
......@@ -69,7 +69,9 @@ export default {
created() {
this.init()
},
mounted() {},
mounted() {
wxConfig.init(['openUserProfile']).then(() => {})
},
methods: {
onReachBottom() {
this.$refs.scrollView.loading = false
......@@ -92,11 +94,18 @@ export default {
//打开个人信息页
openUserProfile({ userid }) {
console.log(userid)
this.$router.push({
name: 'customer.detail',
query: {
id: userid
}
// this.$router.push({
// name: 'customer.detail',
// query: {
// id: userid
// }
// })
let seach = {
userid, //参与会话的企业成员列表,格式为userid1;userid2;...,用分号隔开。
type: 2
}
wxConfig.openUserProfile(seach).then(res => {
// console.log(res)
})
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!