ลบ log

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-09-26 14:09:09 +07:00
parent 4d0e40ea91
commit e4188b7ed3
38 changed files with 108 additions and 167 deletions

View file

@ -1674,8 +1674,6 @@ const editPositionStructure = async (node: any) => {
qtreeEdit.value.setExpanded(nodeJoin, true);
})
.catch((e) => {
console.log(e);
console.log(e.response);
messageError($q, e);
})
.finally(async () => {
@ -1715,8 +1713,6 @@ const clickHistory = async () => {
})
.catch((e) => {
rowsHistory.value.splice(0);
console.log(e);
console.log(e.response);
manageApiErrorMsg(e);
// messageError($q, e);
})

View file

@ -976,7 +976,6 @@ onMounted(async () => {
const onSelected = async (id: string) => {
// await fetchPositionNumber(id);
organizationId.value = id;
console.log(organizationId.value);
};
/**

View file

@ -763,7 +763,6 @@ const checkSave = async () => {
};
const saveData = async () => {
// console.log(myData.value);
showLoader();
const body: RequestReport2 = {
organizationShortNameId: myData.value.goverment2,

View file

@ -107,7 +107,8 @@ const $q = useQuasar(); // show dialog
const mixin = useCounterMixin();
const router = useRouter();
const route = useRoute();
const { date2Thai, success, dateToISO, showLoader, hideLoader } = mixin;
const { date2Thai, success, dateToISO, showLoader, hideLoader, messageError } =
mixin;
const govermentOP = ref<DataOption[]>([]);
const govermentOPfilter = ref<DataOption[]>([]);
@ -132,7 +133,7 @@ const fetchOrganizationAgency = async () => {
govermentOPfilter.value = option;
})
.catch((e) => {
console.log(e);
messageError($q, e);
})
.finally(() => {
hideLoader();