Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
lm-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LM-APP
lm-app
Commits
7df54d48
Commit
7df54d48
authored
Aug 26, 2025
by
zhaoyanping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 消息跳转-5
parent
1cc37ac8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
11 deletions
+9
-11
App.vue
App.vue
+7
-9
pageMessage.vue
pages/index/components/pageMessage.vue
+2
-2
No files found.
App.vue
View file @
7df54d48
...
...
@@ -93,8 +93,6 @@
"androidx.core.app.NotificationManagerCompat"
);
const
notificationManager
=
NotificationManagerCompat
.
from
(
mainActivity
);
console
.
log
(
notificationManager
,
'111'
)
console
.
log
(
notificationManager
.
areNotificationsEnabled
(),
'222'
)
if
(
!
notificationManager
.
areNotificationsEnabled
())
{
uni
.
showModal
({
title
:
'提示'
,
...
...
@@ -115,8 +113,8 @@
}
}
});
}
else
{
console
.
log
(
'--------------------通知权限已开启--------------------'
);
}
else
{
console
.
log
(
'--------------------通知权限已开启--------------------'
);
}
},
initAliyunPushIos
()
{
...
...
@@ -180,7 +178,7 @@
this
.
goPageMsg
(
result
)
});
},
//通知消息点击跳转
goPageMsg
(
item
)
{
//付款审批
...
...
@@ -251,8 +249,8 @@
})
},
1000
);
}
//统筹采购合同
else
if
(
item
.
messageType
==
"coordinatePurchaseContract"
){
//统筹采购合同
,统筹采购-付款,统筹采购发票
else
if
(
item
.
messageType
==
"coordinatePurchaseContract"
||
item
.
messageType
==
"coordinatePurchasePayment"
||
item
.
messageType
==
"coordinatePurchaseInvoice"
){
setTimeout
(()
=>
{
uni
.
navigateTo
({
url
:
`/pages/contract/purchaseCoorContract?projectId=`
+
item
.
relationId
...
...
@@ -320,7 +318,7 @@
//采购合同 采购合同-付款 采购合同-发票
if
([
"purchaseInvoice"
,
"purchaseContract"
,
"purchasePayment"
].
includes
(
item
.
messageType
))
{
setTimeout
(()
=>
{
uni
.
reLaunch
({
uni
.
navigateTo
({
url
:
"/pages/contract/purchaseContract?projectId="
+
item
.
relationId
})
},
1000
);
...
...
@@ -439,4 +437,4 @@
.form-input
.zqs-select
.input
{
justify-content
:
flex-end
;
}
</
style
>
\ No newline at end of file
</
style
>
pages/index/components/pageMessage.vue
View file @
7df54d48
...
...
@@ -180,8 +180,8 @@ export default {
url
:
navigateToUrl
})
}
//统筹采购合同
else
if
(
item
.
messageType
==
"coordinatePurchaseContract"
){
//统筹采购合同
,统筹采购-付款,统筹采购发票
else
if
(
item
.
messageType
==
"coordinatePurchaseContract"
||
item
.
messageType
==
"coordinatePurchasePayment"
||
item
.
messageType
==
"coordinatePurchaseInvoice"
){
uni
.
navigateTo
({
url
:
`/pages/contract/purchaseCoorContract?projectId=`
+
item
.
relationId
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment