fix: refs #6553 clean pr
This commit is contained in:
parent
38a180f92b
commit
3fc7f34899
|
@ -98,24 +98,9 @@ const filter = {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
// let business = ref(null);
|
|
||||||
// const workerCurrentBusiness = ref(null);
|
|
||||||
// const businessCurrent = async () => {
|
|
||||||
// await getWorker();
|
|
||||||
// console.log('workerCurrentBusiness: ', workerCurrentBusiness.value);
|
|
||||||
// const { data } = await axios.get(`Businesses/${workerCurrentBusiness.value}`, {});
|
|
||||||
// business.value = data;
|
|
||||||
// };
|
|
||||||
// const getWorker = async () => {
|
|
||||||
// const { data } = await axios.get(`Workers/${entityId.value}`, {});
|
|
||||||
// workerCurrentBusiness.value = data.businessFk;
|
|
||||||
// return workerCurrentBusiness.value;
|
|
||||||
// };
|
|
||||||
onBeforeMount(async () => {
|
onBeforeMount(async () => {
|
||||||
advancedSummary.value = await useAdvancedSummary('Workers', entityId.value);
|
advancedSummary.value = await useAdvancedSummary('Workers', entityId.value);
|
||||||
basicDataUrl.value = `#/worker/${entityId.value}/basic-data`;
|
basicDataUrl.value = `#/worker/${entityId.value}/basic-data`;
|
||||||
// businessCurrent();
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue