From 8f4134bfac32108828add9c392ca323421f18b3b Mon Sep 17 00:00:00 2001 From: jiameng Date: Thu, 10 Sep 2026 18:55:46 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=91=E6=B5=8B=E6=98=8E=E7=BB=86=E8=A1=A8?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20pkg=20=E7=AD=9B=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index d34e97e..0acf601 100644 --- a/index.html +++ b/index.html @@ -78,6 +78,7 @@
+
@@ -161,6 +162,7 @@ function currentFilter(d){ var to=inputToKey(document.getElementById('fDtTo').value); var rc=document.getElementById('fRc').value.trim().toLowerCase(); var cid=document.getElementById('fCid').value.trim().toLowerCase(); + var pkg=document.getElementById('fPkg').value.trim().toLowerCase(); var sc=document.getElementById('fSc').value; var acc=document.getElementById('fAcc').value; var k=dtKey(d.dt); @@ -168,6 +170,7 @@ function currentFilter(d){ if(to!=null && k>to) return false; if(rc && String(d.routing_campaign_id).toLowerCase().indexOf(rc)<0) return false; if(cid && String(d.campaign_id).toLowerCase().indexOf(cid)<0) return false; + if(pkg && String(d.pkg).toLowerCase().indexOf(pkg)<0) return false; if(sc && d.second_channel!==sc) return false; if(acc && d.account!==acc) return false; return true; @@ -254,7 +257,7 @@ document.querySelectorAll('#detailTable th.sortable').forEach(function(th){ document.getElementById('applyBtn').onclick=renderDetail; document.getElementById('resetBtn').onclick=function(){ - ['fDtFrom','fDtTo','fRc','fCid'].forEach(function(id){document.getElementById(id).value='';}); + ['fDtFrom','fDtTo','fRc','fCid','fPkg'].forEach(function(id){document.getElementById(id).value='';}); document.getElementById('fSc').value=''; document.getElementById('fAcc').value=''; renderDetail(); };