|
|
|
@ -217,7 +217,7 @@ export class MeetPlanComponent implements OnInit {
|
|
|
|
|
|
|
|
|
|
//查看预案
|
|
|
|
|
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 fetchUrl = element.attachmentUrls[0] |
|
|
|
|
let docIdWordArray = CryptoJS.enc.Utf8.parse(`PlanPlatform/` + fetchUrl); |
|
|
|
@ -232,7 +232,7 @@ export class MeetPlanComponent implements OnInit {
|
|
|
|
|
doc: { |
|
|
|
|
docId: docId, |
|
|
|
|
title: filename, |
|
|
|
|
fetchUrl: `http://${location.host}/api/Objects/PlanPlatform/`+fetchUrl, |
|
|
|
|
fetchUrl: `http://172.18.0.1:8000/api/Objects/PlanPlatform/`+fetchUrl, |
|
|
|
|
}, |
|
|
|
|
user: { |
|
|
|
|
uid: identityJsonparse.sub, |
|
|
|
@ -248,7 +248,7 @@ export class MeetPlanComponent implements OnInit {
|
|
|
|
|
var stringjson=JSON.stringify(json) |
|
|
|
|
var wordArray = CryptoJS.enc.Utf8.parse(stringjson); |
|
|
|
|
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}`) |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|