แก้วินัย

This commit is contained in:
setthawutttty 2024-01-19 13:06:32 +07:00
parent 015d2d9857
commit 3c2a010ab4
24 changed files with 286 additions and 93 deletions

View file

@ -60,7 +60,6 @@ function getHistory(id:string){
http
.get(config.API.historyOrderById(id))
.then((res)=>{
console.log(res)
const data = res.data.result;
rows.value = data.map((item:any)=>({
commandSubject:item.commandSubject ? item.commandSubject : '-',

View file

@ -39,10 +39,8 @@ async function fetchListResult() {
const data = res.data.result.data;
maxPage.value = Math.ceil(res.data.result.total / pageSize.value);
await fetchList(data);
console.log(res);
})
.catch((err) => {
console.log(err);
messageError($q, err);
})
.finally(() => {
@ -62,7 +60,6 @@ async function updateQueryString(p: number, pS: number, key: string) {
* @param id ไอดเฉพาะ รายบคคล
*/
function openEdit(id: string) {
console.log(id);
router.push(`/discipline-result/${id}`);
}