fixing code workflow & get assign

This commit is contained in:
Warunee Tamkoo 2024-10-29 12:33:18 +07:00
parent 2bcbbe8c9f
commit 082debf2e5
7 changed files with 11 additions and 33 deletions

View file

@ -30,7 +30,6 @@ import DialogCreateCommandORG from "@/modules/18_command/components/DialogCreate
const $q = useQuasar();
const { showLoader, hideLoader, messageError, date2Thai } = useCounterMixin();
const store = useOrganizational();
const keycloakSystem = ref<string>("ORG_COMMAND");
/** ตัวแปร*/
const modalNewStructure = ref<boolean>(false); //
@ -130,7 +129,7 @@ function onClickHistory(id: string, name: string) {
async function workflowSystem() {
showLoader();
http
.get(config.API.workflowKeycloakSystem(keycloakSystem.value))
.get(config.API.workflowKeycloakSystem("SYS_ORG"))
.then((res) => {
const data = res.data.result;
store.isOfficer = data.isOfficer;