fixing registry loading & display value
This commit is contained in:
parent
1a82792683
commit
bcd5d1d56c
4 changed files with 21 additions and 21 deletions
|
|
@ -186,7 +186,6 @@ function onClickViewDetail(id: string) {
|
|||
|
||||
/** function redirect ไปหน้ารายการคำร้องขอแก้ไขข้อมูล*/
|
||||
function redirectToPagePetition() {
|
||||
|
||||
if (empType.value === "officer") {
|
||||
router.push(`/registry-officer/request-edit`);
|
||||
} else {
|
||||
|
|
@ -210,7 +209,10 @@ watch(
|
|||
<div class="col-12 row q-pb-sm q-col-gutter-sm items-center">
|
||||
<div class="row q-gutter-sm">
|
||||
<q-btn
|
||||
v-if="empType === 'officer' || empType === 'perm' && checkPermission($route)?.attrIsUpdate"
|
||||
v-if="
|
||||
empType === 'officer' ||
|
||||
(empType === 'perm' && checkPermission($route)?.attrIsUpdate)
|
||||
"
|
||||
color="primary"
|
||||
label="รายการคำร้องขอแก้ไข"
|
||||
@click="redirectToPagePetition()"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue