许静 5 years ago
parent
commit
b13454a26f

BIN
chengjiaojinfang.zip View File


+ 4
- 4
config/dev.js View File

5
   defineConstants: {
5
   defineConstants: {
6
     // HOST: '"http://47.101.36.130:8085"',//测试
6
     // HOST: '"http://47.101.36.130:8085"',//测试
7
     // WSS_HOST: '"wss://47.101.36.130:8085"',
7
     // WSS_HOST: '"wss://47.101.36.130:8085"',
8
-    //HOST:  '"https://dev.jinchengjiaye.com"',//测试
9
-    //WSS_HOST: '"wss://dev.jinchengjiaye.com"',
8
+    // HOST:  '"https://dev.jinchengjiaye.com"',//测试
9
+    // WSS_HOST: '"wss://dev.jinchengjiaye.com"',
10
     // HOST: '"https://lt.pawoma.cn"',
10
     // HOST: '"https://lt.pawoma.cn"',
11
     // WSS_HOST: '"wss://lt.pawoma.cn"',
11
     // WSS_HOST: '"wss://lt.pawoma.cn"',
12
-    // HOST: '"http://192.168.0.84:8080"',
13
-    // WSS_HOST: '"ws://192.168.0.84:8080"',
12
+    HOST: '"http://192.168.0.84:8080"',
13
+    WSS_HOST: '"ws://192.168.0.84:8080"',
14
   },
14
   },
15
   weapp: {},
15
   weapp: {},
16
   h5: {}
16
   h5: {}

+ 5
- 3
src/pages/activity/detail/index.js View File

280
     }
280
     }
281
 
281
 
282
     signupActivity(payload).then(res => {
282
     signupActivity(payload).then(res => {
283
-      Taro.showToast({
284
-        title: '报名成功'
285
-      })
283
+      if (res) {
284
+        Taro.showToast({
285
+          title: '报名成功'
286
+        })
287
+      }
286
       this.setState({
288
       this.setState({
287
         isSign: true,
289
         isSign: true,
288
         canChoose: 'none'
290
         canChoose: 'none'

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

159
     })
159
     })
160
   }
160
   }
161
   BindInfo(e) {
161
   BindInfo(e) {
162
+    console.log(e, "8888888888")
162
     console.log(e.currentTarget.dataset.id)
163
     console.log(e.currentTarget.dataset.id)
163
     switch (e.currentTarget.dataset.id) {
164
     switch (e.currentTarget.dataset.id) {
164
       case 'name':
165
       case 'name':
270
       status: 1
271
       status: 1
271
     }
272
     }
272
     recommendClient(param).then(res => {
273
     recommendClient(param).then(res => {
273
-      Taro.showToast({
274
-        title: '提交成功'
275
-      })
274
+      if (res) {
275
+        Taro.showToast({
276
+          title: '提交成功'
277
+        })
278
+      }
276
       this.clearInputEvent()
279
       this.clearInputEvent()
277
-      Taro.navigateTo({ url: '/pages/agent/client/index' })//测试用
280
+      setTimeout(() => {
281
+        Taro.navigateTo({ url: '/pages/agent/client/index' })//测试用
282
+      }, 700)
278
     })
283
     })
279
-
280
   }
284
   }
281
   // 性别
285
   // 性别
282
   bindSexChange(e) {
286
   bindSexChange(e) {

+ 0
- 8
src/pages/person/customerAnalysis/myCustomer.js View File

277
       this.setState({
277
       this.setState({
278
         customerDetail: res || {}
278
         customerDetail: res || {}
279
       })
279
       })
280
-      const params = {
281
-        recordType: '添加跟进',
282
-        customerSex: this.state.customerDetail.sex,
283
-        customerId,
284
-      }
285
       Taro.showToast({
280
       Taro.showToast({
286
         title: '完善信息成功',
281
         title: '完善信息成功',
287
         icon: 'none'
282
         icon: 'none'
288
       })
283
       })
289
-      addFollowRecord(params).then(res => {
290
-        this.queryFollowRecord(1)
291
-      })
292
     })
284
     })
293
     this.setState({
285
     this.setState({
294
       baseVisible: false,
286
       baseVisible: false,