许静 5 years ago
parent
commit
4418aece01

+ 1
- 1
src/pages/activity/detail/assemble.js View File

367
           icon: 'none'
367
           icon: 'none'
368
         })
368
         })
369
         setTimeout(() => {
369
         setTimeout(() => {
370
-          this.initPageData()
370
+          this.loadDetail()
371
         }, 500)
371
         }, 500)
372
 
372
 
373
         this.setState({ submitting: false })
373
         this.setState({ submitting: false })

+ 1
- 1
src/pages/activity/detail/assistance.js View File

368
           icon: 'none'
368
           icon: 'none'
369
         })
369
         })
370
         setTimeout(() => {
370
         setTimeout(() => {
371
-          this.initPageData()
371
+          this.loadDetail()
372
         }, 500)
372
         }, 500)
373
         this.setState({ submitting: false })
373
         this.setState({ submitting: false })
374
       })
374
       })

+ 6
- 6
src/pages/agent/recommend/index.js View File

62
     // const defaultHouseVal = Taro.getStorageSync('targetHouse')
62
     // const defaultHouseVal = Taro.getStorageSync('targetHouse')
63
 
63
 
64
     const { type } = this.$router.params
64
     const { type } = this.$router.params
65
-   
65
+
66
     this.setState({
66
     this.setState({
67
       reType: type,
67
       reType: type,
68
-      sex: '',
68
+
69
     }, () => {
69
     }, () => {
70
       console.log(this.state.sex, "sex")
70
       console.log(this.state.sex, "sex")
71
       console.log('buildingName' + this.props.proList.records[0].buildingName)
71
       console.log('buildingName' + this.props.proList.records[0].buildingName)
82
             })
82
             })
83
           }
83
           }
84
         })
84
         })
85
-
86
       }
85
       }
87
     })
86
     })
88
 
87
 
114
   }
113
   }
115
   loadAgentList() {
114
   loadAgentList() {
116
     // //获取楼盘列表
115
     // //获取楼盘列表
117
-    // 获取置业顾问列表
116
+
118
     const params = {
117
     const params = {
119
       pageNumber: 1,
118
       pageNumber: 1,
120
-      pageSize: 50
119
+      pageSize: 50,
120
+      cityId: this.$router.params.cityId || ''
121
     }
121
     }
122
     getItemList(params).then(res => {
122
     getItemList(params).then(res => {
123
       res.records.unshift({ buildingName: '请选择', orderNo: 0 })
123
       res.records.unshift({ buildingName: '请选择', orderNo: 0 })
191
       name: '',
191
       name: '',
192
       phone: '',
192
       phone: '',
193
       sexID: 0,
193
       sexID: 0,
194
-      sex: '',
194
+      // sex: '',
195
       floorID: 0,
195
       floorID: 0,
196
       floor: '',
196
       floor: '',
197
       adviserID: 0,
197
       adviserID: 0,

+ 5
- 5
src/pages/im/index.js View File

377
       console.log('发送成功')
377
       console.log('发送成功')
378
 
378
 
379
       this.appendData(payload)
379
       this.appendData(payload)
380
-      this.setState({
381
-        inputText: '',
382
-        imageFile: '',
383
-        msgList: list
384
-      }, this.toBottom)
380
+      // this.setState({
381
+      //   inputText: '',
382
+      //   imageFile: '',
383
+      //   msgList: list
384
+      // }, this.toBottom)
385
     })
385
     })
386
   }
386
   }
387
 
387
 

+ 1
- 1
src/pages/person/personDetail/editDetail/index.js View File

89
       this.Alert('请输入电话号码')
89
       this.Alert('请输入电话号码')
90
       return;
90
       return;
91
     }
91
     }
92
-    if (!(/^1[3|4|5|7|8][0-9]\d{4,8}$/.test(this.state.phone)) || this.state.phone.length != 11) {
92
+    if (!(/^1[3|4|5|7|8|9][0-9]\d{4,8}$/.test(this.state.phone)) || this.state.phone.length != 11) {
93
       this.Alert('请输入正确的手机号码');
93
       this.Alert('请输入正确的手机号码');
94
       return false;
94
       return false;
95
     }
95
     }

+ 2
- 1
src/pages/project/index.js View File

380
       })
380
       })
381
     } else {
381
     } else {
382
       Taro.navigateTo({
382
       Taro.navigateTo({
383
-        url: `/pages/agent/recommend/index?type=index` 
383
+        url: `/pages/agent/recommend/index?type=index&cityId=` +this.props.curCity.id
384
       })
384
       })
385
+      console.log(this.props.curCity.id,"this.props.curCity.id")
385
     }
386
     }
386
   }
387
   }
387
   toMapHouse() {
388
   toMapHouse() {

+ 1
- 1
src/pages/report/detail/index.js View File

163
       this.Alert("请输入客户电话");
163
       this.Alert("请输入客户电话");
164
       return false;
164
       return false;
165
     }
165
     }
166
-    if (!(/^1[3|4|5|7|8][0-9]\d{4,8}$/.test(phone)) || phone.length != 11) {
166
+    if (!(/^1[3|4|5|7|8|9][0-9]\d{4,8}$/.test(phone)) || phone.length != 11) {
167
       this.Alert('请输入正确的手机号码');
167
       this.Alert('请输入正确的手机号码');
168
       return false;
168
       return false;
169
     }
169
     }