API การลา ข้าราชการ, ลูกจ้าง
This commit is contained in:
parent
6bde04376f
commit
32dcdc9336
28 changed files with 525 additions and 868 deletions
|
|
@ -4,7 +4,11 @@ import { useQuasar } from "quasar";
|
|||
|
||||
import http from "@/plugins/http";
|
||||
import config from "@/app.config";
|
||||
import { checkPermission } from "@/utils/permissions";
|
||||
import {
|
||||
checkPermission,
|
||||
checkPermissionList,
|
||||
checkPermissionCreate,
|
||||
} from "@/utils/permissions";
|
||||
import { useCounterMixin } from "@/stores/mixin";
|
||||
import { useActingStore } from "@/modules/17_acting/store/Main";
|
||||
import { useStructureTree } from "@/stores/structureTree";
|
||||
|
|
@ -316,7 +320,11 @@ onMounted(async () => {
|
|||
|
||||
<q-btn
|
||||
class="q-px-sm"
|
||||
v-if="storeActing.isOfficer"
|
||||
v-if="
|
||||
storeActing.isOfficer &&
|
||||
checkPermissionList(['COMMAND']) &&
|
||||
checkPermissionCreate('COMMAND')
|
||||
"
|
||||
dense
|
||||
flat
|
||||
round
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue