1002884655 3 anni fa
parent
commit
acfceec9b0

+ 1
- 1
src/components/ProjectListItem/index.jsx Vedi File

9
   const { Data = {} } = props
9
   const { Data = {} } = props
10
   const { uvList = [] } = Data
10
   const { uvList = [] } = Data
11
   return (
11
   return (
12
-    <view className='components ProjectListItem flex-h' onClick={() => { Taro.navigateTo({ url: `/pages/index/buildingDetail/index?id=${Data.buildingId}` }) }}>
12
+    <view className='components ProjectListItem flex-h' onClick={() => { Taro.navigateTo({ url: `/pages/index/buildingDetail/index?id=${Data.buildingId || Data.targetId}` }) }}>
13
       <view className='Img'>
13
       <view className='Img'>
14
         <view>
14
         <view>
15
           <Image mode='aspectFill' className='centerLabel' src={getImgURL((Data?.buildingListImg || []).length ? Data.buildingListImg[0].url : Data.activityImg || null)} />
15
           <Image mode='aspectFill' className='centerLabel' src={getImgURL((Data?.buildingListImg || []).length ? Data.buildingListImg[0].url : Data.activityImg || null)} />

+ 3
- 0
src/pages/index/buildingDynamic/index.scss Vedi File

67
                 font-weight: bold;
67
                 font-weight: bold;
68
                 margin-top: 0;
68
                 margin-top: 0;
69
               }
69
               }
70
+              &.desc {
71
+                line-height: 40px;
72
+              }
70
             }
73
             }
71
             >.Line {
74
             >.Line {
72
               width: 30px;
75
               width: 30px;

+ 13
- 4
src/subpackages/pages/marketing/changeVisit/index.jsx Vedi File

123
         Taro.showToast({ title: '姓名不能为空', icon: 'none', duration: 2000 })
123
         Taro.showToast({ title: '姓名不能为空', icon: 'none', duration: 2000 })
124
         return false
124
         return false
125
       }
125
       }
126
-      if (FormData.realtyConsultant === '') {
127
-        Taro.showToast({ title: '请选择内场接待', icon: 'none', duration: 2000 })
128
-        return false
129
-      }
126
+      // if (FormData.realtyConsultant === '') {
127
+      //   Taro.showToast({ title: '请选择内场接待', icon: 'none', duration: 2000 })
128
+      //   return false
129
+      // }
130
     } else if (CurrentStatusId === 4) { // 签约
130
     } else if (CurrentStatusId === 4) { // 签约
131
 
131
 
132
     }
132
     }
138
     if (CurrentStatusId === 3) {
138
     if (CurrentStatusId === 3) {
139
       fetch({ url: API_SURE_CHIP, method: 'put', payload: { customerId: id, customerPreparatory: { ...FormData, channelId: channelId === 'null' || channelId === null ? '' : channelId } } }).then(() => {
139
       fetch({ url: API_SURE_CHIP, method: 'put', payload: { customerId: id, customerPreparatory: { ...FormData, channelId: channelId === 'null' || channelId === null ? '' : channelId } } }).then(() => {
140
         Taro.showToast({ title: '修改成功', icon: 'none', duration: 2000 })
140
         Taro.showToast({ title: '修改成功', icon: 'none', duration: 2000 })
141
+        setTimeout(() => {
142
+          Taro.navigateBack({ delta: 1 })
143
+        }, 2000)
141
       })
144
       })
142
     } else if (CurrentStatusId === 4) {
145
     } else if (CurrentStatusId === 4) {
143
       let params = {}
146
       let params = {}
149
       params.dividendsName = `${FormData.dividendsName}|${FormData.dividendsPer}%`
152
       params.dividendsName = `${FormData.dividendsName}|${FormData.dividendsPer}%`
150
       fetch({ url: API_SURE_SIGN, method: 'put', payload: { customerId: id, customerSignatory: { ...params, channelId: channelId === 'null' || channelId === null ? '' : channelId } } }).then(() => {
153
       fetch({ url: API_SURE_SIGN, method: 'put', payload: { customerId: id, customerSignatory: { ...params, channelId: channelId === 'null' || channelId === null ? '' : channelId } } }).then(() => {
151
         Taro.showToast({ title: '修改成功', icon: 'none', duration: 2000 })
154
         Taro.showToast({ title: '修改成功', icon: 'none', duration: 2000 })
155
+        setTimeout(() => {
156
+          Taro.navigateBack({ delta: 1 })
157
+        }, 2000)
152
       })
158
       })
153
     } else if (CurrentStatusId === 5) {
159
     } else if (CurrentStatusId === 5) {
154
       let params = {}
160
       let params = {}
160
       params.dividendsName = `${FormData.dividendsName}|${FormData.dividendsPer}%`
166
       params.dividendsName = `${FormData.dividendsName}|${FormData.dividendsPer}%`
161
       fetch({ url: API_SURE_BUY, method: 'put', payload: { customerId: id, customerSignatory: { ...params, channelId: channelId === 'null' || channelId === null ? '' : channelId } } }).then(() => {
167
       fetch({ url: API_SURE_BUY, method: 'put', payload: { customerId: id, customerSignatory: { ...params, channelId: channelId === 'null' || channelId === null ? '' : channelId } } }).then(() => {
162
         Taro.showToast({ title: '修改成功', icon: 'none', duration: 2000 })
168
         Taro.showToast({ title: '修改成功', icon: 'none', duration: 2000 })
169
+        setTimeout(() => {
170
+          Taro.navigateBack({ delta: 1 })
171
+        }, 2000)
163
       })
172
       })
164
     }
173
     }
165
   }
174
   }