Update static/script.js
Browse files- static/script.js +1 -5
static/script.js
CHANGED
|
@@ -36,9 +36,7 @@ function chonMuc(muc) {
|
|
| 36 |
// Hiển thị mục 'Chờ xử lý'
|
| 37 |
if (muc === "pycload") {
|
| 38 |
const stat = document.getElementById("pycload");
|
| 39 |
-
|
| 40 |
if (stat) stat.style.display = "flex";
|
| 41 |
-
|
| 42 |
hienThiDanhSachPYC();
|
| 43 |
}
|
| 44 |
|
|
@@ -46,13 +44,11 @@ function chonMuc(muc) {
|
|
| 46 |
if (muc === "pycend") {
|
| 47 |
const stat = document.getElementById("pycend");
|
| 48 |
if (stat) stat.style.display = "flex";
|
| 49 |
-
|
| 50 |
hienThiSoPYCHoanThanh();
|
| 51 |
}
|
| 52 |
-
|
| 53 |
-
// Bạn có thể thêm các mục khác tương tự ở đây nếu cần
|
| 54 |
}
|
| 55 |
|
|
|
|
| 56 |
async function hienThiDanhSachPYC() {
|
| 57 |
try {
|
| 58 |
const res = await fetch("/dem_pyc_tat_ca");
|
|
|
|
| 36 |
// Hiển thị mục 'Chờ xử lý'
|
| 37 |
if (muc === "pycload") {
|
| 38 |
const stat = document.getElementById("pycload");
|
|
|
|
| 39 |
if (stat) stat.style.display = "flex";
|
|
|
|
| 40 |
hienThiDanhSachPYC();
|
| 41 |
}
|
| 42 |
|
|
|
|
| 44 |
if (muc === "pycend") {
|
| 45 |
const stat = document.getElementById("pycend");
|
| 46 |
if (stat) stat.style.display = "flex";
|
|
|
|
| 47 |
hienThiSoPYCHoanThanh();
|
| 48 |
}
|
|
|
|
|
|
|
| 49 |
}
|
| 50 |
|
| 51 |
+
|
| 52 |
async function hienThiDanhSachPYC() {
|
| 53 |
try {
|
| 54 |
const res = await fetch("/dem_pyc_tat_ca");
|