Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-customer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3f656831
authored
Dec 02, 2021
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
21eefaac
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
src/api/groupTag.js
src/api/wxConfig.js
src/views/customer/information.vue
src/api/groupTag.js
View file @
3f65683
// 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
...
...
src/api/wxConfig.js
View file @
3f65683
...
@@ -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
)
=>
{
...
...
src/views/customer/information.vue
View file @
3f65683
<
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
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment