Explorar o código

Merge branch '变更负责人' into 测试

xiaohaizhao hai 1 ano
pai
achega
fa232bff7c

+ 3 - 2
packageA/contacts/detail.js

@@ -353,8 +353,9 @@ Page({
                                 mask: true
                             });
                             setTimeout(() => {
-                                that.getDetail(true);
-                                wx.navigateBack();
+                                wx.navigateBack({
+                                    delta: 2
+                                });
                             }, 300)
                         })
                     }

+ 5 - 3
packageA/contract/detail.js

@@ -781,11 +781,13 @@ Page({
                             });
                             wx.showToast({
                                 title: '更换成功!',
-                                icon: "none"
+                                icon: "none",
+                                mask: true
                             });
                             setTimeout(() => {
-                                that.getDetail();
-                                wx.navigateBack();
+                                wx.navigateBack({
+                                    delta: 2
+                                });
                             }, 300)
                         })
                     }

+ 3 - 2
packageA/offers/detail.js

@@ -582,8 +582,9 @@ Page({
                                 mask: true
                             });
                             setTimeout(() => {
-                                that.getDetail();
-                                wx.navigateBack();
+                                wx.navigateBack({
+                                    delta: 2
+                                });
                                 /*  getCurrentPages().forEach(v => {
                                      if (['packageA/project/index'].includes(v.__route__)) v.getList(true)
                                  }) */

+ 4 - 3
packageA/project/detail.js

@@ -689,7 +689,7 @@ Page({
                 if (confirm) wx.showModal({
                     title: '提示',
                     content: '是否参与该数据的后续工作',
-                           confirmText: "参与",
+                    confirmText: "参与",
                     cancelText: "不参与",
                     complete: (s) => {
                         _Http.basic({
@@ -708,8 +708,9 @@ Page({
                                 mask: true
                             });
                             if (res.msg == '成功') setTimeout(() => {
-                                that.getDetail(true);
-                                wx.navigateBack();
+                                wx.navigateBack({
+                                    delta: 2
+                                });
                             }, 300)
                         })
                     }

+ 5 - 3
packageA/saleClue/detail.js

@@ -446,11 +446,13 @@ Page({
                             });
                             wx.showToast({
                                 title: '更换成功!',
-                                icon: "none"
+                                icon: "none",
+                                mask: true
                             });
                             setTimeout(() => {
-                                that.getDetail();
-                                wx.navigateBack();
+                                wx.navigateBack({
+                                    delta: 2
+                                });
                                 /*  getCurrentPages().forEach(v => {
                                      if (['packageA/project/index'].includes(v.__route__)) v.getList(true)
                                  }) */

+ 8 - 6
packageA/setclient/detail.js

@@ -315,14 +315,16 @@ Page({
                             });
                             wx.showToast({
                                 title: '更换成功!',
-                                icon: "none"
+                                icon: "none",
+                                mask: true
                             });
+                            getCurrentPages().forEach(v => {
+                                if (['packageA/setclient/index'].includes(v.__route__)) v.getList(true)
+                            })
                             setTimeout(() => {
-                                that.getDetail();
-                                getCurrentPages().forEach(v => {
-                                    if (['packageA/setclient/index'].includes(v.__route__)) v.getList(true)
-                                })
-                                wx.navigateBack();
+                                wx.navigateBack({
+                                    delta: 2
+                                });
                             }, 300)
                         })
                     }

+ 4 - 2
pages/group/modules/list/index.js

@@ -104,10 +104,12 @@ Component({
                                         if (["packageA/project/index", "ackageA/setclient/index", "pages/group/index"].includes(v.__route__)) {
                                             v.getList(true);
                                         } else if (["packageA/setclient/detail", "packageA/project/detail"].includes(v.__route__)) {
-                                            v.getDetail()
+                                            // v.getDetail()
                                         }
                                     })
-                                    wx.navigateBack();
+                                    wx.navigateBack({
+                                        delta: 2
+                                    });
                                 }, 300)
                             })
                         }