260205_01_ENH: 페이지 별 엑셀 다운로드 적용
This commit is contained in:
@@ -32,24 +32,24 @@ const randInt = (r: () => number, min: number, max: number) =>
|
||||
|
||||
type RandRange = { min: number | null; max: number | null };
|
||||
|
||||
const makeProductDist = (seedKey: string, range?: RandRange): Record<ProductKey, number> => {
|
||||
const makeProductDist = (seedKey: string, range?: RandRange): Record<ProductKey, string> => {
|
||||
const min = range?.min ?? 1;
|
||||
const max = range?.max ?? 60;
|
||||
|
||||
const seed = (hash32(seedKey) ^ DUMMY_SEED) >>> 0;
|
||||
const r = mulberry32(seed);
|
||||
|
||||
const out = {} as Record<ProductKey, number>;
|
||||
for (const k of PRODUCT_KEYS) out[k] = randInt(r, min, max);
|
||||
const out = {} as Record<ProductKey, string>;
|
||||
for (const k of PRODUCT_KEYS) out[k] = String(randInt(r, min, max));
|
||||
return out;
|
||||
};
|
||||
|
||||
const productRow = (
|
||||
year: number,
|
||||
year: string,
|
||||
rowLabel: string,
|
||||
total: number,
|
||||
total: string,
|
||||
range: RandRange = { min: null, max: null },
|
||||
extra?: Partial<Record<ProductKey, number>>,
|
||||
extra?: Partial<Record<ProductKey, string>>,
|
||||
): ServerProductRow => ({
|
||||
year,
|
||||
rowLabel,
|
||||
@@ -64,33 +64,33 @@ const calcGapRow = (row26: ServerProductRow, row25: ServerProductRow): ServerPro
|
||||
const out: ServerProductRow = {
|
||||
year: row26.year,
|
||||
rowLabel: "gap",
|
||||
total: row26.total - row25.total,
|
||||
total: String(Number(row26.total) - Number(row25.total)),
|
||||
};
|
||||
for (const k of PRODUCT_KEYS) {
|
||||
const a = row26[k] ?? 0;
|
||||
const b = row25[k] ?? 0;
|
||||
out[k] = a - b;
|
||||
const a = row26[k] ?? "0";
|
||||
const b = row25[k] ?? "0";
|
||||
out[k] = String(Number(a) - Number(b));
|
||||
}
|
||||
return out;
|
||||
};
|
||||
|
||||
const calcCagrRow = (row24: ServerProductRow, row26: ServerProductRow): ServerProductRow => {
|
||||
const years = 2; // 24 -> 26
|
||||
const out: ServerProductRow = { year: row26.year, rowLabel: "CAGR", total: 0 };
|
||||
const out: ServerProductRow = { year: row26.year, rowLabel: "CAGR", total: "0" };
|
||||
|
||||
// total은 참고용으로만: (26/24) CAGR %
|
||||
out.total =
|
||||
row24.total > 0 ? round1((Math.pow(row26.total / row24.total, 1 / years) - 1) * 100) : 0;
|
||||
Number(row24.total) > 0 ? String(round1((Math.pow(Number(row26.total) / Number(row24.total), 1 / years) - 1) * 100)) : "0";
|
||||
|
||||
for (const k of PRODUCT_KEYS) {
|
||||
const v24 = row24[k] ?? 0;
|
||||
const v26 = row26[k] ?? 0;
|
||||
out[k] = v24 > 0 ? round1((Math.pow(v26 / v24, 1 / years) - 1) * 100) : 0;
|
||||
const v24 = row24[k] ?? "0";
|
||||
const v26 = row26[k] ?? "0";
|
||||
out[k] = Number(v24) > 0 ? String(round1((Math.pow(Number(v26) / Number(v24), 1 / years) - 1) * 100)) : "0";
|
||||
}
|
||||
return out;
|
||||
};
|
||||
|
||||
const splitTo100 = (r: () => number, n: number, minEach: number, maxEach: number): number[] => {
|
||||
const splitTo100 = (r: () => number, n: number, minEach: number, maxEach: number): string[] => {
|
||||
// 불가능한 범위 방어
|
||||
const minSum = n * minEach;
|
||||
const maxSum = n * maxEach;
|
||||
@@ -151,7 +151,7 @@ const splitTo100 = (r: () => number, n: number, minEach: number, maxEach: number
|
||||
// 마지막 보정(이론상 거의 안 탐)
|
||||
out[n - 1] += 100 - sum;
|
||||
}
|
||||
return out;
|
||||
return out.map((o) => String(o));
|
||||
};
|
||||
|
||||
const BANNER_GROUPS: Record<string, BannerKey[]> = {
|
||||
@@ -173,14 +173,14 @@ const BANNER_GROUPS: Record<string, BannerKey[]> = {
|
||||
};
|
||||
|
||||
/** ✅ 기존 상수 대신: 호출할 때마다 “결정적 랜덤” 분포 생성 */
|
||||
export const makeBannerDistDefault = (seedKey: string, range?: RandRange): Record<BannerKey, number> => {
|
||||
export const makeBannerDistDefault = (seedKey: string, range?: RandRange): Record<BannerKey, string> => {
|
||||
const seed = (hash32(seedKey) ^ DUMMY_SEED) >>> 0;
|
||||
const r = mulberry32(seed);
|
||||
|
||||
const minEach = range?.min ?? 1;
|
||||
const maxEach = range?.max ?? 60;
|
||||
|
||||
const out = {} as Record<BannerKey, number>;
|
||||
const out = {} as Record<BannerKey, string>;
|
||||
|
||||
(Object.keys(BANNER_GROUPS) as Array<keyof typeof BANNER_GROUPS>).forEach((groupName) => {
|
||||
const keys = BANNER_GROUPS[groupName];
|
||||
@@ -192,11 +192,11 @@ export const makeBannerDistDefault = (seedKey: string, range?: RandRange): Recor
|
||||
};
|
||||
|
||||
export const bannerRow = (
|
||||
year: number,
|
||||
year: string,
|
||||
rowLabel: string,
|
||||
total: number,
|
||||
total: string,
|
||||
range: RandRange = { min: null, max: null },
|
||||
extra?: Partial<Record<BannerKey, number>>,
|
||||
extra?: Partial<Record<BannerKey, string>>,
|
||||
): ServerBannerRow => ({
|
||||
year,
|
||||
rowLabel,
|
||||
@@ -205,9 +205,9 @@ export const bannerRow = (
|
||||
...(extra ?? {}),
|
||||
});
|
||||
|
||||
const TREND_24: ServerProductRow = productRow(24, "24년", 45, {min:70, max:99});
|
||||
const TREND_25: ServerProductRow = productRow(25, "25년", 46, {min:70, max:99});
|
||||
const TREND_26: ServerProductRow = productRow(26, "26년", 48, {min:70, max:99});
|
||||
const TREND_24: ServerProductRow = productRow("24", "24년", "45", {min:70, max:99});
|
||||
const TREND_25: ServerProductRow = productRow("25", "25년", "46", {min:70, max:99});
|
||||
const TREND_26: ServerProductRow = productRow("26", "26년", "48", {min:70, max:99});
|
||||
|
||||
export const apiTrendCategories: ServerProductRow[] = [
|
||||
calcGapRow(TREND_26, TREND_25),
|
||||
@@ -218,22 +218,22 @@ export const apiTrendCategories: ServerProductRow[] = [
|
||||
];
|
||||
|
||||
export const apiBrandByYearCategories: ServerProductRow[] = [
|
||||
productRow(24, "LG", 1200),
|
||||
productRow(24, "Samsung", 1300),
|
||||
productRow(24, "Cbrand", 600),
|
||||
productRow("24", "LG", "1200"),
|
||||
productRow("24", "Samsung", "1300"),
|
||||
productRow("24", "Cbrand", "600"),
|
||||
|
||||
productRow(25, "LG", 1250),
|
||||
productRow(25, "Samsung", 1320),
|
||||
productRow(25, "Cbrand", 620),
|
||||
productRow("25", "LG", "1250"),
|
||||
productRow("25", "Samsung", "1320"),
|
||||
productRow("25", "Cbrand", "620"),
|
||||
|
||||
productRow(26, "LG", 1280),
|
||||
productRow(26, "Samsung", 1340),
|
||||
productRow(26, "Cbrand", 640),
|
||||
productRow("26", "LG", "1280"),
|
||||
productRow("26", "Samsung", "1340"),
|
||||
productRow("26", "Cbrand", "640"),
|
||||
];
|
||||
|
||||
const OWN_PEN_24: ServerProductRow = productRow(24, "24년", 45);
|
||||
const OWN_PEN_25: ServerProductRow = productRow(25, "25년", 46);
|
||||
const OWN_PEN_26: ServerProductRow = productRow(26, "26년", 48);
|
||||
const OWN_PEN_24: ServerProductRow = productRow("24", "24년", "45");
|
||||
const OWN_PEN_25: ServerProductRow = productRow("25", "25년", "46");
|
||||
const OWN_PEN_26: ServerProductRow = productRow("26", "26년", "48");
|
||||
|
||||
export const apiOwnShareOfTotalPenetration: ServerProductRow[] = [
|
||||
calcGapRow(OWN_PEN_26, OWN_PEN_25),
|
||||
@@ -242,9 +242,9 @@ export const apiOwnShareOfTotalPenetration: ServerProductRow[] = [
|
||||
OWN_PEN_26,
|
||||
];
|
||||
|
||||
const BUY_24: ServerProductRow = productRow(24, "24년", 45, {min:20, max:40});
|
||||
const BUY_25: ServerProductRow = productRow(25, "25년", 46, {min:20, max:40});
|
||||
const BUY_26: ServerProductRow = productRow(26, "26년", 48, {min:20, max:40});
|
||||
const BUY_24: ServerProductRow = productRow("24", "24년", "45", {min:20, max:40});
|
||||
const BUY_25: ServerProductRow = productRow("25", "25년", "46", {min:20, max:40});
|
||||
const BUY_26: ServerProductRow = productRow("26", "26년", "48", {min:20, max:40});
|
||||
export const apiTrendBuy: ServerProductRow[] = [
|
||||
calcGapRow(TREND_26, TREND_25),
|
||||
BUY_24,
|
||||
@@ -252,34 +252,34 @@ export const apiTrendBuy: ServerProductRow[] = [
|
||||
BUY_26,
|
||||
];
|
||||
|
||||
const OWN_BUY_24: ServerProductRow = productRow(24, "24년", 41, {min:5, max:20});
|
||||
const OWN_BUY_25: ServerProductRow = productRow(25, "25년", 42, {min:5, max:20});
|
||||
const OWN_BUY_26: ServerProductRow = productRow(26, "26년", 43, {min:5, max:20});
|
||||
const OWN_BUY_24: ServerProductRow = productRow("24", "24년", "41", {min:5, max:20});
|
||||
const OWN_BUY_25: ServerProductRow = productRow("25", "25년", "42", {min:5, max:20});
|
||||
const OWN_BUY_26: ServerProductRow = productRow("26", "26년", "43", {min:5, max:20});
|
||||
|
||||
export const apiOwnShareOfTotalPurchase: ServerProductRow[] = [
|
||||
calcGapRow(OWN_BUY_26, OWN_BUY_25),
|
||||
productRow(26, "전체 구입율 중 자사제품 비율", 46),
|
||||
productRow("26", "전체 구입율 중 자사제품 비율", "46"),
|
||||
OWN_BUY_24,
|
||||
OWN_BUY_25,
|
||||
OWN_BUY_26,
|
||||
];
|
||||
|
||||
export const apiLifeStageByProduct: ServerBannerRow[] = [
|
||||
bannerRow(26, "냉장고", 97, {min:10, max:99}),
|
||||
bannerRow(26, "세탁기", 94, {min:10, max:99}),
|
||||
bannerRow(26, "에어컨", 90, {min:10, max:99}),
|
||||
bannerRow(26, "건조기", 38, {min:10, max:99}),
|
||||
bannerRow(26, "TV", 86, {min:10, max:99}),
|
||||
bannerRow(26, "김치 냉장고", 56, {min:10, max:99}),
|
||||
bannerRow(26, "식기세척기", 18, {min:10, max:99}),
|
||||
bannerRow(26, "의류 관리기", 13, {min:10, max:99}),
|
||||
bannerRow("26", "냉장고", "97", {min:10, max:99}),
|
||||
bannerRow("26", "세탁기", "94", {min:10, max:99}),
|
||||
bannerRow("26", "에어컨", "90", {min:10, max:99}),
|
||||
bannerRow("26", "건조기", "38", {min:10, max:99}),
|
||||
bannerRow("26", "TV", "86", {min:10, max:99}),
|
||||
bannerRow("26", "김치 냉장고", "56", {min:10, max:99}),
|
||||
bannerRow("26", "식기세척기", "18", {min:10, max:99}),
|
||||
bannerRow("26", "의류 관리기", "13", {min:10, max:99}),
|
||||
|
||||
bannerRow(26, "청소기", 78, {min:10, max:99}),
|
||||
bannerRow(26, "공기 청정기", 52, {min:10, max:99}),
|
||||
bannerRow(26, "정수기", 42, {min:10, max:99}),
|
||||
bannerRow("26", "청소기", "78", {min:10, max:99}),
|
||||
bannerRow("26", "공기 청정기", "52", {min:10, max:99}),
|
||||
bannerRow("26", "정수기", "42", {min:10, max:99}),
|
||||
|
||||
bannerRow(26, "로봇 청소기", 22, {min:10, max:99}),
|
||||
bannerRow(26, "음식물처리기", 26, {min:10, max:99}),
|
||||
bannerRow("26", "로봇 청소기", "22", {min:10, max:99}),
|
||||
bannerRow("26", "음식물처리기", "26", {min:10, max:99}),
|
||||
];
|
||||
|
||||
/** ---------------------------
|
||||
@@ -288,10 +288,10 @@ export const apiLifeStageByProduct: ServerBannerRow[] = [
|
||||
* 26 사례수 / 보유율 / gap / 보유대수
|
||||
* -------------------------- */
|
||||
export const apiOwnershipSummary: ServerBannerRow[] = [
|
||||
bannerRow(26, "사례수", 2000),
|
||||
bannerRow(26, "보유율", 85),
|
||||
bannerRow(26, "gap", 1), // 26-25
|
||||
bannerRow(26, "보유대수", 1.2),
|
||||
bannerRow("26", "사례수", "2000"),
|
||||
bannerRow("26", "보유율", "85"),
|
||||
bannerRow("26", "gap", "1"), // 26-25
|
||||
bannerRow("26", "보유대수", "1.2"),
|
||||
];
|
||||
|
||||
/** ---------------------------
|
||||
@@ -303,10 +303,10 @@ export const apiOwnershipSummary: ServerBannerRow[] = [
|
||||
* 24 24
|
||||
* -------------------------- */
|
||||
export const apiYearIndex: ServerBannerRow[] = [
|
||||
bannerRow(26, "사례수", 2000),
|
||||
bannerRow(26, "26", 15),
|
||||
bannerRow(25, "25", 14),
|
||||
bannerRow(24, "24", 13),
|
||||
bannerRow("26", "사례수", "2000"),
|
||||
bannerRow("26", "26", "15"),
|
||||
bannerRow("25", "25", "14"),
|
||||
bannerRow("24", "24", "13"),
|
||||
];
|
||||
|
||||
/** ---------------------------
|
||||
@@ -315,21 +315,21 @@ export const apiYearIndex: ServerBannerRow[] = [
|
||||
* 25/26 사례수 + 브랜드
|
||||
* -------------------------- */
|
||||
export const apiBrandShareByYear: ServerBannerRow[] = [
|
||||
bannerRow(25, "사례수", 500),
|
||||
bannerRow(25, "lg", 48),
|
||||
bannerRow(25, "삼성", 40),
|
||||
bannerRow(25, "위니아", 4),
|
||||
bannerRow(25, "캐리어", 3),
|
||||
bannerRow(25, "하이얼", 1),
|
||||
bannerRow(25, "기타", 4),
|
||||
bannerRow("25", "사례수", "500"),
|
||||
bannerRow("25", "lg", "48"),
|
||||
bannerRow("25", "삼성", "40"),
|
||||
bannerRow("25", "위니아", "4"),
|
||||
bannerRow("25", "캐리어", "3"),
|
||||
bannerRow("25", "하이얼", "1"),
|
||||
bannerRow("25", "기타", "4"),
|
||||
|
||||
bannerRow(26, "사례수", 520),
|
||||
bannerRow(26, "lg", 47),
|
||||
bannerRow(26, "삼성", 40),
|
||||
bannerRow(26, "위니아", 5),
|
||||
bannerRow(26, "캐리어", 3),
|
||||
bannerRow(26, "하이얼", 1),
|
||||
bannerRow(26, "기타", 4),
|
||||
bannerRow("26", "사례수", "520"),
|
||||
bannerRow("26", "lg", "47"),
|
||||
bannerRow("26", "삼성", "40"),
|
||||
bannerRow("26", "위니아", "5"),
|
||||
bannerRow("26", "캐리어", "3"),
|
||||
bannerRow("26", "하이얼", "1"),
|
||||
bannerRow("26", "기타", "4"),
|
||||
];
|
||||
|
||||
/** ---------------------------
|
||||
@@ -338,21 +338,21 @@ export const apiBrandShareByYear: ServerBannerRow[] = [
|
||||
* 25/26 사례수 + 도어 타입
|
||||
* -------------------------- */
|
||||
export const apiFridgeDoorTypeByYear: ServerBannerRow[] = [
|
||||
bannerRow(25, "사례수", 480),
|
||||
bannerRow(25, "1도어", 5),
|
||||
bannerRow(25, "2도어 상 냉동+하 냉장", 22),
|
||||
bannerRow(25, "2도어 상 냉장+하 냉동", 8),
|
||||
bannerRow(25, "2도어 양문형", 36),
|
||||
bannerRow(25, "4도어", 28),
|
||||
bannerRow(25, "기타", 1),
|
||||
bannerRow("25", "사례수", "480"),
|
||||
bannerRow("25", "1도어", "5"),
|
||||
bannerRow("25", "2도어 상 냉동+하 냉장", "22"),
|
||||
bannerRow("25", "2도어 상 냉장+하 냉동", "8"),
|
||||
bannerRow("25", "2도어 양문형", "36"),
|
||||
bannerRow("25", "4도어", "28"),
|
||||
bannerRow("25", "기타", "1"),
|
||||
|
||||
bannerRow(26, "사례수", 500),
|
||||
bannerRow(26, "1도어", 5),
|
||||
bannerRow(26, "2도어 상 냉동+하 냉장", 23),
|
||||
bannerRow(26, "2도어 상 냉장+하 냉동", 12),
|
||||
bannerRow(26, "2도어 양문형", 35),
|
||||
bannerRow(26, "4도어", 25),
|
||||
bannerRow(26, "기타", 0),
|
||||
bannerRow("26", "사례수", "500"),
|
||||
bannerRow("26", "1도어", "5"),
|
||||
bannerRow("26", "2도어 상 냉동+하 냉장", "23"),
|
||||
bannerRow("26", "2도어 상 냉장+하 냉동", "12"),
|
||||
bannerRow("26", "2도어 양문형", "35"),
|
||||
bannerRow("26", "4도어", "25"),
|
||||
bannerRow("26", "기타", "0"),
|
||||
];
|
||||
|
||||
/** ---------------------------
|
||||
@@ -361,41 +361,41 @@ export const apiFridgeDoorTypeByYear: ServerBannerRow[] = [
|
||||
* 25/26 사례수 + 보유 경로(구매 경로)
|
||||
* -------------------------- */
|
||||
export const apiOwnershipPathByYear: ServerBannerRow[] = [
|
||||
bannerRow(25, "사례수", 520),
|
||||
bannerRow(25, "신규 구입", 8),
|
||||
bannerRow(25, "기존 제품 작동하나 신규 구입", 4),
|
||||
bannerRow(25, "기존 제품 고장으로 신규 구입", 40),
|
||||
bannerRow(25, "추가 구입", 48),
|
||||
bannerRow("25", "사례수", "520"),
|
||||
bannerRow("25", "신규 구입", "8"),
|
||||
bannerRow("25", "기존 제품 작동하나 신규 구입", "4"),
|
||||
bannerRow("25", "기존 제품 고장으로 신규 구입", "40"),
|
||||
bannerRow("25", "추가 구입", "48"),
|
||||
|
||||
bannerRow(26, "사례수", 540),
|
||||
bannerRow(26, "신규 구입", 8),
|
||||
bannerRow(26, "기존 제품 작동하나 신규 구입", 4),
|
||||
bannerRow(26, "기존 제품 고장으로 신규 구입", 40),
|
||||
bannerRow(26, "추가 구입", 48),
|
||||
bannerRow("26", "사례수", "540"),
|
||||
bannerRow("26", "신규 구입", "8"),
|
||||
bannerRow("26", "기존 제품 작동하나 신규 구입", "4"),
|
||||
bannerRow("26", "기존 제품 고장으로 신규 구입", "40"),
|
||||
bannerRow("26", "추가 구입", "48"),
|
||||
];
|
||||
|
||||
export const apiOwnershipTriggerByYear: ServerBannerRow[] = [
|
||||
bannerRow(25, "사례수", 520),
|
||||
bannerRow(25, "오래되어 새로운 제품 교체 필요", 23),
|
||||
bannerRow(25, "이사로 인해 새로 구입", 22),
|
||||
bannerRow(25, "이전 제품 고장으로 새로 구입", 17),
|
||||
bannerRow(25, "새로운 기능/기술 사용하고 싶어서", 14),
|
||||
bannerRow(25, "리모델링, 인테리어 계기로 새로 구입", 7),
|
||||
bannerRow(25, "혼수로 장만", 7),
|
||||
bannerRow(25, "(결혼 외) 가구 분가/독립하게 되어서", 6),
|
||||
bannerRow(25, "가구 구성원이 늘어서", 3),
|
||||
bannerRow(25, "가구 구성원이 줄어서", 2),
|
||||
bannerRow("25", "사례수", "520"),
|
||||
bannerRow("25", "오래되어 새로운 제품 교체 필요", "23"),
|
||||
bannerRow("25", "이사로 인해 새로 구입", "22"),
|
||||
bannerRow("25", "이전 제품 고장으로 새로 구입", "17"),
|
||||
bannerRow("25", "새로운 기능/기술 사용하고 싶어서", "14"),
|
||||
bannerRow("25", "리모델링, 인테리어 계기로 새로 구입", "7"),
|
||||
bannerRow("25", "혼수로 장만", "7"),
|
||||
bannerRow("25", "(결혼 외) 가구 분가/독립하게 되어서", "6"),
|
||||
bannerRow("25", "가구 구성원이 늘어서", "3"),
|
||||
bannerRow("25", "가구 구성원이 줄어서", '2'),
|
||||
|
||||
bannerRow(26, "사례수", 540),
|
||||
bannerRow(26, "오래되어 새로운 제품 교체 필요", 23),
|
||||
bannerRow(26, "이사로 인해 새로 구입", 22),
|
||||
bannerRow(26, "이전 제품 고장으로 새로 구입", 17),
|
||||
bannerRow(26, "새로운 기능/기술 사용하고 싶어서", 14),
|
||||
bannerRow(26, "리모델링, 인테리어 계기로 새로 구입", 7),
|
||||
bannerRow(26, "혼수로 장만", 7),
|
||||
bannerRow(26, "(결혼 외) 가구 분가/독립하게 되어서", 6),
|
||||
bannerRow(26, "가구 구성원이 늘어서", 3),
|
||||
bannerRow(26, "가구 구성원이 줄어서", 2),
|
||||
bannerRow("26", "사례수", "540"),
|
||||
bannerRow("26", "오래되어 새로운 제품 교체 필요", "23"),
|
||||
bannerRow("26", "이사로 인해 새로 구입", "22"),
|
||||
bannerRow("26", "이전 제품 고장으로 새로 구입", "17"),
|
||||
bannerRow("26", "새로운 기능/기술 사용하고 싶어서", "14"),
|
||||
bannerRow("26", "리모델링, 인테리어 계기로 새로 구입", "7"),
|
||||
bannerRow("26", "혼수로 장만", "7"),
|
||||
bannerRow("26", "(결혼 외) 가구 분가/독립하게 되어서", "6"),
|
||||
bannerRow("26", "가구 구성원이 늘어서", "3"),
|
||||
bannerRow("26", "가구 구성원이 줄어서", "2"),
|
||||
];
|
||||
|
||||
/** ---------------------------
|
||||
@@ -404,15 +404,15 @@ export const apiOwnershipTriggerByYear: ServerBannerRow[] = [
|
||||
* 25/26 결제수단
|
||||
* -------------------------- */
|
||||
export const apiPaymentMethodByYear: ServerBannerRow[] = [
|
||||
bannerRow(25, "사례수", 650),
|
||||
bannerRow(25, "일시불", 60),
|
||||
bannerRow(25, "할부", 30),
|
||||
bannerRow(25, "렌탈", 10),
|
||||
bannerRow("25", "사례수", "650"),
|
||||
bannerRow("25", "일시불", "60"),
|
||||
bannerRow("25", "할부", "30"),
|
||||
bannerRow("25", "렌탈", "10"),
|
||||
|
||||
bannerRow(26, "사례수", 650),
|
||||
bannerRow(26, "일시불", 58),
|
||||
bannerRow(26, "할부", 32),
|
||||
bannerRow(26, "렌탈", 10),
|
||||
bannerRow("26", "사례수", "650"),
|
||||
bannerRow("26", "일시불", "58"),
|
||||
bannerRow("26", "할부", "32"),
|
||||
bannerRow("26", "렌탈", "10"),
|
||||
];
|
||||
|
||||
/** ---------------------------
|
||||
@@ -421,19 +421,19 @@ export const apiPaymentMethodByYear: ServerBannerRow[] = [
|
||||
* 26 사례수 / 구매율 / gap
|
||||
* -------------------------- */
|
||||
export const apiPurchaseRateKpis: ServerBannerRow[] = [
|
||||
bannerRow(26, "사례수", 700),
|
||||
bannerRow(26, "구매율", 35),
|
||||
bannerRow(26, "gap", 2), // 26-25
|
||||
bannerRow("26", "사례수", "700"),
|
||||
bannerRow("26", "구매율", "35"),
|
||||
bannerRow("26", "gap", "2"), // 26-25
|
||||
];
|
||||
|
||||
export const apiPurchaseChannelSummaryByYear: ServerBannerRow[] = [
|
||||
bannerRow(25, "사례수", 650),
|
||||
bannerRow(25, "오프라인", 60),
|
||||
bannerRow(25, "온라인/홈쇼핑", 40),
|
||||
bannerRow("25", "사례수", "650"),
|
||||
bannerRow("25", "오프라인", "60"),
|
||||
bannerRow("25", "온라인/홈쇼핑", "40"),
|
||||
|
||||
bannerRow(26, "사례수", 650),
|
||||
bannerRow(26, "오프라인", 59),
|
||||
bannerRow(26, "온라인/홈쇼핑", 41),
|
||||
bannerRow("26", "사례수", "650"),
|
||||
bannerRow("26", "오프라인", "59"),
|
||||
bannerRow("26", "온라인/홈쇼핑", "41"),
|
||||
]
|
||||
|
||||
/** ---------------------------
|
||||
@@ -442,33 +442,33 @@ export const apiPurchaseChannelSummaryByYear: ServerBannerRow[] = [
|
||||
* 25/26 사례수 + 유통채널
|
||||
* -------------------------- */
|
||||
export const apiPurchaseChannelByYear: ServerBannerRow[] = [
|
||||
bannerRow(25, "사례수", 650),
|
||||
bannerRow(25, "오프라인 단독 매장", 25),
|
||||
bannerRow(25, "전자제품 양판점", 20),
|
||||
bannerRow(25, "대형할인점", 10),
|
||||
bannerRow(25, "백화점", 5),
|
||||
bannerRow(25, "오픈마켓", 15),
|
||||
bannerRow(25, "제조사 공식 홈페이지", 8),
|
||||
bannerRow(25, "포털 쇼핑채널 입점몰", 4),
|
||||
bannerRow(25, "백화점 기반 쇼핑몰", 2),
|
||||
bannerRow(25, "TV 홈쇼핑", 3),
|
||||
bannerRow(25, "유통사 온라인 쇼핑몰", 4),
|
||||
bannerRow(25, "라이프스타일 쇼핑몰", 2),
|
||||
bannerRow(25, "해외 직구/대행 사이트", 1),
|
||||
bannerRow(25, "중고거래 사이트", 1),
|
||||
bannerRow("25", "사례수", "650"),
|
||||
bannerRow("25", "오프라인 단독 매장", "25"),
|
||||
bannerRow("25", "전자제품 양판점", "20"),
|
||||
bannerRow("25", "대형할인점", "10"),
|
||||
bannerRow("25", "백화점", "5"),
|
||||
bannerRow("25", "오픈마켓", "15"),
|
||||
bannerRow("25", "제조사 공식 홈페이지", "8"),
|
||||
bannerRow("25", "포털 쇼핑채널 입점몰", "4"),
|
||||
bannerRow("25", "백화점 기반 쇼핑몰", "2"),
|
||||
bannerRow("25", "TV 홈쇼핑", "3"),
|
||||
bannerRow("25", "유통사 온라인 쇼핑몰", "4"),
|
||||
bannerRow("25", "라이프스타일 쇼핑몰", "2"),
|
||||
bannerRow("25", "해외 직구/대행 사이트", "1"),
|
||||
bannerRow("25", "중고거래 사이트", "1"),
|
||||
|
||||
bannerRow(26, "사례수", 680),
|
||||
bannerRow(26, "오프라인 단독 매장", 24),
|
||||
bannerRow(26, "전자제품 양판점", 20),
|
||||
bannerRow(26, "대형할인점", 10),
|
||||
bannerRow(26, "백화점", 5),
|
||||
bannerRow(26, "오픈마켓", 16),
|
||||
bannerRow(26, "제조사 공식 홈페이지", 9),
|
||||
bannerRow(26, "포털 쇼핑채널 입점몰", 4),
|
||||
bannerRow(26, "백화점 기반 쇼핑몰", 2),
|
||||
bannerRow(26, "TV 홈쇼핑", 3),
|
||||
bannerRow(26, "유통사 온라인 쇼핑몰", 3),
|
||||
bannerRow(26, "라이프스타일 쇼핑몰", 2),
|
||||
bannerRow(26, "해외 직구/대행 사이트", 1),
|
||||
bannerRow(26, "중고거래 사이트", 1),
|
||||
bannerRow("26", "사례수", "680"),
|
||||
bannerRow("26", "오프라인 단독 매장", "24"),
|
||||
bannerRow("26", "전자제품 양판점", "20"),
|
||||
bannerRow("26", "대형할인점", "10"),
|
||||
bannerRow("26", "백화점", "5"),
|
||||
bannerRow("26", "오픈마켓", "16"),
|
||||
bannerRow("26", "제조사 공식 홈페이지", "9"),
|
||||
bannerRow("26", "포털 쇼핑채널 입점몰", "4"),
|
||||
bannerRow("26", "백화점 기반 쇼핑몰", "2"),
|
||||
bannerRow("26", "TV 홈쇼핑", "3"),
|
||||
bannerRow("26", "유통사 온라인 쇼핑몰", "3"),
|
||||
bannerRow("26", "라이프스타일 쇼핑몰", "2"),
|
||||
bannerRow("26", "해외 직구/대행 사이트", "1"),
|
||||
bannerRow("26", "중고거래 사이트", "1"),
|
||||
];
|
||||
Reference in New Issue
Block a user