Merge branch 'develop' into devTee
This commit is contained in:
commit
acbf16dd14
36 changed files with 212 additions and 121 deletions
|
|
@ -32,11 +32,13 @@ import DialogHeader from "@/components/DialogHeader.vue";
|
|||
*/
|
||||
import { useCounterMixin } from "@/stores/mixin";
|
||||
import { checkPermission } from "@/utils/permissions";
|
||||
import { useRoute } from "vue-router";
|
||||
/**
|
||||
* use
|
||||
*/
|
||||
const $q = useQuasar();
|
||||
const { showLoader, hideLoader, messageError } = useCounterMixin();
|
||||
const route = useRoute();
|
||||
|
||||
/**
|
||||
* ตัวแปรงาน
|
||||
|
|
@ -148,7 +150,7 @@ function fetchActiveId() {
|
|||
function fetchListOrg(id: string) {
|
||||
showLoader();
|
||||
http
|
||||
.get(config.API.orgByid(id))
|
||||
.get(config.API.orgByIdSystem(id, route.meta.Key as string))
|
||||
.then(async (res) => {
|
||||
const data = await res.data.result.map((item: ResOrg) => ({
|
||||
id: item.orgTreeId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue