diff --git a/src/app/data-collection/fire-force/fire-force.component.ts b/src/app/data-collection/fire-force/fire-force.component.ts index 9d44c8d..9158905 100644 --- a/src/app/data-collection/fire-force/fire-force.component.ts +++ b/src/app/data-collection/fire-force/fire-force.component.ts @@ -1137,7 +1137,7 @@ export class FireForceComponent implements OnInit { doc: { docId: new Date(), title: item.fileName, - fetchUrl: `http://172.18.0.1:8000/api/Objects/PlanPlatform/`+fetchUrl + fetchUrl: `http://39.106.78.171:8000/api/Objects/PlanPlatform/`+fetchUrl }, user: { uid: "test", @@ -1151,7 +1151,7 @@ export class FireForceComponent implements OnInit { var stringjson=JSON.stringify(json) var wordArray = CryptoJS.enc.Utf8.parse(stringjson); var base64 = CryptoJS.enc.Base64.stringify(wordArray); - window.open(`http://10.81.73.39:18080/apps/editor/openPreview?data=${base64}`) + window.open(`http://121.5.10.84:80/apps/editor/openPreview?data=${base64}`) } if(suffix == 'mp4'){ const dialogRef = this.dialog.open(ViewDetails, {//调用open方法打开对话框并且携带参数过去 diff --git a/src/app/data-collection/linkage-forces/linkage-forces.component.ts b/src/app/data-collection/linkage-forces/linkage-forces.component.ts index 893b46a..d1e6527 100644 --- a/src/app/data-collection/linkage-forces/linkage-forces.component.ts +++ b/src/app/data-collection/linkage-forces/linkage-forces.component.ts @@ -871,7 +871,7 @@ export class LinkageForcesComponent implements OnInit { doc: { docId: new Date(), title: item.fileName, - fetchUrl: `http://172.18.0.1:8000/api/Objects/PlanPlatform/`+fetchUrl + fetchUrl: `http://39.106.78.171:8000/api/Objects/PlanPlatform/`+fetchUrl }, user: { uid: "test", @@ -885,7 +885,7 @@ export class LinkageForcesComponent implements OnInit { var stringjson=JSON.stringify(json) var wordArray = CryptoJS.enc.Utf8.parse(stringjson); var base64 = CryptoJS.enc.Base64.stringify(wordArray); - window.open(`http://10.81.73.39:18080/apps/editor/openPreview?data=${base64}`) + window.open(`http://121.5.10.84:80/apps/editor/openPreview?data=${base64}`) } if(suffix == 'mp4'){ const dialogRef = this.dialog.open(ViewDetails2, {//调用open方法打开对话框并且携带参数过去 diff --git a/src/app/external-links-plan/external-links-plan.component.ts b/src/app/external-links-plan/external-links-plan.component.ts index b604c41..60200de 100644 --- a/src/app/external-links-plan/external-links-plan.component.ts +++ b/src/app/external-links-plan/external-links-plan.component.ts @@ -87,7 +87,7 @@ export class ExternalLinksPlanComponent implements OnInit { docId: docId, title: filename, //title: filename, - fetchUrl: `http://172.18.0.1:8000/api/Objects/PlanPlatform/` + this.fetchUrl + fetchUrl: `http://39.106.78.171:8000/api/Objects/PlanPlatform/` + this.fetchUrl }, user: { uid: identityJsonparse.sub, @@ -101,7 +101,7 @@ export class ExternalLinksPlanComponent implements OnInit { var stringjson = JSON.stringify(json) var wordArray = CryptoJS.enc.Utf8.parse(stringjson); var base64 = CryptoJS.enc.Base64.stringify(wordArray); - this.src = `http://10.81.73.39:18080/apps/editor/openPreview?data=${base64}` + this.src = `http://121.5.10.84:80/apps/editor/openPreview?data=${base64}` this.iframeSrc = this.sanitizer.bypassSecurityTrustResourceUrl(this.src); this.showType = 0 }) diff --git a/src/app/plan-audit/fireforce-audit/fireforce-audit.component.ts b/src/app/plan-audit/fireforce-audit/fireforce-audit.component.ts index 1e6c195..737bc3c 100644 --- a/src/app/plan-audit/fireforce-audit/fireforce-audit.component.ts +++ b/src/app/plan-audit/fireforce-audit/fireforce-audit.component.ts @@ -172,7 +172,7 @@ export class FireforceAuditComponent implements OnInit { doc: { docId: docId, title: item.fileName, - fetchUrl: `http://172.18.0.1:8000/api/Objects/PlanPlatform/`+fetchUrl + fetchUrl: `http://39.106.78.171:8000/api/Objects/PlanPlatform/`+fetchUrl }, user: { uid: identityJsonparse.sub, @@ -186,7 +186,7 @@ export class FireforceAuditComponent implements OnInit { var stringjson=JSON.stringify(json) var wordArray = CryptoJS.enc.Utf8.parse(stringjson); var base64 = CryptoJS.enc.Base64.stringify(wordArray); - window.open(`http://10.81.73.39:18080/apps/editor/openPreview?data=${base64}`) + window.open(`http://121.5.10.84:80/apps/editor/openPreview?data=${base64}`) } if(suffix == 'mp4'){ const dialogRef = this.dialog.open(ViewDetailsComponent, {//调用open方法打开对话框并且携带参数过去 diff --git a/src/app/plan-audit/linkageforces-audit/linkageforces-audit.component.ts b/src/app/plan-audit/linkageforces-audit/linkageforces-audit.component.ts index 27892d0..2338e51 100644 --- a/src/app/plan-audit/linkageforces-audit/linkageforces-audit.component.ts +++ b/src/app/plan-audit/linkageforces-audit/linkageforces-audit.component.ts @@ -182,7 +182,7 @@ export class LinkageforcesAuditComponent implements OnInit { doc: { docId: docId, title: item.fileName, - fetchUrl: `http://172.18.0.1:8000/api/Objects/PlanPlatform/`+fetchUrl + fetchUrl: `http://39.106.78.171:8000/api/Objects/PlanPlatform/`+fetchUrl }, user: { uid: identityJsonparse.sub, @@ -196,7 +196,7 @@ export class LinkageforcesAuditComponent implements OnInit { var stringjson=JSON.stringify(json) var wordArray = CryptoJS.enc.Utf8.parse(stringjson); var base64 = CryptoJS.enc.Base64.stringify(wordArray); - window.open(`http://10.81.73.39:18080/apps/editor/openPreview?data=${base64}`) + window.open(`http://121.5.10.84:80/apps/editor/openPreview?data=${base64}`) } if(suffix == 'mp4'){ const dialogRef = this.dialog.open(ViewDetailsComponent, {//调用open方法打开对话框并且携带参数过去 diff --git a/src/app/plan-audit/plan-record/plan-record.component.ts b/src/app/plan-audit/plan-record/plan-record.component.ts index 59961f2..5d1e0aa 100644 --- a/src/app/plan-audit/plan-record/plan-record.component.ts +++ b/src/app/plan-audit/plan-record/plan-record.component.ts @@ -246,7 +246,7 @@ export class PlanRecordComponent implements OnInit { docId: docId, title: filename, //title: filename, - fetchUrl: `http://172.18.0.1:8000/api/Objects/PlanPlatform/`+this.fetchUrl + fetchUrl: `http://39.106.78.171:8000/api/Objects/PlanPlatform/`+this.fetchUrl }, user: { uid: identityJsonparse.sub, @@ -260,9 +260,9 @@ export class PlanRecordComponent implements OnInit { var stringjson=JSON.stringify(json) var wordArray = CryptoJS.enc.Utf8.parse(stringjson); var base64 = CryptoJS.enc.Base64.stringify(wordArray); - this.src=`http://10.81.73.39:18080/apps/editor/openPreview?data=${base64}` + this.src=`http://121.5.10.84:80/apps/editor/openPreview?data=${base64}` this.iframeSrc=this.sanitizer.bypassSecurityTrustResourceUrl(this.src); - //window.open(`http://10.81.73.39:18080/apps/editor/openPreview?data=${base64}`) + //window.open(`http://121.5.10.84:80/apps/editor/openPreview?data=${base64}`) }) } //查看按钮跳转 diff --git a/src/app/plan-audit/wait-examineer/wait-examineer.component.ts b/src/app/plan-audit/wait-examineer/wait-examineer.component.ts index f380c87..9f14f5f 100644 --- a/src/app/plan-audit/wait-examineer/wait-examineer.component.ts +++ b/src/app/plan-audit/wait-examineer/wait-examineer.component.ts @@ -275,7 +275,7 @@ export class WaitExamineerComponent implements OnInit { docId: docId, title: filename, //title: filename, - fetchUrl: `http://172.18.0.1:8000/api/Objects/PlanPlatform/`+this.fetchUrl + fetchUrl: `http://39.106.78.171:8000/api/Objects/PlanPlatform/`+this.fetchUrl }, user: { uid: identityJsonparse.sub, @@ -289,9 +289,9 @@ export class WaitExamineerComponent implements OnInit { var stringjson=JSON.stringify(json) var wordArray = CryptoJS.enc.Utf8.parse(stringjson); var base64 = CryptoJS.enc.Base64.stringify(wordArray); - this.src=`http://10.81.73.39:18080/apps/editor/openPreview?data=${base64}` + this.src=`http://121.5.10.84:80/apps/editor/openPreview?data=${base64}` this.iframeSrc=this.sanitizer.bypassSecurityTrustResourceUrl(this.src); - //window.open(`http://10.81.73.39:18080/apps/editor/openPreview?data=${base64}`) + //window.open(`http://121.5.10.84:80/apps/editor/openPreview?data=${base64}`) }) } //查看按钮跳转 diff --git a/src/app/plan-management/entry-plan-look/entry-plan-look.component.ts b/src/app/plan-management/entry-plan-look/entry-plan-look.component.ts index a592a14..6658908 100644 --- a/src/app/plan-management/entry-plan-look/entry-plan-look.component.ts +++ b/src/app/plan-management/entry-plan-look/entry-plan-look.component.ts @@ -113,7 +113,7 @@ export class EntryPlanLookComponent implements OnInit { height:'800px', data: e.attachmentUrls[0] }); - }else if(e.attachmentUrls[0].substr(e.attachmentUrls[0].length-3,e.attachmentUrls[0].length)=='JPG'||e.attachmentUrls[0].substr(e.attachmentUrls[0].length-3,e.attachmentUrls[0].length)=='png'||e.attachmentUrls[0].substr(e.attachmentUrls[0].length-3,e.attachmentUrls[0].length)=='jpeg'){ + }else if(e.attachmentUrls[0].substr(e.attachmentUrls[0].length-3,e.attachmentUrls[0].length)=='JPG'||e.attachmentUrls[0].substr(e.attachmentUrls[0].length-3,e.attachmentUrls[0].length)=='png'||e.attachmentUrls[0].substr(e.attachmentUrls[0].length-3,e.attachmentUrls[0].length)=='jpeg'||e.attachmentUrls[0].substr(e.attachmentUrls[0].length-3,e.attachmentUrls[0].length)=='jpg'){ let data = e const dialogRef = this.dialog.open(ImgDetails, {//调用open方法打开对话框并且携带参数过去 data:data.attachmentUrls, @@ -137,7 +137,7 @@ export class EntryPlanLookComponent implements OnInit { doc: { docId: docId, title: filename, - fetchUrl: `http://172.18.0.1:8000/api/Objects/PlanPlatform/`+fetchUrl, + fetchUrl: `http://39.106.78.171:8000/api/Objects/PlanPlatform/`+fetchUrl, }, user: { uid: identityJsonparse.sub, @@ -153,7 +153,7 @@ export class EntryPlanLookComponent implements OnInit { var stringjson=JSON.stringify(json) var wordArray = CryptoJS.enc.Utf8.parse(stringjson); var base64 = CryptoJS.enc.Base64.stringify(wordArray); - window.open(`http://10.81.73.39:18080/apps/editor/openPreview?data=${base64}`) + window.open(`http://121.5.10.84:80/apps/editor/openPreview?data=${base64}`) }) } } diff --git a/src/app/plan-management/meet-plan/meet-plan.component.ts b/src/app/plan-management/meet-plan/meet-plan.component.ts index b9046e6..a772605 100644 --- a/src/app/plan-management/meet-plan/meet-plan.component.ts +++ b/src/app/plan-management/meet-plan/meet-plan.component.ts @@ -217,7 +217,7 @@ export class MeetPlanComponent implements OnInit { //查看预案 openPlan(element){ - //fetchUrl: `http://172.18.0.1:8000/api/Objects/PlanPlatform/`+fetchUrl + //fetchUrl: `http://39.106.78.171: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://172.18.0.1:8000/api/Objects/PlanPlatform/`+fetchUrl, + fetchUrl: `http://39.106.78.171: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://10.81.73.39:18080/apps/editor/openPreview?data=${base64}`) + window.open(`http://121.5.10.84:80/apps/editor/openPreview?data=${base64}`) }) } diff --git a/src/app/plan-management/onetwo-entry-plan/onetwo-entry-plan.component.ts b/src/app/plan-management/onetwo-entry-plan/onetwo-entry-plan.component.ts index 29566d5..d73b847 100644 --- a/src/app/plan-management/onetwo-entry-plan/onetwo-entry-plan.component.ts +++ b/src/app/plan-management/onetwo-entry-plan/onetwo-entry-plan.component.ts @@ -241,7 +241,7 @@ export class OnetwoEntryPlanComponent implements OnInit { doc: { docId: docId, title: filename, - fetchUrl: `http://172.18.0.1:8000/api/Objects/PlanPlatform/`+fetchUrl, + fetchUrl: `http://39.106.78.171:8000/api/Objects/PlanPlatform/`+fetchUrl, }, user: { uid: identityJsonparse.sub, @@ -257,7 +257,7 @@ export class OnetwoEntryPlanComponent implements OnInit { var stringjson=JSON.stringify(json) var wordArray = CryptoJS.enc.Utf8.parse(stringjson); var base64 = CryptoJS.enc.Base64.stringify(wordArray); - window.open(`http://10.81.73.39:18080/apps/editor/openPreview?data=${base64}`) + window.open(`http://121.5.10.84:80/apps/editor/openPreview?data=${base64}`) }) diff --git a/src/app/plan-management/open-plan/open-plan.component.ts b/src/app/plan-management/open-plan/open-plan.component.ts index e2c7106..2182d1a 100644 --- a/src/app/plan-management/open-plan/open-plan.component.ts +++ b/src/app/plan-management/open-plan/open-plan.component.ts @@ -222,7 +222,7 @@ export class OpenPlanComponent implements OnInit { doc: { docId: docId, title: filename, - fetchUrl: `http://172.18.0.1:8000/api/Objects/PlanPlatform/`+fetchUrl, + fetchUrl: `http://39.106.78.171:8000/api/Objects/PlanPlatform/`+fetchUrl, }, user: { uid: identityJsonparse.sub, @@ -236,7 +236,7 @@ export class OpenPlanComponent implements OnInit { var stringjson=JSON.stringify(json) var wordArray = CryptoJS.enc.Utf8.parse(stringjson); var base64 = CryptoJS.enc.Base64.stringify(wordArray); - window.open(`http://10.81.73.39:18080/apps/editor/openPreview?data=${base64}`) + window.open(`http://121.5.10.84:80/apps/editor/openPreview?data=${base64}`) }) } } diff --git a/src/app/plan-management/pass-plan/pass-plan.component.ts b/src/app/plan-management/pass-plan/pass-plan.component.ts index 692ae62..86e1bd5 100644 --- a/src/app/plan-management/pass-plan/pass-plan.component.ts +++ b/src/app/plan-management/pass-plan/pass-plan.component.ts @@ -369,7 +369,7 @@ export class PassPlanComponent implements OnInit { doc: { docId: docId, title: filename, - fetchUrl: `http://172.18.0.1:8000/api/Objects/PlanPlatform/`+fetchUrl, + fetchUrl: `http://39.106.78.171:8000/api/Objects/PlanPlatform/`+fetchUrl, }, user: { uid: identityJsonparse.sub, @@ -383,7 +383,7 @@ export class PassPlanComponent implements OnInit { var stringjson=JSON.stringify(json) var wordArray = CryptoJS.enc.Utf8.parse(stringjson); var base64 = CryptoJS.enc.Base64.stringify(wordArray); - window.open(`http://10.81.73.39:18080/apps/editor/openPreview?data=${base64}`) + window.open(`http://121.5.10.84:80/apps/editor/openPreview?data=${base64}`) }) } } diff --git a/src/app/plan-management/type-plan/type-plan.component.ts b/src/app/plan-management/type-plan/type-plan.component.ts index 553ace6..034b5de 100644 --- a/src/app/plan-management/type-plan/type-plan.component.ts +++ b/src/app/plan-management/type-plan/type-plan.component.ts @@ -222,7 +222,7 @@ export class TypePlanComponent implements OnInit { doc: { docId: docId, title: filename, - fetchUrl: `http://172.18.0.1:8000/api/Objects/PlanPlatform/`+fetchUrl, + fetchUrl: `http://39.106.78.171:8000/api/Objects/PlanPlatform/`+fetchUrl, }, user: { uid: identityJsonparse.sub, @@ -238,7 +238,7 @@ export class TypePlanComponent implements OnInit { var stringjson=JSON.stringify(json) var wordArray = CryptoJS.enc.Utf8.parse(stringjson); var base64 = CryptoJS.enc.Base64.stringify(wordArray); - window.open(`http://10.81.73.39:18080/apps/editor/openPreview?data=${base64}`) + window.open(`http://121.5.10.84:80/apps/editor/openPreview?data=${base64}`) }) diff --git a/src/app/statistic-analysis/all-plan/all-plan.component.ts b/src/app/statistic-analysis/all-plan/all-plan.component.ts index 2a905dd..3d71962 100644 --- a/src/app/statistic-analysis/all-plan/all-plan.component.ts +++ b/src/app/statistic-analysis/all-plan/all-plan.component.ts @@ -108,7 +108,7 @@ export class AllPlanComponent implements OnInit { doc: { docId: docId, title: filename, - fetchUrl: `http://172.18.0.1:8000/api/Objects/PlanPlatform/`+fetchUrl, + fetchUrl: `http://39.106.78.171:8000/api/Objects/PlanPlatform/`+fetchUrl, }, user: { uid: identityJsonparse.sub, @@ -122,7 +122,7 @@ export class AllPlanComponent implements OnInit { var stringjson=JSON.stringify(json) var wordArray = CryptoJS.enc.Utf8.parse(stringjson); var base64 = CryptoJS.enc.Base64.stringify(wordArray); - window.open(`http://10.81.73.39:18080/apps/editor/openPreview?data=${base64}`) + window.open(`http://121.5.10.84:80/apps/editor/openPreview?data=${base64}`) }) } } diff --git a/src/app/statistic-analysis/plan-analysis-by-synthesis/plan-analysis-by-synthesis.component.ts b/src/app/statistic-analysis/plan-analysis-by-synthesis/plan-analysis-by-synthesis.component.ts index 2392154..e59c70a 100644 --- a/src/app/statistic-analysis/plan-analysis-by-synthesis/plan-analysis-by-synthesis.component.ts +++ b/src/app/statistic-analysis/plan-analysis-by-synthesis/plan-analysis-by-synthesis.component.ts @@ -370,7 +370,7 @@ export class PlanAnalysisBySynthesisComponent implements OnInit { doc: { docId: docId, title: filename, - fetchUrl: `http://172.18.0.1:8000/api/Objects/PlanPlatform/` + fetchUrl, + fetchUrl: `http://39.106.78.171:8000/api/Objects/PlanPlatform/` + fetchUrl, }, user: { uid: identityJsonparse.sub, @@ -384,7 +384,7 @@ export class PlanAnalysisBySynthesisComponent implements OnInit { var stringjson = JSON.stringify(json) var wordArray = CryptoJS.enc.Utf8.parse(stringjson); var base64 = CryptoJS.enc.Base64.stringify(wordArray); - window.open(`http://10.81.73.39:18080/apps/editor/openPreview?data=${base64}`) + window.open(`http://121.5.10.84:80/apps/editor/openPreview?data=${base64}`) }) } }