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
ae2554e9
Commit
ae2554e9
authored
Aug 26, 2025
by
zhaoyanping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 消息跳转-4
parent
ffa90c28
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
5 deletions
+27
-5
App.vue
App.vue
+9
-1
purchaseCoorContract.vue
pages/contract/purchaseCoorContract.vue
+9
-1
pageMessage.vue
pages/index/components/pageMessage.vue
+9
-3
No files found.
App.vue
View file @
ae2554e9
...
...
@@ -177,7 +177,7 @@
//离线推送的时候 点击消息的回调函数
aliyunThirdPush
.
registerThirdPush
({},
result
=>
{
console
.
log
(
"离线厂商通道消息 : "
+
JSON
.
stringify
(
result
));
// this.goPageMsg(result.extra
)
this
.
goPageMsg
(
result
)
});
},
...
...
@@ -251,6 +251,14 @@
})
},
1000
);
}
//统筹采购合同
else
if
(
item
.
messageType
==
"coordinatePurchaseContract"
){
setTimeout
(()
=>
{
uni
.
navigateTo
({
url
:
`/pages/contract/purchaseCoorContract?projectId=`
+
item
.
relationId
})
},
1000
);
}
//卖方配置
else
if
(
item
.
messageType
==
"sellerConfig"
)
{
setTimeout
(()
=>
{
...
...
pages/contract/purchaseCoorContract.vue
View file @
ae2554e9
...
...
@@ -237,6 +237,9 @@ export default {
}
,
}
,
onLoad
(
options
)
{
if
(
options
.
projectId
)
{
this
.
queryParams
.
projectId
=
options
.
projectId
}
if
(
options
.
projectId
&&
getApp
().
globalData
.
projectData
)
{
this
.
queryParams
.
projectId
=
options
.
projectId
this
.
activeProject
=
{
...
...
@@ -333,7 +336,12 @@ export default {
}
}
)
this
.
projectList
=
sortByPinyin
(
projectList
);
this
.
activeProject
.
value
=
this
.
projectList
[
0
].
value
if
(
this
.
queryParams
.
projectId
)
{
const
activeProjectItem
=
this
.
projectList
.
find
(
item
=>
item
.
bankProjectId
==
this
.
queryParams
.
projectId
)
this
.
activeProject
.
value
=
activeProjectItem
.
value
}
else
{
this
.
activeProject
.
value
=
this
.
projectList
[
0
].
value
}
this
.
getProjectInfo
()
}
);
}
,
...
...
pages/index/components/pageMessage.vue
View file @
ae2554e9
...
...
@@ -158,7 +158,7 @@ export default {
url
:
`/pages/other/approvalDetails?status=
${
res
.
data
.
status
}
&instanceId=
${
res
.
data
.
instanceId
}
&applyNo=
${
res
.
data
.
applyNo
}
&moduleName=详情`
})
})
}
//执行预算 contractBudget
else
if
(
item
.
messageType
==
"contractBudget"
)
{
...
...
@@ -180,13 +180,19 @@ export default {
url
:
navigateToUrl
})
}
//统筹采购合同
else
if
(
item
.
messageType
==
"coordinatePurchaseContract"
){
uni
.
navigateTo
({
url
:
`/pages/contract/purchaseCoorContract?projectId=`
+
item
.
relationId
})
}
//卖方配置
else
if
(
item
.
messageType
==
"sellerConfig"
)
{
uni
.
navigateTo
({
url
:
"/pages/contract/sellersConfig"
})
}
// 其他审批
// 其他审批
else
if
(
item
.
messageType
==
"workflowModule"
||
item
.
messageType
==
"wfNodeApprovePass"
)
{
const
findModule
=
this
.
moduleList
.
find
(
e
=>
e
.
moduleName
==
item
.
messageSource
)
console
.
log
(
item
.
messageSource
)
...
...
@@ -204,7 +210,7 @@ export default {
url
:
`/pages/other/approvalIndex?moduleId=
${
findModule
.
moduleId
}
&moduleName=
${
findModule
.
moduleName
}
`
})
}
// 卖方配置 审批详情
// 卖方配置 审批详情
else
if
(
item
.
messageType
==
"wfCcSellerConfig"
){
uni
.
navigateTo
({
url
:
`/pages/contract/sellersConfig?to=`
+
item
.
instanceId
...
...
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