Compare commits

..

No commits in common. "4718269fc5fd096c27a241e257e25dd353a4b347" and "c1d1be8e273eec54fd1331f253a642f1b8f0d7fb" have entirely different histories.

2 changed files with 3650 additions and 4250 deletions

View File

@ -1,14 +1,12 @@
<!doctype html>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CRM客户管理系统</title>
<link rel="stylesheet" href="/static/css/style.css?v=1.2" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
/>
<link rel="stylesheet" href="/static/css/style.css?v=1.2">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-datalabels@2"></script>
</head>
@ -19,17 +17,10 @@
<aside class="sidebar" id="sidebar">
<div class="sidebar-header">
<div class="logo">
<svg
width="24"
height="24"
viewBox="0 0 50 43"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<svg width="24" height="24" viewBox="0 0 50 43" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M30.8799 0.0634766C32.1561 0.191098 35.0914 0.25518 40.1953 3.12598C46.9838 7.51557 49.4463 14.7383 49.8291 17.8008C50.297 20.8846 50.084 28.5324 45.4902 34.4531C40.8966 40.3736 33.8362 42.194 30.8799 42.3643H9.95215V31.1357C4.45541 31.1354 0 26.6803 0 21.1836C2.62861e-05 15.6869 4.45542 11.2308 9.95215 11.2305V0H30.8799V0.0634766ZM30.8799 11.3564C28.7219 11.1986 15.882 11.302 11.4531 11.3428C16.2383 12.0662 19.9062 16.1966 19.9062 21.1836C19.9062 26.1365 16.288 30.2432 11.5508 31.0078H30.8799C33.2407 30.4973 39.1744 27.7535 38.6641 20.2891C38.2557 14.3174 33.3045 11.8457 30.8799 11.3564Z"
fill="currentColor"
></path>
fill="currentColor"></path>
</svg>
<span>CRM系统</span>
</div>
@ -95,33 +86,17 @@
<div class="global-search-container">
<div class="search-box">
<i class="fas fa-search"></i>
<input
type="text"
id="globalSearchInput"
placeholder="搜索客户、进度、跟进..."
autocomplete="off"
/>
<input type="text" id="globalSearchInput" placeholder="搜索客户、进度、跟进..." autocomplete="off">
<kbd class="search-shortcut">⌘K</kbd>
</div>
<!-- Search Results Dropdown -->
<div
class="search-results-dropdown"
id="searchResultsDropdown"
style="display: none"
>
<div class="search-results-dropdown" id="searchResultsDropdown" style="display: none;">
<div class="search-history" id="searchHistory">
<div class="search-section-title">
<i class="fas fa-history"></i> 搜索历史
</div>
<div
class="search-history-items"
id="searchHistoryItems"
></div>
<div class="search-section-title"><i class="fas fa-history"></i> 搜索历史</div>
<div class="search-history-items" id="searchHistoryItems"></div>
</div>
<div class="search-results" id="searchResults">
<div class="search-section-title">
<i class="fas fa-search"></i> 搜索结果
</div>
<div class="search-section-title"><i class="fas fa-search"></i> 搜索结果</div>
<div class="search-results-items" id="searchResultsItems">
<div class="search-empty">输入关键词开始搜索...</div>
</div>
@ -136,11 +111,7 @@
<span>快速添加</span>
<i class="fas fa-caret-down"></i>
</button>
<div
class="quick-add-dropdown"
id="headerQuickAddDropdown"
style="display: none"
>
<div class="quick-add-dropdown" id="headerQuickAddDropdown" style="display: none;">
<div class="quick-add-menu-item" data-action="trial">
<i class="fas fa-clock"></i>
<span>添加试用客户</span>
@ -156,6 +127,7 @@
</div>
</div>
<button class="icon-btn" id="logoutBtn" title="退出登录">
<i class="fas fa-sign-out-alt"></i>
</button>
@ -203,15 +175,11 @@
</div>
<div class="filter-group">
<label for="customerStartDate">开始日期:</label>
<input
type="date"
id="customerStartDate"
class="filter-input"
/>
<input type="date" id="customerStartDate" class="filter-input">
</div>
<div class="filter-group">
<label for="customerEndDate">结束日期:</label>
<input type="date" id="customerEndDate" class="filter-input" />
<input type="date" id="customerEndDate" class="filter-input">
</div>
</div>
@ -220,27 +188,15 @@
<div class="card-header">
<!-- Tab Navigation (Left Aligned) -->
<div class="customer-tabs">
<button
class="customer-tab active"
data-tab="progress-list"
id="progressListTab"
>
<button class="customer-tab active" data-tab="progress-list" id="progressListTab">
<i class="fas fa-table"></i> 客户进度
</button>
<button
class="customer-tab"
data-tab="weekly-summary"
id="weeklySummaryTab"
>
<button class="customer-tab" data-tab="weekly-summary" id="weeklySummaryTab">
<i class="fas fa-file-alt"></i> 周报汇总
</button>
</div>
<div class="table-actions">
<button
id="refreshCustomersBtn"
class="icon-btn"
title="刷新"
>
<button id="refreshCustomersBtn" class="icon-btn" title="刷新">
<i class="fas fa-sync-alt"></i>
</button>
<button id="exportCustomersBtn" class="icon-btn" title="导出">
@ -266,7 +222,8 @@
<th>操作</th>
</tr>
</thead>
<tbody id="customerTableBody"></tbody>
<tbody id="customerTableBody">
</tbody>
</table>
</div>
@ -282,7 +239,8 @@
<button id="prevPage" class="pagination-btn" disabled>
<i class="fas fa-angle-left"></i>
</button>
<div id="pageNumbers" class="page-numbers"></div>
<div id="pageNumbers" class="page-numbers">
</div>
<button id="nextPage" class="pagination-btn" disabled>
<i class="fas fa-angle-right"></i>
</button>
@ -309,40 +267,21 @@
<span id="currentWeekRange">本周</span>
</div>
<div class="week-navigation">
<button
id="prevWeekBtn"
class="week-nav-btn"
title="上一周"
>
<button id="prevWeekBtn" class="week-nav-btn" title="上一周">
<i class="fas fa-chevron-left"></i>
</button>
<button
id="currentWeekBtn"
class="week-nav-btn"
title="回到本周"
>
<button id="currentWeekBtn" class="week-nav-btn" title="回到本周">
<i class="fas fa-home"></i> 本周
</button>
<button
id="nextWeekBtn"
class="week-nav-btn"
title="下一周"
>
<button id="nextWeekBtn" class="week-nav-btn" title="下一周">
<i class="fas fa-chevron-right"></i>
</button>
</div>
<button
id="exportWeeklySummaryBtn"
class="btn-secondary"
title="导出周报"
>
<button id="exportWeeklySummaryBtn" class="btn-secondary" title="导出周报">
<i class="fas fa-file-export"></i> 导出周报
</button>
</div>
<div
id="weeklySummaryContainer"
class="weekly-summary-container"
>
<div id="weeklySummaryContainer" class="weekly-summary-container">
<!-- Weekly summary cards will be rendered here -->
<div class="weekly-summary-empty">
<i class="fas fa-inbox"></i>
@ -356,7 +295,7 @@
<!-- Trial Periods Section -->
<section id="trialPeriodsSection" class="content-section">
<div class="section-title" style="justify-content: flex-end">
<div class="section-title" style="justify-content: flex-end;">
<button id="addTrialBtn" class="btn-primary">
<i class="fas fa-plus"></i>
添加客户
@ -367,19 +306,11 @@
<div class="filter-bar">
<div class="filter-group">
<label for="trialStartDateFilter">开始日期:</label>
<input
type="date"
id="trialStartDateFilter"
class="filter-input"
/>
<input type="date" id="trialStartDateFilter" class="filter-input">
</div>
<div class="filter-group">
<label for="trialEndDateFilter">结束日期:</label>
<input
type="date"
id="trialEndDateFilter"
class="filter-input"
/>
<input type="date" id="trialEndDateFilter" class="filter-input">
</div>
<div class="filter-group">
<label for="trialSortOrder">排序:</label>
@ -390,8 +321,8 @@
</div>
</div>
<div class="card trial-periods-container">
<div class="card-body table-container">
<div class="trial-periods-container">
<div class="table-container">
<table>
<thead>
<tr>
@ -423,7 +354,8 @@
<button id="trialPrevPage" class="pagination-btn" disabled>
<i class="fas fa-angle-left"></i>
</button>
<div id="trialPageNumbers" class="page-numbers"></div>
<div id="trialPageNumbers" class="page-numbers">
</div>
<button id="trialNextPage" class="pagination-btn" disabled>
<i class="fas fa-angle-right"></i>
</button>
@ -487,9 +419,9 @@
<div class="dashboard-filters">
<div class="filter-group">
<label>日期范围:</label>
<input type="date" id="startDate" />
<input type="date" id="startDate">
<span></span>
<input type="date" id="endDate" />
<input type="date" id="endDate">
<button id="applyFilters" class="btn-primary">
<i class="fas fa-filter"></i>
应用筛选
@ -517,10 +449,7 @@
<div class="card-header">
<h3><i class="fas fa-chart-doughnut"></i> 客户类型</h3>
<div class="chart-controls">
<select
id="typeChartFieldSelect"
class="chart-field-select"
>
<select id="typeChartFieldSelect" class="chart-field-select">
<option value="customerName">客户</option>
<option value="type">类型</option>
<option value="module">模块</option>
@ -534,8 +463,8 @@
</div>
<!-- Trend Line Chart -->
<div class="dashboard-grid" style="margin-top: 20px">
<div class="card chart-card" style="grid-column: 1 / -1">
<div class="dashboard-grid" style="margin-top: 20px;">
<div class="card chart-card" style="grid-column: 1 / -1;">
<div class="card-header">
<h3><i class="fas fa-chart-line"></i> 时间趋势分析</h3>
<div class="chart-controls">
@ -558,26 +487,13 @@
<section id="followupSection" class="content-section">
<!-- Smart Reminder Banner -->
<div class="smart-reminder" id="followupReminder">
<div
class="reminder-item warning"
id="todayFollowupReminder"
style="display: none"
>
<div class="reminder-item warning" id="todayFollowupReminder" style="display: none;">
<i class="fas fa-exclamation-circle"></i>
<span
>今日待跟进:<strong id="todayFollowupCount">0</strong>
个客户</span
>
<span>今日待跟进:<strong id="todayFollowupCount">0</strong> 个客户</span>
</div>
<div
class="reminder-item urgent"
id="overdueReminder"
style="display: none"
>
<div class="reminder-item urgent" id="overdueReminder" style="display: none;">
<i class="fas fa-bell"></i>
<span
>逾期未跟进:<strong id="overdueCount">0</strong> 个客户</span
>
<span>逾期未跟进:<strong id="overdueCount">0</strong> 个客户</span>
</div>
</div>
@ -589,11 +505,7 @@
</div>
<!-- Follow-up Form -->
<div
class="card"
id="followupFormCard"
style="display: none; margin-bottom: 20px"
>
<div class="card" id="followupFormCard" style="display: none; margin-bottom: 20px;">
<div class="card-header">
<h3><i class="fas fa-plus-circle"></i> 新增客户跟进</h3>
</div>
@ -601,26 +513,15 @@
<form id="followupForm">
<div class="form-row">
<div class="form-group">
<label for="followupCustomerName"
>客户名称 <span style="color: red">*</span></label
>
<select
id="followupCustomerName"
name="customerName"
required
>
<label for="followupCustomerName">客户名称 <span
style="color: red;">*</span></label>
<select id="followupCustomerName" name="customerName" required>
<option value="">请选择客户</option>
</select>
</div>
<div class="form-group">
<label for="followupDealStatus"
>成交状态 <span style="color: red">*</span></label
>
<select
id="followupDealStatus"
name="dealStatus"
required
>
<label for="followupDealStatus">成交状态 <span style="color: red;">*</span></label>
<select id="followupDealStatus" name="dealStatus" required>
<option value="">请选择</option>
<option value="未成交">未成交</option>
<option value="已成交">已成交</option>
@ -629,14 +530,9 @@
</div>
<div class="form-row">
<div class="form-group">
<label for="followupCustomerLevel"
>客户级别 <span style="color: red">*</span></label
>
<select
id="followupCustomerLevel"
name="customerLevel"
required
>
<label for="followupCustomerLevel">客户级别 <span
style="color: red;">*</span></label>
<select id="followupCustomerLevel" name="customerLevel" required>
<option value="">请选择</option>
<option value="A">A级 (重点客户)</option>
<option value="B">B级 (潜在客户)</option>
@ -644,38 +540,20 @@
</select>
</div>
<div class="form-group">
<label for="followupIndustry"
>客户行业 <span style="color: red">*</span></label
>
<input
type="text"
id="followupIndustry"
name="industry"
required
/>
<label for="followupIndustry">客户行业 <span style="color: red;">*</span></label>
<input type="text" id="followupIndustry" name="industry" required>
</div>
</div>
<div class="form-group">
<label for="followupTime"
>跟进时间 <span style="color: red">*</span></label
>
<input
type="datetime-local"
id="followupTime"
name="followUpTime"
required
/>
<label for="followupTime">跟进时间 <span style="color: red;">*</span></label>
<input type="datetime-local" id="followupTime" name="followUpTime" required>
</div>
<div class="form-actions">
<button type="submit" class="btn-primary">
<i class="fas fa-save"></i>
确认
</button>
<button
type="button"
class="btn-secondary"
id="cancelFollowupBtn"
>
<button type="button" class="btn-secondary" id="cancelFollowupBtn">
<i class="fas fa-times"></i>
取消
</button>
@ -689,11 +567,7 @@
<div class="card-header">
<h3><i class="fas fa-list"></i> 客户跟进列表</h3>
<div class="table-actions">
<button
id="refreshFollowupsBtn"
class="icon-btn"
title="刷新"
>
<button id="refreshFollowupsBtn" class="icon-btn" title="刷新">
<i class="fas fa-sync-alt"></i>
</button>
</div>
@ -712,7 +586,8 @@
<th>操作</th>
</tr>
</thead>
<tbody id="followupTableBody"></tbody>
<tbody id="followupTableBody">
</tbody>
</table>
</div>
@ -722,33 +597,18 @@
<span id="followupPaginationInfo">显示 0-0 共 0 条</span>
</div>
<div class="pagination-controls">
<button
id="followupFirstPage"
class="pagination-btn"
disabled
>
<button id="followupFirstPage" class="pagination-btn" disabled>
<i class="fas fa-angle-double-left"></i>
</button>
<button
id="followupPrevPage"
class="pagination-btn"
disabled
>
<button id="followupPrevPage" class="pagination-btn" disabled>
<i class="fas fa-angle-left"></i>
</button>
<div id="followupPageNumbers" class="page-numbers"></div>
<button
id="followupNextPage"
class="pagination-btn"
disabled
>
<div id="followupPageNumbers" class="page-numbers">
</div>
<button id="followupNextPage" class="pagination-btn" disabled>
<i class="fas fa-angle-right"></i>
</button>
<button
id="followupLastPage"
class="pagination-btn"
disabled
>
<button id="followupLastPage" class="pagination-btn" disabled>
<i class="fas fa-angle-double-right"></i>
</button>
</div>
@ -780,11 +640,7 @@
<div class="form-row">
<div class="form-group">
<label for="createIntendedProduct">咨询时间</label>
<input
type="date"
id="createIntendedProduct"
name="intendedProduct"
/>
<input type="date" id="createIntendedProduct" name="intendedProduct">
</div>
<div class="form-group">
<label for="createCustomerName">客户名称</label>
@ -796,20 +652,16 @@
<div class="form-row">
<div class="form-group">
<label for="createVersion">版本</label>
<input type="text" id="createVersion" name="version" />
<input type="text" id="createVersion" name="version">
</div>
<div class="form-group">
<label for="createType">类型</label>
<input type="text" id="createType" name="type" />
<input type="text" id="createType" name="type">
</div>
</div>
<div class="form-group">
<label for="createDescription">描述</label>
<textarea
id="createDescription"
name="description"
rows="3"
></textarea>
<textarea id="createDescription" name="description" rows="3"></textarea>
</div>
<div class="form-group">
<label for="createSolution">解决方案</label>
@ -828,13 +680,8 @@
<option value="镜像管理">镜像管理</option>
<option value="其他">其他</option>
</select>
<input
type="text"
id="createModuleOther"
name="moduleOther"
placeholder="请输入其他模块名称"
style="display: none; margin-top: 8px"
/>
<input type="text" id="createModuleOther" name="moduleOther" placeholder="请输入其他模块名称"
style="display: none; margin-top: 8px;">
</div>
<div class="form-group">
<label for="createStatusProgress">状态与进度</label>
@ -876,13 +723,7 @@
<label for="importFile">选择文件支持CSV和XLSX</label>
<div class="file-upload">
<i class="fas fa-cloud-upload-alt"></i>
<input
type="file"
id="importFile"
name="file"
accept=".csv,.xlsx"
required
/>
<input type="file" id="importFile" name="file" accept=".csv,.xlsx" required>
<span id="fileName">选择文件...</span>
</div>
</div>
@ -911,38 +752,30 @@
<div class="modal-body">
<!-- Customer Form -->
<form id="editCustomerForm">
<input type="hidden" id="editCustomerId" />
<input type="hidden" id="editCustomerId">
<div class="form-row">
<div class="form-group">
<label for="editIntendedProduct">咨询时间</label>
<input
type="date"
id="editIntendedProduct"
name="intendedProduct"
/>
<input type="date" id="editIntendedProduct" name="intendedProduct">
</div>
<div class="form-group">
<label for="editCustomerName">客户名称</label>
<input type="text" id="editCustomerName" name="customerName" />
<input type="text" id="editCustomerName" name="customerName">
</div>
</div>
<div class="form-row">
<div class="form-group">
<label for="editVersion">版本</label>
<input type="text" id="editVersion" name="version" />
<input type="text" id="editVersion" name="version">
</div>
<div class="form-group">
<label for="editType">类型</label>
<input type="text" id="editType" name="type" />
<input type="text" id="editType" name="type">
</div>
</div>
<div class="form-group">
<label for="editDescription">描述</label>
<textarea
id="editDescription"
name="description"
rows="3"
></textarea>
<textarea id="editDescription" name="description" rows="3"></textarea>
</div>
<div class="form-group">
<label for="editSolution">解决方案</label>
@ -961,13 +794,8 @@
<option value="镜像管理">镜像管理</option>
<option value="其他">其他</option>
</select>
<input
type="text"
id="editModuleOther"
name="moduleOther"
placeholder="请输入其他模块名称"
style="display: none; margin-top: 8px"
/>
<input type="text" id="editModuleOther" name="moduleOther" placeholder="请输入其他模块名称"
style="display: none; margin-top: 8px;">
</div>
<div class="form-group">
<label for="editStatusProgress">状态与进度</label>
@ -1007,104 +835,52 @@
<form id="addTrialPeriodForm">
<div class="form-group">
<label for="trialCustomerInput">客户名称</label>
<input
type="text"
id="trialCustomerInput"
name="customerName"
placeholder="请输入客户名称"
required
/>
<input type="text" id="trialCustomerInput" name="customerName" placeholder="请输入客户名称" required>
</div>
<div class="form-group">
<label for="trialCustomerSource">客户来源</label>
<input
type="text"
id="trialCustomerSource"
name="source"
placeholder="请输入客户来源(如:官网、展会、推荐等)"
/>
<input type="text" id="trialCustomerSource" name="source" placeholder="请输入客户来源(如:官网、展会、推荐等)">
</div>
<div class="form-group">
<label>意向产品(可多选)</label>
<div class="checkbox-group" id="trialIntendedProductGroup">
<label class="checkbox-label">
<input
type="checkbox"
name="intendedProduct"
value="数据闭环"
/>
<input type="checkbox" name="intendedProduct" value="数据闭环">
<span>数据闭环</span>
</label>
<label class="checkbox-label">
<input
type="checkbox"
name="intendedProduct"
value="robogo"
/>
<input type="checkbox" name="intendedProduct" value="robogo">
<span>robogo</span>
</label>
<label class="checkbox-label">
<input
type="checkbox"
name="intendedProduct"
value="其他"
id="trialIntendedProductOtherCheckbox"
/>
<input type="checkbox" name="intendedProduct" value="其他"
id="trialIntendedProductOtherCheckbox">
<span>其他</span>
</label>
</div>
<input
type="text"
id="trialIntendedProductOther"
name="intendedProductOther"
placeholder="请输入其他意向产品"
style="display: none; margin-top: 8px"
/>
<input type="text" id="trialIntendedProductOther" name="intendedProductOther"
placeholder="请输入其他意向产品" style="display: none; margin-top: 8px;">
</div>
<div class="form-group">
<label>是否试用</label>
<div style="display: flex; gap: 20px; align-items: center">
<label
style="
display: flex;
align-items: center;
gap: 5px;
cursor: pointer;
"
>
<input type="radio" name="isTrial" value="true" checked />
<div style="display: flex; gap: 20px; align-items: center;">
<label style="display: flex; align-items: center; gap: 5px; cursor: pointer;">
<input type="radio" name="isTrial" value="true" checked>
<span></span>
</label>
<label
style="
display: flex;
align-items: center;
gap: 5px;
cursor: pointer;
"
>
<input type="radio" name="isTrial" value="false" />
<label style="display: flex; align-items: center; gap: 5px; cursor: pointer;">
<input type="radio" name="isTrial" value="false">
<span></span>
</label>
</div>
</div>
<div class="form-group">
<label for="trialStartTime">开始时间</label>
<input
type="datetime-local"
id="trialStartTime"
name="startTime"
required
/>
<input type="datetime-local" id="trialStartTime" name="startTime" required>
</div>
<div class="form-group">
<label for="trialEndTime">结束时间</label>
<input
type="datetime-local"
id="trialEndTime"
name="endTime"
required
/>
<input type="datetime-local" id="trialEndTime" name="endTime" required>
</div>
<div class="form-actions">
<button type="submit" class="btn-primary">
@ -1130,97 +906,51 @@
</div>
<div class="modal-body">
<form id="editTrialPeriodForm">
<input type="hidden" id="editTrialPeriodId" />
<input type="hidden" id="editTrialPeriodId">
<div class="form-group">
<label for="editTrialCustomerSource">客户来源</label>
<input
type="text"
id="editTrialCustomerSource"
name="source"
placeholder="请输入客户来源:如社区、销售、推荐等"
/>
<input type="text" id="editTrialCustomerSource" name="source" placeholder="请输入客户来源:如社区、销售、推荐等">
</div>
<div class="form-group">
<label>意向产品(可多选)</label>
<div class="checkbox-group" id="editTrialIntendedProductGroup">
<label class="checkbox-label">
<input
type="checkbox"
name="editIntendedProduct"
value="数据闭环"
/>
<input type="checkbox" name="editIntendedProduct" value="数据闭环">
<span>数据闭环</span>
</label>
<label class="checkbox-label">
<input
type="checkbox"
name="editIntendedProduct"
value="robogo"
/>
<input type="checkbox" name="editIntendedProduct" value="robogo">
<span>robogo</span>
</label>
<label class="checkbox-label">
<input
type="checkbox"
name="editIntendedProduct"
value="其他"
id="editTrialIntendedProductOtherCheckbox"
/>
<input type="checkbox" name="editIntendedProduct" value="其他"
id="editTrialIntendedProductOtherCheckbox">
<span>其他</span>
</label>
</div>
<input
type="text"
id="editTrialIntendedProductOther"
name="intendedProductOther"
placeholder="请输入其他意向产品"
style="display: none; margin-top: 8px"
/>
<input type="text" id="editTrialIntendedProductOther" name="intendedProductOther"
placeholder="请输入其他意向产品" style="display: none; margin-top: 8px;">
</div>
<div class="form-group">
<label>是否试用</label>
<div style="display: flex; gap: 20px; align-items: center">
<label
style="
display: flex;
align-items: center;
gap: 5px;
cursor: pointer;
"
>
<input type="radio" name="editIsTrial" value="true" checked />
<div style="display: flex; gap: 20px; align-items: center;">
<label style="display: flex; align-items: center; gap: 5px; cursor: pointer;">
<input type="radio" name="editIsTrial" value="true" checked>
<span></span>
</label>
<label
style="
display: flex;
align-items: center;
gap: 5px;
cursor: pointer;
"
>
<input type="radio" name="editIsTrial" value="false" />
<label style="display: flex; align-items: center; gap: 5px; cursor: pointer;">
<input type="radio" name="editIsTrial" value="false">
<span></span>
</label>
</div>
</div>
<div class="form-group">
<label for="editTrialStartTime">开始时间</label>
<input
type="datetime-local"
id="editTrialStartTime"
name="startTime"
required
/>
<input type="datetime-local" id="editTrialStartTime" name="startTime" required>
</div>
<div class="form-group">
<label for="editTrialEndTime">结束时间</label>
<input
type="datetime-local"
id="editTrialEndTime"
name="endTime"
required
/>
<input type="datetime-local" id="editTrialEndTime" name="endTime" required>
</div>
<div class="form-actions">
<button type="submit" class="btn-primary">
@ -1248,21 +978,13 @@
<form id="addFollowupModalForm">
<div class="form-row">
<div class="form-group">
<label for="addFollowupCustomerName"
>客户名称 <span style="color: red">*</span></label
>
<select
id="addFollowupCustomerName"
name="customerName"
required
>
<label for="addFollowupCustomerName">客户名称 <span style="color: red;">*</span></label>
<select id="addFollowupCustomerName" name="customerName" required>
<option value="">请选择客户</option>
</select>
</div>
<div class="form-group">
<label for="addFollowupDealStatus"
>成交状态 <span style="color: red">*</span></label
>
<label for="addFollowupDealStatus">成交状态 <span style="color: red;">*</span></label>
<select id="addFollowupDealStatus" name="dealStatus" required>
<option value="">请选择</option>
<option value="未成交">未成交</option>
@ -1272,14 +994,8 @@
</div>
<div class="form-row">
<div class="form-group">
<label for="addFollowupCustomerLevel"
>客户级别 <span style="color: red">*</span></label
>
<select
id="addFollowupCustomerLevel"
name="customerLevel"
required
>
<label for="addFollowupCustomerLevel">客户级别 <span style="color: red;">*</span></label>
<select id="addFollowupCustomerLevel" name="customerLevel" required>
<option value="">请选择</option>
<option value="A">A级 (重点客户)</option>
<option value="B">B级 (潜在客户)</option>
@ -1287,27 +1003,13 @@
</select>
</div>
<div class="form-group">
<label for="addFollowupIndustry"
>客户行业 <span style="color: red">*</span></label
>
<input
type="text"
id="addFollowupIndustry"
name="industry"
required
/>
<label for="addFollowupIndustry">客户行业 <span style="color: red;">*</span></label>
<input type="text" id="addFollowupIndustry" name="industry" required>
</div>
</div>
<div class="form-group">
<label for="addFollowupTime"
>跟进时间 <span style="color: red">*</span></label
>
<input
type="datetime-local"
id="addFollowupTime"
name="followUpTime"
required
/>
<label for="addFollowupTime">跟进时间 <span style="color: red;">*</span></label>
<input type="datetime-local" id="addFollowupTime" name="followUpTime" required>
</div>
<div class="form-actions">
<button type="submit" class="btn-primary">
@ -1333,24 +1035,16 @@
</div>
<div class="modal-body">
<form id="editFollowupForm">
<input type="hidden" id="editFollowupId" />
<input type="hidden" id="editFollowupId">
<div class="form-row">
<div class="form-group">
<label for="editFollowupCustomerName"
>客户名称 <span style="color: red">*</span></label
>
<select
id="editFollowupCustomerName"
name="customerName"
required
>
<label for="editFollowupCustomerName">客户名称 <span style="color: red;">*</span></label>
<select id="editFollowupCustomerName" name="customerName" required>
<option value="">请选择客户</option>
</select>
</div>
<div class="form-group">
<label for="editFollowupDealStatus"
>成交状态 <span style="color: red">*</span></label
>
<label for="editFollowupDealStatus">成交状态 <span style="color: red;">*</span></label>
<select id="editFollowupDealStatus" name="dealStatus" required>
<option value="">请选择</option>
<option value="未成交">未成交</option>
@ -1360,14 +1054,8 @@
</div>
<div class="form-row">
<div class="form-group">
<label for="editFollowupCustomerLevel"
>客户级别 <span style="color: red">*</span></label
>
<select
id="editFollowupCustomerLevel"
name="customerLevel"
required
>
<label for="editFollowupCustomerLevel">客户级别 <span style="color: red;">*</span></label>
<select id="editFollowupCustomerLevel" name="customerLevel" required>
<option value="">请选择</option>
<option value="A">A级 (重点客户)</option>
<option value="B">B级 (潜在客户)</option>
@ -1375,27 +1063,13 @@
</select>
</div>
<div class="form-group">
<label for="editFollowupIndustry"
>客户行业 <span style="color: red">*</span></label
>
<input
type="text"
id="editFollowupIndustry"
name="industry"
required
/>
<label for="editFollowupIndustry">客户行业 <span style="color: red;">*</span></label>
<input type="text" id="editFollowupIndustry" name="industry" required>
</div>
</div>
<div class="form-group">
<label for="editFollowupTime"
>跟进时间 <span style="color: red">*</span></label
>
<input
type="datetime-local"
id="editFollowupTime"
name="followUpTime"
required
/>
<label for="editFollowupTime">跟进时间 <span style="color: red;">*</span></label>
<input type="datetime-local" id="editFollowupTime" name="followUpTime" required>
</div>
<div class="form-actions">
<button type="submit" class="btn-primary">
@ -1412,8 +1086,10 @@
</div>
</div>
<script src="/static/js/trial-periods.js?v=1.3"></script>
<script src="/static/js/trial-periods-page.js?v=1.3"></script>
<script src="/static/js/main.js?v=1.4"></script>
</body>
</html>

File diff suppressed because it is too large Load Diff