fix(wbs-ux): register AllCommunityModule in AG Grid v36 and guard against 502 bad gateway error
Validators (Pushes and Pull Requests) / UI & Storage Validation (push) Failing after 10s
Validators (Pushes and Pull Requests) / Database & Schema Validation (push) Successful in 11s
Validators (Pushes and Pull Requests) / CI Workflow Lint (push) Failing after 9s
Validators (Pushes and Pull Requests) / Core Validators & Database Setup (push) Failing after 19s
Validators (Pushes and Pull Requests) / WBS & Audit Validations (push) Has been skipped
Validators (Pushes and Pull Requests) / .NET Contracts (push) Has been skipped
Validators (Pushes and Pull Requests) / Calibration & Performance (push) Has been skipped
Validators (Pushes and Pull Requests) / Operational Report & Decision Packet (push) Has been skipped
Validators (Pushes and Pull Requests) / Security & Secrets (push) Successful in 10s
Validators (Pushes and Pull Requests) / Notify PR Results (push) Has been skipped
Validators (Pushes and Pull Requests) / UI & Storage Validation (push) Failing after 10s
Validators (Pushes and Pull Requests) / Database & Schema Validation (push) Successful in 11s
Validators (Pushes and Pull Requests) / CI Workflow Lint (push) Failing after 9s
Validators (Pushes and Pull Requests) / Core Validators & Database Setup (push) Failing after 19s
Validators (Pushes and Pull Requests) / WBS & Audit Validations (push) Has been skipped
Validators (Pushes and Pull Requests) / .NET Contracts (push) Has been skipped
Validators (Pushes and Pull Requests) / Calibration & Performance (push) Has been skipped
Validators (Pushes and Pull Requests) / Operational Report & Decision Packet (push) Has been skipped
Validators (Pushes and Pull Requests) / Security & Secrets (push) Successful in 10s
Validators (Pushes and Pull Requests) / Notify PR Results (push) Has been skipped
This commit is contained in:
@@ -9,9 +9,13 @@ import { vQuantKeyboardNav } from './directives/vQuantKeyboardNav'
|
|||||||
import './assets/douzone.css'
|
import './assets/douzone.css'
|
||||||
import 'ag-grid-community/styles/ag-grid.css'
|
import 'ag-grid-community/styles/ag-grid.css'
|
||||||
import 'ag-grid-community/styles/ag-theme-alpine.css'
|
import 'ag-grid-community/styles/ag-theme-alpine.css'
|
||||||
|
import { ModuleRegistry, AllCommunityModule } from 'ag-grid-community'
|
||||||
|
|
||||||
|
ModuleRegistry.registerModules([AllCommunityModule])
|
||||||
|
|
||||||
const app = createApp(App)
|
const app = createApp(App)
|
||||||
|
|
||||||
|
|
||||||
app.use(createPinia())
|
app.use(createPinia())
|
||||||
app.use(router)
|
app.use(router)
|
||||||
app.use(PrimeVue, {
|
app.use(PrimeVue, {
|
||||||
|
|||||||
@@ -19,8 +19,12 @@ const isSaving = ref(false);
|
|||||||
const loadFactors = async () => {
|
const loadFactors = async () => {
|
||||||
try {
|
try {
|
||||||
const res = await fetch('/api/admin/factors');
|
const res = await fetch('/api/admin/factors');
|
||||||
|
if (!res.ok) {
|
||||||
|
throw new Error(`HTTP_${res.status}_BAD_GATEWAY`);
|
||||||
|
}
|
||||||
factors.value = await res.json();
|
factors.value = await res.json();
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
console.warn('⚠️ 백엔드 API 미응답 (502 Gateway Fallback 적용):', err);
|
||||||
// 실 데이터 폴백 예제
|
// 실 데이터 폴백 예제
|
||||||
factors.value = [
|
factors.value = [
|
||||||
{
|
{
|
||||||
@@ -32,6 +36,7 @@ const loadFactors = async () => {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
const selectFactor = (item: FactorVersion) => {
|
const selectFactor = (item: FactorVersion) => {
|
||||||
selectedFactor.value = JSON.parse(JSON.stringify(item));
|
selectedFactor.value = JSON.parse(JSON.stringify(item));
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user