|
|
@ -796,9 +796,9 @@ |
|
|
<div class="filter-container"> |
|
|
<div class="filter-container"> |
|
|
<div class="filter-bar"> |
|
|
<div class="filter-bar"> |
|
|
<button onclick="loadPersonalData()">刷新数据</button> |
|
|
<button onclick="loadPersonalData()">刷新数据</button> |
|
|
<button onclick="filterPersonalData('all')" style="background-color: #52c41a;">全部</button> |
|
|
<button id="filterAll" onclick="filterPersonalData('all')" style="background-color: #52c41a; border: 2px solid #fff;">全部</button> |
|
|
<button onclick="filterPersonalData('followed')" style="background-color: #faad14;">已跟进</button> |
|
|
<button id="filterFollowed" onclick="filterPersonalData('followed')" style="background-color: #faad14; border: 2px solid #fff;">已跟进</button> |
|
|
<button onclick="filterPersonalData('unfollowed')" style="background-color: #ff4d4f;">未跟进</button> |
|
|
<button id="filterUnfollowed" onclick="filterPersonalData('unfollowed')" style="background-color: #ff4d4f; border: 2px solid #fff;">未跟进</button> |
|
|
<button id="assignButton" onclick="openAssignModal()" style="background-color: #722ed1;">分配</button> |
|
|
<button id="assignButton" onclick="openAssignModal()" style="background-color: #722ed1;">分配</button> |
|
|
<input type="text" id="personalPhoneSearch" placeholder="搜索手机号" style="margin-left: 20px; padding: 4px 8px; border: 1px solid #d9d9d9; border-radius: 4px; font-size: 14px;"> |
|
|
<input type="text" id="personalPhoneSearch" placeholder="搜索手机号" style="margin-left: 20px; padding: 4px 8px; border: 1px solid #d9d9d9; border-radius: 4px; font-size: 14px;"> |
|
|
<button onclick="searchPersonalByPhone()" style="margin-left: 8px; padding: 4px 12px; background-color: #1890ff; color: white; border: none; border-radius: 4px; font-size: 14px;">搜索</button> |
|
|
<button onclick="searchPersonalByPhone()" style="margin-left: 8px; padding: 4px 12px; background-color: #1890ff; color: white; border: none; border-radius: 4px; font-size: 14px;">搜索</button> |
|
|
@ -2338,6 +2338,19 @@ |
|
|
personalFilter = filter; |
|
|
personalFilter = filter; |
|
|
personalPage = 1; // 重置为第一页 |
|
|
personalPage = 1; // 重置为第一页 |
|
|
|
|
|
|
|
|
|
|
|
// 更新按钮选中状态 |
|
|
|
|
|
document.getElementById('filterAll').style.border = '2px solid #fff'; |
|
|
|
|
|
document.getElementById('filterFollowed').style.border = '2px solid #fff'; |
|
|
|
|
|
document.getElementById('filterUnfollowed').style.border = '2px solid #fff'; |
|
|
|
|
|
|
|
|
|
|
|
if (filter === 'all') { |
|
|
|
|
|
document.getElementById('filterAll').style.border = '2px solid #000'; |
|
|
|
|
|
} else if (filter === 'followed') { |
|
|
|
|
|
document.getElementById('filterFollowed').style.border = '2px solid #000'; |
|
|
|
|
|
} else if (filter === 'unfollowed') { |
|
|
|
|
|
document.getElementById('filterUnfollowed').style.border = '2px solid #000'; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// 总是加载全部数据后进行筛选 |
|
|
// 总是加载全部数据后进行筛选 |
|
|
loadAllPersonalData(); |
|
|
loadAllPersonalData(); |
|
|
} |
|
|
} |
|
|
@ -4454,6 +4467,7 @@ |
|
|
<option value="电商平台类">电商平台类</option> |
|
|
<option value="电商平台类">电商平台类</option> |
|
|
<option value="配送零售类">配送零售类</option> |
|
|
<option value="配送零售类">配送零售类</option> |
|
|
<option value="次品蛋专项类">次品蛋专项类</option> |
|
|
<option value="次品蛋专项类">次品蛋专项类</option> |
|
|
|
|
|
<option value="seller">供应商</option> |
|
|
<option value="其他类型">其他类型</option> |
|
|
<option value="其他类型">其他类型</option> |
|
|
</select> |
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
|