From 3553fa4566d337eeeba6b5fd3a9235b75b172a20 Mon Sep 17 00:00:00 2001 From: jscyl_mac <13849007907@163.com> Date: Wed, 2 Jul 2025 18:27:14 +0800 Subject: [PATCH] no message --- root/detail/apply.vue | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/root/detail/apply.vue b/root/detail/apply.vue index 7e1f89a..007aee9 100644 --- a/root/detail/apply.vue +++ b/root/detail/apply.vue @@ -474,9 +474,21 @@ export default { }; }, onLoad(options) { - this.oid = options.id; - this.relationId = options.relationId; - this.type = options.type; + console.log('工单详情页:',options) + + if (options.scene) { + let _str = decodeURIComponent(options.scene); + console.log('邀请 codeRes 1',_str) + let codeRes = _str.split("="); + console.log('邀请 codeRes 2',codeRes) + this.oid = codeRes[1].split('_')[1]; + this.relationId = codeRes[1].split('_')[0]; + this.type = 1; + } else { + this.oid = options.id; + this.relationId = options.relationId; + this.type = options.type; + } }, onShow() { let that = this;