fix(project): 회의록 월 계획 숫자 한 줄을 카드 위 빈 공간으로(잘리지 않게) · 결정사항 제목 왼쪽
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
{% block head_extra %}
|
||||
{# 프로젝트 화면 부품(설명 편집기·날짜 팝업·멤버 고르기)을 그대로 쓴다 — project.js 는 PJ_LIB_ONLY 로 부품만 #}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261019e" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261019g" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
<script>window.PJ_LIB_ONLY = true; window.PJ_HOLIDAYS = {{ (pj_kr_holidays or {}) | tojson }};</script>
|
||||
{% endblock %}
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
- 위에 목표 표 그 달 열 글을 영역별 "N월 계획" 카드로.
|
||||
- 참석자 옆 [회의록 보드] = 그 주차의 빈 Google 슬라이드를 독립 창으로(오른쪽 🔗 아이콘 = 그 보드 링크 복사). 공유 드라이브 `MEETING_BOARD_FOLDER_ID`(없으면 만듦), `app/integrations/google_slides.py`, Drive appProperties 로 주차 연결 — Drive·Slides 권한 토큰 필요.
|
||||
- 표를 스크롤해도 보이는 머리 영역 3칸:
|
||||
1·2. (2026-10-19 한 칸 `.pj-meet-pn`) 머리 한 줄 = N월 계획 + 숫자 4개(월 목표 매출·월 누적 목표 매출(`goal_week_targets` 1주차~이 주차 합)·월 누적 실적(1일~오늘)·누적 목표 대비 차액·%) | 결정사항 제목, 아래 전체 = 결정 사항(크게). 월 계획 상세(목표 표 그 달 글)는 뺐다.
|
||||
1·2. (2026-10-19) 카드 위 빈 공간 한 줄 `.pj-meet-kpitop` = N월 계획 + 숫자 4개(월 목표 매출·월 누적 목표 매출(`goal_week_targets` 1주차~이 주차 합)·월 누적 실적(1일~오늘)·누적 목표 대비 차액·%, 잘리지 않음 — 좁으면 줄바꿈), 아래 카드 `.pj-meet-pn` = 결정사항 제목(왼쪽) + 결정 사항(크게). 월 계획 상세(목표 표 그 달 글)는 뺐다. (`.pj-meet-kpibar` 는 예전 숫자 상자 이름이라 쓰지 말 것)
|
||||
3. "N주차 작업 등록" 표(제목·담당자·프로젝트·섹션 → [적용] = 서버가 그 프로젝트에 작업 생성, `initMeetQuickTasks`).
|
||||
주차별 서버 표 `goal_meeting_tasks`(마이그레이션 025)라 모두가 같이 보고, 남의 프로젝트 이름은 가림, 완료 프로젝트·섹션은 목록에서 뺌.
|
||||
작업 칸(마이그레이션 026 `parent_task_id`) = 이미 있는 작업을 고르면 그 작업의 세부 작업으로 등록.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "project/_meeting_content_base.html" if meeting_embedded else "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261019e" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261019g" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
@@ -66,36 +66,39 @@
|
||||
</div>
|
||||
{# ── 머리 영역 3칸(스크롤해도 보임 — 표만 아래 .pj-meet-pane 에서 스크롤) ──
|
||||
① 월 계획 + 머리 줄 오른쪽에 숫자 4개를 작게 한 줄로 ② 결정 사항·메모 ③ 작업 빠른 등록 표(project.js initMeetQuickTasks) #}
|
||||
{# 월 계획 숫자 한 줄 — 카드 위 빈 공간에, 잘리지 않게(2026-10-19). 카드 안 머리는 결정사항 제목만(왼쪽) #}
|
||||
<div class="pj-meet-kpitop">
|
||||
<div class="pj-meet-plan-head">
|
||||
<span class="pj-meet-plan-title"><span class="material-symbols-outlined">event_note</span>{{ goal_month }}월 계획</span>
|
||||
{% if h %}
|
||||
<div class="pj-meet-kpiline">
|
||||
<span class="pj-meet-kpi" title="월 목표 매출(연간 목표 표){% if h.month_target_won is not none %} = {{ won(h.month_target_won) }}원{% endif %}">
|
||||
<span class="pj-meet-kpi-label">월 목표</span>
|
||||
<span class="pj-meet-kpi-val">{% if h.sales_target is not none %}{{ num(h.sales_target) }}<small>{{ h.sales_unit }}</small>{% else %}<span class="pj-muted">—</span>{% endif %}</span>
|
||||
</span>
|
||||
<span class="pj-meet-kpi" title="월 누적 목표 매출{% if h.cum_target_won is not none %} {{ won(h.cum_target_won) }}원{% endif %} — 연간 목표 표에서 입력한 주차별 매출 목표의 1주차~{{ week_n }}주차 합계{% if not h.week_targets_set %} — 목표 표에서 주차별 목표를 입력하세요{% endif %}">
|
||||
<span class="pj-meet-kpi-label">누적 목표 <small>({{ week_n }}주차)</small></span>
|
||||
<span class="pj-meet-kpi-val">{% if h.cum_target_won is not none %}{{ unitv(h.cum_target_won) }}{% else %}<span class="pj-muted">—</span>{% endif %}</span>
|
||||
</span>
|
||||
<span class="pj-meet-kpi" title="월 누적 실적{% if h.mtd is not none %} {{ won(h.mtd) }}원{% endif %}(1일~{{ h.mtd_end[5:] | replace('-', '/') if h.mtd_end else '' }}){% if h.fresh_tip %} · {{ h.fresh_tip }}{% endif %}">
|
||||
<span class="pj-meet-kpi-label">누적 실적 {% if h.mtd_end %}<small>({{ h.mtd_end[5:] | replace('-', '/') }})</small>{% endif %}</span>
|
||||
<span class="pj-meet-kpi-val">{% if h.mtd is not none %}{{ unitv(h.mtd) }}{% elif 'mtd' in unk %}{{ unknown_val() }}{% else %}<span class="pj-muted">—</span>{% endif %}</span>
|
||||
</span>
|
||||
<span class="pj-meet-kpi" title="누적 목표 대비 달성{% if h.gap is not none %} {{ '+' if h.gap > 0 else '' }}{{ won(h.gap) }}원{% endif %} — 월 누적 실적 − 월 누적 목표 매출 (월 누적 실적 ÷ 월 누적 목표 매출)">
|
||||
<span class="pj-meet-kpi-label">목표 대비</span>
|
||||
{% if h.gap is not none %}<span class="pj-meet-kpi-val {{ 'is-good' if h.gap >= 0 else 'is-low' }}">{{ '+' if h.gap > 0 else '' }}{{ unitv(h.gap) }}{% if h.rate is not none %} <small class="pj-meet-kpi-rate">{{ h.rate }}%</small>{% endif %}</span>
|
||||
{% elif 'mtd' in unk and h.cum_target_won is not none %}<span class="pj-meet-kpi-val">{{ unknown_val() }}</span>
|
||||
{% else %}<span class="pj-meet-kpi-val"><span class="pj-muted">—</span></span>{% endif %}
|
||||
</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="pj-meet-board">
|
||||
{# ①② 한 칸(2026-10-19) — 머리 한 줄: 월 계획 제목·숫자(월 목표·누적 목표·누적 실적·목표 대비) | 결정사항 제목,
|
||||
아래 전체 = 결정사항 내용(크게). 예전 월 계획 상세(목표 표 그 달 글)는 뺐다 #}
|
||||
{# ①② 한 칸(2026-10-19) — 결정사항 제목(왼쪽) + 아래 전체 = 결정사항 내용(크게). 월 계획 숫자는 카드 위 .pj-meet-kpitop,
|
||||
예전 월 계획 상세(목표 표 그 달 글)는 뺐다 #}
|
||||
<section class="pj-meet-area pj-meet-plan pj-meet-notes pj-meet-pn">
|
||||
<div class="pj-meet-pn-head">
|
||||
<div class="pj-meet-plan-head">
|
||||
<span class="pj-meet-plan-title"><span class="material-symbols-outlined">event_note</span>{{ goal_month }}월 계획</span>
|
||||
{% if h %}
|
||||
<div class="pj-meet-kpiline">
|
||||
<span class="pj-meet-kpi" title="월 목표 매출(연간 목표 표){% if h.month_target_won is not none %} = {{ won(h.month_target_won) }}원{% endif %}">
|
||||
<span class="pj-meet-kpi-label">월 목표</span>
|
||||
<span class="pj-meet-kpi-val">{% if h.sales_target is not none %}{{ num(h.sales_target) }}<small>{{ h.sales_unit }}</small>{% else %}<span class="pj-muted">—</span>{% endif %}</span>
|
||||
</span>
|
||||
<span class="pj-meet-kpi" title="월 누적 목표 매출{% if h.cum_target_won is not none %} {{ won(h.cum_target_won) }}원{% endif %} — 연간 목표 표에서 입력한 주차별 매출 목표의 1주차~{{ week_n }}주차 합계{% if not h.week_targets_set %} — 목표 표에서 주차별 목표를 입력하세요{% endif %}">
|
||||
<span class="pj-meet-kpi-label">누적 목표 <small>({{ week_n }}주차)</small></span>
|
||||
<span class="pj-meet-kpi-val">{% if h.cum_target_won is not none %}{{ unitv(h.cum_target_won) }}{% else %}<span class="pj-muted">—</span>{% endif %}</span>
|
||||
</span>
|
||||
<span class="pj-meet-kpi" title="월 누적 실적{% if h.mtd is not none %} {{ won(h.mtd) }}원{% endif %}(1일~{{ h.mtd_end[5:] | replace('-', '/') if h.mtd_end else '' }}){% if h.fresh_tip %} · {{ h.fresh_tip }}{% endif %}">
|
||||
<span class="pj-meet-kpi-label">누적 실적 {% if h.mtd_end %}<small>({{ h.mtd_end[5:] | replace('-', '/') }})</small>{% endif %}</span>
|
||||
<span class="pj-meet-kpi-val">{% if h.mtd is not none %}{{ unitv(h.mtd) }}{% elif 'mtd' in unk %}{{ unknown_val() }}{% else %}<span class="pj-muted">—</span>{% endif %}</span>
|
||||
</span>
|
||||
<span class="pj-meet-kpi" title="누적 목표 대비 달성{% if h.gap is not none %} {{ '+' if h.gap > 0 else '' }}{{ won(h.gap) }}원{% endif %} — 월 누적 실적 − 월 누적 목표 매출 (월 누적 실적 ÷ 월 누적 목표 매출)">
|
||||
<span class="pj-meet-kpi-label">목표 대비</span>
|
||||
{% if h.gap is not none %}<span class="pj-meet-kpi-val {{ 'is-good' if h.gap >= 0 else 'is-low' }}">{{ '+' if h.gap > 0 else '' }}{{ unitv(h.gap) }}{% if h.rate is not none %} <small class="pj-meet-kpi-rate">{{ h.rate }}%</small>{% endif %}</span>
|
||||
{% elif 'mtd' in unk and h.cum_target_won is not none %}<span class="pj-meet-kpi-val">{{ unknown_val() }}</span>
|
||||
{% else %}<span class="pj-meet-kpi-val"><span class="pj-muted">—</span></span>{% endif %}
|
||||
</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
<h3 class="pj-meet-pn-title">결정사항 : 진행상황 수시 공유 및 완료 되어야 함</h3>
|
||||
</div>
|
||||
{% if meeting %}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261019e" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261019g" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261019e" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261019g" />
|
||||
<link rel="stylesheet" href="/static/project-help.css?v=20261003a" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261019e" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261019g" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261019e" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261019g" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261019e" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261019g" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261019e" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261019g" />
|
||||
<!-- 구글 머티리얼 심볼(담당자 아이콘 등) — self-host -->
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
<!-- 타임라인 vis-timeline — self-host -->
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261019e" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261019g" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@@ -2681,9 +2681,12 @@ html.pj-goal-selecting, html.pj-goal-selecting * { user-select: none !important;
|
||||
.pj-meet-area h3 small { margin-left: 6px; font-size: 11px; font-weight: 400; color: var(--pj-ink-soft); }
|
||||
/* ①② 한 칸(2026-10-19) — 머리 한 줄(월 계획 제목·숫자 | 결정사항 제목) + 아래 전체 결정사항 내용(크게). 예전 ①② 두 칸 자리를 합친 너비 */
|
||||
.pj-meet-board > .pj-meet-pn { grid-column: span 2; }
|
||||
.pj-meet-pn-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 10px; align-items: center; margin-bottom: 6px; }
|
||||
.pj-meet-pn-head .pj-meet-plan-head { margin-bottom: 0; }
|
||||
.pj-meet-area.pj-meet-pn .pj-meet-pn-title { margin: 0; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.pj-meet-pn-head { display: flex; align-items: center; justify-content: flex-start; margin-bottom: 6px; }
|
||||
.pj-meet-area.pj-meet-pn .pj-meet-pn-title { margin: 0; font-size: 13px; font-weight: 700; text-align: left; }
|
||||
/* 월 계획 숫자 한 줄 — 카드 위 빈 공간(보드 바로 위), 잘리지 않게(좁으면 다음 줄로) */
|
||||
.pj-meet-kpitop { margin: 0 0 -4px; padding: 0 2px; }
|
||||
.pj-meet-kpitop .pj-meet-plan-head { margin: 0; flex-wrap: wrap; row-gap: 2px; }
|
||||
.pj-meet-kpitop .pj-meet-kpiline { flex: 0 1 auto; overflow: visible; flex-wrap: wrap; row-gap: 2px; white-space: normal; }
|
||||
.pj-meet-area.pj-meet-pn textarea, .pj-meet-area.pj-meet-pn .pj-meet-ro { font-size: 15px; line-height: 1.6; }
|
||||
.pj-meet-area-body { flex: 1 1 auto; min-height: 0; overflow: auto; }
|
||||
.pj-meet-area.pj-meet-notes textarea, .pj-meet-area.pj-meet-notes .pj-meet-ro {
|
||||
|
||||
@@ -1417,7 +1417,8 @@ Windows 트레이 프로그램 **DBX 알림**(`desktop/notifier/`, C# .NET Frame
|
||||
## 6-25. 회의록 머리 한 칸(월 계획 숫자 + 결정사항) · 회의록 표 회색 선 · 주차 목표 두 칸 (2026-10-19, 마이그레이션 030)
|
||||
|
||||
- **회의록 머리**: 예전 ① 월 계획(머리 줄 숫자 + 아래 그 달 계획 글) ② 결정 사항 두 칸을 한 칸 `.pj-meet-pn`(보드 두 열 너비)으로 —
|
||||
머리 한 줄 = `N월 계획` + 숫자 4개(월 목표·누적 목표·누적 실적·목표 대비) | `결정사항 : …` 제목, 아래 전체 = 결정 사항 입력란(15px).
|
||||
카드 안 = `결정사항 : …` 제목(왼쪽) + 결정 사항 입력란(15px). `N월 계획` + 숫자 4개(월 목표·누적 목표·누적 실적·목표 대비)는 같은 날 요청으로
|
||||
카드 위 빈 공간 한 줄 `.pj-meet-kpitop`(보드 바로 위, 잘리지 않게 — 좁으면 줄바꿈)으로 옮김. ※ `.pj-meet-kpibar` 는 예전 숫자 상자(4칸 격자) CSS 이름이라 겹치지 않게 다른 이름.
|
||||
월 계획 상세 글(`month_plan`)은 화면에서 뺐다(라우터 계산은 남음). 입력란 id(`pj-meet-notes`)·저장 그대로.
|
||||
- **회의록 표 테두리**: 구역(구분) 처음·끝 가로선만 굵은 검정 2px(`tr:first-child` 위 + 표 바깥 아래), 나머지 선은 모두 회색 `#bfc3c9`
|
||||
(세로선·항목 사이·하위 줄 사이·바깥 위·좌우). 표 머리 마지막 줄 아래선은 없앰(첫 구역 굵은 선이 대신). `markMeetSecEnds` 의 `.is-sec-end` 는 그대로 쓰고
|
||||
|
||||
@@ -603,7 +603,9 @@ function meetServer(env, st) {
|
||||
await boot(env); await settle(); await wait(5); await settle();
|
||||
const d = env.d, board = d.querySelector(".pj-meet-board");
|
||||
check("[2g] 머리 영역: (월 계획 숫자 + 결정 사항) 한 칸 · 작업 등록", !!board && board.children.length === 2 &&
|
||||
!!board.querySelector(".pj-meet-pn .pj-meet-plan-head .pj-meet-kpiline") && !board.querySelector(".pj-meet-plan-grid") &&
|
||||
!!board.querySelector(".pj-meet-pn .pj-meet-pn-title") && !board.querySelector(".pj-meet-plan-head") &&
|
||||
!!board.previousElementSibling && board.previousElementSibling.matches(".pj-meet-kpitop") &&
|
||||
!!board.previousElementSibling.querySelector(".pj-meet-plan-head .pj-meet-kpiline") && !env.d.querySelector(".pj-meet-plan-grid") &&
|
||||
!!board.querySelector(".pj-meet-notes #pj-meet-notes") && !!board.querySelector("#pj-meet-quick"));
|
||||
check("[2g] 서버 표를 읽어 빈 줄 3개", env.calls.some(function (c) { return /\/meetings\/2026-09-28\/quick-tasks$/.test(c.url) && c.method === "GET"; }) &&
|
||||
d.querySelectorAll("#pj-meet-quick tbody tr").length === 3);
|
||||
|
||||
Reference in New Issue
Block a user