xujing 5 years ago
parent
commit
e716201822

+ 2
- 3
src/onlineSelling/pages/raiseMoney/index.js View File

646
       const paramsId = this.$router.params.raiseRecordId || record.raiseRecordId
646
       const paramsId = this.$router.params.raiseRecordId || record.raiseRecordId
647
       return new Promise((resolve, reject) => {
647
       return new Promise((resolve, reject) => {
648
         raiseOffline(paramsId).then(res => {
648
         raiseOffline(paramsId).then(res => {
649
-          this.getRaiseDetail(this.$router.params.raiseRecordId || record.raiseRecordId)
650
           resolve()
649
           resolve()
651
         }).catch(err => {
650
         }).catch(err => {
652
           reject()
651
           reject()
670
           paySign: res.sign,
669
           paySign: res.sign,
671
 
670
 
672
           success(res) {
671
           success(res) {
673
-            this.getRaiseDetail(this.$router.params.raiseRecordId || record.raiseRecordId)
674
             // 最后
672
             // 最后
675
             resolve()
673
             resolve()
676
           },
674
           },
876
           this.paying = true
874
           this.paying = true
877
 
875
 
878
           this.makePay().then(() => {
876
           this.makePay().then(() => {
879
-            this.loadInfo(salesBatchId, raiseRecordId)
877
+            const { record = {} } = this.state
878
+            this.getRaiseDetail(this.$router.params.raiseRecordId || record.raiseRecordId)
880
             this.setState({
879
             this.setState({
881
               current: current + 1
880
               current: current + 1
882
             })
881
             })

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

11
     if (from == 'raiseProfile') {
11
     if (from == 'raiseProfile') {
12
       console.log('!!!!')
12
       console.log('!!!!')
13
       this.tk = setInterval(() => {
13
       this.tk = setInterval(() => {
14
-        contractUser().then(res => {
14
+        contractUser({ raiseRecordId, showToast: false }).then(res => {
15
           console.log(res, res.status, '每5秒请求一次!!!!')
15
           console.log(res, res.status, '每5秒请求一次!!!!')
16
           if (res.status != 0 && res.status != 1) {
16
           if (res.status != 0 && res.status != 1) {
17
             const { id } = this.$router.params
17
             const { id } = this.$router.params