Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
Project
Project
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
wangxuelai
wechatapp.shangjiadao.com
Commits
f7bee7cd
Commit
f7bee7cd
authored
Jan 16, 2020
by
sujie@126.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd\
parent
e632d624
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
15 deletions
+27
-15
customerdetail.js
business/pages/orgpotentialcustomer/customerdetail.js
+9
-3
customerdetail.json
business/pages/orgpotentialcustomer/customerdetail.json
+2
-1
customerdetail.wxml
business/pages/orgpotentialcustomer/customerdetail.wxml
+16
-11
No files found.
business/pages/orgpotentialcustomer/customerdetail.js
View file @
f7bee7cd
...
...
@@ -86,7 +86,7 @@ Page({
{
id
:
3
,
key
:
'finish'
,
name
:
'已
完成
'
name
:
'已
成交
'
},
{
id
:
4
,
...
...
@@ -103,7 +103,8 @@ Page({
clueDetail
:
''
,
selectStatusShow
:
false
,
recordsList
:[],
showCallDailog
:
false
showCallDailog
:
false
,
emptyPage
:
false
},
/**
...
...
@@ -186,7 +187,12 @@ Page({
}).
then
((
res
)
=>
{
const
{
code
,
data
}
=
res
;
this
.
setData
({
recordsList
:
data
.
list
recordsList
:
data
.
list
,
emptyPage
:
data
.
total
&&
data
.
total
>
0
?
false
:
true
})
}).
catch
((
res
)
=>
{
this
.
setData
({
emptyPage
:
true
})
})
},
...
...
business/pages/orgpotentialcustomer/customerdetail.json
View file @
f7bee7cd
{
"usingComponents"
:
{
"btn-drag"
:
"../../../components/btndrag"
"btn-drag"
:
"../../../components/btndrag"
,
"empty-content"
:
"../../../components/emptycontent"
},
"navigationBarTitleText"
:
"线索信息"
}
\ No newline at end of file
business/pages/orgpotentialcustomer/customerdetail.wxml
View file @
f7bee7cd
...
...
@@ -28,20 +28,25 @@
<view class="btn-item red-item" wx:if="{{clueDetail.status != 5 && clueDetail.status != 4}}" bindtap="signInvalid">标记无效</view>
</view>
</view>
<view class="recordsList-box"
wx:if="{{recordsList.length>0}}"
>
<view class="recordsList-box">
<view class="title">销售动态</view>
<view class="item-box" wx:for="{{recordsList}}" wx:key="{{index}}">
<view class="line-box">
<image class="bluedot" src="{{imageRoot}}2b/potentialcustomer/bluedot.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<view class="line" wx:if="{{(index+1) < recordsList.length}}"></view>
</view>
<view class="right-box">
<view class="time-box">{{item.created_at}}</view>
<view class="info-detail">
<!-- <image class="avatar" src="{{imageRoot}}2c/ucenter2/empty_avatar.png?{{imageVersion}}"></image> {{item.clue.name}} -->
{{item.content}}
<block wx:if="{{!emptyPage}}">
<view class="item-box" wx:for="{{recordsList}}" wx:key="{{index}}">
<view class="line-box">
<image class="bluedot" src="{{imageRoot}}2b/potentialcustomer/bluedot.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<view class="line" wx:if="{{(index+1) < recordsList.length}}"></view>
</view>
<view class="right-box">
<view class="time-box">{{item.created_at}}</view>
<view class="info-detail">
<!-- <image class="avatar" src="{{imageRoot}}2c/ucenter2/empty_avatar.png?{{imageVersion}}"></image> {{item.clue.name}} -->
{{item.content}}
</view>
</view>
</view>
</block>
<view class="empty" wx:else>
<empty-content text="还没有老师去跟进,赶快去写跟进吧~" emptyimg="" ></empty-content>
</view>
</view>
<btn-drag bind:btnDragEvent='goEditcluelog' tobottomDis='116' width='52' height="52" catchtouchmove="true">
...
...
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