|
|
@ -217,7 +217,7 @@ export class MeetPlanComponent implements OnInit { |
|
|
|
|
|
|
|
|
|
|
|
//查看预案
|
|
|
|
//查看预案
|
|
|
|
openPlan(element){ |
|
|
|
openPlan(element){ |
|
|
|
//fetchUrl: `http://${location.host}/api/Objects/PlanPlatform/`+fetchUrl
|
|
|
|
//fetchUrl: `http://172.18.0.1:8000/api/Objects/PlanPlatform/`+fetchUrl
|
|
|
|
let filename:string |
|
|
|
let filename:string |
|
|
|
let fetchUrl = element.attachmentUrls[0] |
|
|
|
let fetchUrl = element.attachmentUrls[0] |
|
|
|
let docIdWordArray = CryptoJS.enc.Utf8.parse(`PlanPlatform/` + fetchUrl); |
|
|
|
let docIdWordArray = CryptoJS.enc.Utf8.parse(`PlanPlatform/` + fetchUrl); |
|
|
@ -232,7 +232,7 @@ export class MeetPlanComponent implements OnInit { |
|
|
|
doc: { |
|
|
|
doc: { |
|
|
|
docId: docId, |
|
|
|
docId: docId, |
|
|
|
title: filename, |
|
|
|
title: filename, |
|
|
|
fetchUrl: `http://${location.host}/api/Objects/PlanPlatform/`+fetchUrl, |
|
|
|
fetchUrl: `http://172.18.0.1:8000/api/Objects/PlanPlatform/`+fetchUrl, |
|
|
|
}, |
|
|
|
}, |
|
|
|
user: { |
|
|
|
user: { |
|
|
|
uid: identityJsonparse.sub, |
|
|
|
uid: identityJsonparse.sub, |
|
|
@ -248,7 +248,7 @@ export class MeetPlanComponent implements OnInit { |
|
|
|
var stringjson=JSON.stringify(json) |
|
|
|
var stringjson=JSON.stringify(json) |
|
|
|
var wordArray = CryptoJS.enc.Utf8.parse(stringjson); |
|
|
|
var wordArray = CryptoJS.enc.Utf8.parse(stringjson); |
|
|
|
var base64 = CryptoJS.enc.Base64.stringify(wordArray); |
|
|
|
var base64 = CryptoJS.enc.Base64.stringify(wordArray); |
|
|
|
window.open(`http://${location.host}/bisheng/apps/editor/openPreview?data=${base64}`) |
|
|
|
window.open(`http://10.81.73.39:18080/apps/editor/openPreview?data=${base64}`) |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|