|
@@ -150,6 +150,19 @@ const socketInit = () => {
|
|
|
}
|
|
|
if (res.type == 2) {
|
|
|
msgCount.value = res.count * 1;
|
|
|
+ proxy
|
|
|
+ .post("/pushInfo/page", {
|
|
|
+ pageNum: 1,
|
|
|
+ pageSize: 9999,
|
|
|
+ whetherFlow: 0,
|
|
|
+ pushRead: 0,
|
|
|
+ })
|
|
|
+ .then((res) => {
|
|
|
+ if (res.data.rows && res.data.rows.length > 0) {
|
|
|
+ let list = res.data.rows.filter((x) => x.businessType == 10);
|
|
|
+ msgCountOne.value = list.length;
|
|
|
+ }
|
|
|
+ });
|
|
|
}
|
|
|
if (res.type == 3) {
|
|
|
// ElNotification({
|