Browse Source

静态页面

1002884655 3 years ago
parent
commit
eaee38e9f7

+ 15
- 9
src/subpackages/pages/marketing/components/ResidentListItem/index.jsx View File

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