แก้ไขตัวแปร/การประชุม
This commit is contained in:
parent
28309ac273
commit
38edb4b5ac
5 changed files with 39 additions and 39 deletions
|
|
@ -54,15 +54,16 @@ async function getList() {
|
|||
showLoader();
|
||||
await http
|
||||
.get(
|
||||
config.API.meeting(
|
||||
config.API
|
||||
.meeting
|
||||
// currentPage.value,
|
||||
// rowsPerPage.value,
|
||||
// filterKeyword.value
|
||||
)
|
||||
()
|
||||
)
|
||||
.then((res) => {
|
||||
// maxPage.value = Math.ceil(res.data.result.total / rowsPerPage.value);
|
||||
const data = res.data.result
|
||||
const data = res.data.result;
|
||||
dataStore.fetchData(data);
|
||||
})
|
||||
.catch((e) => {
|
||||
|
|
@ -71,8 +72,6 @@ async function getList() {
|
|||
.finally(() => {
|
||||
hideLoader();
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -88,6 +87,7 @@ function clickDelete(id: string) {
|
|||
* @param id type
|
||||
*/
|
||||
async function deleteData(id: string) {
|
||||
console.log(id);
|
||||
showLoader();
|
||||
await http
|
||||
.delete(config.API.meetingById(id))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue