Browse Source

[完善]完善代码

master
邵佳豪 3 months ago
parent
commit
5477317eb3
  1. 2
      proxy.config.json
  2. 2
      src/app/app.component.ts
  3. 1
      src/app/external-links-plan/external-links-plan.component.ts
  4. 2
      src/app/plan-management/create-plan-online-five/create-plan-online-five.component.ts
  5. 1
      src/app/plan-management/entry-plan-look/entry-plan-look.component.ts
  6. 4
      src/index.html

2
proxy.config.json

@ -1,6 +1,6 @@
{
"/api": {
"target": "http://218.75.214.31:28085/",
"target": "http://10.81.73.39:8000/",
"生产": "http://10.81.73.39:8000/",
"测试": "http://121.36.37.70:8201/",
"生产2": "http://183.194.244.232:8088/",

2
src/app/app.component.ts

@ -25,7 +25,7 @@ export class AppComponent {
isMaskLayerShow: boolean = false;
ngOnInit(): void {
console.log("更新日期2024.5.27");
console.log("更新日期2024.10.23");
//监听遮罩层
this.maskLayerService.getMessage().subscribe((message: any) => {

1
src/app/external-links-plan/external-links-plan.component.ts

@ -29,6 +29,7 @@ export class ExternalLinksPlanComponent implements OnInit {
async ngOnInit(): Promise<void> {
await this.login(); //登录存储token
this.route.queryParams.subscribe((paramsData) => {
console.log(paramsData.planId)
if (paramsData.planId) {
this.planId = paramsData.planId;
this.http

2
src/app/plan-management/create-plan-online-five/create-plan-online-five.component.ts

@ -744,8 +744,6 @@ export class CreatePlanOnlineFiveComponent implements OnInit {
this.planTemplateData = JSON.parse(data.webTextData).filter(
(item) => item.completed == true
);
console.log(7891, this.planTemplateData);
// return
if (this.planTemplateData[0].groupName != "封面") {
let obj = {

1
src/app/plan-management/entry-plan-look/entry-plan-look.component.ts

@ -105,6 +105,7 @@ export class EntryPlanLookComponent implements OnInit {
CompanyName: CompanyName || "",
};
this.http.get("/api/Plans", { params: header }).subscribe((data: any) => {
console.log('data.items',data.items)
data.items.forEach((element) => {
if (element.companyId === this.route.snapshot.queryParams.unitId) {
this.compantData = element.company;

4
src/index.html

@ -27,9 +27,9 @@
<!-- <script
src="http://10.81.73.39:8000/webapi/maps?v=2.0&key=2584e43582b85680d76a515979503538&plugin=AMap.Driving,AMap.MouseTool,AMap.RangingTool"></script>
<script src="http://10.81.73.39:8000/webapi/ui/1.1/main.js"></script> -->
<script
<!-- <script
src="https://webapi.amap.com/maps?v=2.0&key=2584e43582b85680d76a515979503538&plugin=AMap.Driving,AMap.MouseTool,AMap.RangingTool"></script>
<script src="https://webapi.amap.com/ui/1.1/main.js"></script>
<script src="https://webapi.amap.com/ui/1.1/main.js"></script> -->
<script src="/assets/html2canvas.js"></script>
<script type="text/javascript" src="/assets/wordexport/jquery.js"></script>
<script type="text/javascript" src="/assets/wordexport/FileSaver.js"></script>

Loading…
Cancel
Save