Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
68dc8d7a
Commit
68dc8d7a
authored
Oct 31, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
回访
parent
0696037b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
19 deletions
+44
-19
project.config.json
src/project.config.json
+1
-1
enlistInfo.js
src/shoppingGuid/page/pages/enlistInfo/enlistInfo.js
+39
-0
enlistInfo.wxml
src/shoppingGuid/page/pages/enlistInfo/enlistInfo.wxml
+4
-18
No files found.
src/project.config.json
View file @
68dc8d7a
...
@@ -378,7 +378,7 @@
...
@@ -378,7 +378,7 @@
"id"
:
50
,
"id"
:
50
,
"name"
:
"销售任务详情"
,
"name"
:
"销售任务详情"
,
"pathName"
:
"shoppingGuid/page/pages/saleTaskInfo/saleTaskInfo"
,
"pathName"
:
"shoppingGuid/page/pages/saleTaskInfo/saleTaskInfo"
,
"query"
:
"id=63
847232849746739
2&type=1"
,
"query"
:
"id=63
951017362236211
2&type=1"
,
"scene"
:
null
"scene"
:
null
},
},
{
{
...
...
src/shoppingGuid/page/pages/enlistInfo/enlistInfo.js
View file @
68dc8d7a
...
@@ -22,7 +22,46 @@ wxService.page({
...
@@ -22,7 +22,46 @@ wxService.page({
onReady
:
function
()
{
onReady
:
function
()
{
},
},
//回访
onTapRecall
(
e
)
{
const
currentEnv
=
wx
.
getStorageSync
(
'_qyWeChat'
);
// wmfen5DwAA5WDE7CBEa_qgIva_cUlAyw 杨辰的外部联系人userid
if
(
currentEnv
)
{
let
guidInfo
=
wx
.
getStorageSync
(
'guidBaseInfo'
),
guidQiyeUserId
=
guidInfo
.
member
.
qiyeInfo
.
userid
;
let
qiyeExternalUserid
=
e
.
currentTarget
.
dataset
.
item
.
qiyeExternalUserid
;
if
(
!
qiyeExternalUserid
)
{
wx
.
showToast
({
title
:
'该会员还不是您的好友,请先加好友!'
,
icon
:
'none'
});
return
;
}
wx
.
qy
.
openEnterpriseChat
({
userIds
:
guidQiyeUserId
,
//参与会话的企业成员列表,格式为userid1;userid2;...,用分号隔开。
externalUserIds
:
qiyeExternalUserid
,
// 参与会话的外部联系人列表,格式为userId1;userId2;…,用分号隔开。
groupName
:
''
,
// 必填,会话名称。单聊时该参数传入空字符串""即可。
success
:
function
(
res
)
{
},
fail
:
function
(
res
)
{
// 失败处理
wx
.
showToast
({
title
:
'创建会话失败,请稍后再试!'
,
icon
:
'none'
});
}
});
}
else
{
wx
.
showToast
({
title
:
'请在企业微信中使用'
,
icon
:
'none'
});
}
},
/**
/**
* 生命周期函数--监听页面显示
* 生命周期函数--监听页面显示
*/
*/
...
...
src/shoppingGuid/page/pages/enlistInfo/enlistInfo.wxml
View file @
68dc8d7a
...
@@ -45,31 +45,17 @@
...
@@ -45,31 +45,17 @@
</view>
</view>
<!-- 列表 -->
<!-- 列表 -->
<view class='list' wx:if="{{enlistList.recruitInfo.length}}">
<view class='list' wx:if="{{enlistList.recruitInfo.length}}">
<block wx:for="{{enlistList.recruitInfo}}">
<block wx:for="{{enlistList.recruitInfo}}"
wx:key="{{index}}" wx:for-item="item"
>
<view class='item'>
<view class='item'>
<view class='u-info'>
<view class='u-info'>
<image src='https://bigaka-xie.oss-cn-shanghai.aliyuncs.com/biaka_default_u_logo.png' mode='aspectFit'></image>
<image src='https://bigaka-xie.oss-cn-shanghai.aliyuncs.com/biaka_default_u_logo.png' mode='aspectFit'></image>
<text>
139xxxx2453
</text>
<text>
{{item.mobile}}
</text>
</view>
</view>
<view class='item-btn'>立即回访</view>
<view class='item-btn' data-item="{{item}}" bindtap='onTapRecall'>立即回访</view>
</view>
<view class='item'>
<view class='u-info'>
<image src='https://bigaka-xie.oss-cn-shanghai.aliyuncs.com/biaka_default_u_logo.png' mode='aspectFit'></image>
<text>139xxxx2453</text>
</view>
<view class='item-btn'>立即回访</view>
</view>
</view>
<view class='item'>
<view class='u-info'>
<image src='https://bigaka-xie.oss-cn-shanghai.aliyuncs.com/biaka_default_u_logo.png' mode='aspectFit'></image>
<text>139xxxx2453</text>
</view>
<view class='item-btn'>立即回访</view>
</view>
</block>
</block>
</view>
</view>
<view wx:else class='u-info no-order'>暂无回访列表</view>
<view wx:else class='u-info no-order'>暂无回访列表</view>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment