|
|
|
|
@ -485,16 +485,6 @@ export default {
|
|
|
|
|
type: 2,
|
|
|
|
|
},
|
|
|
|
|
(res) => {
|
|
|
|
|
// if (res.total > 0) {
|
|
|
|
|
// uni.setTabBarBadge({
|
|
|
|
|
// index: 2,
|
|
|
|
|
// text: String(res.total),
|
|
|
|
|
// });
|
|
|
|
|
// } else {
|
|
|
|
|
// uni.removeTabBarBadge({
|
|
|
|
|
// index: 2,
|
|
|
|
|
// });
|
|
|
|
|
// }
|
|
|
|
|
that.waitNum_ups = res.total;
|
|
|
|
|
that.getDetail();
|
|
|
|
|
}
|
|
|
|
|
@ -762,13 +752,13 @@ export default {
|
|
|
|
|
console.log("获取待处理数量:", res);
|
|
|
|
|
if (res.approvePassHasNotRed > 0) {
|
|
|
|
|
uni.setTabBarBadge({
|
|
|
|
|
index: 1,
|
|
|
|
|
index: 3,
|
|
|
|
|
text: String(res.approvePassHasNotRed),
|
|
|
|
|
});
|
|
|
|
|
that.readed = false;
|
|
|
|
|
} else {
|
|
|
|
|
uni.removeTabBarBadge({
|
|
|
|
|
index: 1,
|
|
|
|
|
index: 3,
|
|
|
|
|
});
|
|
|
|
|
that.readed = true;
|
|
|
|
|
}
|
|
|
|
|
|