대시보드
전체 DB
0
계약
0
접촉
0
미배정
0
드랍
0
📊 지점별 실적
📈 월별 계약 추이
📋 배정 현황
| 지점 | 전체 | 미배정 | 팀장미배정 | 배정완료 | 30h+미기록 | 배정율 |
|---|
이번주 활동
-
평균 첫 연락
-
배정 후 첫 활동까지
이번달 드랍
-
전환율
-
상담 → 계약
🔁 대전 재배정 현황
🤝 팀별 미팅 현황
🚫 드랍 사유 분포
📊 팀장별 월별 활동
📢 공지 등록
📅 회사 일정
일
월
화
수
목
금
토
전체 DB
빠른 보기:
정렬 기준
| 로딩 중... |
내 DB
| 로딩 중... |
🏆 고객관리
계약 고객사
0
관리 고객사
0
잠재 고객사
0
계약 고객사
관리 고객사
잠재 고객사
📞 대전TM센터
| 회사명 | 신청자 | 연락처 | 상담유형 | 소재지 | 지점장 | 팀장 | 진행단계 | 미팅일 | 배정일 | 진행내용 | 액션 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 로딩 중... | |||||||||||
지점 관리
이달 계약
0
이달 관리
0
소속 팀장
0
팀장 배정
| 회사명 | 소재지 | 매출액 | 상담유형 | 상태 | 팀장 | 분배일 | 액션 | |
|---|---|---|---|---|---|---|---|---|
| 로딩 중... | ||||||||
관리자 설정
📞 TM 센터 초기 탭 설정
TM 센터 진입 시 기본으로 표시할 탭을 선택합니다
🔌 Supabase 연결
📋 탭 표시 설정 — 역할별 활동 탭 On/Off
📋 팀장 요청 관리
요청 없음
👥 사용자 관리
🎯 진행단계 관리
💡 여기서 설정한 단계만 퍼널에 표시됩니다. 나머지 값은 단계없음으로 처리됩니다.
📢 공지 관리
📋 Supabase SQL 스키마
-- ══ KBMC CRM Supabase 전체 스키마 ══
-- leads 테이블
CREATE TABLE IF NOT EXISTS leads (
id text PRIMARY KEY,
company_name text, contact_name text, phone text, email text,
region text, industry text, revenue text, consult_type text,
inflow text, tax_delinquent text, note text,
branch_name text, team_name text, team_names text,
status text DEFAULT 'pending',
current_stage text DEFAULT '배정',
distributed_at text, assigned_at timestamptz,
applied_at text,
drop_reason text, drop_stage text,
proposal text, doc_received text,
yj_transferred boolean DEFAULT false,
yj_done boolean DEFAULT false,
yj_from_role text, yj_from_branch text,
tm_transferred boolean DEFAULT false,
tm_done boolean DEFAULT false,
tm_hq_transferred boolean DEFAULT false,
tm_result text, tm_date text, tm_meeting text,
tm_content text, tm_happycall text,
happycall_date text, happycall_done boolean DEFAULT false,
collab_branches text,
auto_recalled boolean DEFAULT false,
auto_recall_reason text,
registered_by text,
created_at timestamptz DEFAULT now(),
updated_at timestamptz DEFAULT now()
);
ALTER TABLE leads ENABLE ROW LEVEL SECURITY;
CREATE POLICY "leads_all" ON leads FOR ALL USING (true) WITH CHECK (true);
-- activities 테이블
CREATE TABLE IF NOT EXISTS activities (
id text PRIMARY KEY,
lead_id text, type text, content text,
stage text, author text, date text,
next_action text, next_action_date text,
created_at timestamptz DEFAULT now()
);
ALTER TABLE activities ENABLE ROW LEVEL SECURITY;
CREATE POLICY "activities_all" ON activities FOR ALL USING (true) WITH CHECK (true);
-- accounts 테이블
CREATE TABLE IF NOT EXISTS accounts (
id text PRIMARY KEY,
name text, role text, branch text, pw text,
created_at timestamptz DEFAULT now(),
updated_at timestamptz DEFAULT now()
);
ALTER TABLE accounts ENABLE ROW LEVEL SECURITY;
CREATE POLICY "accounts_all" ON accounts FOR ALL USING (true) WITH CHECK (true);
-- contracts 테이블
CREATE TABLE IF NOT EXISTS contracts (
id text PRIMARY KEY, lead_id text,
company_name text, contract_date text,
service text, amount text, note text,
team_name text, branch_name text,
created_at timestamptz DEFAULT now()
);
ALTER TABLE contracts ENABLE ROW LEVEL SECURITY;
CREATE POLICY "contracts_all" ON contracts FOR ALL USING (true) WITH CHECK (true);
-- next_actions 테이블
CREATE TABLE IF NOT EXISTS next_actions (
id text PRIMARY KEY, lead_id text,
type text, scheduled_at text, note text,
status text DEFAULT '예정',
team_leader text,
created_at timestamptz DEFAULT now()
);
ALTER TABLE next_actions ENABLE ROW LEVEL SECURITY;
CREATE POLICY "next_actions_all" ON next_actions FOR ALL USING (true) WITH CHECK (true);
-- notices 테이블
CREATE TABLE IF NOT EXISTS notices (
id text PRIMARY KEY,
title text, content text, type text,
start_date text, end_date text,
roles text, branches text, alarms text,
author text, is_recall_notice boolean DEFAULT false,
target_roles jsonb, target_branches jsonb, target_names jsonb,
created_at timestamptz DEFAULT now()
);
ALTER TABLE notices ENABLE ROW LEVEL SECURITY;
CREATE POLICY "notices_all" ON notices FOR ALL USING (true) WITH CHECK (true);
-- notice_reads 테이블
CREATE TABLE IF NOT EXISTS notice_reads (
id text PRIMARY KEY,
notice_id text, user_id text,
user_name text, user_role text,
read_at timestamptz DEFAULT now()
);
ALTER TABLE notice_reads ENABLE ROW LEVEL SECURITY;
CREATE POLICY "notice_reads_all" ON notice_reads FOR ALL USING (true) WITH CHECK (true);
-- profiles 테이블
CREATE TABLE IF NOT EXISTS profiles (
id text PRIMARY KEY,
data text, goals text,
updated_at timestamptz DEFAULT now()
);
ALTER TABLE profiles ENABLE ROW LEVEL SECURITY;
CREATE POLICY "profiles_all" ON profiles FOR ALL USING (true) WITH CHECK (true);
-- ══ 기존 테이블 컬럼 추가 (누락분) ══
ALTER TABLE leads ADD COLUMN IF NOT EXISTS tm_hq_transferred boolean DEFAULT false;
ALTER TABLE leads ADD COLUMN IF NOT EXISTS tm_meeting text;
ALTER TABLE leads ADD COLUMN IF NOT EXISTS tm_result text;
ALTER TABLE leads ADD COLUMN IF NOT EXISTS tm_content text;
ALTER TABLE leads ADD COLUMN IF NOT EXISTS tm_date text;
ALTER TABLE leads ADD COLUMN IF NOT EXISTS tm_done boolean DEFAULT false;
ALTER TABLE leads ADD COLUMN IF NOT EXISTS collab_branches text;
ALTER TABLE leads ADD COLUMN IF NOT EXISTS auto_recalled boolean DEFAULT false;
ALTER TABLE leads ADD COLUMN IF NOT EXISTS auto_recall_reason text;