Project

General

Profile

Feature #27102

[OEE][Filter/Refresh] เพิ่มปุ่ม Manual Refresh และปรับ Logic Auto Refresh ตาม Filter ที่เลือก #kiro

Added by Suphawan Phiwngam 16 days ago. Updated 14 days ago.

Status:
Closed
Priority:
High
Start date:
05/19/2026
Due date:
05/20/2026
% Done:

0%

Estimated time:
นำ AI มาช่วย(%):
100

Description

ทุกหน้า — เพิ่มปุ่ม Manual Refresh และปรับ logic Auto Refresh ดังนี้:

1. ปุ่ม Manual Refresh
- ใช้ icon ตามรูปแนบ
- เมื่อกด → ดึงข้อมูลใหม่ด้วย filter เดิมที่เลือกไว้
- ต่างจาก refresh browser ที่จะ reset filter กลับเป็น default (Up to Date)

2. Auto Refresh Logic ตาม Filter
- Filter = Up to Date → Auto Refresh ทำงานปกติ
- Filter = Weekly / Monthly / Custom → set disable Auto Refresh ให้อัตโนมัติ (เพราะข้อมูลไม่จำเป็นต้อง refresh ทุก X วินาที)

3. คงสถานะ Disable Auto Refresh เมื่อเปลี่ยนเมนู
- ถ้า Auto Refresh ถูก disable แล้ว (จากการเลือก Weekly/Monthly/Custom) เมื่อเปลี่ยนไปหน้าอื่น ให้คงสถานะ disable Auto Refresh ไว้
- จะกลับมา enable ก็ต่อเมื่อเลือก filter เป็น Up to Date หรือ refresh browser ใหม่

แนบรูป icon: ดูไฟล์แนบ


Files

refresh_icon.png (439 Bytes) refresh_icon.png Icon สำหรับปุ่ม Manual Refresh Suphawan Phiwngam, 05/19/2026 10:00 AM
ภาพถ่ายหน้าจอ 2026-05-20 เวลา 18.09.32.png (446 KB) ภาพถ่ายหน้าจอ 2026-05-20 เวลา 18.09.32.png Suphawan Phiwngam, 05/20/2026 06:24 PM

History

#1

Updated by Supparoek Sariphan 15 days ago

  • Status changed from New to In Progress
  • นำ AI มาช่วย(%) changed from 0 to 100
#2

Updated by Supparoek Sariphan 15 days ago

  • Status changed from In Progress to Resolved
  • Assignee changed from Supparoek Sariphan to Suphawan Phiwngam
#3

Updated by Suphawan Phiwngam 15 days ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Suphawan Phiwngam to Supparoek Sariphan

เพิ่มเติม: กรณี filter = Weekly / Monthly เมื่อกด Manual Refresh ให้ปรับ `to date` เป็น current date & time (now) ก่อน แล้วค่อยดึงข้อมูลใหม่ตาม range ที่อัปเดตแล้ว

(เพื่อให้ข้อมูลล่าสุดถึงเวลาปัจจุบัน ไม่ค้างอยู่ที่ to date เดิมตอนเข้าหน้า)

#4

Updated by Supparoek Sariphan 14 days ago

  • Status changed from Feedback to Resolved
  • Assignee changed from Supparoek Sariphan to Suphawan Phiwngam
#5

Updated by Suphawan Phiwngam 14 days ago

Weekly / Monthly ยังค้างอยู่ที่ to date เดิมค่ะ

#6

Updated by Supparoek Sariphan 14 days ago

  • Status changed from Feedback to Resolved
  • Assignee changed from Supparoek Sariphan to Suphawan Phiwngam
#7

Updated by Suphawan Phiwngam 14 days ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF