cloud-web-corejs 1.1.0-dev.52 → 1.1.0-dev.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -636,9 +636,15 @@ export default {
|
|
|
636
636
|
this.unDoWfRows =
|
|
637
637
|
res.objx && res.objx.records ? res.objx.records : [];
|
|
638
638
|
},
|
|
639
|
+
failMsg: false,
|
|
639
640
|
...(silent
|
|
640
641
|
? { errorMsg: false }
|
|
641
642
|
: { ignoreNetworkError: true, ignore502: true }),
|
|
643
|
+
fail: (res, response) => {
|
|
644
|
+
if (response && response.status == 200) {
|
|
645
|
+
this.$errorMsg(res);
|
|
646
|
+
}
|
|
647
|
+
},
|
|
642
648
|
});
|
|
643
649
|
},
|
|
644
650
|
getUnreadMessageNum(isLoading, silent = false) {
|
|
@@ -655,9 +661,15 @@ export default {
|
|
|
655
661
|
success: (res) => {
|
|
656
662
|
this.unreadMessageNum = res.objx || 0;
|
|
657
663
|
},
|
|
664
|
+
failMsg: false,
|
|
658
665
|
...(silent
|
|
659
666
|
? { errorMsg: false }
|
|
660
667
|
: { ignoreNetworkError: true, ignore502: true }),
|
|
668
|
+
fail: (res, response) => {
|
|
669
|
+
if (response && response.status == 200) {
|
|
670
|
+
this.$errorMsg(res);
|
|
671
|
+
}
|
|
672
|
+
},
|
|
661
673
|
});
|
|
662
674
|
},
|
|
663
675
|
wfhandleCallback(flag) {
|
|
@@ -877,9 +877,15 @@ export default {
|
|
|
877
877
|
this.unDoWfRows =
|
|
878
878
|
res.objx && res.objx.records ? res.objx.records : [];
|
|
879
879
|
},
|
|
880
|
+
failMsg: false,
|
|
880
881
|
...(silent
|
|
881
882
|
? { errorMsg: false }
|
|
882
883
|
: { ignoreNetworkError: true, ignore502: true }),
|
|
884
|
+
fail: (res, response) => {
|
|
885
|
+
if (response && response.status === 200) {
|
|
886
|
+
this.$errorMsg(res);
|
|
887
|
+
}
|
|
888
|
+
},
|
|
883
889
|
});
|
|
884
890
|
},
|
|
885
891
|
getUnreadMessageNum(isLoading, silent = false) {
|
|
@@ -896,9 +902,15 @@ export default {
|
|
|
896
902
|
success: (res) => {
|
|
897
903
|
this.unreadMessageNum = res.objx || 0;
|
|
898
904
|
},
|
|
905
|
+
failMsg: false,
|
|
899
906
|
...(silent
|
|
900
907
|
? { errorMsg: false }
|
|
901
908
|
: { ignoreNetworkError: true, ignore502: true }),
|
|
909
|
+
fail: (res, response) => {
|
|
910
|
+
if (response && response.status === 200) {
|
|
911
|
+
this.$errorMsg(res);
|
|
912
|
+
}
|
|
913
|
+
},
|
|
902
914
|
});
|
|
903
915
|
},
|
|
904
916
|
wfhandleCallback(flag) {
|