消息查看详情
parent
6aa85fd68d
commit
e615d92370
|
|
@ -71,12 +71,13 @@ const onClick = () => {
|
||||||
|
|
||||||
if (type == 'approval') {
|
if (type == 'approval') {
|
||||||
//详情
|
//详情
|
||||||
if (additional.workflow_check) {
|
if (additional.subject) {
|
||||||
const { subject_id, subject_type } = additional.workflow_check
|
const subject_type = additional.subject_type
|
||||||
|
const { id } = additional.subject
|
||||||
const path = pageData[subject_type].path
|
const path = pageData[subject_type].path
|
||||||
if (path) {
|
if (path) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `${path}?id=${subject_id}&type=${subject_type}`,
|
url: `${path}?id=${id}&type=${subject_type}`,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue