updated
This commit is contained in:
parent
a6dfc53ef5
commit
7ca4d66516
1 changed files with 8 additions and 10 deletions
|
|
@ -320,12 +320,12 @@ function getOc() {
|
||||||
* @param id id ของผู้ถูกร้อง
|
* @param id id ของผู้ถูกร้อง
|
||||||
*/
|
*/
|
||||||
function deletePerson(id: string) {
|
function deletePerson(id: string) {
|
||||||
dialogRemove($q, () => {
|
// dialogRemove($q, () => {
|
||||||
changeFormData();
|
changeFormData();
|
||||||
const dataRow = mainStore.rowsAdd;
|
const dataRow = mainStore.rowsAdd;
|
||||||
const updatedRows = dataRow.filter((item: any) => item.personId !== id);
|
const updatedRows = dataRow.filter((item: any) => item.personId !== id);
|
||||||
mainStore.rowsAdd = updatedRows;
|
mainStore.rowsAdd = updatedRows;
|
||||||
});
|
// });
|
||||||
}
|
}
|
||||||
|
|
||||||
/** ช่องทางการร้องเรียน และฟังก์ชั่นการดึงข้อมูลช่องทางการร้องเรียนมาจาก api*/
|
/** ช่องทางการร้องเรียน และฟังก์ชั่นการดึงข้อมูลช่องทางการร้องเรียนมาจาก api*/
|
||||||
|
|
@ -342,7 +342,7 @@ function changeFormData() {
|
||||||
}
|
}
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
mainStore.rowsAdd = []
|
mainStore.rowsAdd = [];
|
||||||
getListChannel();
|
getListChannel();
|
||||||
getOc();
|
getOc();
|
||||||
});
|
});
|
||||||
|
|
@ -497,9 +497,7 @@ onMounted(() => {
|
||||||
:paging="true"
|
:paging="true"
|
||||||
dense
|
dense
|
||||||
class="custom-header-table"
|
class="custom-header-table"
|
||||||
:visible-columns="
|
:visible-columns="mainStore.visibleColumnsRespondent"
|
||||||
mainStore.visibleColumnsRespondent
|
|
||||||
"
|
|
||||||
>
|
>
|
||||||
<template v-slot:header="props">
|
<template v-slot:header="props">
|
||||||
<q-tr :props="props">
|
<q-tr :props="props">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue