แก้ลบ ผู้ร้องเรียน
This commit is contained in:
parent
d84e590670
commit
02b96da93b
3 changed files with 23 additions and 12 deletions
|
|
@ -331,7 +331,7 @@ async function fetchDatadetail() {
|
|||
formData.disciplinaryResult = props.data.disciplinaryResult;
|
||||
formData.disciplinaryExtendHistory = props.data.disciplinaryExtendHistory;
|
||||
|
||||
mainStore.rowsAdd = props.data.persons.map((person: any) => ({
|
||||
const listDataMain = props.data.persons.map((person: any) => ({
|
||||
id: person.id,
|
||||
idcard: person.idcard,
|
||||
name: person.name,
|
||||
|
|
@ -374,6 +374,8 @@ async function fetchDatadetail() {
|
|||
posLevelId: person.posLevelId,
|
||||
citizenId: person.idcard,
|
||||
}));
|
||||
mainStore.rowsAdd = listDataMain;
|
||||
mainStore.rowsAddCheck = listDataMain;
|
||||
mainStore.rowsCheck = mainStore.rowsAdd.filter(
|
||||
(item: any) => item.isSuspend === "NEW" && item.isSend === "NEW"
|
||||
);
|
||||
|
|
@ -946,9 +948,12 @@ onMounted(async () => {
|
|||
</q-btn>
|
||||
<q-btn
|
||||
v-if="
|
||||
!checkRoutePermisson &&
|
||||
!isReadonly &&
|
||||
props.row.isAncestorDNA === false
|
||||
(!checkRoutePermisson &&
|
||||
!isReadonly &&
|
||||
props.row.isAncestorDNA === false) ||
|
||||
!mainStore.rowsAddCheck.some(
|
||||
(row) => row.personId === props.row.personId
|
||||
)
|
||||
"
|
||||
flat
|
||||
round
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue