ปรับ format code + comment + เช็ค paging เมนูพัฒนาบุคลากร

This commit is contained in:
STW_TTTY\stwtt 2024-05-21 13:10:02 +07:00
parent c2a1648d70
commit fb2b9b4c30
8 changed files with 35 additions and 40 deletions

View file

@ -38,7 +38,6 @@ const router = useRouter();
const store = useDevelopmentDataStore();
const $q = useQuasar();
const { showLoader, hideLoader, messageError } = useCounterMixin();
const agencyOp = ref<[]>([]);
const rows = ref<any[]>([]);
@ -195,6 +194,9 @@ function getData() {
});
}
/** download file
* @param type ประเภทของไฟล xlsx pdf
*/
function onDownload(type: string) {
showLoader();
http
@ -219,7 +221,9 @@ function onDownload(type: string) {
});
}
/** edit page */
/** edit page
* @param id id ของ row
*/
function onEdit(id: string) {
store.statusEdit = true;
router.push(`/development/history/${id}`);