|
@@ -41,7 +41,7 @@ export default function ResidentListItem (props) {
|
41
|
41
|
<text className='Status'>已报备</text>
|
42
|
42
|
} */}
|
43
|
43
|
{
|
44
|
|
- !data.visitStatus &&
|
|
44
|
+ !data.visitStatus && Status - 0 !== 3 &&
|
45
|
45
|
<text className='Status' onClick={() => { Taro.navigateTo({ url: `/subpackages/pages/marketing/sureVisit/index?id=${data.id}` }) }}>到访确认</text>
|
46
|
46
|
}
|
47
|
47
|
</view>
|
|
@@ -51,35 +51,41 @@ export default function ResidentListItem (props) {
|
51
|
51
|
<text>{data.phone}</text>
|
52
|
52
|
</view>
|
53
|
53
|
{
|
54
|
|
- data.customerStatus - 0 === 1 &&
|
|
54
|
+ Status - 0 === 3 &&
|
|
55
|
+ <Block>
|
|
56
|
+ <text className='Type'>无效</text>
|
|
57
|
+ </Block>
|
|
58
|
+ }
|
|
59
|
+ {
|
|
60
|
+ data.customerStatus - 0 === 1 && Status - 0 !== 3 &&
|
55
|
61
|
<Block>
|
56
|
62
|
<Image mode='heightFix' src={require('@/assets/mine-icon29.png')}></Image>
|
57
|
63
|
<text className='Type'>报备</text>
|
58
|
64
|
</Block>
|
59
|
65
|
}
|
60
|
66
|
{
|
61
|
|
- data.customerStatus - 0 === 2 &&
|
|
67
|
+ data.customerStatus - 0 === 2 && Status - 0 !== 3 &&
|
62
|
68
|
<Block>
|
63
|
69
|
<Image mode='heightFix' src={require('@/assets/mine-icon30.png')}></Image>
|
64
|
70
|
<text className='Type'>到访</text>
|
65
|
71
|
</Block>
|
66
|
72
|
}
|
67
|
73
|
{
|
68
|
|
- data.customerStatus - 0 === 3 &&
|
|
74
|
+ data.customerStatus - 0 === 3 && Status - 0 !== 3 &&
|
69
|
75
|
<Block>
|
70
|
76
|
<Image mode='heightFix' src={require('@/assets/mine-icon33.png')}></Image>
|
71
|
77
|
<text className='Type'>认筹</text>
|
72
|
78
|
</Block>
|
73
|
79
|
}
|
74
|
80
|
{
|
75
|
|
- data.customerStatus - 0 === 4 &&
|
|
81
|
+ data.customerStatus - 0 === 4 && Status - 0 !== 3 &&
|
76
|
82
|
<Block>
|
77
|
83
|
<Image mode='heightFix' src={require('@/assets/mine-icon32.png')}></Image>
|
78
|
84
|
<text className='Type'>签约</text>
|
79
|
85
|
</Block>
|
80
|
86
|
}
|
81
|
87
|
{
|
82
|
|
- data.customerStatus - 0 === 5 &&
|
|
88
|
+ data.customerStatus - 0 === 5 && Status - 0 !== 3 &&
|
83
|
89
|
<Block>
|
84
|
90
|
<Image mode='heightFix' src={require('@/assets/mine-icon31.png')}></Image>
|
85
|
91
|
<text className='Type'>结佣</text>
|
|
@@ -101,17 +107,17 @@ export default function ResidentListItem (props) {
|
101
|
107
|
</view>
|
102
|
108
|
<view className='Opt'>
|
103
|
109
|
{
|
104
|
|
- !(data.type === 'report' && data.channelStatus - 0 === 3) &&
|
|
110
|
+ !(data.type === 'report' && data.channelStatus - 0 === 3) && Status - 0 !== 3 &&
|
105
|
111
|
<text className='active' onClick={() => { Taro.navigateTo({ url: `/subpackages/pages/marketing/changeVisit/index?id=${data.id}&name=${data.name}&buildingId=${data.buildingId}&type=${data.type}&channelId=${data.channelId}` }) }}>更新交易</text>
|
106
|
112
|
}
|
107
|
113
|
{
|
108
|
114
|
data.type === 'report' && data.channelStatus - 0 === 1 && Status - 0 !== 3 &&
|
109
|
115
|
<text onClick={ToUnVisable}>无效</text>
|
110
|
116
|
}
|
111
|
|
- {
|
|
117
|
+ {/* {
|
112
|
118
|
data.type === 'report' && Status - 0 === 3 &&
|
113
|
119
|
<text>无效</text>
|
114
|
|
- }
|
|
120
|
+ } */}
|
115
|
121
|
</view>
|
116
|
122
|
</view>
|
117
|
123
|
)
|