在前后端开发联调前 的提交20260223

This commit is contained in:
Neo
2026-02-23 23:02:20 +08:00
parent 254ccb1e77
commit fafc95e64c
1142 changed files with 10366960 additions and 36957 deletions

View File

@@ -0,0 +1,23 @@
/* task-detail.html 专用 — 放弃客户弹窗 */
function showAbandonModal() {
document.getElementById('abandonModal').classList.remove('hidden');
document.getElementById('abandonModal').classList.add('flex');
document.getElementById('abandonReason').value = '';
document.getElementById('abandonError').classList.add('hidden');
}
function hideAbandonModal() {
document.getElementById('abandonModal').classList.add('hidden');
document.getElementById('abandonModal').classList.remove('flex');
}
function submitAbandon() {
var reason = document.getElementById('abandonReason').value.trim();
if (!reason) {
document.getElementById('abandonError').classList.remove('hidden');
document.getElementById('abandonReason').focus();
return;
}
hideAbandonModal();
showToast('已放弃该客户的维护');
}