@@ -353,8 +353,9 @@ Page({
mask: true
});
setTimeout(() => {
- that.getDetail(true);
- wx.navigateBack();
+ wx.navigateBack({
+ delta: 2
+ });
}, 300)
})
}
@@ -781,11 +781,13 @@ Page({
wx.showToast({
title: '更换成功!',
- icon: "none"
+ icon: "none",
+ mask: true
- that.getDetail();
@@ -582,8 +582,9 @@ Page({
/* getCurrentPages().forEach(v => {
if (['packageA/project/index'].includes(v.__route__)) v.getList(true)
}) */
@@ -689,7 +689,7 @@ Page({
if (confirm) wx.showModal({
title: '提示',
content: '是否参与该数据的后续工作',
- confirmText: "参与",
+ confirmText: "参与",
cancelText: "不参与",
complete: (s) => {
_Http.basic({
@@ -708,8 +708,9 @@ Page({
if (res.msg == '成功') setTimeout(() => {
@@ -446,11 +446,13 @@ Page({
@@ -315,14 +315,16 @@ Page({
+ getCurrentPages().forEach(v => {
+ if (['packageA/setclient/index'].includes(v.__route__)) v.getList(true)
+ })
- getCurrentPages().forEach(v => {
- if (['packageA/setclient/index'].includes(v.__route__)) v.getList(true)
- })
@@ -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()