Commit 3f656831 by 王志慧

commit

1 parent 21eefaac
// const url = 'http://192.168.2.42:8064//rop-scrm-entmicro/router' const url = 'http://192.168.2.42:8064/rop-scrm-entmicro/router'
const url = '/rop-scrm-entmicro/router' // const url = '/rop-scrm-entmicro/router'
const returnAll = true const returnAll = true
......
...@@ -284,6 +284,7 @@ const WxConfig = { ...@@ -284,6 +284,7 @@ const WxConfig = {
}, },
/** 打开个人信息页接口 */ /** 打开个人信息页接口 */
openUserProfile(params) { openUserProfile(params) {
console.log(params)
// "type": 1, //1表示该userid是企业成员,2表示该userid是外部联系人 // "type": 1, //1表示该userid是企业成员,2表示该userid是外部联系人
// "userid": "wmEAlECwAAHrbWYDetiu3Af13xlYDAAA" //可以是企业成员,也可以是外部联系人 // "userid": "wmEAlECwAAHrbWYDetiu3Af13xlYDAAA" //可以是企业成员,也可以是外部联系人
return new Promise((resolve) => { return new Promise((resolve) => {
......
<template> <template>
<div class="layout"> <div class="layout">
<div class="tips flex">请完善以下客户信息</div> <div class="tips flex">请完善以下客户信息</div>
<template> <template v-if="customerList.length > 0">
<template>
<scroll-view class="content" @ReachBottom="onReachBottom" ref="scrollView"> <scroll-view class="content" @ReachBottom="onReachBottom" ref="scrollView">
<template v-for="(item, index) in customerList"> <template v-for="(item, index) in customerList">
<div :key="index" class="item flex" @click="openUserProfile(item)"> <div :key="index" class="item flex" @click="openUserProfile(item)">
...@@ -13,9 +12,9 @@ ...@@ -13,9 +12,9 @@
</div> </div>
<div class="info"> <div class="info">
<div class="phone flex name">{{ item.customerName }}</div> <div class="phone flex name">{{ item.customerName }}</div>
<div class="tags flex"> <div class="tags flex" v-if="item.labels.length > 0">
<template v-for="(i, ind) in 5"> <template v-for="(i, ind) in item.labels">
<div :key="ind" class="tag text-center">{{ index }}{{ ind }}恒河猴</div> <div :key="ind" class="tag text-center">{{ i.labelValue }}</div>
</template> </template>
</div> </div>
</div> </div>
...@@ -24,7 +23,7 @@ ...@@ -24,7 +23,7 @@
</template> </template>
</scroll-view> </scroll-view>
</template> </template>
</template> <empty v-else description="暂无数据" />
</div> </div>
</template> </template>
...@@ -64,7 +63,7 @@ export default { ...@@ -64,7 +63,7 @@ export default {
openUserProfile(data) { openUserProfile(data) {
let seach = { let seach = {
userIds: data.userid, //参与会话的企业成员列表,格式为userid1;userid2;...,用分号隔开。 userIds: data.userid, //参与会话的企业成员列表,格式为userid1;userid2;...,用分号隔开。
type: 1 type: 2
} }
console.log(seach) console.log(seach)
window.$wx = wxConfig window.$wx = wxConfig
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!