|
|
|
@ -474,9 +474,21 @@ export default {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onLoad(options) {
|
|
|
|
onLoad(options) {
|
|
|
|
|
|
|
|
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.oid = options.id;
|
|
|
|
this.relationId = options.relationId;
|
|
|
|
this.relationId = options.relationId;
|
|
|
|
this.type = options.type;
|
|
|
|
this.type = options.type;
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onShow() {
|
|
|
|
onShow() {
|
|
|
|
let that = this;
|
|
|
|
let that = this;
|
|
|
|
|