0.2.0 #4
@ -16,17 +16,17 @@ services:
|
|||||||
- ~/.vsdbg:/remote_debugger:rw
|
- ~/.vsdbg:/remote_debugger:rw
|
||||||
depends_on:
|
depends_on:
|
||||||
- database
|
- database
|
||||||
# dombudg:
|
dombudg:
|
||||||
# image: dombudg
|
image: dombudg
|
||||||
# build:
|
build:
|
||||||
# context: front
|
context: front
|
||||||
# dockerfile: ./Dockerfile
|
dockerfile: ./Dockerfile
|
||||||
# environment:
|
environment:
|
||||||
# - VITE_API_URL=http://api:5125
|
- VITE_API_URL=http://api:5125
|
||||||
# ports:
|
ports:
|
||||||
# - 80:80
|
- 80:80
|
||||||
# depends_on:
|
depends_on:
|
||||||
# - api
|
- api
|
||||||
database:
|
database:
|
||||||
image: postgres:14
|
image: postgres:14
|
||||||
environment:
|
environment:
|
||||||
|
@ -4,7 +4,6 @@ import { inject } from 'vue';
|
|||||||
import { GroupService } from '../../core/services/group-service';
|
import { GroupService } from '../../core/services/group-service';
|
||||||
import SpendingGroupManager from '../support/SpendingGroupManager.vue';
|
import SpendingGroupManager from '../support/SpendingGroupManager.vue';
|
||||||
import { DeleteOutlined, CalendarOutlined } from '@ant-design/icons-vue';
|
import { DeleteOutlined, CalendarOutlined } from '@ant-design/icons-vue';
|
||||||
import GetPeriodReportForm from '../support/GetPeriodReportForm.vue';
|
|
||||||
|
|
||||||
const groupService = inject(GroupService.name) as GroupService;
|
const groupService = inject(GroupService.name) as GroupService;
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ import { inject } from 'vue';
|
|||||||
import { OffsetFromPlanReportData, ReportService } from '../../core/services/report-service';
|
import { OffsetFromPlanReportData, ReportService } from '../../core/services/report-service';
|
||||||
import { useRoute } from 'vue-router';
|
import { useRoute } from 'vue-router';
|
||||||
import { useAsyncState } from '@vueuse/core';
|
import { useAsyncState } from '@vueuse/core';
|
||||||
import { Chart, Grid, Tooltip, Line, Pie, Marker, Responsive, Area } from 'vue3-charts';
|
import { Chart, Grid, Tooltip, Line, Marker, Responsive, Area } from 'vue3-charts';
|
||||||
import { CheckOutlined, WarningOutlined } from '@ant-design/icons-vue';
|
import { CheckOutlined, WarningOutlined } from '@ant-design/icons-vue';
|
||||||
let reportService = inject(ReportService.name) as ReportService;
|
let reportService = inject(ReportService.name) as ReportService;
|
||||||
let planId = useRoute().params.planId as string;
|
let planId = useRoute().params.planId as string;
|
||||||
|
@ -72,8 +72,8 @@ import { inject } from 'vue';
|
|||||||
import { PeriodReportData, ReportService } from '../../core/services/report-service';
|
import { PeriodReportData, ReportService } from '../../core/services/report-service';
|
||||||
import { useRoute } from 'vue-router';
|
import { useRoute } from 'vue-router';
|
||||||
import { useAsyncState } from '@vueuse/core';
|
import { useAsyncState } from '@vueuse/core';
|
||||||
import { Grid, Pie, Chart, Tooltip, Bar, Responsive, Marker, Line } from 'vue3-charts';
|
import { Pie, Chart, Tooltip, Responsive } from 'vue3-charts';
|
||||||
import { MonitorOutlined, DollarOutlined } from '@ant-design/icons-vue';
|
import { MonitorOutlined } from '@ant-design/icons-vue';
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
let reportService = inject(ReportService.name) as ReportService;
|
let reportService = inject(ReportService.name) as ReportService;
|
||||||
let { startAt, endAt } = useRoute().query as { startAt: string, endAt: string };
|
let { startAt, endAt } = useRoute().query as { startAt: string, endAt: string };
|
||||||
|
@ -55,7 +55,7 @@ export enum ContentType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export class HttpClient<SecurityDataType = unknown> {
|
export class HttpClient<SecurityDataType = unknown> {
|
||||||
public baseUrl: string = "http://172.29.224.204:5125";
|
public baseUrl: string = import.meta.env.VITE_API_URL;
|
||||||
private securityData: SecurityDataType | null = null;
|
private securityData: SecurityDataType | null = null;
|
||||||
private securityWorker?: ApiConfig<SecurityDataType>["securityWorker"];
|
private securityWorker?: ApiConfig<SecurityDataType>["securityWorker"];
|
||||||
private abortControllers = new Map<CancelToken, AbortController>();
|
private abortControllers = new Map<CancelToken, AbortController>();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user